  /* Reset default styles */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, sans-serif;
    }

    body {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      background-color: #ffffff;
      min-height: 100vh;
      position: relative;
      padding-top: 20px;
    }
    
    .no-results {
  font-size: 18px;
  color: #444;
  padding: 40px 20px;
  text-align: center;
  grid-column: 1 / -1;
}

    
 
 .search-results-wrapper {
      max-width: 1100px !important;      /* maximum width */
      width: 100%;             /* take full width up to max */
      margin: 0 auto;          /* center horizontally */
      padding: 0;         /* optional: small padding on sides */
      box-sizing: border-box;  /* include padding in width */
    }
    
    
  
    .infinite-loader {
  width: 100%;
  padding: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.infinite-loader .spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e0e0e0;
  border-top-color: #4285F4; /* YouTube red */
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

    
   
    
    
     /*=== Video Gird Layout ===*/
      /* Grid: 1 video per row */
.np-content {
    max-width: 1100px;
    width: 100%;
}

.home-max-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important; /* desktop */
  padding: 8px;
  gap: 15px;
  margin-bottom: 20px;
  
}
#mainResultsWrapper {
  display: contents;
}

 .search-results-wrapper {
  /*   margin-top: -27px !important; */
 /*     padding-top: 0 !important; */
   }  
 
   

.video-card img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16/9;
  object-fit: cover;
  z-index: 1;

}


/* === Thumbnail container === */
.video-thumb {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}


/* === Optional hover effect === */
.video-thumb:hover .duration {
  background: rgba(0, 0, 0, 0.9);
}
/* ==== YouTube-Style Thumbnails ==== */
.video-card {
  width: 100%;
  display: inline-block;
  vertical-align: top;
  padding: 8px;
  margin-bottom: 30px;
}

/* Hover effect */
.video-card:hover {
  background: #f1f2f3;          /* light gray hover */
  border-radius: 12px !important;
}

.video-thumb-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.video-thumb-wrapper img,
.video-thumb-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  border-radius: 8px;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
}



/* === Duration tag === */
.duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 5px;
  border-radius: 3px;
  line-height: 1;
  font-family: Roboto, Arial, sans-serif;
  z-index: 20;
}

/* === Optional hover effect === */
.video-thumb:hover .duration {
  background: rgba(0, 0, 0, 0.9);
}
  
  /* ==== YouTube-Style Video Info ==== */
.video-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  position: relative;
  z-index: 2
}

/* Video text info */
.video-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: -2px !important;
}

.home-max-title h3,
.home-max-meta p {
  line-height: 1.4; /* Same for all lines — YouTube style */
}

.video-details h3 {
  font-size: 16px;
  color: #000;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.video-details p {
  font-size: 14px;
  color: #606060;
  margin: 0;
  text-decoration: none !important;
}
  
  .home-card-link {
  text-decoration: none !important;
  color: inherit;
}
  
  
  /* YouTube-Style Menu Button */
