   
.mnp-content {
    padding: 8px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;

    justify-content: center;     /* horizontal */
    align-items: center;         /* vertical */
}
/* =========================
   REMOVE BLUE/TAP HIGHLIGHT
   FOR SHORTS PAGE MENU BUTTONS
=========================== */
.shorts-box-uniq li,
.shorts-box-uniq li span,
.shorts-box-uniq li svg {
    outline: none;                            /* remove focus outline */
    -webkit-tap-highlight-color: transparent; /* remove mobile tap highlight */
    box-shadow: none !important;              /* remove any focus/click shadow */
}



 .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);
  }
}


/* ==== 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;
}


.skeleton {
  background-color: #f1f2f3;
  border-radius: 4px;
  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;
  border-radius: 12px;
  overflow: hidden;
}

.skeleton.text-line {
  height: 12px;
  margin: 6px 0;
  width: 80%;
  border-radius: 6px;
}

.skeleton.text-line.short {
  width: 40%;
}



.shorts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* desktop */
  margin-bottom: 40px;
}

.short-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
   margin-bottom: 20px;
   padding: 8px 4px;
}



/* Hover effect */
.short-card:hover {
  background: #f1f2f3;          /* light gray hover */
  border-radius: 12px !important;
}

.short-overlay { display: none; } /* hide overlay */



    .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: center;
  margin-top: 6px;
  cursor: pointer;
}
.short-info h4 {
  font-size: 16px;
  margin: 0;
   font-weight: 500;
  cursor: pointer;
}

/* YouTube-Style Menu Button */
.short-info .menu-btnn {
  background: none;
  border: none;
  font-size: 18px; /* slightly smaller */
  padding: 10px;
  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 */
.short-info .menu-btnn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #000;
  transform: scale(1.05); /* subtle pop */
}


/* 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 Toast container */
#toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

/* Individual toast */
.toast {
  background: #000;
 border: none;
  color: #fff;
  padding: 12px 20px;
  margin-top: 10px;
  border-radius: 8px;
  font-size: 14px;
  min-width: 250px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

 


    
/* ===== 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;
}












  
 

/* ==== Responsive ==== */
@media (max-width: 1024px) {
    .mnp-content { 
    padding: 8px;

}
    
  .shorts-grid { grid-template-columns: repeat(3, 1fr); 
  margin-bottom: 10px;
      
  }
    
#short-4 {
    display: none;
}

  
#short-5 {
    display: none;
}

  
}
  
  
/* ===== Desktop: play preview on hover ===== */
@media (min-width: 823px) {
  .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;
  }
}

/* ===== Mobile: show only thumbnail ===== */
@media (max-width: 823px) {

    .mnp-content { 
    padding: 4px;
    margin-top: -4px !important;

}
  
   /* ==== Shorts Grid ==== */
.shorts-label {
  margin: 0px 0 10px;
  gap: 6px;
}
    
     /* Shorts: 2 per row */
  .shorts-grid { 
    grid-template-columns: repeat(2, 1fr);
    padding: 0px;
    margin-bottom: 10px !important;
    margin-top: 0px !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-btn {
  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-btn:hover {
  background: rgba(0,0,0,0.6);
}
#short-4 {
    display: block !important;
}
  
#short-5 {
    display: 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;
    }
  
}