/* =============================================================================
   Vlotube Studio
   A creative, quiet stage for video. Porcelain ground, white surfaces, and one
   signal colour: tally orange, the light on a camera that says "recording". It
   marks what is live, what is active, and where each shelf begins.

   Display: Bricolage Grotesque. Interface: Hanken Grotesk.
   Override layer on top of YouPlay; scoped under html.vt-studio.
   ============================================================================= */

html.vt-studio {
  --vt-ground:      #f2f3f7;
  --vt-surface:     #ffffff;
  --vt-raised:      #ffffff;
  --vt-sunken:      #e8eaf0;
  --vt-ink:         #0d0f1a;
  --vt-ink-2:       #5b6173;
  --vt-ink-3:       #8a90a2;
  --vt-line:        #e1e4ec;
  --vt-hover:       rgba(13, 15, 26, .05);
  --vt-press:       rgba(13, 15, 26, .09);
  --vt-tally:       #ff5a1f;
  --vt-tally-ink:   #c23f0c;
  --vt-tally-soft:  #ffe9df;
  --vt-on-tally:    #ffffff;
  --vt-glass:       rgba(242, 243, 247, .78);
  --vt-shadow-1:    0 1px 2px rgba(13, 15, 26, .06), 0 1px 1px rgba(13, 15, 26, .04);
  --vt-shadow-2:    0 12px 32px -12px rgba(13, 15, 26, .22);
  --vt-shadow-menu: 0 18px 48px -16px rgba(13, 15, 26, .28), 0 0 0 1px rgba(13, 15, 26, .05);
  --vt-r-sm:        10px;
  --vt-r:           16px;
  --vt-r-lg:        24px;
  --vt-header-h:    64px;
  --vt-guide-w:     248px;
  --vt-rail-w:      84px;
  --vt-display:     "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --vt-ui:          "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html.vt-studio.vt-night {
  --vt-ground:      #0a0b11;
  --vt-surface:     #12141d;
  --vt-raised:      #191c28;
  --vt-sunken:      #1f2231;
  --vt-ink:         #edeef4;
  --vt-ink-2:       #9096a8;
  --vt-ink-3:       #6b7185;
  --vt-line:        #242838;
  --vt-hover:       rgba(237, 238, 244, .06);
  --vt-press:       rgba(237, 238, 244, .11);
  --vt-tally:       #ff6a30;
  --vt-tally-ink:   #ff8a5c;
  --vt-tally-soft:  #2a1710;
  --vt-glass:       rgba(10, 11, 17, .76);
  --vt-shadow-1:    0 1px 2px rgba(0, 0, 0, .4);
  --vt-shadow-2:    0 16px 40px -14px rgba(0, 0, 0, .7);
  --vt-shadow-menu: 0 20px 50px -18px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
}

/* ---------------------------------------------------------------- base ---- */
html.vt-studio body {
  background: var(--vt-ground) !important;
  color: var(--vt-ink) !important;
  font-family: var(--vt-ui) !important;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
html.vt-studio h1, html.vt-studio h2, html.vt-studio h3, html.vt-studio h4 { font-family: var(--vt-ui); }
html.vt-studio a:focus-visible,
html.vt-studio button:focus-visible,
html.vt-studio input:focus-visible,
html.vt-studio textarea:focus-visible { outline: 2px solid var(--vt-tally) !important; outline-offset: 2px; }
html.vt-studio ::selection { background: var(--vt-tally-soft); color: var(--vt-ink); }

/* The signature: a small recording light. */
html.vt-studio .vt-tally {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--vt-tally);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--vt-tally) 22%, transparent), 0 0 12px color-mix(in srgb, var(--vt-tally) 55%, transparent);
}
html.vt-studio .vt-tally--pulse { animation: vt-tally 1.6s ease-in-out infinite; }
@keyframes vt-tally { 50% { opacity: .35; box-shadow: none; } }

/* -------------------------------------------------------------- header ---- */
html.vt-studio header.navbar-fixed-top,
html.vt-studio header nav.navbar-findcond.pt_header_nav {
  background: var(--vt-glass) !important;
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border: 0 !important; box-shadow: none !important;
  height: var(--vt-header-h); min-height: var(--vt-header-h);
}
html.vt-studio header nav.navbar-findcond.pt_header_nav { background: transparent !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
html.vt-studio header.navbar-fixed-top { border-bottom: 1px solid color-mix(in srgb, var(--vt-line) 70%, transparent) !important; }
html.vt-studio header nav.pt_header_nav {
  display: flex !important; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 20px !important;
}
html.vt-studio header .left-part { display: flex; align-items: center; gap: 6px; flex: none; }
html.vt-studio header .yp_slide_menu #open_slide {
  width: 42px; height: 42px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--vt-ink) !important; cursor: pointer; transition: background .15s;
}
html.vt-studio header .yp_slide_menu #open_slide:hover { background: var(--vt-press); }
html.vt-studio header .yp_slide_menu svg { width: 22px; height: 22px; }
html.vt-studio header .navbar-brand.logo-img { padding: 0 8px !important; height: auto !important; }
html.vt-studio header .navbar-brand.logo-img img { height: 26px !important; width: auto !important; }