.menu-btn {
  background: none;
  border: none;
  font-size: 18px; /* slightly smaller */
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #606060;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

/* Hover effect: circular fade with soft highlight */
.menu-btn:hover { 
  background: rgba(0, 0, 0, 0.08);
  color: #000;
  transform: scale(1.05); /* subtle pop */
}


/* YouTube-Style Menu Button */
.menu-btnnn {
  background: none;
  border: none;
  font-size: 18px; /* slightly smaller */
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #606060;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

/* Hover effect: circular fade with soft highlight */
.menu-btnnn:hover { 
  background: rgba(0, 0, 0, 0.08);
  color: #000;
  transform: scale(1.05); /* subtle pop */
}
    

/* YouTube-Style Menu Button */
.menu-btnIn {
  background: none;
  border: none;
  font-size: 18px; /* slightly smaller */
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #606060;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

/* Hover effect: circular fade with soft highlight */
.menu-btnIn:hover { 
  background: rgba(0, 0, 0, 0.08);
  color: #000;
  transform: scale(1.05); /* subtle pop */
}
 
 
/* YouTube-Style Menu Button */
.menu-btnBn {
  background: none;
  border: none;
  font-size: 18px; /* slightly smaller */
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #606060;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

/* Hover effect: circular fade with soft highlight */
.menu-btnBn:hover { 
  background: rgba(0, 0, 0, 0.08);
  color: #000;
  transform: scale(1.05); /* subtle pop */
}

   
/* ===== Video Card Volume Toggle ===== */
.volume-toggle {
position: absolute;
top: 8px;
right: 8px;
background: none;
border-radius: 50%;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 10;
opacity: 0;
transition: opacity 0.2s ease;
}

.video-thumb-wrapper:hover .volume-toggle {
background: rgba(0,0,0,0.6);
opacity: 1;
}

.volume-toggle svg {
width: 18px;
height: 18px;
fill: white;
}


#mainContentSection {
    margin-bottom: 20px !important;
}

.mnp-content { 
    padding: 8px !important;

}



/* ==== Remove click highlight / blue outline like YouTube ==== */
.video-card,
.video-card * {
  -webkit-tap-highlight-color: transparent; /* removes blue on mobile */
  outline: none !important;                 /* removes focus outline */
}
  /* ==== Skeleton Loader ==== */
.skeleton {
  background-color: #f1f2f3;
  border-radius: 8px;
  padding: 8px;
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}


/* Skeleton shapes for videos */
.skeleton.video-thumbnail {
  width: 100%;
  aspect-ratio: 9 / 13; 
  overflow: hidden;
   border-radius: 8px;
   
}
.skeleton.vid-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
   border-radius: 12px !important;
}


/* Text line */
.skeleton.text-line {
  height: 12px;
  margin: 6px 0;
  width: 80%;
  border-radius: 6px;
  background-color: #f1f2f3;
}

.skeleton.text-line.short {
  width: 40%;
}












    /*  Toast container Message popup */
#toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

/* Individual toast */
.toast {
  background: #000;
  border: none;
  color: #fff;
  padding: 16px 20px;
  margin-top: 10px;
  border-radius: 8px;
  font-size: 14px;
  min-width: 250px;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}



/* ===== Menu Popup Home +==== */
.video-menu-popup {
  position: absolute;
  display: none;
  background: #fff;
  color: #000;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  z-index: 9999; /* ABOVE overlay */
  padding: 4px 0;
  min-width: 180px;
  max-width: 240px;
  max-height: 200px;
  overflow-y: auto;
  font-family: Arial, sans-serif;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: auto;
}

.video-menu-popup::-webkit-scrollbar {
  width: 6px;
}
.video-menu-popup::-webkit-scrollbar-thumb {
  background: rgba(170,170,170,0.6);
  border-radius: 10px;
}
.video-menu-popup::-webkit-scrollbar-thumb:hover {
  background: rgba(120,120,120,0.8);
}

.video-menu-popup ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.video-menu-popup li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.video-menu-popup li:hover {
  background-color: #f8f8f8;
}
.video-menu-popup .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #606060;
}
.video-menu-popup .icon svg {
  width: 20px;
  height: 20px;
  fill: #606060;
  transition: fill 0.15s ease;
}
.video-menu-popup li:hover .icon svg {
  fill: #000;
}


.images-card-link,
.video-card-link,
.short-card-link {
  color: inherit;
  text-decoration: none;
}

  
.images-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  height: 20px;
  padding: 0 6px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
}


/* Share Popup  Home */

 .home-popup {
  background: #fff;
  max-width: 460px;
  width: 100%;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: fixed;       
  top: 50%;             
  left: 50%;            
  transform: translate(-50%, -50%); 
  z-index: 10000;      
}


 .close-bbtnn {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 35px;   
  height: 35px;
  background: transparent; /* better than #55 for visibility */
  border: none;
  font-size: 38px; 
  cursor: pointer;
  color: #555;
  transition: color 0.2s ease;
  display: flex;           
  align-items: center;
  justify-content: center;
  border-radius: 50%;     
  line-height: 1; /* ensure icon is centered */
  padding: 0;      /* remove default button padding */
  text-align: center;
}

.close-bbtnn:hover {
  color: #000;
}



    .share-icons-wrapper {
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .share-icons-wrapper h3 {
      margin: 0 0 15px 0;
      font-size: 16px;
      font-weight: 400;
      color: #000;
    }

    .scroll-btnbtn {
      position: absolute;
      top: 50px;
      background: #fff;
      border: none;
      font-size: 20px;
      cursor: pointer;
      width: 38px;
      height: 38px;
      color: #333;
      border-radius: 50%;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: all 0.25s ease;
    }

    .scroll-btnbtn:hover {
      background: #f1f1f1;
      transform: scale(1.05);
    }

    .left-btnbtn {
      left: 0;
     
    }

    .right-btnbtn {
      right: 0;
    }

    .share-icons {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      scrollbar-width: none;
      scroll-behavior: smooth;
      padding: 5px 0px;
      position: relative;
    }

    .share-icons::-webkit-scrollbar {
      display: none;
    }

    .share-icon {
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      min-width: 65px;
      text-align: center;
      user-select: none;
    }

    .share-icon img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #f5f5f5;
      padding: 6px;
      transition: transform 0.2s ease;
    }

    .share-icon:hover img {
      transform: scale(1.08);
    }

    .share-icon span {
      font-size: 12px;
      margin-top: 6px;
      color: #333;
    }

    .share-link-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 8px;
      margin: 0 1px 16px;
      margin-top: 30px;
    }

    .share-link-box input {
      border: none;
      outline: none;
      width: 80%;
      font-size: 14px;
    }

    .copy-btn {
      background-color: #065fd4;
      color: white;
      border: none;
      padding: 8px 14px;
      border-radius: 20px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500;
    }
    
    
    
      /* ===== Video menu overlay (REQUIRED) ===== */
