:root{
  --bg:#0b1020;
  --panel:#121a2b;
  --panel2:#182235;
  --text:#f3f4f6;
  --muted:#b6beca;
  --accent:#ff4d73;
  --border:rgba(255,255,255,.08);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html,body{
  background:var(--bg) !important;
  color:var(--text) !important;
  font-family:Inter,Segoe UI,Arial,sans-serif !important;
  min-height:100%;
}

body, .app-shell, .main-shell, .content-shell, .sidebar, .topbar, .hero, .section, .video-grid, .video-card, .side-video{
  visibility:visible !important;
  opacity:1 !important;
}

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

.app-shell{
  display:grid !important;
  grid-template-columns:260px 1fr;
  min-height:100vh;
}

.sidebar{
  display:block !important;
  padding:24px 18px;
  background:linear-gradient(180deg,#1a1023 0%, #0e1322 100%);
  border-right:1px solid var(--border);
}

.brand{
  display:flex !important;
  align-items:center;
  gap:12px;
  margin-bottom:28px;
  font-size:20px;
  font-weight:800;
}

.brand-logo-img{
  width:34px;
  height:34px;
  object-fit:contain;
}

.nav-stack{
  display:flex !important;
  flex-direction:column;
  gap:10px;
  margin-bottom:26px;
}

.nav-link{
  display:block !important;
  padding:14px 14px;
  border-radius:14px;
  color:var(--text);
  background:transparent;
}

.nav-link.is-active,
.nav-link:hover{
  background:rgba(255,255,255,.08);
}

.side-box{
  display:block !important;
  padding:18px;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
}

.side-box h3{margin:0 0 10px}
.side-box p{margin:0;color:var(--muted);line-height:1.5}

.main-shell{
  display:block !important;
  min-width:0;
}

.topbar{
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 24px;
  border-bottom:1px solid var(--border);
  background:rgba(7,10,18,.9);
  position:sticky;
  top:0;
  z-index:10;
}

.searchbar{
  display:flex !important;
  gap:10px;
  flex:1;
  max-width:820px;
}

.searchbar input{
  flex:1;
  min-width:0;
  height:48px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#0d1322;
  color:var(--text);
  outline:none;
}

.searchbar button,
.btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  height:48px;
  padding:0 18px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#1a2234;
  color:var(--text);
  cursor:pointer;
}

.topbar-actions{
  display:flex !important;
  gap:10px;
}

.btn-primary{
  background:var(--accent) !important;
  color:white !important;
  border-color:transparent !important;
}

.btn-secondary,
.btn-ghost{
  background:#161d2c !important;
  color:var(--text) !important;
}

.content-shell{
  display:block !important;
  padding:24px;
}

.hero,
.section{
  display:block !important;
  padding:26px;
  border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));
  border:1px solid var(--border);
  margin-bottom:22px;
}

.hero{
  display:grid !important;
  grid-template-columns:1.3fr .9fr;
  gap:24px;
}

.hero-copy h1{
  margin:10px 0 14px;
  font-size:52px;
  line-height:1.02;
}

.hero-copy p{
  color:var(--muted);
  line-height:1.7;
}

.pill{
  display:inline-flex !important;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,77,115,.14);
  color:#ff8ba4;
  border:1px solid rgba(255,77,115,.25);
}

.hero-actions{
  display:flex !important;
  gap:12px;
  margin-top:18px;
  flex-wrap:wrap;
}

.metric-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-bottom:14px;
}

.metric-card,
.hero-note{
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
}

.metric-card span,
.hero-note{
  color:var(--muted);
}

.metric-card strong{
  display:block;
  margin-top:6px;
  font-size:26px;
  color:var(--text);
}

.section-header{
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.chips{
  display:flex !important;
  flex-wrap:wrap;
  gap:10px;
}

.chip{
  display:inline-flex !important;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#131b2a;
  border:1px solid var(--border);
  color:var(--muted);
}

.chip.is-active{
  background:rgba(255,77,115,.14);
  color:#ffd7df;
  border-color:rgba(255,77,115,.3);
}

.video-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:18px;
}

.video-card{
  display:block !important;
  overflow:hidden;
  border-radius:20px;
  background:var(--panel);
  border:1px solid var(--border);
}

.thumb-link{
  display:block !important;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#0f1523;
}

.thumb-link img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.video-card .meta,
.video-card > div:last-child{
  padding:14px 16px 18px;
}

.video-card h3,
.video-card strong{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.35;
}

.video-card p,
.video-card span{
  color:var(--muted);
}

.side-video{
  display:grid !important;
  grid-template-columns:150px 1fr;
  gap:12px;
  padding:12px;
  border-radius:18px;
  background:rgba(255,255,255,.03);
  border:1px solid var(--border);
  margin-bottom:12px;
}

.side-video img{
  width:150px;
  height:84px;
  object-fit:cover;
  border-radius:14px;
}

.side-video strong{
  display:block;
  margin-bottom:8px;
  line-height:1.4;
}

.side-video span{
  display:block;
  color:var(--muted);
  margin-top:4px;
}

.watch-shell,
.watch-layout{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:24px;
}

video{
  width:100%;
  max-height:70vh;
  background:black;
  border-radius:20px;
}

@media (max-width: 1100px){
  .app-shell{grid-template-columns:1fr}
  .sidebar{display:none !important}
  .hero{grid-template-columns:1fr}
  .watch-shell,.watch-layout{grid-template-columns:1fr}
}

@media (max-width: 700px){
  .topbar{flex-direction:column;align-items:stretch}
  .searchbar{max-width:none}
  .content-shell{padding:16px}
  .hero-copy h1{font-size:36px}
  .side-video{grid-template-columns:120px 1fr}
  .side-video img{width:120px;height:72px}
}\n\n
/* yv-admin-videos-tools-start */
.admin-video-tools{
  margin-bottom:18px;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}