html.vt-studio header form.search-header { flex: 0 1 560px; margin: 0 auto !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
html.vt-studio header form.search-header .form-group { position: relative; width: 100%; margin: 0; }
html.vt-studio header form.search-header #search-bar {
  width: 100%; height: 44px !important;
  background: var(--vt-surface) !important; color: var(--vt-ink) !important;
  border: 1px solid var(--vt-line) !important; border-radius: 14px !important;
  padding: 0 52px 0 18px !important; font: 500 15px var(--vt-ui) !important;
  box-shadow: var(--vt-shadow-1) !important; transition: border-color .15s, box-shadow .15s;
}
html.vt-studio header form.search-header #search-bar::placeholder { color: var(--vt-ink-3); }
html.vt-studio header form.search-header #search-bar:focus {
  border-color: var(--vt-tally) !important; outline: none !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--vt-tally) 16%, transparent) !important;
}
html.vt-studio header form.search-header .btn.btn-main {
  position: absolute !important; right: 5px; top: 5px; width: 34px; height: 34px;
  border-radius: 10px !important; border: 0 !important; margin: 0 !important; padding: 0 !important;
  background: var(--vt-ink) !important; color: var(--vt-ground) !important;
  display: flex; align-items: center; justify-content: center; box-shadow: none !important;
}
html.vt-studio header form.search-header .btn.btn-main:hover { background: var(--vt-tally) !important; color: var(--vt-on-tally) !important; }
html.vt-studio header form.search-header .btn.btn-main svg { width: 18px; height: 18px; fill: currentColor; }
html.vt-studio header .search-dropdown {
  top: 50px !important; left: 0; right: 0; background: var(--vt-raised) !important;
  border: 0 !important; border-radius: var(--vt-r) !important; box-shadow: var(--vt-shadow-menu) !important; overflow: hidden;
}

html.vt-studio header ul.right-part { display: flex; align-items: center; gap: 6px; margin: 0 !important; flex: none; }
html.vt-studio header ul.right-part > li > a {
  display: inline-flex !important; align-items: center; gap: 8px; height: 42px; padding: 0 14px !important;
  border-radius: 14px; color: var(--vt-ink) !important; background: transparent !important;
  font: 600 14px var(--vt-ui);
}
html.vt-studio header ul.right-part > li > a:hover,
html.vt-studio header ul.right-part > li.open > a { background: var(--vt-press) !important; }
html.vt-studio header ul.right-part > li.hide_upload_mobi_link > a { background: var(--vt-tally) !important; color: var(--vt-on-tally) !important; }
html.vt-studio header ul.right-part > li.hide_upload_mobi_link > a:hover { filter: brightness(1.06); }
html.vt-studio header ul.right-part svg { width: 21px; height: 21px; }
html.vt-studio header .dropdown-menu {
  background: var(--vt-raised) !important; border: 0 !important; border-radius: var(--vt-r) !important;
  box-shadow: var(--vt-shadow-menu) !important; padding: 8px !important; margin-top: 10px !important;
}
html.vt-studio header .dropdown-menu > li > a {
  display: flex !important; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px !important;
  border-radius: var(--vt-r-sm); color: var(--vt-ink) !important; font: 500 14px var(--vt-ui);
}
html.vt-studio header .dropdown-menu > li > a:hover { background: var(--vt-hover) !important; }
html.vt-studio header .dropdown-menu .divider { background: var(--vt-line) !important; margin: 6px 4px !important; }

/* ----------------------------------------------------------- dock / guide ---- */
html.vt-studio .yp_side_drawer {
  top: calc(var(--vt-header-h) + 12px) !important; bottom: 12px !important; left: 12px !important;
  width: var(--vt-rail-w); border-radius: var(--vt-r-lg);
  background: var(--vt-surface) !important; box-shadow: var(--vt-shadow-1) !important;
  border: 1px solid var(--vt-line); padding: 10px 8px 16px;
  scrollbar-width: none;
}
html.vt-studio .yp_side_drawer::-webkit-scrollbar { display: none; }
html.vt-studio .yp_side_menu.has_side_menu { margin-left: calc(var(--vt-rail-w) + 24px); }
html.vt-studio body.side_open .yp_side_drawer { width: var(--vt-guide-w); padding: 12px 12px 16px; }
html.vt-studio body.side_open .yp_side_menu.has_side_menu { margin-left: calc(var(--vt-guide-w) + 24px); }