.vmenuOverlayUniq {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: none; /* transparent but clickable */
  z-index: 9997; /* below popup */
  display: none;
  pointer-events: all;
}

    
/* ===== videos cards popup menu ===== */
.vmenu-box-uniq {
  position: absolute;
  display: none;
  background: #fff;
  color: #000;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  z-index: 9999; /* ABOVE overlay */
  padding: 4px 0;
  min-width: 180px;
  max-width: 240px;
  overflow-y: auto;
  font-family: Arial, sans-serif;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: auto;
}

.vmenu-box-uniq::-webkit-scrollbar {
  width: 6px;
}
.vmenu-box-uniq::-webkit-scrollbar-thumb {
  background: rgba(170,170,170,0.6);
  border-radius: 10px;
}
.vmenu-box-uniq::-webkit-scrollbar-thumb:hover {
  background: rgba(120,120,120,0.8);
}

.vmenu-box-uniq ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vmenu-box-uniq li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.vmenu-box-uniq li:hover {
  background-color: #f8f8f8;
}
.vmenu-box-uniq .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #606060;
}
.vmenu-box-uniq .icon svg {
  width: 20px;
  height: 20px;
  fill: #606060;
  transition: fill 0.15s ease;
}
.vmenu-box-uniq li:hover .icon svg {
  fill: #000;
}


    
     
    /* share popup video cards */
     
    .share-popup-video {
  background: #fff;
  max-width: 460px;
  width: 100%;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: fixed;       
  top: 50%;             
  left: 50%;            
  transform: translate(-50%, -50%); 
  z-index: 10000;      
}


 .close-btnbtn {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 35px;   
  height: 35px;
  background: transparent; /* better than #55 for visibility */
  border: none;
  font-size: 38px; 
  cursor: pointer;
  color: #555;
  transition: color 0.2s ease;
  display: flex;           
  align-items: center;
  justify-content: center;
  border-radius: 50%;     
  line-height: 1; /* ensure icon is centered */
  padding: 0;      /* remove default button padding */
  text-align: center;
}

.close-btnbtn:hover {
  color: #000;
}



    .share-icons-wrapper {
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .share-icons-wrapper h3 {
      margin: 0 0 15px 0;
      font-size: 16px;
      font-weight: 400;
      color: #000;
    }

    .scroll-btnbtn {
      position: absolute;
      top: 50px;
      background: #fff;
      border: none;
      font-size: 20px;
      cursor: pointer;
      width: 38px;
      height: 38px;
      color: #333;
      border-radius: 50%;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: all 0.25s ease;
    }

    .scroll-btnbtn:hover {
      background: #f1f1f1;
      transform: scale(1.05);
    }

    .left-btnbtn {
      left: 0;
     
    }

    .right-btnbtn {
      right: 0;
    }

    .share-icons {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      scrollbar-width: none;
      scroll-behavior: smooth;
      padding: 5px 0px;
      position: relative;
    }

    .share-icons::-webkit-scrollbar {
      display: none;
    }

    .share-iconembed,
    .share-icon {
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      min-width: 65px;
      text-align: center;
      user-select: none;
    }
    
    .share-iconembed img,
    .share-icon img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #f5f5f5;
      padding: 6px;
      transition: transform 0.2s ease;
    }

    .share-iconembed:hover img,
    .share-icon:hover img {
      transform: scale(1.08);
    }

    .share-iconembed span,
    .share-icon span {
      font-size: 12px;
      margin-top: 6px;
      color: #333;
    }

    .share-link-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 8px;
      margin: 0 1px 16px;
      margin-top: 30px;
    }

    .share-link-box input {
      border: none;
      outline: none;
      width: 80%;
      font-size: 14px;
    }

    .copy-btn {
      background-color: #065fd4;
      color: white;
      border: none;
      padding: 8px 14px;
      border-radius: 20px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500;
    }
    
     /* videos Embed CSS */
     /* Overlay */
.embed-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: none; /* hidden by default */
}

