:root{
  --bg:#0f0f1a;
  --bg2:#151522;
  --card:#1b1b2b;
  --card2:#232337;
  --neon:#64ff9a;
  --text:#ffffff;
  --muted:#9fa0b3;
  --danger:#ff5c7c;
  --radius:24px;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial,sans-serif;
}

html{
  scroll-behavior:smooth;
}

body{
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  width:100%;
  display:block;
}

button,
input{
  font-family:inherit;
}

/* APP */

.app{
  display:grid;
  grid-template-columns:250px 1fr;
  min-height:100vh;
}

/* SIDEBAR */

.sidebar{
  background:#0c0c18;
  border-right:1px solid rgba(255,255,255,.06);
  padding:25px;
  display:flex;
  flex-direction:column;
  gap:25px;
}

.logo{
  font-size:28px;
  font-weight:900;
}

.logo span{
  color:var(--neon);
}

.nav{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.nav a{
  padding:14px 18px;
  border-radius:16px;
  color:var(--muted);
  transition:.25s;
}

.nav a:hover,
.nav a.active{
  background:rgba(100,255,154,.12);
  color:var(--neon);
}

.upgrade-box{
  margin-top:auto;
  background:rgba(100,255,154,.08);
  border:1px solid rgba(100,255,154,.18);
  border-radius:24px;
  padding:20px;
}

.upgrade-box h3{
  margin-bottom:10px;
}

.upgrade-box p{
  color:var(--muted);
  line-height:1.6;
  margin-bottom:18px;
}

/* BUTTONS */

.btn{
  border:none;
  background:var(--neon);
  color:#07100a;
  padding:14px 22px;
  border-radius:999px;
  cursor:pointer;
  font-weight:900;
  transition:.25s;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 0 25px rgba(100,255,154,.3);
}

.btn-dark{
  background:var(--card2);
  color:#fff;
}

/* MAIN */

.main{
  padding:25px;
}

/* TOPBAR */

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:25px;
}

.search{
  background:var(--bg2);
  border:1px solid rgba(255,255,255,.05);
  border-radius:999px;
  display:flex;
  align-items:center;
  padding:0 18px;
  width:100%;
  max-width:520px;
}

.search input{
  width:100%;
  background:none;
  border:none;
  outline:none;
  color:#fff;
  padding:16px;
}

.search input::placeholder{
  color:#77798c;
}

.index-search-ad{
  width:100%;
  min-height:50px;
  display:flex;
  justify-content:center;
  align-items:center;
  margin:-10px auto 24px;
  overflow:visible;
}

.index-search-ad ins,
.index-search-ad iframe{
  display:block !important;
  width:300px !important;
  max-width:100% !important;
  min-height:50px !important;
  border:0 !important;
}

.user-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.age-badge{
  padding:12px 15px;
  border-radius:999px;
  background:var(--card2);
  color:var(--muted);
  font-size:13px;
  font-weight:900;
}

/* USER MENU */

.user-menu{
  position:relative;
  display:none;
}

.user-icon{
  width:44px;
  height:44px;
  border:none;
  border-radius:50%;
  background:var(--card2);
  color:#fff;
  cursor:pointer;
  font-size:20px;
  overflow:hidden;
  display:grid;
  place-items:center;
}

.user-icon img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.user-dropdown{
  position:absolute;
  right:0;
  top:55px;
  width:220px;
  background:var(--card);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:10px;
  display:none;
  z-index:999;
  box-shadow:0 20px 50px rgba(0,0,0,.45);
}

.user-dropdown.active{
  display:block;
}

.user-dropdown a{
  display:block;
  padding:13px 14px;
  border-radius:12px;
  color:var(--muted);
  font-weight:700;
}

.user-dropdown a:hover{
  background:rgba(100,255,154,.12);
  color:var(--neon);
}

/* HERO */

.hero{
  min-height:420px;
  border-radius:32px;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  padding:45px;
  margin-bottom:30px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,.15)),
    url("https://images.unsplash.com/photo-1514525253161-7a46d19cd819?q=80&w=1600&auto=format&fit=crop")
    center/cover;
}