html.vt-studio .yp_side_drawer ul.sections { border: 0 !important; padding: 4px 0 !important; }
html.vt-studio .yp_side_drawer ul.sections + ul.sections { border-top: 1px solid var(--vt-line) !important; margin-top: 8px !important; padding-top: 12px !important; }
html.vt-studio .yp_side_drawer ul.sections h3 {
  font: 700 11px/1 var(--vt-ui) !important; letter-spacing: .12em !important; text-transform: uppercase !important;
  color: var(--vt-ink-3) !important; padding: 6px 12px 10px !important; margin: 0 !important;
}
html.vt-studio .yp_side_drawer ul.sections li a {
  position: relative; display: flex; align-items: center; gap: 14px;
  height: 42px !important; line-height: 42px !important; padding: 0 12px !important;
  border-radius: 12px; color: var(--vt-ink-2) !important; font: 500 14px var(--vt-ui);
  transition: background .15s, color .15s;
}
html.vt-studio .yp_side_drawer ul.sections li a:before { display: none !important; }
html.vt-studio .yp_side_drawer ul.sections li a:hover { background: var(--vt-hover) !important; color: var(--vt-ink) !important; }
html.vt-studio .yp_side_drawer ul.sections li.active a { background: var(--vt-tally-soft) !important; color: var(--vt-ink) !important; font-weight: 600; }
html.vt-studio .yp_side_drawer ul.sections li.active a:after {
  content: ""; position: absolute; right: 12px; top: 50%; margin-top: -4px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--vt-tally);
  box-shadow: 0 0 10px color-mix(in srgb, var(--vt-tally) 60%, transparent);
}
html.vt-studio .yp_side_drawer ul.sections li.active a svg { color: var(--vt-tally-ink); }
html.vt-studio .yp_side_drawer ul.sections li a svg,
html.vt-studio .yp_side_drawer ul.sections li a .vt-nav-ico,
html.vt-studio .yp_side_drawer .subscribers_img_ { width: 22px !important; height: 22px !important; margin: 0 !important; flex: none; }
html.vt-studio .yp_side_drawer .subscribers_img_ { border-radius: 8px; object-fit: cover; }

/* Collapsed dock: centred icons with a tiny label. */
html.vt-studio body:not(.side_open) .yp_side_drawer ul.sections li a {
  flex-direction: column; justify-content: center; gap: 5px; height: 62px !important; line-height: 1 !important; padding: 0 4px !important;
}
html.vt-studio body:not(.side_open) .yp_side_drawer ul.sections li a span {
  display: block !important; font-size: 10.5px; font-weight: 600; max-width: 66px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center;
}
html.vt-studio body:not(.side_open) .yp_side_drawer ul.sections li.active a:after { right: 50%; top: 6px; margin: 0 -3px 0 0; width: 6px; height: 6px; }
html.vt-studio body:not(.side_open) .yp_side_drawer ul.sections li.hide-from-mobile { display: none; }
html.vt-studio body:not(.side_open) .yp_side_drawer ul.sections li#shorts_menu_ { display: block; }
html.vt-studio .yp_side_drawer footer.pt_footer, html.vt-studio .yp_side_drawer footer.pt_footer a { color: var(--vt-ink-3) !important; font-size: 12px; }

