/* Shared VidLyx / TRBNVD UI Components (Cacheable Static Stylesheet) */

/* ── VIP RUNNING TEXT NOTIFICATION (TICKER MARQUEE) ── */
.v-vip-ticker-wrap {
  width: calc(100% - 32px);
  max-width: 1300px;
  margin: 10px auto 4px;
  background: rgba(251, 93, 128, 0.12);
  border: 1px solid rgba(251, 93, 128, 0.45);
  border-radius: 99px;
  box-shadow: 0 4px 18px rgba(251, 93, 128, 0.2);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 38px;
  padding: 0 14px;
  box-sizing: border-box;
}
.v-vip-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary, #fb5d80);
  border: 1px solid var(--primary, #fb5d80);
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  margin-right: 12px;
}
.v-vip-ticker-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.v-vip-ticker-text {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #ffccd5;
  animation: vipTickerScroll 24s linear infinite;
}
.v-vip-ticker-text:hover {
  animation-play-state: paused;
}
@keyframes vipTickerScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ── HEADER USER AVATAR, FRAME & VIP BADGE ── */
* {
  -webkit-tap-highlight-color: transparent !important;
}
.v-btn-profile-hd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  padding: 4px;
}
@media (hover: hover) and (pointer: fine) {
  .v-btn-profile-hd:hover {
    transform: scale(1.08);
  }
}
.v-hd-avatar-circle {
  position: relative;
  isolation: isolate;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  box-shadow: none;
  background: #181d26;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.v-hd-avatar-circle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20width='100'%20height='100'%20viewBox='0%200%20100%20100'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.p%7Banimation:stroke%205s%20infinite%20linear%3B%7D%40keyframes%20stroke%7Bto%7Bstroke-dashoffset:452%3B%7D%7D%3C/style%3E%3ClinearGradient%20id='g'%20x1='0%25'%20y1='0%25'%20x2='0%25'%20y2='100%25'%3E%3Cstop%20offset='0%25'%20stop-color='%232d3561'/%3E%3Cstop%20offset='25%25'%20stop-color='%23c05c7e'/%3E%3Cstop%20offset='50%25'%20stop-color='%23f3826f'/%3E%3Cstop%20offset='100%25'%20stop-color='%23ffb961'/%3E%3C/linearGradient%3E%3Cfilter%20id='distortion'%20x='-25%25'%20y='-25%25'%20width='150%25'%20height='150%25'%3E%3CfeTurbulence%20type='turbulence'%20baseFrequency='0.05'%20numOctaves='2'%20result='turbulence'%3E%3Canimate%20attributeName='baseFrequency'%20dur='14s'%20values='.1%3B.2%3B.1'%20repeatCount='indefinite'/%3E%3C/feTurbulence%3E%3CfeDisplacementMap%20in2='turbulence'%20in='SourceGraphic'%20scale='16'%20xChannelSelector='R'%20yChannelSelector='G'/%3E%3C/filter%3E%3Ccircle%20cx='50'%20cy='50'%20r='36'%20filter='url(%23distortion)'%20stroke='url(%23g)'%20stroke-width='4'%20opacity='0.55'/%3E%3Ccircle%20class='p'%20cx='50'%20cy='50'%20r='36'%20filter='url(%23distortion)'%20stroke-linecap='round'%20stroke='url(%23g)'%20stroke-width='9'%20stroke-dasharray='168%2058'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 0 6px rgba(243, 130, 111, 0.55));
  pointer-events: none;
  z-index: -1;
}
.v-hd-avatar-circle > img.v-hd-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 1;
}
.v-hd-avatar-initial {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary, #fb5d80), #f43f5e);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v-hd-avatar-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  max-width: none !important;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none;
  z-index: 3;
  display: block;
  border-radius: 0;
}
.v-hd-avatar-badge {
  position: absolute;
  bottom: -7px;
  right: -7px;
  line-height: 1;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  z-index: 5;
}
.v-hd-avatar-badge img {
  width: 16px;
  height: 16px;
  max-width: none !important;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

/* ── CATEGORY & ACTOR BADGE PILLS ── */
.v-tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.v-tag-category {
  background: rgba(251, 93, 128, 0.12);
  border: 1px solid rgba(251, 93, 128, 0.35);
  color: var(--primary, #fb5d80);
}
.v-tag-category:hover {
  background: var(--primary, #fb5d80);
  border-color: var(--primary, #fb5d80);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(251, 93, 128, 0.4);
}
.v-tag-actor {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
}
.v-tag-actor:hover {
  background: rgba(251, 191, 36, 0.22);
  border-color: #fbbf24;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.35);
}

/* ── FLOATING NAVIGATION DRAWER ── */
.v-main-drawer {
  position: fixed;
  top: 14px;
  bottom: 14px;
  left: -320px;
  width: 248px;
  max-width: calc(100vw - 28px);
  background: #14171a;
  border: 1px solid #1f1f20;
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.65);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.v-main-brand {
  height: 62px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1f1f20;
  flex-shrink: 0;
}
.v-main-brand-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.v-main-brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.v-main-brand-name {
  font-size: 19px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.v-main-brand-name span {
  color: #fb5d80;
}
.v-main-drawer-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  border-radius: 6px;
  transition: all 0.15s;
}
.v-main-drawer-close:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.06);
}
.v-main-nav {
  flex: 1;
  padding: 12px 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  scrollbar-width: thin;
  scrollbar-color: #252b37 transparent;
}
.v-main-nav::-webkit-scrollbar {
  width: 5px;
}
.v-main-nav::-webkit-scrollbar-track {
  background: transparent;
}
.v-main-nav::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
.v-main-nav::-webkit-scrollbar-thumb {
  background: #252b37;
  border-radius: 99px;
}
.v-main-nav::-webkit-scrollbar-thumb:hover {
  background: #fb5d80;
}
.v-main-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: #9aa3b0;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}
.v-main-nav-item:hover {
  background: #22252b;
  color: #ffffff;
}
.v-main-nav-item.active {
  background: rgba(251, 93, 128, 0.14);
  color: #fb5d80;
  font-weight: 700;
}
.v-main-nav-item svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  flex-shrink: 0;
}
.v-main-nav-btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.v-nav-tree {
  display: none;
  flex-direction: column;
  margin-left: 22px;
  padding-left: 12px;
  border-left: 2px solid #282e3a;
  position: relative;
  gap: 2px;
  margin-top: 3px;
  margin-bottom: 6px;
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #252b37 transparent;
}
.v-nav-tree::-webkit-scrollbar {
  width: 4px;
}
.v-nav-tree::-webkit-scrollbar-thumb {
  background: #252b37;
  border-radius: 99px;
}
.v-nav-tree.active {
  display: flex;
}
.v-nav-tree-item {
  position: relative;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #9aa3b0;
  text-decoration: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: all 0.15s ease;
}
.v-nav-tree-item::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  width: 12px;
  height: 2px;
  background: #282e3a;
  transition: background 0.15s;
}
.v-nav-tree-item:hover {
  color: #ffffff;
  background: #22252b;
}
.v-nav-tree-item:hover::before {
  background: var(--primary, #fb5d80);
}
.v-nav-tree-item.active {
  color: var(--primary, #fb5d80);
  font-weight: 700;
}
.v-nav-tree-item.active::before {
  background: var(--primary, #fb5d80);
}
.v-main-user-box {
  padding: 12px 14px;
  border-top: 1px solid #1f1f20;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #111317;
  flex-shrink: 0;
  margin-top: auto;
}