/* Popup Container */
.embed-popup {
  background: #fff;
  width: 80%;
  max-width: 1100px;
  max-height: 345px;
  height: 100%;
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  flex-direction: row;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Left side: iframe */
.embed-left {
  flex: 1.5;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.embed-left iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Right side: embed code */
.embed-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-left: 1px solid #ddd;
  overflow: hidden; /* IMPORTANT */
}

/* Header */
.embed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  border-bottom: 1px solid #ddd;
  font-weight: 500;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.embed-header .close-btn {
  cursor: pointer;
  font-size: 28px;
  font-weight: 400;
  border: none;
  background: none;
}


.content-wrrapper {
  flex: 1;
  overflow-y: auto;     /* ONE page-like scroll */
  overflow-x: hidden;
  padding: 8px;
}


/* Content area */
.embed-content {
  flex: 1;
  padding: 0px;
  display: flex;

  flex-direction: column;
}


.embed-textarea {
  width: 100%;
  height: auto;
  padding: 5px;
  font-family: monospace;
  font-size: 14px;
  line-height: 1.6;
  border: none;
  border-bottom: 1px solid #ccc;
  resize: none;
  outline: none;
  color: #808080;
  background: #fff;
  overflow: hidden;
}


/* Footer sticky */
.embed-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0;
  border: none;
  background: transparent;

  position: static; /* NOT sticky */
}

/* Header */
.embed-footer-copybtn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-content: flex-end !important;
  padding: 8px;
  border-top: 1px solid #ddd;
  font-weight: 500;
  position: sticky;
  bottom: 0;
  background: #fff;
  z-index: 1;
}

/* Copy button */
.copy-btnembed {
  background: none;
  color: #000;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 99px;
}

.copy-btnembed:hover {
  background: #f1f2f3;
}

    
    
    
    

    
    /* share popup css images card */
      

.share-popup {
  background: #fff;
  max-width: 460px;
  width: 100%;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: fixed;       
  top: 50%;             
  left: 50%;            
  transform: translate(-50%, -50%); 
  z-index: 10000;      
}


 .close-btnbtn {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 35px;   
  height: 35px;
  background: transparent; /* better than #55 for visibility */
  border: none;
  font-size: 38px; 
  cursor: pointer;
  color: #555;
  transition: color 0.2s ease;
  display: flex;           
  align-items: center;
  justify-content: center;
  border-radius: 50%;     
  line-height: 1; /* ensure icon is centered */
  padding: 0;      /* remove default button padding */
  text-align: center;
}

.close-btnbtn:hover {
  color: #000;
}



    .share-icons-wrapper {
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .share-icons-wrapper h3 {
      margin: 0 0 15px 0;
      font-size: 16px;
      font-weight: 400;
      color: #000;
    }

    .scroll-btnbtn {
      position: absolute;
      top: 50px;
      background: #fff;
      border: none;
      font-size: 20px;
      cursor: pointer;
      width: 38px;
      height: 38px;
      color: #333;
      border-radius: 50%;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: all 0.25s ease;
    }

    .scroll-btnbtn:hover {
      background: #f1f1f1;
      transform: scale(1.05);
    }

    .left-btnbtn {
      left: 0;
     
    }

    .right-btnbtn {
      right: 0;
    }

    .share-icons {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      scrollbar-width: none;
      scroll-behavior: smooth;
      padding: 5px 0px;
      position: relative;
    }

    .share-icons::-webkit-scrollbar {
      display: none;
    }

    .share-icon {
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      min-width: 65px;
      text-align: center;
      user-select: none;
    }

    .share-icon img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #f5f5f5;
      padding: 6px;
      transition: transform 0.2s ease;
    }

    .share-icon:hover img {
      transform: scale(1.08);
    }

    .share-icon span {
      font-size: 12px;
      margin-top: 6px;
      color: #333;
    }

    .share-link-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 8px;
      margin: 0 1px 16px;
      margin-top: 30px;
    }

    .share-link-box input {
      border: none;
      outline: none;
      width: 80%;
      font-size: 14px;
    }

    .copy-btn {
      background-color: #065fd4;
      color: white;
      border: none;
      padding: 8px 14px;
      border-radius: 20px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500;
    }

.imageMenuOverlayUniq {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: none; /* transparent but clickable */
  z-index: 9997; /* below popup */
  display: none;
  pointer-events: all;
}


/* ===== Images-style popup menu ===== */
.image-menu-popup {
  position: absolute;
  display: none;
  background: #fff;
  color: #000;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  z-index: 9999; /* ABOVE overlay */
  padding: 4px 0;
  min-width: 180px;
  max-width: 240px;
  max-height: 200px;
  overflow-y: auto;
  font-family: Arial, sans-serif;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: auto;
}

.image-menu-popup::-webkit-scrollbar {
  width: 6px;
}
.image-menu-popup::-webkit-scrollbar-thumb {
  background: rgba(170,170,170,0.6);
  border-radius: 10px;
}
.image-menu-popup::-webkit-scrollbar-thumb:hover {
  background: rgba(120,120,120,0.8);
}

.image-menu-popup ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.image-menu-popup li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.image-menu-popup li:hover {
  background-color: #f8f8f8;
}
.image-menu-popup .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #606060;
}
.image-menu-popup .icon svg {
  width: 20px;
  height: 20px;
  fill: #606060;
  transition: fill 0.15s ease;
}
.image-menu-popup li:hover .icon svg {
  fill: #000;
}