/* ----------------------------------------------------------------- hero ---- */
html.vt-studio .vt-home { padding: 20px 28px 56px 4px; }
html.vt-studio .vt-hero {
  position: relative; display: grid; align-items: end;
  min-height: clamp(320px, 42vw, 540px);
  border-radius: var(--vt-r-lg); overflow: hidden; isolation: isolate;
  background: #0d0f1a; color: #fff; margin-bottom: 28px; box-shadow: var(--vt-shadow-2);
}
html.vt-studio .vt-hero__media { position: absolute; inset: 0; z-index: -2; }
html.vt-studio .vt-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
html.vt-studio .vt-hero:hover .vt-hero__media img { transform: scale(1.06); }
html.vt-studio .vt-hero:after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 9, 15, .86) 0%, rgba(8, 9, 15, .55) 42%, rgba(8, 9, 15, 0) 72%),
    linear-gradient(0deg, rgba(8, 9, 15, .7) 0%, rgba(8, 9, 15, 0) 45%);
}
html.vt-studio .vt-hero__body { padding: clamp(24px, 4vw, 48px); max-width: 640px; }
html.vt-studio .vt-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font: 700 12px/1 var(--vt-ui); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.86);
}
html.vt-studio .vt-hero__title { margin: 0 0 12px; font: 800 clamp(30px, 4.2vw, 56px)/1.02 var(--vt-display); letter-spacing: -.025em; text-wrap: balance; }
html.vt-studio .vt-hero__title a { color: #fff !important; text-decoration: none !important; }
html.vt-studio .vt-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 24px; font: 500 14px var(--vt-ui); color: rgba(255,255,255,.72); }
html.vt-studio .vt-hero__meta span { font-variant-numeric: tabular-nums; }
html.vt-studio .vt-hero__meta span + span:before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin: 0 16px 3px 0; vertical-align: middle; opacity: .6; }
html.vt-studio .vt-hero__meta span:empty { display: none; }
html.vt-studio .vt-hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
html.vt-studio .vt-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px 0 20px;
  border-radius: 14px; font: 700 15px var(--vt-ui); text-decoration: none !important; transition: transform .15s, filter .15s;
}
html.vt-studio .vt-btn svg { width: 20px; height: 20px; }
html.vt-studio .vt-btn--tally { background: var(--vt-tally); color: #fff !important; box-shadow: 0 10px 28px -8px color-mix(in srgb, var(--vt-tally) 70%, transparent); }
html.vt-studio .vt-btn--tally:hover { filter: brightness(1.06); transform: translateY(-1px); }
html.vt-studio .vt-hero__channel {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 6px;
  border-radius: 14px; background: rgba(255, 255, 255, .12); color: #fff !important; font: 600 14px var(--vt-ui);
  text-decoration: none !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
html.vt-studio .vt-hero__channel img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }

/* ------------------------------------------------ explore tiles + chips ---- */
html.vt-studio .vt-home .vt-chips { display: block; margin: 0 0 22px; }
html.vt-studio .vt-home .vt-chips__title {
  display: flex; align-items: center; gap: 10px; margin: 0 0 12px; opacity: 1;
  font: 800 22px/1.1 var(--vt-display); letter-spacing: -.01em; color: var(--vt-ink);
}
html.vt-studio .vt-home .vt-chips__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(132px, 1fr); gap: 10px;
  overflow-x: auto; padding: 2px 2px 6px; scroll-snap-type: x proximity;
}
html.vt-studio .vt-home .vt-chip {
  scroll-snap-align: start; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px;
  height: auto; min-height: 96px; padding: 14px 14px 12px !important; border-radius: var(--vt-r) !important;
  background: var(--vt-surface) !important; border: 1px solid var(--vt-line) !important; color: var(--vt-ink) !important;
  font: 600 14px/1.2 var(--vt-ui); white-space: normal; box-shadow: var(--vt-shadow-1);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
html.vt-studio .vt-home .vt-chip:hover { border-color: var(--vt-tally) !important; transform: translateY(-2px); box-shadow: var(--vt-shadow-2); background: var(--vt-surface) !important; }
html.vt-studio .vt-home .vt-chip__ico {
  width: 38px; height: 38px; padding: 9px; border-radius: 11px;
  background: var(--vt-tally-soft); color: var(--vt-tally-ink); box-sizing: border-box;
}
html.vt-studio .pt_sec_nav_cats, html.vt-studio .pt_sec_nav_cats .container-fluid { background: transparent !important; padding: 0 !important; margin: 0 0 30px !important; box-shadow: none !important; }
html.vt-studio .pt_sec_nav_slide .swiper-slide { width: auto !important; margin-right: 8px; }
html.vt-studio .pt_sec_nav_slide .swiper-slide a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px !important;
  border-radius: 999px !important; border: 1px solid var(--vt-line) !important;
  background: var(--vt-surface) !important; color: var(--vt-ink-2) !important;
  font: 600 13.5px var(--vt-ui); white-space: nowrap; text-decoration: none !important;
}
html.vt-studio .pt_sec_nav_slide .swiper-slide a:hover { color: var(--vt-ink) !important; border-color: var(--vt-ink-3) !important; }
html.vt-studio .pt_sec_nav_slide .swiper-slide a.active { background: var(--vt-ink) !important; color: var(--vt-ground) !important; border-color: var(--vt-ink) !important; }
html.vt-studio .pt_sec_nav_slide_prnt .swiper-button-next,
html.vt-studio .pt_sec_nav_slide_prnt .swiper-button-prev {
  width: 36px; height: 36px; border-radius: 50%; top: 50%; margin-top: -18px;
  background: var(--vt-surface) !important; color: var(--vt-ink) !important; border: 1px solid var(--vt-line) !important;
  box-shadow: 0 0 14px 12px var(--vt-ground) !important;
}
html.vt-studio .pt_sec_nav_slide_prnt .swiper-button-disabled { opacity: 0 !important; pointer-events: none; }

/* ------------------------------------------------------------ shelves ---- */
html.vt-studio .vt-shelf { margin: 0 0 40px; }
html.vt-studio .vt-shelf__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
html.vt-studio .vt-shelf__title {
  display: flex; align-items: center; gap: 12px; margin: 0;
  font: 800 24px/1.1 var(--vt-display) !important; letter-spacing: -.015em; color: var(--vt-ink) !important;
}
html.vt-studio .vt-shelf__tools { display: flex; align-items: center; gap: 6px; }
html.vt-studio .vt-shelf__more {
  height: 36px; padding: 0 14px; border-radius: 10px; display: inline-flex; align-items: center;
  color: var(--vt-tally-ink) !important; font: 700 13.5px var(--vt-ui); text-decoration: none !important;
}
html.vt-studio .vt-shelf__more:hover { background: var(--vt-tally-soft); }
html.vt-studio .vt-shelf__nav {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--vt-line);
  background: var(--vt-surface); color: var(--vt-ink); display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s, opacity .15s;
}
html.vt-studio .vt-shelf__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
html.vt-studio .vt-shelf__nav:hover:not(:disabled) { background: var(--vt-hover); }
html.vt-studio .vt-shelf__nav:disabled { opacity: .35; cursor: default; }
html.vt-studio .vt-shelf.is-static .vt-shelf__nav { display: none; }