.tag{
  display:inline-block;
  background:var(--neon);
  color:#07100a;
  padding:8px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  margin-bottom:16px;
}

.hero h1{
  font-size:62px;
  line-height:.95;
  margin-bottom:15px;
}

.hero p{
  color:#d6d6de;
  line-height:1.6;
  max-width:600px;
  margin-bottom:25px;
}

.hero-actions{
  display:flex;
  gap:12px;
}

/* CATEGORIES */

.categories{
  display:flex;
  gap:12px;
  overflow-x:auto;
  margin-bottom:25px;
  padding-bottom:4px;
  scrollbar-width:none;
}

.categories::-webkit-scrollbar{
  display:none;
}

.chip{
  border:none;
  background:var(--card);
  color:var(--muted);
  padding:13px 22px;
  border-radius:999px;
  cursor:pointer;
  transition:.25s;
  white-space:nowrap;
  font-weight:700;
}

.chip:hover,
.chip.active{
  background:var(--neon);
  color:#07100a;
}

/* TITLE */

.section-title{
  margin-bottom:20px;
}

.section-title h2{
  font-size:30px;
}

/* GRID */

.video-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:22px;
}

/* CARD */

.video-card{
  background:var(--card);
  border-radius:24px;
  overflow:hidden;
  cursor:pointer;
  transition:.25s;
}

.video-card:hover{
  transform:translateY(-6px);
  box-shadow:0 0 30px rgba(100,255,154,.14);
}

.thumb{
  position:relative;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#050509;
}

.thumb img{
  height:100%;
  object-fit:cover;
  transition:.35s;
}

.video-card:hover .thumb-img{
  transform:scale(1.08);
}

.duration{
  position:absolute;
  right:12px;
  bottom:12px;
  background:rgba(0,0,0,.75);
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}

.premium{
  position:absolute;
  left:12px;
  top:12px;
  background:var(--neon);
  color:#07100a;
  padding:7px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
}

.play-icon{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  opacity:0;
  transition:.25s;
  background:rgba(0,0,0,.2);
}

.play-icon span{
  width:58px;
  height:58px;
  border-radius:50%;
  background:var(--neon);
  color:#07100a;
  display:grid;
  place-items:center;
  font-size:24px;
  font-weight:900;
}

.video-card:hover .play-icon{
  opacity:1;
}

.card-body{
  padding:18px;
}

.card-body h3{
  margin-bottom:10px;
  line-height:1.4;
}

.meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:var(--muted);
  font-size:13px;
}

/* WATCH PAGE */

.watch-page{
  min-height:100vh;
  background:var(--bg);
}

.watch-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:22px 32px;
  background:#0c0c18;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.watch-nav{
  display:flex;
  align-items:center;
  gap:18px;
  margin-left:auto;
}

.watch-nav a{
  color:var(--muted);
  font-weight:800;
}

.watch-nav a:hover{
  color:var(--neon);
}

.back-btn{
  background:var(--card2);
  color:#fff;
  padding:12px 18px;
  border-radius:999px;
  font-weight:900;
}

.watch-container{
  max-width:1200px;
  margin:0 auto;
  padding:32px;
}

.watch-player{
  width:100%;
  aspect-ratio:16/9;
  background:#000;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 0 40px rgba(0,0,0,.45);
}

.watch-player iframe{
  width:100%;
  height:100%;
  border:none;
}

.empty-player{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  color:#fff;
}

.watch-info{
  margin-top:24px;
  background:var(--card);
  border-radius:24px;
  padding:24px;
}

.watch-info h1{
  font-size:34px;
  margin-bottom:14px;
}

.watch-meta{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color:var(--muted);
  margin-bottom:18px;
}

.watch-meta a,
.watch-tag-link{
  color:var(--neon);
  font-weight:900;
}

#watchCategory{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.watch-tag-link{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(100,255,154,.1);
  border:1px solid rgba(100,255,154,.18);
}