/* blog card share popup */
/* share poup */

 .blog-popup {
  background: #fff;
  max-width: 460px;
  width: 100%;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: fixed;       
  top: 50%;             
  left: 50%;            
  transform: translate(-50%, -50%); 
  z-index: 10000;      
}


 .close-btnbtn {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 35px;   
  height: 35px;
  background: transparent; /* better than #55 for visibility */
  border: none;
  font-size: 38px; 
  cursor: pointer;
  color: #555;
  transition: color 0.2s ease;
  display: flex;           
  align-items: center;
  justify-content: center;
  border-radius: 50%;     
  line-height: 1; /* ensure icon is centered */
  padding: 0;      /* remove default button padding */
  text-align: center;
}

.close-btnbtn:hover {
  color: #000;
}



    .share-icons-wrapper {
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .share-icons-wrapper h3 {
      margin: 0 0 15px 0;
      font-size: 16px;
      font-weight: 400;
      color: #000;
    }

    .scroll-btnbtn {
      position: absolute;
      top: 50px;
      background: #fff;
      border: none;
      font-size: 20px;
      cursor: pointer;
      width: 38px;
      height: 38px;
      color: #333;
      border-radius: 50%;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: all 0.25s ease;
    }

    .scroll-btnbtn:hover {
      background: #f1f1f1;
      transform: scale(1.05);
    }

    .left-btnbtn {
      left: 0;
     
    }

    .right-btnbtn {
      right: 0;
    }

    .share-icons {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      scrollbar-width: none;
      scroll-behavior: smooth;
      padding: 5px 0px;
      position: relative;
    }

    .share-icons::-webkit-scrollbar {
      display: none;
    }

    .share-icon {
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      min-width: 65px;
      text-align: center;
      user-select: none;
    }

    .share-icon img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #f5f5f5;
      padding: 6px;
      transition: transform 0.2s ease;
    }

    .share-icon:hover img {
      transform: scale(1.08);
    }

    .share-icon span {
      font-size: 12px;
      margin-top: 6px;
      color: #333;
    }

    .share-link-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 8px;
      margin: 0 1px 16px;
      margin-top: 30px;
    }

    .share-link-box input {
      border: none;
      outline: none;
      width: 80%;
      font-size: 14px;
    }

    .copy-btn {
      background-color: #065fd4;
      color: white;
      border: none;
      padding: 8px 14px;
      border-radius: 20px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500;
    }

 
     
/* ======== Blog Menu Popup =========== */


.menu-overlay {
    position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: none; /* transparent but clickable */
  z-index: 9997; /* below popup */
  display: none;
  pointer-events: all;
}


.blog-menu-popup {
  position: absolute;
  display: none;
  background: #fff;
  color: #000;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  z-index: 9999; /* ABOVE overlay */
  padding: 4px 0;
  min-width: 200px;
  max-width: 240px;
  max-height: 200px;
  overflow-y: auto;
  font-family: Arial, sans-serif;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: auto;
}

.blog-menu-popup::-webkit-scrollbar {
  width: 6px;
}
.blog-menu-popup ::-webkit-scrollbar-thumb {
  background: rgba(170,170,170,0.6);
  border-radius: 10px;
}
.blog-menu-popup ::-webkit-scrollbar-thumb:hover {
  background: rgba(120,120,120,0.8);
}

.blog-menu-popup ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-menu-popup li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.blog-menu-popup li:hover {
  background-color: #f8f8f8;
}
.blog-menu-popup .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #606060;
}
.blog-menu-popup .icon svg {
  width: 20px;
  height: 20px;
  fill: #606060;
  transition: fill 0.15s ease;
}
.blog-menu-popup li:hover .icon svg {
  fill: #000;
}


/* pages card share pop-up css */
/* share Popup */
 .tools-popup {
  background: #fff;
  max-width: 460px;
  width: 100%;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: fixed;       
  top: 50%;             
  left: 50%;            
  transform: translate(-50%, -50%); 
  z-index: 10000;      
}


 .close-bbtn {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 35px;   
  height: 35px;
  background: transparent; /* better than #55 for visibility */
  border: none;
  font-size: 38px; 
  cursor: pointer;
  color: #555;
  transition: color 0.2s ease;
  display: flex;           
  align-items: center;
  justify-content: center;
  border-radius: 50%;     
  line-height: 1; /* ensure icon is centered */
  padding: 0;      /* remove default button padding */
  text-align: center;
}