html.vt-studio .vt-rail {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 20px) / 4);
  gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-left: 0;
  padding: 4px 2px 10px; margin: -4px -2px 0; scrollbar-width: none;
}
html.vt-studio .vt-rail::-webkit-scrollbar { display: none; }
@media (min-width: 1700px) { html.vt-studio .vt-rail { grid-auto-columns: calc((100% - 4 * 20px) / 5); } }
@media (max-width: 1100px) { html.vt-studio .vt-rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; } }
@media (max-width: 760px)  { html.vt-studio .vt-rail { grid-auto-columns: 78%; } }

/* -------------------------------------------------------------- cards ---- */
html.vt-studio .vt-card { scroll-snap-align: start; min-width: 0; }
html.vt-studio .vt-card__thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--vt-r); overflow: hidden;
  background: var(--vt-sunken); box-shadow: var(--vt-shadow-1); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
}
html.vt-studio .vt-card__thumb > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
html.vt-studio .vt-card:hover .vt-card__thumb { transform: translateY(-4px); box-shadow: var(--vt-shadow-2); }
html.vt-studio .vt-card:hover .vt-card__thumb > img { transform: scale(1.05); }
html.vt-studio .vt-card__gif { position: absolute; inset: 0; z-index: 1; }
html.vt-studio .vt-card__gif img { width: 100%; height: 100%; object-fit: cover; }
html.vt-studio .vt-card__play {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; background: var(--vt-tally); color: #fff;
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none;
}
html.vt-studio .vt-card__play svg { width: 18px; height: 18px; margin-left: 2px; }
html.vt-studio .vt-card:hover .vt-card__play, html.vt-studio .vt-card__thumb:focus-visible .vt-card__play { opacity: 1; transform: none; }
html.vt-studio .vt-badge {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px; border-radius: 8px; background: rgba(8, 9, 15, .72); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 700 12px/16px var(--vt-ui); font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
html.vt-studio .vt-badge--live { background: var(--vt-tally); text-transform: uppercase; letter-spacing: .08em; }
html.vt-studio .vt-badge--live .vt-tally { background: #fff; box-shadow: none; width: 6px; height: 6px; }

html.vt-studio .vt-card__title { margin: 14px 0 8px; font: 700 15.5px/1.3 var(--vt-ui) !important; }
html.vt-studio .vt-card__title a {
  color: var(--vt-ink) !important; text-decoration: none !important;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
html.vt-studio .vt-card__title a:hover { color: var(--vt-tally-ink) !important; }
html.vt-studio .vt-card__channel {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  color: var(--vt-ink-2) !important; font: 600 13.5px var(--vt-ui); text-decoration: none !important;
}
html.vt-studio .vt-card__channel span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.vt-studio .vt-card__channel img { width: 22px; height: 22px; border-radius: 7px; object-fit: cover; flex: none; }
html.vt-studio .vt-card__channel:hover { color: var(--vt-ink) !important; }
html.vt-studio .vt-card__stats { margin-top: 6px; color: var(--vt-ink-3); font: 500 13px var(--vt-ui); font-variant-numeric: tabular-nums; }
html.vt-studio .vt-card__stats span + span:before { content: "·"; margin: 0 6px; }

/* ------------------------------------------------------------- shorts ---- */
html.vt-studio .vt-rail--shorts { grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; }
@media (max-width: 1100px) { html.vt-studio .vt-rail--shorts { grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; } }
@media (max-width: 760px)  { html.vt-studio .vt-rail--shorts { grid-auto-columns: 44%; } }
html.vt-studio .vt-short { scroll-snap-align: start; min-width: 0; }
html.vt-studio .vt-short__thumb {
  position: relative; display: block; aspect-ratio: 9 / 16; border-radius: var(--vt-r); overflow: hidden;
  background: var(--vt-sunken); text-decoration: none !important; box-shadow: var(--vt-shadow-1);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
}
html.vt-studio .vt-short__thumb:hover { transform: translateY(-4px); box-shadow: var(--vt-shadow-2); }
html.vt-studio .vt-short__thumb > img { width: 100%; height: 100%; object-fit: cover; display: block; }
html.vt-studio .vt-short__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,9,15,.82) 0%, rgba(8,9,15,0) 55%); z-index: 1; }
html.vt-studio .vt-short__caption { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; color: #fff; }
html.vt-studio .vt-short__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  font: 700 14.5px/1.25 var(--vt-ui); margin-bottom: 4px;
}
html.vt-studio .vt-short__views { font: 600 12px var(--vt-ui); opacity: .78; font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------- stock chrome kept ---- */
html.vt-studio .ads-placment:empty { display: none; }
html.vt-studio hr.dark_hr { border-color: var(--vt-line) !important; }
html.vt-studio .modal-content { background: var(--vt-raised) !important; color: var(--vt-ink) !important; border: 0 !important; border-radius: var(--vt-r-lg) !important; box-shadow: var(--vt-shadow-menu) !important; }
html.vt-studio .modal-header, html.vt-studio .modal-footer { border-color: var(--vt-line) !important; }
html.vt-studio .btn-main, html.vt-studio .btn-primary { background: var(--vt-tally) !important; border-color: var(--vt-tally) !important; color: #fff !important; border-radius: 12px !important; }

@media (max-width: 1251px) {
  html.vt-studio .yp_side_drawer { top: 0 !important; bottom: 0 !important; left: -320px !important; border-radius: 0 var(--vt-r-lg) var(--vt-r-lg) 0; width: var(--vt-guide-w) !important; }
  html.vt-studio body.mobi_side_open .yp_side_drawer { left: 0 !important; }
  html.vt-studio .yp_side_menu.has_side_menu, html.vt-studio body.side_open .yp_side_menu.has_side_menu { margin-left: 0 !important; }
  html.vt-studio body:not(.side_open) .yp_side_drawer ul.sections li a { flex-direction: row; justify-content: flex-start; gap: 14px; height: 42px !important; padding: 0 12px !important; }
  html.vt-studio body:not(.side_open) .yp_side_drawer ul.sections li a span { font-size: 14px; max-width: none; text-align: left; }
  html.vt-studio body:not(.side_open) .yp_side_drawer ul.sections li.hide-from-mobile { display: block; }
  html.vt-studio .vt-home { padding: 16px 20px 48px; }
}
@media (max-width: 760px) {
  html.vt-studio .vt-home { padding: 12px 14px 40px; }
  html.vt-studio .vt-hero { min-height: 420px; border-radius: 20px; }
  html.vt-studio .vt-hero:after { background: linear-gradient(0deg, rgba(8,9,15,.9) 0%, rgba(8,9,15,.35) 65%, rgba(8,9,15,.1) 100%); }
  html.vt-studio .vt-shelf__nav { display: none; }
  html.vt-studio header form.search-header { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.vt-studio *, html.vt-studio *:before, html.vt-studio *:after { transition: none !important; animation: none !important; }
}

html.vt-studio header form.search-header .btn.btn-main { width: 34px !important; min-width: 0 !important; }

/* ================================================================ watch ==== */
html.vt-studio .video-player-page.top-video { padding: 20px 28px 0 4px !important; max-width: 1760px; }
html.vt-studio .video-player-page .content,
html.vt-studio .video-player-page .content.pt_shadow { background: transparent !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; }
html.vt-studio .player-video .video-player,
html.vt-studio .player-video .mejs__container,
html.vt-studio .player-video iframe { border-radius: var(--vt-r-lg); overflow: hidden; }
html.vt-studio .player-video .video-player { box-shadow: var(--vt-shadow-2); }
html.vt-studio .video-player-page .col-md-4.desktop { padding-left: 28px !important; }

html.vt-studio .pt_video_info { display: flex; flex-wrap: wrap; align-items: center; padding: 20px 0 0 !important; background: transparent !important; }
html.vt-studio .pt_video_info > .clear, html.vt-studio .pt_video_info > input { display: none !important; }
html.vt-studio .pt_video_info .video-big-title { order: 1; flex: 0 0 100%; margin: 0 0 16px; }
html.vt-studio .pt_video_info .video-big-title h1 {
  font: 800 clamp(22px, 2vw, 30px)/1.12 var(--vt-display) !important; letter-spacing: -.02em;
  color: var(--vt-ink) !important; margin: 0 !important; text-wrap: balance;
}
html.vt-studio .pt_video_info .publisher-element {
  order: 2; flex: 1 1 0 !important; width: auto !important; min-width: 260px;
  display: flex !important; align-items: center; gap: 12px; margin: 0 !important; padding: 0 !important; border: 0 !important;
}
html.vt-studio .publisher-element .publisher-avatar { float: none !important; margin: 0 !important; }
html.vt-studio .publisher-element .publisher-avatar img { width: 44px !important; height: 44px !important; border-radius: 13px !important; object-fit: cover; }
html.vt-studio .publisher-element .publisher-name { margin: 0 8px 0 0 !important; }
html.vt-studio .publisher-element .publisher-name a { color: var(--vt-ink) !important; font: 700 16px var(--vt-ui) !important; }
html.vt-studio .publisher-element .publisher-name br { display: none; }
html.vt-studio .publisher-element .publisher-subscribe-button { margin: 0 !important; float: none !important; }
html.vt-studio .btn-subscribe {
  background: var(--vt-tally) !important; color: #fff !important; border: 0 !important;
  border-radius: 12px !important; height: 40px; padding: 0 18px !important;
  font: 700 14px/40px var(--vt-ui) !important; text-transform: none !important; box-shadow: none !important;
}
html.vt-studio .btn-subscribe:before, html.vt-studio .btn-subscribe:after { display: none !important; }
html.vt-studio .btn-subscribe.subscribed { background: var(--vt-sunken) !important; color: var(--vt-ink) !important; }

html.vt-studio .pt_video_info > div:not([class]) { order: 3; flex: none; }
html.vt-studio .video-likes {
  float: none !important; display: flex !important; align-items: center; height: 40px; margin: 0 !important;
  border-radius: 12px; background: var(--vt-surface); border: 1px solid var(--vt-line) !important; overflow: hidden;
}
html.vt-studio .video-likes .like-btn {
  display: inline-flex !important; align-items: center; gap: 7px; height: 40px; padding: 0 14px !important; float: none !important;
  color: var(--vt-ink) !important; font: 700 14px var(--vt-ui); cursor: pointer; font-variant-numeric: tabular-nums;
}
html.vt-studio .video-likes .like-btn:hover { background: var(--vt-hover); }
html.vt-studio .video-likes .like-btn.active { color: var(--vt-tally-ink) !important; }
html.vt-studio .video-likes #likes-bar { border-right: 1px solid var(--vt-line); }
html.vt-studio .video-likes .like-btn svg { width: 19px; height: 19px; }
html.vt-studio .video-likes .video-info-element { display: none !important; }

html.vt-studio .pt_video_info .video-options { order: 4; display: flex; gap: 8px; margin: 0 0 0 8px !important; width: auto !important; flex: none !important; float: none !important; border: 0 !important; }
html.vt-studio .video-options .btn-share {
  flex: none !important; width: auto !important; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px;
  border: 1px solid var(--vt-line) !important; border-radius: 12px; background: var(--vt-surface) !important;
  color: var(--vt-ink) !important; font: 700 14px var(--vt-ui); box-shadow: none !important;
}
html.vt-studio .video-options .btn-share:hover { background: var(--vt-hover) !important; }
html.vt-studio .video-options .btn-share svg { width: 19px; height: 19px; }

html.vt-studio .pt_video_info .video-views,
html.vt-studio .pt_video_info .video-published,
html.vt-studio .pt_video_info .watch-video-description,
html.vt-studio .pt_video_info .watch-video-show-more {
  flex: 0 0 100%; background: var(--vt-surface) !important; color: var(--vt-ink) !important; margin: 0 !important;
  padding-left: 18px !important; padding-right: 18px !important;
  border: 1px solid var(--vt-line) !important; border-top: 0 !important; border-bottom: 0 !important;
  font: 500 14.5px/1.55 var(--vt-ui);
}
html.vt-studio .pt_video_info .video-views {
  order: 5; margin-top: 18px !important; padding-top: 16px !important; border-top: 1px solid var(--vt-line) !important;
  border-radius: var(--vt-r) var(--vt-r) 0 0; font-weight: 700; font-variant-numeric: tabular-nums;
}
html.vt-studio .pt_video_info .video-views * { color: var(--vt-ink) !important; }
html.vt-studio .pt_video_info .video-published { order: 6; color: var(--vt-ink-2) !important; }
html.vt-studio .pt_video_info .video-published a { color: var(--vt-tally-ink) !important; font-weight: 700; }
html.vt-studio .pt_video_info .watch-video-description { order: 7; padding-top: 6px !important; color: var(--vt-ink-2) !important; }
html.vt-studio .pt_video_info .watch-video-show-more {
  order: 8; padding-bottom: 16px !important; border-bottom: 1px solid var(--vt-line) !important;
  border-radius: 0 0 var(--vt-r) var(--vt-r); font-weight: 700; color: var(--vt-tally-ink) !important; cursor: pointer; text-align: left !important;
}
@media (max-width: 1000px) { html.vt-studio .pt_video_info .publisher-element { flex-basis: 100% !important; margin-bottom: 12px !important; } }

html.vt-studio .pt_video_comments { margin-top: 28px; }
html.vt-studio .video-player-page hr { border-color: transparent !important; margin: 8px 0 !important; }
html.vt-studio .comments-header { color: var(--vt-ink) !important; font: 800 22px var(--vt-display) !important; margin-bottom: 18px !important; }
html.vt-studio .comments-header .sort-comments-dropdown { font: 600 14px var(--vt-ui); margin-left: 24px; float: none !important; }
html.vt-studio .pt_blogcomm_combo {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px !important;
  background: var(--vt-surface) !important; border: 1px solid var(--vt-line) !important; border-radius: var(--vt-r) !important;
}
html.vt-studio .pt_blogcomm_combo:focus-within { border-color: var(--vt-tally) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--vt-tally) 14%, transparent); }
html.vt-studio .pt_blogcomm_combo textarea { background: transparent !important; color: var(--vt-ink) !important; border: 0 !important; box-shadow: none !important; padding: 8px 0 !important; font: 500 14.5px var(--vt-ui) !important; }
html.vt-studio .pt_blogcomm_combo > .btn { background: var(--vt-ink) !important; color: var(--vt-ground) !important; border: 0 !important; border-radius: 11px !important; height: 38px; padding: 0 16px !important; font: 700 14px var(--vt-ui) !important; }

html.vt-studio .article-categories .pt_categories { background: transparent !important; padding: 0 0 14px !important; }
html.vt-studio .pt_categories ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; padding: 0 !important; }
html.vt-studio .pt_categories ul li { margin: 0 !important; float: none !important; }
html.vt-studio .pt_categories ul li a {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px !important; border-radius: 999px !important;
  border: 1px solid var(--vt-line) !important; background: var(--vt-surface) !important; color: var(--vt-ink-2) !important; font: 600 13px var(--vt-ui) !important;
}
html.vt-studio .pt_categories ul li a:hover { color: var(--vt-ink) !important; border-color: var(--vt-ink-3) !important; }
html.vt-studio .next-video { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 14px !important; }
html.vt-studio .next-video > .clear { display: none; }
html.vt-studio .next-video .next-text, html.vt-studio .next-video .pt_mn_wtch_switch { float: none !important; }
html.vt-studio .next-video h4 { color: var(--vt-ink) !important; font: 800 20px var(--vt-display) !important; margin: 0 !important; }
html.vt-studio .next-video label { color: var(--vt-ink-2) !important; font: 600 13.5px var(--vt-ui) !important; }