.watch-tag-link:hover{
  background:var(--neon);
  color:#07100a;
}

.approval-widget{
  margin:18px 0;
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}

.approval-header{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  color:#fff;
  margin-bottom:10px;
}

.approval-header span{
  color:var(--muted);
  font-weight:800;
}

.approval-bar{
  width:100%;
  height:12px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,87,87,.28);
  margin-bottom:14px;
}

.approval-bar span{
  display:block;
  width:0;
  height:100%;
  border-radius:999px;
  background:var(--neon);
  transition:width .25s ease;
}

.approval-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.approval-btn{
  border:1px solid rgba(255,255,255,.1);
  border-radius:999px;
  padding:10px 16px;
  background:var(--card2);
  color:#fff;
  cursor:pointer;
  font-weight:900;
}

.approval-btn:hover,
.approval-btn.active{
  background:var(--neon);
  color:#07100a;
}

.approval-btn:disabled{
  cursor:not-allowed;
  opacity:.55;
}

.approval-login{
  display:none;
  margin:10px 0 0;
  color:var(--muted);
  font-weight:800;
}

#watchDescription{
  color:#d6d6de;
  line-height:1.7;
}

/* VIDEO ACTIONS */

.video-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0;
}

.action-btn{
  border:none;
  background:var(--card2);
  color:#fff;
  padding:12px 18px;
  border-radius:999px;
  cursor:pointer;
  font-weight:800;
  transition:.25s;
}

.action-btn:hover{
  transform:translateY(-2px);
  color:var(--neon);
}

.action-btn.active{
  background:var(--neon);
  color:#07100a;
}

/* RELATED */

.related-section{
  margin-top:36px;
}

.related-section h2{
  font-size:28px;
  margin-bottom:18px;
}

/* AUTH */

.auth-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  background:var(--bg);
  padding:20px;
}

.auth-box{
  width:100%;
  max-width:420px;
  background:var(--card);
  padding:32px;
  border-radius:24px;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.auth-box h1{
  font-size:32px;
}

.auth-subtitle{
  color:var(--muted);
  margin-bottom:6px;
}

.auth-box input{
  background:var(--bg2);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  padding:15px;
  border-radius:14px;
  outline:none;
}

.auth-box a{
  color:var(--neon);
  text-align:center;
  font-weight:700;
}

.password-rules{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:13px;
}

#message{
  text-align:center;
  line-height:1.5;
}

/* USER PAGES */

.user-page{
  min-height:100vh;
  background:var(--bg);
}

.user-container{
  max-width:900px;
  margin:0 auto;
  padding:32px;
}

.user-card{
  background:var(--card);
  border-radius:24px;
  padding:28px;
}

.user-card h1,
.user-container h1{
  font-size:34px;
  margin-bottom:12px;
}

#userEmail,
.muted-text{
  color:var(--muted);
  margin-bottom:24px;
}

.user-links{
  display:grid;
  gap:14px;
  margin-top:24px;
}

.user-links a{
  background:var(--card2);
  padding:16px;
  border-radius:16px;
  color:#fff;
  font-weight:800;
}

.user-links a:hover{
  color:var(--neon);
}

/* LOAD MORE */

.load-more-area{
  display:flex;
  justify-content:center;
  margin:40px 0;
}

#loadMoreBtn.hidden{
  display:none;
}

/* MOBILE */

.mobile-menu{
  display:none;
}

@media(max-width:900px){

  .app{
    grid-template-columns:1fr;
  }

  .sidebar{
    position:fixed;
    left:-290px;
    top:0;
    width:270px;
    height:100vh;
    z-index:1000;
    transition:.3s;
    box-shadow:0 0 40px rgba(0,0,0,.5);
  }

  .sidebar.open{
    left:0;
  }

  .main{
    padding:18px;
  }

  .mobile-menu{
    display:block;
    border:none;
    background:var(--card);
    color:#fff;
    padding:12px 15px;
    border-radius:14px;
    cursor:pointer;
    font-size:20px;
  }

  .topbar{
    flex-wrap:wrap;
  }

  .search{
    order:3;
    max-width:100%;
  }

  .hero{
    min-height:300px;
    padding:24px;
  }

  .hero h1{
    font-size:34px;
  }

  .hero-actions{
    flex-direction:column;
  }

  .video-grid{
    grid-template-columns:1fr;
  }

  .watch-header{
    padding:14px;
    flex-wrap:wrap;
  }

  .watch-container{
    padding:14px;
  }

  .watch-player{
    border-radius:18px;
  }

  .watch-info{
    padding:18px;
  }

  .watch-info h1{
    font-size:23px;
  }

  .video-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .action-btn{
    width:100%;
  }
}