.close-bbtn:hover {
  color: #000;
}



    .share-icons-wrapper {
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .share-icons-wrapper h3 {
      margin: 0 0 15px 0;
      font-size: 16px;
      font-weight: 400;
      color: #000;
    }

    .scroll-btnbtn {
      position: absolute;
      top: 50px;
      background: #fff;
      border: none;
      font-size: 20px;
      cursor: pointer;
      width: 38px;
      height: 38px;
      color: #333;
      border-radius: 50%;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: all 0.25s ease;
    }

    .scroll-btnbtn:hover {
      background: #f1f1f1;
      transform: scale(1.05);
    }

    .left-btnbtn {
      left: 0;
     
    }

    .right-btnbtn {
      right: 0;
    }

    .share-icons {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      scrollbar-width: none;
      scroll-behavior: smooth;
      padding: 5px 0px;
      position: relative;
    }

    .share-icons::-webkit-scrollbar {
      display: none;
    }

    .share-icon {
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      min-width: 65px;
      text-align: center;
      user-select: none;
    }

    .share-icon img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #f5f5f5;
      padding: 6px;
      transition: transform 0.2s ease;
    }

    .share-icon:hover img {
      transform: scale(1.08);
    }

    .share-icon span {
      font-size: 12px;
      margin-top: 6px;
      color: #333;
    }

    .share-link-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 8px;
      margin: 0 1px 16px;
      margin-top: 30px;
    }

    .share-link-box input {
      border: none;
      outline: none;
      width: 80%;
      font-size: 14px;
    }

    .copy-btn {
      background-color: #065fd4;
      color: white;
      border: none;
      padding: 8px 14px;
      border-radius: 20px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500;
    }

    .menu-overlay {
     position: fixed;
  width: 100%;
  height: 100%;
  background: none; /* transparent but clickable */
  z-index: 9997; /* below popup */
  display: none;
  pointer-events: all;
    }

/* ===== Tools-style popup menu ===== */
.tools-menu-popup {
  position: absolute;
  display: none;
  background: #fff;
  color: #000;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  z-index: 9999; /* ABOVE overlay */
  padding: 4px 0;
  min-width: 180px;
  max-width: 240px;
  max-height: 200px;
  overflow-y: auto;
  font-family: Arial, sans-serif;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: auto;
}

.tools-menu-popup::-webkit-scrollbar {
  width: 6px;
}
.tools-menu-popup::-webkit-scrollbar-thumb {
  background: rgba(170,170,170,0.6);
  border-radius: 10px;
}
.tools-menu-popup::-webkit-scrollbar-thumb:hover {
  background: rgba(120,120,120,0.8);
}

.tools-menu-popup ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tools-menu-popup li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.tools-menu-popup li:hover {
  background-color: #f8f8f8;
}
.tools-menu-popup .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #606060;
}
.tools-menu-popup .icon svg {
  width: 20px;
  height: 20px;
  fill: #606060;
  transition: fill 0.15s ease;
}
.tools-menu-popup li:hover .icon svg {
  fill: #000;
}

    
    
    /* ===== Shorts Grid Code ====== */
    
.skeleton.video-thumbnail {
  width: 100%;
   aspect-ratio: 9 / 13;
  border-radius: 8px;
  margin-bottom: 8px;
}


        
        
.mnp-content { 
    padding: 8px;

}
  
/* ==== Shorts Grid ==== */
.shorts-label {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Shorts icon image */
.shorts-label .shorts-icon {
  width: 22px;        /* similar to SVG size */
  height: 22px;
  object-fit: contain;
  display: inline-block;
}


.shorts-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important; /* desktop */
  padding: 8px;
  gap: 5px;
  margin-bottom: 10px;
}

.short-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding: 8px 4px;
}
/* Hover effect */
.short-card:hover {
  background: #f1f2f3;          /* light gray hover */
  border-radius: 12px !important;
}

.short-overlay { display: none; } /* hide overlay */


#shortsResultsWrapper,
#mainResultsWrapper {
  display: contents;
}

    .short-thumb-wrapper {
  position: relative;
  aspect-ratio: 9 / 13;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.short-thumb-wrapper img,
.short-thumb-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: none;
}




/* ==== Remove click highlight / blue outline like YouTube ==== */
.short-card,
.short-card * {
  -webkit-tap-highlight-color: transparent; /* removes blue on mobile */
  outline: none !important;                 /* removes focus outline */
}

.short-thumb-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  opacity: 0;
  transition: none;
}

.short-thumb-wrapper:hover video {
  opacity: 1;
}
.short-thumb-wrapper:hover img {
  opacity: 0;
}



  .short-overlay {
  display: none;
}

.short-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* important */
  margin-top: 6px;
}

.short-text {
  display: flex;
  flex-direction: column; /* stack title + views */
}

.short-info h4 {
  font-size: 16px;
  margin: 0;
  color: #000;
  font-weight: 540;
  line-height: 1.4;
}

.short-info p {
  font-size: 14px;
  color: #606060;
  margin: 2px 0 0 0;
  line-height: 1.4;
}

.menu-btnn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