.admin-video-tools-row{
  display:flex;
  gap:12px;
  margin-bottom:12px;
}

.admin-video-search{
  width:100%;
  height:46px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:#0d1322;
  color:#fff;
  outline:none;
}

.admin-video-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:10px;
}

.admin-video-summary{
  font-size:14px;
}

.status-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  border:1px solid rgba(255,255,255,.1);
}

.status-ready{
  background:rgba(34,197,94,.14);
  color:#8ef0b0;
  border-color:rgba(34,197,94,.28);
}

.status-queued{
  background:rgba(250,204,21,.14);
  color:#fde68a;
  border-color:rgba(250,204,21,.28);
}

.status-processing{
  background:rgba(59,130,246,.14);
  color:#93c5fd;
  border-color:rgba(59,130,246,.28);
}

.status-failed{
  background:rgba(239,68,68,.14);
  color:#fca5a5;
  border-color:rgba(239,68,68,.28);
}
/* yv-admin-videos-tools-end */
\n

/* yv-mobile-style-start */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .desktop-only,
  .left-sidebar,
  .right-sidebar,
  .sidebar,
  .nav-stack {
    display: none !important;
  }

  .layout,
  .page-layout,
  .content-layout,
  .home-layout,
  .container,
  .content,
  .main-content,
  .page-content,
  main {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box;
  }

  .hero,
  .hero-card,
  .hero-banner,
  .section,
  .section-card,
  .card {
    border-radius: 16px !important;
  }

  .video-grid,
  #videoGrid,
  .videos-grid,
  .home-videos,
  .grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .video-card,
  .card-video,
  .video-item,
  .video-link,
  .card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .video-card img,
  .video-card video,
  .card-video img,
  .video-item img,
  .thumb img,
  .thumbnail img,
  .poster img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
  }

  .video-title,
  .card-title,
  h1,
  h2,
  h3 {
    word-break: break-word;
  }

  .chips,
  .category-list,
  .filter-chips,
  .topic-list,
  .home-categories,
  .category-row {
    display: flex !important;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .chips::-webkit-scrollbar,
  .category-list::-webkit-scrollbar,
  .filter-chips::-webkit-scrollbar,
  .topic-list::-webkit-scrollbar,
  .home-categories::-webkit-scrollbar,
  .category-row::-webkit-scrollbar {
    display: none;
  }

  #homeSort,
  select[name="sort"],
  .sort-box select,
  .sort-wrap select,
  select {
    min-height: 40px;
    max-width: 100%;
    font-size: 14px;
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    height: calc(64px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(12, 18, 35, 0.98);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,0.08);
    align-items: center;
    justify-content: space-around;
  }

  .mobile-bottom-nav a {
    flex: 1 1 20%;
    min-width: 0;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11px;
    line-height: 1.1;
    opacity: 0.92;
    padding: 6px 4px;
  }

  .mobile-bottom-nav a.is-active {
    opacity: 1;
    font-weight: 700;
  }

  .mobile-bottom-nav__icon {
    font-size: 18px;
    line-height: 1;
  }

  .mobile-bottom-nav__label {
    font-size: 11px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
/* yv-mobile-style-end */

/* yv-mobile-tune2-start */
@media (max-width: 768px) {
  :root {
    --yv-mobile-gap: 12px;
    --yv-mobile-radius: 18px;
  }

  html, body {
    overflow-x: hidden;
  }

  body {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .nav-stack,
  .sidebar,
  .left-sidebar,
  .right-sidebar,
  .desktop-only {
    display: none !important;
  }

  main,
  .main-content,
  .page-content,
  .content,
  .content-wrap,
  .content-shell,
  .page-wrap,
  .page-shell,
  .shell,
  .layout,
  .page-layout,
  .home-layout,
  .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: var(--yv-mobile-gap) !important;
    padding-right: var(--yv-mobile-gap) !important;
    box-sizing: border-box !important;
  }

  main > section,
  main > div,
  .main-content > section,
  .main-content > div,
  .page-content > section,
  .page-content > div,
  .content > section,
  .content > div {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .hero,
  .hero-card,
  .hero-banner,
  .section,
  .section-card,
  .card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px !important;
    border-radius: var(--yv-mobile-radius) !important;
  }

  .hero h1,
  .hero-card h1,
  .section h1,
  .card h1 {
    font-size: clamp(30px, 8vw, 42px) !important;
    line-height: 1.05 !important;
  }

  .hero p,
  .hero-card p,
  .section p,
  .card p {
    line-height: 1.5 !important;
  }

  .action-row,
  .hero-actions,
  .cta-row,
  .btn-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
  }

  .action-row .btn,
  .hero-actions .btn,
  .cta-row .btn,
  .btn-row .btn,
  .action-row a,
  .hero-actions a,
  .cta-row a,
  .btn-row a,
  .action-row button,
  .hero-actions button,
  .cta-row button,
  .btn-row button {
    width: 100% !important;
    min-height: 46px !important;
    text-align: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .stats-grid,
  .metric-grid,
  .hero-stats,
  .dashboard-stats,
  .summary-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
  }

  .stats-grid > *,
  .metric-grid > *,
  .hero-stats > *,
  .dashboard-stats > *,
  .summary-grid > * {
    min-width: 0 !important;
  }

  .chips,
  .category-list,
  .filter-chips,
  .topic-list,
  .home-categories,
  .category-row {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding-bottom: 6px !important;
    scrollbar-width: none !important;
  }

  .chips::-webkit-scrollbar,
  .category-list::-webkit-scrollbar,
  .filter-chips::-webkit-scrollbar,
  .topic-list::-webkit-scrollbar,
  .home-categories::-webkit-scrollbar,
  .category-row::-webkit-scrollbar {
    display: none !important;
  }

  .video-grid,
  #videoGrid,
  .videos-grid,
  .home-videos,
  .grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .video-card,
  .card-video,
  .video-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    border-radius: var(--yv-mobile-radius) !important;
    overflow: hidden !important;
  }

  .video-card img,
  .video-card video,
  .card-video img,
  .video-item img,
  .thumb img,
  .thumbnail img,
  .poster img {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    border-radius: 14px !important;
  }

  .video-card .card-body,
  .video-card .video-body,
  .card-video .card-body,
  .video-item .card-body {
    padding: 10px 4px 0 4px !important;
  }

  .video-title,
  .card-title {
    font-size: 16px !important;
    line-height: 1.35 !important;
    margin-top: 10px !important;
    margin-bottom: 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .video-meta,
  .card-meta {
    font-size: 12px !important;
    line-height: 1.45 !important;
    opacity: 0.92 !important;
  }

  .sort-wrap,
  .sort-box,
  .toolbar,
  .section-toolbar {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
  }

  #homeSort,
  select[name="sort"],
  .sort-box select,
  .sort-wrap select {
    min-height: 40px !important;
    max-width: 100% !important;
    font-size: 14px !important;
  }

  .mobile-bottom-nav {
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35) !important;
  }
}
/* yv-mobile-tune2-end */