@media(max-width:420px){

  .hero{
    min-height:260px;
    padding:20px;
  }

  .hero h1{
    font-size:30px;
  }

  .watch-header .logo{
    width:100%;
    text-align:center;
  }

  .play-icon span{
    width:48px;
    height:48px;
    font-size:20px;
  }
}
.categories-wrapper{
  margin-bottom:25px;
}

.categories{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
  max-height:170px;
  overflow:hidden;
  transition:.3s;
}

.categories.expanded{
  max-height:1000px;
}

.expand-categories-btn{
  width:100%;
  margin-top:14px;
  border:none;
  background:var(--card);
  color:var(--muted);
  padding:14px;
  border-radius:16px;
  cursor:pointer;
  font-weight:800;
  transition:.25s;
}

.expand-categories-btn:hover{
  background:var(--neon);
  color:#07100a;
}

@media(max-width:900px){

  .categories{
    grid-template-columns:repeat(4,1fr);
  }

}

@media(max-width:700px){

  .categories{
    grid-template-columns:repeat(3,1fr);
  }

}
/* Corrige menu do usuário no mobile */
@media(max-width:900px){

  .watch-header{
    justify-content:space-between;
  }

  .watch-header .user-actions{
    margin-left:auto;
    justify-content:flex-end;
  }

  .watch-header .user-menu{
    margin-left:auto;
  }

  .watch-header .user-dropdown{
    right:0;
    left:auto;
    max-width:calc(100vw - 24px);
  }

}

/* Espaço extra no fim da página para o anúncio não cobrir botões */
body{
  padding-bottom:120px;
}

.main,
.watch-container,
.user-container{
  padding-bottom:130px;
}

.load-more-area{
  margin-bottom:130px;
}
.category-page-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.category-page-grid a{
  background:var(--card);
  color:#fff;
  padding:18px;
  border-radius:18px;
  font-weight:900;
  text-align:center;
}

.category-page-grid a:hover{
  background:var(--neon);
  color:#07100a;
}

@media(max-width:800px){
  .category-page-grid{
    grid-template-columns:repeat(3,1fr);
  }
}
.profile-form{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:20px;
}

.profile-form label{
  color:var(--muted);
  font-weight:800;
}

.profile-form input{
  background:var(--bg2);
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
  padding:14px;
  border-radius:14px;
  outline:none;
}

#profileMessage{
  text-align:center;
}

.comments-section{
  margin-top:28px;
  background:var(--card);
  border-radius:24px;
  padding:24px;
}

.comments-section h2{
  font-size:26px;
  margin-bottom:18px;
}

.comment-box{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:20px;
}

.comment-box textarea{
  min-height:110px;
  resize:vertical;
  background:var(--bg2);
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:16px;
  outline:none;
}

.comments-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.comment-item{
  background:var(--bg2);
  border-radius:16px;
  padding:16px;
}

.comment-item strong{
  color:var(--neon);
  display:block;
  margin-bottom:4px;
}

.comment-item span{
  color:var(--muted);
  font-size:12px;
}

.comment-item p{
  margin-top:10px;
  color:#fff;
  line-height:1.5;
}
.avatar-area{
  display:flex;
  align-items:center;
  gap:18px;
  margin:20px 0;
  flex-wrap:wrap;
}

.avatar-area img{
  width:90px;
  height:90px;
  border-radius:50%;
  object-fit:cover;
  background:var(--card2);
  border:2px solid rgba(255,255,255,.08);
}