/* YouTube-Style Menu Button */
.short-info .menu-btnn {
  background: none;
  border: none;
  font-size: 18px; /* slightly smaller */
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: #606060;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

/* Hover effect: circular fade with soft highlight */
.short-info .menu-btnn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #000;
  transform: scale(1.05); /* subtle pop */
}



.short-info h4,
.short-info p {
  line-height: 1.4; /* Same for all lines — YouTube style */
}



/* Remove default link styles */
.short-link,
.short-link:visited,
.short-link:hover,
.short-link:active {
  color: inherit;
  text-decoration: none;
}








 /* share popup short page */
     
    .share-popup-short {
  background: #fff;
  max-width: 460px;
  width: 100%;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: fixed;       
  top: 50%;             
  left: 50%;            
  transform: translate(-50%, -50%); 
  z-index: 10000;      
}


 .close-btnbtn {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 35px;   
  height: 35px;
  background: transparent; /* better than #55 for visibility */
  border: none;
  font-size: 38px; 
  cursor: pointer;
  color: #555;
  transition: color 0.2s ease;
  display: flex;           
  align-items: center;
  justify-content: center;
  border-radius: 50%;     
  line-height: 1; /* ensure icon is centered */
  padding: 0;      /* remove default button padding */
  text-align: center;
}

.close-btnbtn:hover {
  color: #000;
}



    .share-icons-wrapper {
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .share-icons-wrapper h3 {
      margin: 0 0 15px 0;
      font-size: 16px;
      font-weight: 400;
      color: #000;
    }

    .scroll-btnbtn {
      position: absolute;
      top: 50px;
      background: #fff;
      border: none;
      font-size: 20px;
      cursor: pointer;
      width: 38px;
      height: 38px;
      color: #333;
      border-radius: 50%;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: all 0.25s ease;
    }

    .scroll-btnbtn:hover {
      background: #f1f1f1;
      transform: scale(1.05);
    }

    .left-btnbtn {
      left: 0;
     
    }

    .right-btnbtn {
      right: 0;
    }

    .share-icons {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      scrollbar-width: none;
      scroll-behavior: smooth;
      padding: 5px 0px;
      position: relative;
    }

    .share-icons::-webkit-scrollbar {
      display: none;
    }

    .share-icon {
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      min-width: 65px;
      text-align: center;
      user-select: none;
    }

    .share-icon img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #f5f5f5;
      padding: 6px;
      transition: transform 0.2s ease;
    }

    .share-icon:hover img {
      transform: scale(1.08);
    }

    .share-icon span {
      font-size: 12px;
      margin-top: 6px;
      color: #333;
    }

    .share-link-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 8px;
      margin: 0 1px 16px;
      margin-top: 30px;
    }

    .share-link-box input {
      border: none;
      outline: none;
      width: 80%;
      font-size: 14px;
    }

    .copy-btn {
      background-color: #065fd4;
      color: white;
      border: none;
      padding: 8px 14px;
      border-radius: 20px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500;
    }



    
/* ===== shorts tab popup menu ===== */
.shorts-box-uniq {
  position: absolute;
  display: none;
  background: #fff;
  color: #000;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  z-index: 9999; /* ABOVE overlay */
  padding: 4px 0;
  min-width: 180px;
  max-width: 240px;
  overflow-y: auto;
  font-family: Arial, sans-serif;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: auto;
  z-index: 10000;
}

.shorts-box-uniq::-webkit-scrollbar {
  width: 6px;
}
.shorts-box-uniq::-webkit-scrollbar-thumb {
  background: rgba(170,170,170,0.6);
  border-radius: 10px;
}
.shorts-box-uniq::-webkit-scrollbar-thumb:hover {
  background: rgba(120,120,120,0.8);
}

.shorts-box-uniq ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.shorts-box-uniq li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.shorts-box-uniq li:hover {
  background-color: #f8f8f8;
}
.shorts-box-uniq .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #606060;
}
.shorts-box-uniq .icon svg {
  width: 20px;
  height: 20px;
  fill: #606060;
  transition: fill 0.15s ease;
}
.shorts-box-uniq li:hover .icon svg {
  fill: #000;
}





@media (max-width: 1024px) {
  .home-max-grid { grid-template-columns: repeat(2, 1fr) !important; padding: 8px; margin-bottom: 55px; }
  .np-content {
   width: 100%;
}
.video-card {
  width: 100%;
    padding: 0px 5;
    border-radius: 8px !important;
} 

.video-thumb-wrapper {
    border-radius: 8px; 
  }
    


.mnp-content { 
    padding: 8px;

}

.shorts-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    padding: 8px;
      
  }

}




 
    /* Mobile adjustments */