html.vt-studio .related-video-wrapper {
  display: grid !important; grid-template-columns: 164px 1fr; gap: 12px; align-items: start;
  margin: 0 0 10px !important; padding: 6px !important; border-radius: var(--vt-r); background: transparent !important; border: 0 !important;
  transition: background .15s;
}
html.vt-studio .related-video-wrapper:hover { background: var(--vt-surface) !important; box-shadow: var(--vt-shadow-1); }
html.vt-studio .related-video-wrapper .ra-thumb { width: auto !important; float: none !important; margin: 0 !important; }
html.vt-studio .related-video-wrapper .ra-thumb a { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--vt-sunken); }
html.vt-studio .related-video-wrapper .ra-thumb img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
html.vt-studio .related-video-wrapper .video-duration {
  position: absolute; right: 6px; bottom: 6px; background: rgba(8, 9, 15, .72) !important; color: #fff !important;
  font: 700 11.5px/16px var(--vt-ui) !important; padding: 1px 6px !important; border-radius: 6px !important; font-variant-numeric: tabular-nums;
}
html.vt-studio .related-video-wrapper .ra-title { width: auto !important; float: none !important; padding: 2px 0 0 !important; min-width: 0; }
html.vt-studio .related-video-wrapper .ra-title .video-title a {
  color: var(--vt-ink) !important; font: 700 14px/1.3 var(--vt-ui) !important;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-bottom: 4px;
}
html.vt-studio .related-video-wrapper .video-publisher, html.vt-studio .related-video-wrapper .video-publisher a { color: var(--vt-ink-3) !important; font: 600 12.5px/1.45 var(--vt-ui) !important; }
html.vt-studio .related-video-wrapper .video-category { display: none; }
html.vt-studio #load-related-videos {
  width: 100%; height: 42px; border-radius: 12px !important; border: 1px solid var(--vt-line) !important;
  background: var(--vt-surface) !important; color: var(--vt-ink) !important; font: 700 14px var(--vt-ui) !important; box-shadow: none !important;
}
html.vt-studio #load-related-videos:hover { border-color: var(--vt-tally) !important; color: var(--vt-tally-ink) !important; }