#avatarForm{
  display:flex;
  flex-direction:column;
  gap:10px;
}

#avatarForm input{
  color:var(--muted);
}

.comment-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}

.comment-head img{
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:cover;
  background:var(--card2);
}

.reply-btn{
  border:none;
  background:transparent;
  color:var(--neon);
  cursor:pointer;
  font-weight:800;
  margin-top:8px;
}

.reply-box{
  display:none;
  margin-top:12px;
  gap:10px;
  flex-direction:column;
}

.reply-box.active{
  display:flex;
}

.reply-box textarea{
  min-height:90px;
  resize:vertical;
  background:var(--bg2);
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:14px;
  outline:none;
}

.replies-list{
  margin-top:14px;
  padding-left:28px;
  border-left:2px solid rgba(100,255,154,.25);
  display:flex;
  flex-direction:column;
  gap:12px;
}

.reply-item{
  background:rgba(255,255,255,.03);
  border-radius:14px;
  padding:14px;
}
.pending-grid{
  display:grid;
  grid-template-columns:
  repeat(auto-fit,minmax(320px,1fr));
  gap:20px;
}

.pending-card{
  background:var(--card);
  border-radius:24px;
  padding:18px;
}

.pending-card iframe{
  width:100%;
  aspect-ratio:16/9;
  border:none;
  border-radius:16px;
  margin-bottom:14px;
}

.pending-card h3{
  margin-bottom:10px;
}

.pending-actions{
  display:flex;
  gap:12px;
  margin-top:16px;
}

.pending-schedule{
  display:grid;
  gap:7px;
  margin-top:14px;
  color:#fff;
  font-weight:900;
}

.pending-schedule input{
  width:100%;
  border:none;
  border-radius:12px;
  background:var(--card2);
  color:#fff;
  padding:12px 14px;
  font-weight:800;
}

.pending-schedule small{
  color:var(--muted);
  font-weight:700;
}
.upload-categories{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:12px;
}

.upload-chip{
  position:relative;
  cursor:pointer;
}

.upload-chip input{
  display:none;
}

.upload-chip span{
  display:flex;
  align-items:center;
  justify-content:center;

  padding:10px 16px;

  border-radius:999px;

  background:#1f2230;

  border:1px solid #2f3448;

  color:#fff;

  font-size:14px;

  transition:.2s;
}

.upload-chip input:checked + span{
  background:#ff2f6d;
  border-color:#ff2f6d;
}

.field-help{
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
  margin-top:-4px;
}

.artist-autocomplete{
  position:relative;
}

.artist-autocomplete input{
  width:100%;
}

.artist-suggestions{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 8px);
  z-index:50;
  background:var(--card2);
  border:1px solid rgba(255,255,255,.1);
  border-radius:16px;
  padding:8px;
  box-shadow:0 20px 50px rgba(0,0,0,.45);
}

.artist-suggestions button{
  width:100%;
  border:none;
  background:transparent;
  color:#fff;
  padding:12px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  text-align:left;
}

.artist-suggestions button:hover{
  background:rgba(100,255,154,.12);
}

.artist-suggestions small,
.artist-suggestion-empty{
  color:var(--muted);
  font-size:12px;
}

.artist-suggestion-empty{
  padding:12px;
}

.artist-search{
  max-width:100%;
  margin:22px 0;
  border-radius:16px;
}

.artist-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:14px;
}

.artist-card{
  background:var(--bg2);
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.artist-card strong{
  color:#fff;
  line-height:1.35;
}

.artist-card span{
  color:var(--muted);
  font-size:13px;
}

.artist-card:hover{
  border-color:rgba(100,255,154,.45);
  color:var(--neon);
}
#changePasswordForm{
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.08);
}

#changePasswordForm h2{
  font-size:24px;
  margin-bottom:6px;
}

#changePasswordMessage{
  text-align:center;
  line-height:1.5;
}

.auth-link{
  color:var(--neon);
  text-align:center;
  font-weight:700;
}