@media (max-width: 823px) {

.volume-toggle {
display: none !important;
}
    
    #mainContentSection {
        margin-bottom: 60px !important;
    }
    
     /* Grid: 1 video per row */
  .np-content {
   width: 100%;
  }
  
  .home-max-grid {  
    grid-template-columns: 1fr !important;
    padding: 0px;
  }
  
   .np-content, 
  .video-card {
    padding-left: 0;
    padding-right: 0;
    margin: 0 !important;
    border-radius: 0px !important;
  }

 .video-card,
.video-thumb-wrapper,
.video-thumb,
.video-thumb-wrapper img,
.video-thumb-wrapper video,
.skeleton.video-thumbnail {
  border-radius: 0px !important;
}

  
   /* Thumbnail full width - NO margin-left */
  .video-card img {
    border-radius: 0 !important;
  }

/* Hover effect */
.video-card:hover {
  background: #f1f2f3;          /* light gray hover */
  border-radius: 0px !important;
}

  /* Details under video (like title, views) */
  .video-info {
    padding: 6px 10px;   /* thoda inner padding */
    margin-bottom: 3px;
    padding-top: 3px;
  }
  
  .video-details h3 {
    font-size: 16px;   /* thoda inner padding */
    font-weight: 500;
   
  }
    
    
    
    
    .skeleton.home-thumbnail {
       border-radius: 0px !important;
     }
    
    
    
     .no-thumb {
       border-radius: 0px !important;
    aspect-ratio: 16/9;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    }
  
    
    
    
    
    
    
     .video-menu-popup {
    position: fixed !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    padding: 8px 0;
    border-radius: 16px;
    max-width: 90%;
    max-height: 80%;
  }
    
    
  .home-popup {
      max-width: 460px;
      width: 95%;
      padding: 15px;
    }
    
    
    
    .short-thumb-wrapper video {
    opacity: 0;
    pointer-events: none;
  }

  .short-thumb-wrapper:hover video {
    opacity: 1;
    pointer-events: auto;
  }

  .short-thumb-wrapper:hover img {
    opacity: 0;
  }
    
     .mnp-content { 
    padding: 8px;
    padding-top: 0;

}
  
  /* ==== Shorts Grid ==== */
  
     /* Shorts: 2 per row */
  .shorts-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 4px;
    margin-bottom: 20px !important;
  }
    
  .short-thumb-wrapper video {
    display: none !important;
  }

  .short-thumb-wrapper img {
    display: block !important;
    opacity: 1 !important;
  }
  

  .short-card {
    cursor: default !important;
  }

 
   .short-info  {
  display: none;
}
  

.short-thumb-wrapper {
  position: relative;
}



/* Overlay container */
.short-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  color: #fff;
  pointer-events: none; /* allow clicks through except buttons */
}



.short-overlay h4 {
  font-size: 16px;
  margin: 0;
   font-weight: 500;
  cursor: pointer;
}

/* Title */
.short-overlay .short-title {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  padding-right: 40px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  pointer-events: auto;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.25;
  max-height: calc(1.25em * 2);
}

/* Menu icon */
.short-overlay .menu-btnn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: none;
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 30;
  pointer-events: auto;
}

.short-overlay .menu-btnn:hover {
  background: rgba(0,0,0,0.6);
}


/* Remove default link styles */
.short-link,
.short-link:visited,
.short-link:hover,
.short-link:active {
  text-decoration: none;
}




    .shorts-box-uniq {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    padding: 8px 0;
    border-radius: 16px;
    max-width: 90%;
    max-height: 80%;
  }
  .share-popup-short {
      max-width: 460px;
      width: 95% !important;
      padding: 15px;
    }
    
    
     .vmenu-box-uniq {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%);
    max-width: 400px !important;
    padding: 8px 0;
    border-radius: 16px;
    width: 90% !important;
    max-height: 80%;
  }
    
  .share-popup-video {
      max-width: 460px;
      width: 95%;
      padding: 15px;
    }
    
    .share-iconembed {
         display: none;
    }
    
    
    
    
    /* Menu Popup */
     .image-menu-popup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    padding: 8px 0;
    border-radius: 16px;
    max-width: 90%;
    max-height: 80%;
  }
    /* share popup */
  .share-popup {
      max-width: 460px;
      width: 95%;
      padding: 15px;
    }
    
    
    
     .blog-menu-popup {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 400px;
    padding: 8px 0;
    border-radius: 16px;
    max-width: 90%;
    max-height: 80%;
  }
  
  /* share ppup */
  .blog-popup {
      max-width: 460px;
      width: 95%;
      padding: 15px;
    }
    
    
    
    
    /* menu popup */
     .tools-menu-popup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    padding: 8px 0;
    border-radius: 16px;
    max-width: 90%;
    max-height: 80%;
  }
    
    /* share popup  */
  .tools-popup {
      max-width: 460px;
      width: 95%;
      padding: 15px;
    }
}