/* ======================================= listing pages (category, trending, search) ==== */
html.vt-studio .pt_page_headr { border: 0 !important; margin-bottom: 18px !important; }
html.vt-studio .pt_page_headr .page_head {
  display: flex; align-items: center; gap: 12px;
  font: 800 30px/1.1 var(--vt-display) !important; letter-spacing: -.02em; color: var(--vt-ink) !important;
}
html.vt-studio .pt_page_headr .page_head svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--vt-tally-soft) !important; color: var(--vt-tally-ink) !important; box-sizing: border-box; }
html.vt-studio .video-latest-list.video-wrapper .video-thumb,
html.vt-studio .video-latest-list.video-wrapper .video-thumb a { border-radius: var(--vt-r) !important; overflow: hidden; display: block; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
html.vt-studio .video-latest-list.video-wrapper:hover .video-thumb a { transform: translateY(-4px); box-shadow: var(--vt-shadow-2); }
html.vt-studio .video-latest-list.video-wrapper .video-thumb img { border-radius: 0 !important; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto !important; }
html.vt-studio .video-latest-list.video-wrapper .video-duration { background: rgba(8, 9, 15, .72) !important; color: #fff !important; border-radius: 8px !important; font: 700 12px/16px var(--vt-ui) !important; padding: 3px 8px !important; }
html.vt-studio .video-latest-list.video-wrapper .video-title h4 { color: var(--vt-ink) !important; font: 700 15.5px/1.3 var(--vt-ui) !important; margin: 14px 0 6px !important; }
html.vt-studio .video-latest-list.video-wrapper .video-title a:hover h4 { color: var(--vt-tally-ink) !important; }
html.vt-studio .video-latest-list.video-wrapper .video-info,
html.vt-studio .video-latest-list.video-wrapper .video-info a { color: var(--vt-ink-3) !important; font: 600 13px/1.5 var(--vt-ui) !important; }

html.vt-studio .video-latest-list.video-wrapper .video-title h4,
html.vt-studio .video-list-title a h4 {
  height: auto !important; max-height: none !important; overflow: hidden !important;
  display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
html.vt-studio .video-latest-list.video-wrapper .video-title { height: auto !important; max-height: none !important; overflow: visible !important; }