.profile-form h2{
  color:#fff;
}
#watchUploader a{
  color:var(--neon);
  font-weight:900;
}

#watchUploader a:hover{
  text-decoration:underline;
}
.user-section-title{
  margin:30px 0 16px;
  font-size:26px;
}

.empty-player{
  min-height:160px;
  display:grid;
  place-items:center;
  color:var(--muted);
  background:var(--bg2);
}
#watchCategory a{
  color:var(--neon);
  font-weight:900;
}

#watchCategory a:hover{
  text-decoration:underline;
}

#watchArtist a{
  color:var(--neon);
  font-weight:900;
}

#watchArtist a:hover{
  text-decoration:underline;
}
.delete-video-btn{
  width:100%;
  margin-top:14px;
  border:none;
  border-radius:14px;
  padding:12px;
  background:#ff3b3b;
  color:#fff;
  font-weight:900;
  cursor:pointer;
}

.delete-video-btn:hover{
  opacity:.85;
}
.creator-wide{
  max-width:1100px;
}

.creator-stats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:16px;
  margin:26px 0;
}

.creator-stats-grid div,
.creator-money-card div{
  background:var(--card);
  border-radius:20px;
  padding:20px;
  text-align:center;
}

.creator-stats-grid span,
.creator-money-card span{
  display:block;
  color:var(--muted);
  margin-bottom:10px;
  font-weight:800;
}

.creator-stats-grid strong,
.creator-money-card strong{
  font-size:28px;
}

.creator-money-card{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
  margin-bottom:26px;
}

.chart-card{
  background:var(--card);
  border-radius:24px;
  padding:24px;
}

.chart-card h2{
  margin-bottom:16px;
}

.admin-creators-list{
  display:grid;
  gap:18px;
  margin-top:24px;
}

.creator-payment-card{
  background:var(--card);
  border-radius:24px;
  padding:22px;
}

.creator-payment-card p{
  color:var(--muted);
  margin:6px 0 18px;
}

.creator-payment-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:12px;
  margin-bottom:18px;
}

.creator-payment-grid span{
  background:var(--bg2);
  border-radius:14px;
  padding:14px;
}

.pay-area{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.pay-area input{
  flex:1;
  min-width:200px;
  background:var(--bg2);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  border-radius:14px;
  padding:14px;
}
.video-ad-banner{
  width:100%;
  max-width:100%;
  min-height:250px;
  display:flex;
  justify-content:center;
  align-items:center;
  margin:22px auto;
  overflow:visible;
}

.video-ad-banner ins,
.video-ad-banner iframe{
  display:block !important;
  width:300px !important;
  max-width:100% !important;
  min-height:250px !important;
  border:0 !important;
}

@media(max-width:480px){

  .video-ad-banner{
    min-height:230px;
  }

  .video-ad-banner iframe,
  .video-ad-banner ins{
    transform:scale(.9);
    transform-origin:center;
  }

}

.thumb{
  position:relative;
  overflow:hidden;
}

.thumb-img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:opacity .25s ease;
}
.stats-video-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;

  background:var(--card);

  border-radius:16px;

  padding:12px 14px;

  margin-bottom:10px;

  color:#fff;

  transition:.2s;
}

.stats-video-row:hover{
  transform:translateY(-2px);
}

.stats-video-row p{
  color:var(--muted);
  margin-top:4px;
  font-size:13px;
}

.stats-video-row img{
  width:90px;
  height:52px;
  object-fit:cover;
  border-radius:10px;
  flex-shrink:0;
}
.video-frame{
  width:100%;
  height:100%;
  min-height:0;
  border:none;
  border-radius:12px;
  display:block;
}

.watch-player iframe{
  width:100%;
  height:100%;
  min-height:0;
  border:none;
  display:block;
}

@media(max-width:700px){
  .watch-player{
    width:100%;
    aspect-ratio:16/9;
    height:auto;
    min-height:0;
    border-radius:18px;
  }

  .video-frame{
    height:100%;
    min-height:0;
  }
}