/* yv-mobile-tune3-start */
@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex !important;
  }

  .mobile-bottom-nav a {
    min-width: 0 !important;
  }

  .mobile-bottom-nav__icon {
    width: 22px !important;
    height: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mobile-bottom-nav__icon svg {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
  }

  .mobile-bottom-nav__label {
    font-size: 11px !important;
    line-height: 1.15 !important;
  }

  .mobile-bottom-nav a.is-active {
    color: #ffffff !important;
  }

  .mobile-bottom-nav a:not(.is-active) {
    color: rgba(255,255,255,.82) !important;
  }

  .section-title,
  .section-heading,
  .home-section-title,
  .title-stack,
  .title-col,
  h1, h2, h3 {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .section-header,
  .section-head,
  .section-toolbar,
  .home-section-header,
  .category-header,
  .category-shell,
  .category-panel,
  .home-categories-wrap,
  .browse-header {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .section-header > *,
  .section-head > *,
  .home-section-header > *,
  .category-header > *,
  .category-shell > *,
  .category-panel > *,
  .home-categories-wrap > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  .chips,
  .category-list,
  .filter-chips,
  .topic-list,
  .home-categories,
  .category-row {
    display: flex !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
    overflow-x: visible !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .chips > *,
  .category-list > *,
  .filter-chips > *,
  .topic-list > *,
  .home-categories > *,
  .category-row > * {
    flex: 0 0 auto !important;
  }

  .video-grid,
  #videoGrid,
  .videos-grid,
  .home-videos,
  .grid {
    margin-top: 12px !important;
  }

  .video-card,
  .card-video,
  .video-item {
    padding: 0 !important;
  }

  .video-card .video-title,
  .card-video .video-title,
  .video-item .video-title,
  .video-card .card-title,
  .card-video .card-title,
  .video-item .card-title {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .video-card .video-meta,
  .card-video .video-meta,
  .video-item .video-meta,
  .video-card .card-meta,
  .card-video .card-meta,
  .video-item .card-meta {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .stats-grid,
  .metric-grid,
  .hero-stats,
  .dashboard-stats,
  .summary-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
/* yv-mobile-tune3-end */

/* yv-admin-thumb-small-start */
body[data-page="admin-videos"] .table-wrap,
body[data-page="admin-videos"] .admin-table-wrap,
body[data-page="admin-videos"] .card,
body[data-page="admin-videos"] .section-card {
  overflow-x: auto;
}

body[data-page="admin-videos"] table {
  width: 100%;
  table-layout: fixed;
}

body[data-page="admin-videos"] th,
body[data-page="admin-videos"] td {
  vertical-align: middle;
}

body[data-page="admin-videos"] th:first-child,
body[data-page="admin-videos"] td:first-child {
  width: 240px !important;
  max-width: 240px !important;
}

body[data-page="admin-videos"] td:first-child {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

body[data-page="admin-videos"] .video-thumb,
body[data-page="admin-videos"] .thumb,
body[data-page="admin-videos"] .thumb-box,
body[data-page="admin-videos"] .thumb-wrap,
body[data-page="admin-videos"] .video-preview,
body[data-page="admin-videos"] .preview-box,
body[data-page="admin-videos"] .preview-wrap,
body[data-page="admin-videos"] .processing-card,
body[data-page="admin-videos"] .placeholder-card,
body[data-page="admin-videos"] td:first-child > a,
body[data-page="admin-videos"] td:first-child > div {
  width: 220px !important;
  max-width: 220px !important;
  min-width: 220px !important;
  margin: 0 auto !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body[data-page="admin-videos"] .video-thumb img,
body[data-page="admin-videos"] .video-thumb video,
body[data-page="admin-videos"] .thumb img,
body[data-page="admin-videos"] .thumb video,
body[data-page="admin-videos"] .thumb-box img,
body[data-page="admin-videos"] .thumb-box video,
body[data-page="admin-videos"] .thumb-wrap img,
body[data-page="admin-videos"] .thumb-wrap video,
body[data-page="admin-videos"] .video-preview img,
body[data-page="admin-videos"] .video-preview video,
body[data-page="admin-videos"] .preview-box img,
body[data-page="admin-videos"] .preview-box video,
body[data-page="admin-videos"] .preview-wrap img,
body[data-page="admin-videos"] .preview-wrap video,
body[data-page="admin-videos"] td:first-child img,
body[data-page="admin-videos"] td:first-child video,
body[data-page="admin-videos"] td:first-child canvas,
body[data-page="admin-videos"] td:first-child svg {
  display: block !important;
  width: 220px !important;
  max-width: 220px !important;
  min-width: 220px !important;
  height: 124px !important;
  max-height: 124px !important;
  min-height: 124px !important;
  object-fit: cover !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

body[data-page="admin-videos"] .processing-card,
body[data-page="admin-videos"] .placeholder-card,
body[data-page="admin-videos"] .preview-box,
body[data-page="admin-videos"] .preview-wrap {
  min-height: 124px !important;
}

body[data-page="admin-videos"] td:first-child p,
body[data-page="admin-videos"] td:first-child .muted,
body[data-page="admin-videos"] td:first-child .video-title,
body[data-page="admin-videos"] td:first-child .card-title {
  margin-top: 8px !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

body[data-page="admin-videos"] td:last-child {
  white-space: nowrap;
}

body[data-page="admin-videos"] .action-row,
body[data-page="admin-videos"] .actions,
body[data-page="admin-videos"] .btn-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  align-items: flex-end !important;
}

body[data-page="admin-videos"] .action-row .btn,
body[data-page="admin-videos"] .actions .btn,
body[data-page="admin-videos"] .btn-row .btn,
body[data-page="admin-videos"] td:last-child .btn,
body[data-page="admin-videos"] td:last-child a,
body[data-page="admin-videos"] td:last-child button {
  min-width: 76px !important;
  text-align: center !important;
}

@media (max-width: 1024px) {
  body[data-page="admin-videos"] th:first-child,
  body[data-page="admin-videos"] td:first-child {
    width: 180px !important;
    max-width: 180px !important;
  }

  body[data-page="admin-videos"] .video-thumb,
  body[data-page="admin-videos"] .thumb,
  body[data-page="admin-videos"] .thumb-box,
  body[data-page="admin-videos"] .thumb-wrap,
  body[data-page="admin-videos"] .video-preview,
  body[data-page="admin-videos"] .preview-box,
  body[data-page="admin-videos"] .preview-wrap,
  body[data-page="admin-videos"] .processing-card,
  body[data-page="admin-videos"] .placeholder-card,
  body[data-page="admin-videos"] td:first-child > a,
  body[data-page="admin-videos"] td:first-child > div {
    width: 160px !important;
    max-width: 160px !important;
    min-width: 160px !important;
  }

  body[data-page="admin-videos"] .video-thumb img,
  body[data-page="admin-videos"] .video-thumb video,
  body[data-page="admin-videos"] .thumb img,
  body[data-page="admin-videos"] .thumb video,
  body[data-page="admin-videos"] .thumb-box img,
  body[data-page="admin-videos"] .thumb-box video,
  body[data-page="admin-videos"] .thumb-wrap img,
  body[data-page="admin-videos"] .thumb-wrap video,
  body[data-page="admin-videos"] .video-preview img,
  body[data-page="admin-videos"] .video-preview video,
  body[data-page="admin-videos"] .preview-box img,
  body[data-page="admin-videos"] .preview-box video,
  body[data-page="admin-videos"] .preview-wrap img,
  body[data-page="admin-videos"] .preview-wrap video,
  body[data-page="admin-videos"] td:first-child img,
  body[data-page="admin-videos"] td:first-child video,
  body[data-page="admin-videos"] td:first-child canvas,
  body[data-page="admin-videos"] td:first-child svg {
    width: 160px !important;
    max-width: 160px !important;
    min-width: 160px !important;
    height: 90px !important;
    max-height: 90px !important;
    min-height: 90px !important;
  }
}
/* yv-admin-thumb-small-end */

/* yv-admin-title-fix-start */
body[data-page="admin-videos"] td:first-child .video-title,
body[data-page="admin-videos"] td:first-child .card-title,
body[data-page="admin-videos"] td:first-child strong,
body[data-page="admin-videos"] td:first-child b,
body[data-page="admin-videos"] td:first-child h3,
body[data-page="admin-videos"] td:first-child h4 {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  max-width: 220px !important;
  line-height: 1.35 !important;
  margin: 8px 0 4px 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

body[data-page="admin-videos"] td:first-child .muted,
body[data-page="admin-videos"] td:first-child small,
body[data-page="admin-videos"] td:first-child .video-meta,
body[data-page="admin-videos"] td:first-child .card-meta,
body[data-page="admin-videos"] td:first-child p {
  max-width: 220px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  word-break: break-word !important;
}

@media (max-width: 1024px) {
  body[data-page="admin-videos"] td:first-child .video-title,
  body[data-page="admin-videos"] td:first-child .card-title,
  body[data-page="admin-videos"] td:first-child strong,
  body[data-page="admin-videos"] td:first-child b,
  body[data-page="admin-videos"] td:first-child h3,
  body[data-page="admin-videos"] td:first-child h4,
  body[data-page="admin-videos"] td:first-child .muted,
  body[data-page="admin-videos"] td:first-child small,
  body[data-page="admin-videos"] td:first-child .video-meta,
  body[data-page="admin-videos"] td:first-child .card-meta,
  body[data-page="admin-videos"] td:first-child p {
    max-width: 160px !important;
  }
}
/* yv-admin-title-fix-end */

/* yv-admin-title-thumb-tune-start */
body[data-page="admin-videos"] th:first-child,
body[data-page="admin-videos"] td:first-child {
  width: 180px !important;
  max-width: 180px !important;
  min-width: 180px !important;
  vertical-align: top !important;
}

body[data-page="admin-videos"] .video-thumb,
body[data-page="admin-videos"] .thumb,
body[data-page="admin-videos"] .thumb-box,
body[data-page="admin-videos"] .thumb-wrap,
body[data-page="admin-videos"] .video-preview,
body[data-page="admin-videos"] .preview-box,
body[data-page="admin-videos"] .preview-wrap,
body[data-page="admin-videos"] .processing-card,
body[data-page="admin-videos"] .placeholder-card,
body[data-page="admin-videos"] td:first-child > a,
body[data-page="admin-videos"] td:first-child > div:has(img),
body[data-page="admin-videos"] td:first-child > div:has(video),
body[data-page="admin-videos"] td:first-child > div:has(canvas),
body[data-page="admin-videos"] td:first-child > div:has(svg) {
  width: 150px !important;
  max-width: 150px !important;
  min-width: 150px !important;
  margin: 0 0 8px 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

body[data-page="admin-videos"] td:first-child img,
body[data-page="admin-videos"] td:first-child video,
body[data-page="admin-videos"] td:first-child canvas,
body[data-page="admin-videos"] td:first-child svg {
  display: block !important;
  width: 150px !important;
  max-width: 150px !important;
  min-width: 150px !important;
  height: 84px !important;
  max-height: 84px !important;
  min-height: 84px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  margin: 0 0 8px 0 !important;
}

body[data-page="admin-videos"] .yv-admin-row-title,
body[data-page="admin-videos"] td:first-child .video-title,
body[data-page="admin-videos"] td:first-child .card-title,
body[data-page="admin-videos"] td:first-child strong,
body[data-page="admin-videos"] td:first-child b,
body[data-page="admin-videos"] td:first-child h3,
body[data-page="admin-videos"] td:first-child h4 {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  width: 150px !important;
  max-width: 150px !important;
  line-height: 1.35 !important;
  margin: 4px 0 4px 0 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body[data-page="admin-videos"] .yv-admin-row-meta,
body[data-page="admin-videos"] td:first-child .muted,
body[data-page="admin-videos"] td:first-child small,
body[data-page="admin-videos"] td:first-child .video-meta,
body[data-page="admin-videos"] td:first-child .card-meta,
body[data-page="admin-videos"] td:first-child p,
body[data-page="admin-videos"] td:first-child span,
body[data-page="admin-videos"] td:first-child div:not(:has(img)):not(:has(video)):not(:has(canvas)):not(:has(svg)) {
  display: block !important;
  width: 150px !important;
  max-width: 150px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  line-height: 1.35 !important;
  font-size: 12px !important;
  opacity: 0.95 !important;
  margin: 2px 0 !important;
}

body[data-page="admin-videos"] td:first-child {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

body[data-page="admin-videos"] .action-row,
body[data-page="admin-videos"] .actions,
body[data-page="admin-videos"] .btn-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  align-items: flex-end !important;
}

body[data-page="admin-videos"] td:last-child .btn,
body[data-page="admin-videos"] td:last-child a,
body[data-page="admin-videos"] td:last-child button {
  min-width: 72px !important;
  padding: 8px 10px !important;
}

@media (max-width: 1280px) {
  body[data-page="admin-videos"] th:first-child,
  body[data-page="admin-videos"] td:first-child {
    width: 160px !important;
    max-width: 160px !important;
    min-width: 160px !important;
  }

  body[data-page="admin-videos"] .video-thumb,
  body[data-page="admin-videos"] .thumb,
  body[data-page="admin-videos"] .thumb-box,
  body[data-page="admin-videos"] .thumb-wrap,
  body[data-page="admin-videos"] .video-preview,
  body[data-page="admin-videos"] .preview-box,
  body[data-page="admin-videos"] .preview-wrap,
  body[data-page="admin-videos"] .processing-card,
  body[data-page="admin-videos"] .placeholder-card,
  body[data-page="admin-videos"] td:first-child > a {
    width: 136px !important;
    max-width: 136px !important;
    min-width: 136px !important;
  }

  body[data-page="admin-videos"] td:first-child img,
  body[data-page="admin-videos"] td:first-child video,
  body[data-page="admin-videos"] td:first-child canvas,
  body[data-page="admin-videos"] td:first-child svg {
    width: 136px !important;
    max-width: 136px !important;
    min-width: 136px !important;
    height: 76px !important;
    max-height: 76px !important;
    min-height: 76px !important;
  }

  body[data-page="admin-videos"] .yv-admin-row-title,
  body[data-page="admin-videos"] .yv-admin-row-meta,
  body[data-page="admin-videos"] td:first-child .video-title,
  body[data-page="admin-videos"] td:first-child .card-title,
  body[data-page="admin-videos"] td:first-child strong,
  body[data-page="admin-videos"] td:first-child b,
  body[data-page="admin-videos"] td:first-child h3,
  body[data-page="admin-videos"] td:first-child h4,
  body[data-page="admin-videos"] td:first-child .muted,
  body[data-page="admin-videos"] td:first-child small,
  body[data-page="admin-videos"] td:first-child .video-meta,
  body[data-page="admin-videos"] td:first-child .card-meta,
  body[data-page="admin-videos"] td:first-child p,
  body[data-page="admin-videos"] td:first-child span {
    width: 136px !important;
    max-width: 136px !important;
  }
}
/* yv-admin-title-thumb-tune-end */

/* yv-admin-actions-align-start */
body[data-page="admin-videos"] th:last-child,
body[data-page="admin-videos"] td:last-child {
  width: 110px !important;
  min-width: 110px !important;
  max-width: 110px !important;
  vertical-align: middle !important;
  text-align: center !important;
}

body[data-page="admin-videos"] td:last-child {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

body[data-page="admin-videos"] .action-row,
body[data-page="admin-videos"] .actions,
body[data-page="admin-videos"] .btn-row,
body[data-page="admin-videos"] td:last-child > div {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  width: 88px !important;
  min-width: 88px !important;
  max-width: 88px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-items: stretch !important;
  justify-items: stretch !important;
}

body[data-page="admin-videos"] td:last-child .btn,
body[data-page="admin-videos"] td:last-child a,
body[data-page="admin-videos"] td:last-child button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 88px !important;
  min-width: 88px !important;
  max-width: 88px !important;
  min-height: 38px !important;
  box-sizing: border-box !important;
  text-align: center !important;
  padding: 8px 10px !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

body[data-page="admin-videos"] td:last-child > a,
body[data-page="admin-videos"] td:last-child > button {
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 1280px) {
  body[data-page="admin-videos"] th:last-child,
  body[data-page="admin-videos"] td:last-child {
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
  }

  body[data-page="admin-videos"] .action-row,
  body[data-page="admin-videos"] .actions,
  body[data-page="admin-videos"] .btn-row,
  body[data-page="admin-videos"] td:last-child > div,
  body[data-page="admin-videos"] td:last-child .btn,
  body[data-page="admin-videos"] td:last-child a,
  body[data-page="admin-videos"] td:last-child button {
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
  }
}
/* yv-admin-actions-align-end */

/* yv-admin-watch-edit-start */
.yv-watch-admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 10px 0;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
}

.yv-watch-admin-bar__title {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.95;
}

.yv-watch-admin-bar__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.yv-watch-admin-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yv-watch-admin-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.yv-watch-admin-btn--primary {
  background: #ff4f7b;
  color: #fff;
}

.yv-watch-admin-btn--secondary {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
  .yv-watch-admin-bar {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .yv-watch-admin-bar__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .yv-watch-admin-btn {
    width: 100%;
  }
}
/* yv-admin-watch-edit-end */

/* yv-admin-category-rename-start */
.yv-category-admin {
  display: grid;
  gap: 16px;
}

.yv-category-admin__head h1 {
  margin: 0 0 6px 0;
}

.yv-category-admin__note {
  font-size: 14px;
  opacity: 0.9;
}

.yv-category-admin__flash {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

.yv-category-admin__list {
  display: grid;
  gap: 12px;
}

.yv-category-admin__row {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.yv-category-admin__old {
  font-weight: 700;
  word-break: break-word;
}

.yv-category-admin__rename {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  padding: 0 12px;
  box-sizing: border-box;
}

.yv-category-admin__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.yv-category-admin__btn {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.yv-category-admin__btn--primary {
  background: #ff4f7b;
  color: #fff;
}

.yv-category-admin__btn--secondary {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .yv-category-admin__row {
    grid-template-columns: 1fr;
  }

  .yv-category-admin__actions {
    width: 100%;
  }

  .yv-category-admin__btn,
  .yv-category-admin__btn--secondary {
    width: 100%;
    justify-content: center;
  }
}
/* yv-admin-category-rename-end */

/* yv-watch-cleanup-start */
.watch-layout {
  align-items: start;
  gap: 24px;
}

.watch-main {
  min-width: 0;
}

.player-shell {
  overflow: hidden;
  border-radius: 22px;
}

.watch-meta {
  margin-top: 14px;
}

.watch-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.watch-meta h1 {
  margin: 0 0 10px 0;
  line-height: 1.22;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.02em;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.82);
}

.meta-row span {
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
}

.watch-description {
  margin: 0;
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row .tag,
.tag-row > .tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
}

.side-video {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.side-video img {
  width: 140px;
  height: 88px;
  object-fit: cover;
  border-radius: 14px;
}

.side-video__body {
  min-width: 0;
}

.side-video__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  margin-bottom: 6px;
  font-weight: 700;
}

.side-video__channel {
  margin-bottom: 4px;
  color: rgba(255,255,255,0.8);
}

.side-video__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .watch-layout {
    gap: 18px;
  }

  .watch-meta {
    margin-top: 12px;
  }

  .watch-badges {
    gap: 8px;
    margin-bottom: 12px;
  }

  .meta-row {
    gap: 10px;
    margin-bottom: 10px;
  }

  .side-video {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px;
  }

  .side-video img {
    width: 120px;
    height: 76px;
  }
}
/* yv-watch-cleanup-end */

/* yv-watch-minimal-start */
.watch-meta--minimal {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.watch-meta--minimal h1 {
  margin: 0;
  line-height: 1.2;
  font-size: clamp(30px, 3vw, 46px);
  letter-spacing: -0.02em;
}

.watch-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  color: rgba(255,255,255,0.82);
}

.meta-row span {
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
}

.watch-description,
.tag-row,
.uploader-card,
.card.uploader-card {
  display: none !important;
}

@media (max-width: 900px) {
  .watch-meta--minimal {
    margin-top: 12px;
    gap: 8px;
  }

  .watch-meta--minimal h1 {
    font-size: 30px;
  }

  .meta-row {
    gap: 10px;
  }
}
/* yv-watch-minimal-end */


/* yv-fix-search-big-logo-start */

/* mobile nav jangan muncul di desktop */
.mobile-bottom-nav {
  display: none !important;
}

@media (max-width: 900px) {
  .mobile-bottom-nav {
    display: grid !important;
  }
}

/* pastikan icon mobile nav tidak pernah membesar liar */
.mobile-bottom-nav__icon,
.mobile-bottom-nav__icon svg,
.mobile-bottom-nav svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  display: inline-block !important;
  flex: 0 0 22px !important;
}

/* cegah svg liar membesar di area konten */
.content-shell svg,
.section svg,
.search-results svg,
.video-grid svg {
  max-width: 100%;
  max-height: 32px;
}

/* kalau ada svg nyasar langsung di halaman search, sembunyikan */
body[data-page="search"] .content-shell > svg,
body[data-page="search"] .section > svg,
body[data-page="search"] .content-shell > div > svg {
  display: none !important;
}

/* cegah gambar/logo liar memenuhi layar */
body[data-page="search"] img:not(.brand-logo-img):not(.video-card img):not(.thumb-link img):not(.side-video img) {
  max-width: 100%;
  height: auto;
}

/* rapikan hasil search */
body[data-page="search"] .section,
body[data-page="search"] .content-shell {
  overflow-x: hidden;
}

body[data-page="search"] .video-grid {
  align-items: start;
}

/* kalau ada elemen kosong raksasa, sembunyikan */
body[data-page="search"] .content-shell > *:empty {
  display: none !important;
}

/* brand logo sidebar tetap kecil */
.brand-logo-img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  object-fit: contain;
  display: inline-block;
}

/* yv-fix-search-big-logo-end */


/* yv-admin-duplicates-style-start */
.yv-dup-toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.yv-dup-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.yv-dup-search input {
  min-width: 0;
}

.yv-dup-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.yv-dup-group {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.yv-dup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.yv-dup-head h3 {
  margin: 0 0 6px 0;
}

.yv-dup-list {
  display: grid;
  gap: 12px;
}

.yv-dup-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.yv-dup-row.is-keep {
  border-color: rgba(80, 220, 140, 0.24);
  background: rgba(80, 220, 140, 0.05);
}

.yv-dup-thumb {
  display: block;
  width: 180px;
}

.yv-dup-thumb img {
  width: 180px;
  height: 104px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.yv-dup-info {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.yv-dup-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.yv-dup-title {
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  color: inherit;
}

.yv-dup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}

.yv-dup-file {
  font-size: 13px;
  color: rgba(255,255,255,0.68);
  word-break: break-word;
}

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

.yv-dup-inline-form {
  margin: 0;
}

.yv-dup-danger {
  background: linear-gradient(135deg, #ff4f7b, #ff3366);
}

@media (max-width: 980px) {
  .yv-dup-search {
    grid-template-columns: 1fr;
  }

  .yv-dup-head {
    flex-direction: column;
    align-items: stretch;
  }

  .yv-dup-row {
    grid-template-columns: 1fr;
  }

  .yv-dup-thumb,
  .yv-dup-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .yv-dup-actions {
    justify-content: flex-start;
  }
}
/* yv-admin-duplicates-style-end */


/* yv-watch-admin-delete-style-start */
.watch-admin-inline-form {
  display: inline-flex;
  margin: 0;
}

.btn-danger {
  color: #fff !important;
  background: linear-gradient(135deg, #ff4f7b, #e03157) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
}

.btn-danger:hover {
  filter: brightness(1.04);
}

.btn-danger:active {
  transform: translateY(1px);
}
/* yv-watch-admin-delete-style-end */


/* yv-watch-delete-direct-style-start */
.btn-danger {
  color: #fff !important;
  background: linear-gradient(135deg, #ff4f7b, #e03157) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
}

.btn-danger:hover {
  filter: brightness(1.04);
}

.btn-danger:active {
  transform: translateY(1px);
}
/* yv-watch-delete-direct-style-end */


/* yv-watch-delete-floating-style-start */
.yv-watch-delete-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  color: #fff !important;
  background: linear-gradient(135deg, #ff4f7b, #e03157);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 36px rgba(0,0,0,0.28);
}

.yv-watch-delete-float:hover {
  filter: brightness(1.04);
}

.yv-watch-delete-float:active {
  transform: translateY(1px);
}

@media (max-width: 900px) {
  .yv-watch-delete-float {
    right: 14px;
    bottom: 84px;
    min-height: 44px;
    padding: 0 16px;
  }
}
/* yv-watch-delete-floating-style-end */

/* yv-side-video-clean-style-start */
.side-video {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.side-video img {
  width: 140px !important;
  height: 88px !important;
  min-width: 140px !important;
  min-height: 88px !important;
  max-width: 140px !important;
  max-height: 88px !important;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #101a35;
}

.side-video__body {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.side-video__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  font-weight: 700;
}

.side-video__channel {
  color: rgba(255,255,255,0.8);
}

.side-video__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .side-video {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px;
  }

  .side-video img {
    width: 120px !important;
    height: 76px !important;
    min-width: 120px !important;
    min-height: 76px !important;
    max-width: 120px !important;
    max-height: 76px !important;
  }
}
/* yv-side-video-clean-style-end */

/* yv-side-video-clean-style-start */
.side-video {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.side-video img {
  width: 140px !important;
  height: 88px !important;
  min-width: 140px !important;
  min-height: 88px !important;
  max-width: 140px !important;
  max-height: 88px !important;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #101a35;
}

.side-video__body {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.side-video__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  font-weight: 700;
}

.side-video__channel {
  color: rgba(255,255,255,0.8);
}

.side-video__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .side-video {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px;
  }

  .side-video img {
    width: 120px !important;
    height: 76px !important;
    min-width: 120px !important;
    min-height: 76px !important;
    max-width: 120px !important;
    max-height: 76px !important;
  }
}
/* yv-side-video-clean-style-end */

/* yv-side-video-clean-style-start */
.side-video {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.side-video img {
  width: 140px !important;
  height: 88px !important;
  min-width: 140px !important;
  min-height: 88px !important;
  max-width: 140px !important;
  max-height: 88px !important;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #101a35;
}

.side-video__body {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.side-video__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  font-weight: 700;
}

.side-video__channel {
  color: rgba(255,255,255,0.8);
}

.side-video__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .side-video {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px;
  }

  .side-video img {
    width: 120px !important;
    height: 76px !important;
    min-width: 120px !important;
    min-height: 76px !important;
    max-width: 120px !important;
    max-height: 76px !important;
  }
}
/* yv-side-video-clean-style-end */


/* yv-admin-tools-style-start */
.btn-danger {
  color: #fff !important;
  background: linear-gradient(135deg, #ff4f7b, #e03157) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}

.yv-admin-delete-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  color: #fff !important;
  background: linear-gradient(135deg, #ff4f7b, #e03157);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 36px rgba(0,0,0,0.28);
}

.yv-admin-delete-float:hover {
  filter: brightness(1.04);
}

.yv-dup-list {
  display: grid;
  gap: 16px;
}

.yv-dup-group {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,0.02);
}

.yv-dup-group__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.yv-dup-items {
  display: grid;
  gap: 10px;
}

.yv-dup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.yv-dup-main {
  min-width: 0;
}

.yv-dup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.yv-dup-actions form {
  margin: 0;
}

@media (max-width: 900px) {
  .yv-admin-delete-float {
    right: 14px;
    bottom: 84px;
    min-height: 44px;
    padding: 0 16px;
  }

  .yv-dup-row {
    grid-template-columns: 1fr;
  }
}
/* yv-admin-tools-style-end */


/* yv-watch-admin-actions-style-start */
.yv-watch-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 16px 0 18px 0;
  padding: 14px 0 0 0;
}

.yv-watch-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  color: #fff !important;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.yv-watch-admin-btn:hover {
  filter: brightness(1.05);
}

.yv-watch-admin-btn.is-danger {
  background: linear-gradient(135deg, #ff4f7b, #e03157);
  border-color: rgba(255,255,255,0.08);
}

@media (max-width: 700px) {
  .yv-watch-admin-actions {
    gap: 10px;
  }

  .yv-watch-admin-btn {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
  }
}
/* yv-watch-admin-actions-style-end */


/* yv-admin-enhance-style-start */
.btn-danger {
  color: #fff !important;
  background: linear-gradient(135deg, #ff4f7b, #e03157) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}

.yv-watch-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 16px 0 18px 0;
  padding-top: 12px;
}

.yv-watch-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  color: #fff !important;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.yv-watch-admin-btn:hover {
  filter: brightness(1.05);
}

.yv-watch-admin-btn.is-danger {
  background: linear-gradient(135deg, #ff4f7b, #e03157);
}

.yv-dup-list {
  display: grid;
  gap: 16px;
}

.yv-dup-group {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,0.02);
}

.yv-dup-group__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.yv-dup-items {
  display: grid;
  gap: 10px;
}

.yv-dup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.yv-dup-main {
  min-width: 0;
}

.yv-dup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.yv-dup-actions form {
  margin: 0;
}

.yv-dup-actions .input {
  min-width: 220px;
}

@media (max-width: 900px) {
  .yv-dup-row {
    grid-template-columns: 1fr;
  }
}
/* yv-admin-enhance-style-end */


/* yv-admin-final-fix-style-start */
.btn-danger {
  color: #fff !important;
  background: linear-gradient(135deg, #ff4f7b, #e03157) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}

.yv-watch-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 16px 0 18px 0;
  padding-top: 12px;
}

.yv-watch-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  color: #fff !important;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.yv-watch-admin-btn:hover {
  filter: brightness(1.05);
}

.yv-watch-admin-btn.is-danger {
  background: linear-gradient(135deg, #ff4f7b, #e03157);
}

.yv-dup-list {
  display: grid;
  gap: 16px;
}

.yv-dup-group {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,0.02);
}

.yv-dup-group__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.yv-dup-items {
  display: grid;
  gap: 10px;
}

.yv-dup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.yv-dup-main {
  min-width: 0;
}

.yv-dup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.yv-dup-actions form {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.yv-dup-actions .input {
  min-width: 220px;
}

@media (max-width: 900px) {
  .yv-dup-row {
    grid-template-columns: 1fr;
  }
}
/* yv-admin-final-fix-style-end */


.category-form-row {
  display: grid;
  grid-template-columns: 200px 1fr auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.field-label,
.category-name-old {
  font-weight: 700;
  color: #fff;
}

@media (max-width: 900px) {
  .category-form-row {
    grid-template-columns: 1fr;
  }
}

/* yv-home-banner-style-start */
.home-inline-banner {
  margin: 18px 0 22px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-inline-banner__link {
  display: inline-flex;
  width: min(728px, 100%);
  max-width: 728px;
  text-decoration: none;
}

.home-inline-banner__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  background: rgba(255,255,255,0.04);
}

@media (max-width: 768px) {
  .home-inline-banner {
    margin: 14px 0 18px;
  }

  .home-inline-banner__link {
    width: min(320px, 100%);
    max-width: 320px;
  }
}
/* yv-home-banner-style-end */

/* yv-login-bottom-banner-style-start */
.login-bottom-banner-section {
  padding-top: 10px;
  padding-bottom: 6px;
}

.login-bottom-banner-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-bottom-banner-link {
  display: inline-flex;
  width: min(728px, 100%);
  max-width: 728px;
  text-decoration: none;
}

.login-bottom-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  background: rgba(255,255,255,0.04);
}

@media (max-width: 768px) {
  .login-bottom-banner-section {
    padding-top: 8px;
    padding-bottom: 4px;
  }

  .login-bottom-banner-link {
    width: min(320px, 100%);
    max-width: 320px;
  }
}
/* yv-login-bottom-banner-style-end */


.chip-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.chip-dropdown-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  min-width: 120px;
  cursor: pointer;
  outline: none;
}

.chip-dropdown-select option {
  color: #111827;
}

.chip-dropdown.is-active {
  border-color: rgba(255, 84, 132, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 84, 132, 0.18);
}

@media (max-width: 640px) {
  .chip-dropdown-select {
    min-width: 96px;
  }
}


.chip-dropdown-form {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0 14px;
}

.chip-dropdown-form.is-active {
  border-color: rgba(255, 84, 132, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 84, 132, 0.18);
}

.chip-dropdown-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  min-width: 130px;
  cursor: pointer;
  outline: none;
}

.chip-dropdown-select option {
  color: #111827;
}
