* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; 
}
body {
  text-align: center;
  background-color: black;
}
.light-background-1 {
  background-color: black;
  position: fixed;
  top: 0;
  height: 10000px;
  width: 100%;
  z-index: 1100;
  opacity: 0.6;
  display: grid;
}
.light-background {
  display: none;
}
header {
  background-color: black;
  
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  color: white;
  transition: transform 0.5s, opacity 0.5s;
  z-index: 99999;
}
header div:nth-child(1) {
  display: flex;
  justify-content: left;
  /* gap: 10px; */
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 5%;
  font-weight: bold;
  font-size: normal;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}
.main-logo {
  width: 18px;
  height: 18px;
  padding: 2px;
  background-color: limegreen;
  /* border: 2px solid black; */
  border-radius: 5px;
  margin-right: 10px;
}
#sidebar-image svg.icon {
  height: 22px;
  width: 22px;
  margin-top: auto;
  margin-bottom: auto;
  margin-right: 15px;
  transition: transform 0.4s, opacity 0.4s;
}
header b {
  margin-top: auto;
  margin-bottom: auto;
}
header div:nth-child(2),
header div:nth-child(3) {
  display: flex;
  /* gap: 25%; */
  justify-content: right;
  margin-right: 5%;
  margin-top: auto;
  margin-bottom: auto;
  /* width: 20%; */
}
header div:nth-child(2) img,
header div:nth-child(2) svg.icon {
  height: 20px;
  width: 20px;
}
header button {
  background-color: transparent;
  border: 1px solid limegreen;
  outline: none;
  border-radius: 50px;
  padding: 5px 10px;
  font-weight: bold;
  font-size: x-small;
  color: limegreen;
  margin-left: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.all-progress {
  position: fixed;
  width: 100%;
  top: 40px;
  height: 10px;
  z-index: 99999;
  display: none;
}
.all-progress progress {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
}
::-webkit-progress-bar {
  -webkit-appearance: none;
  appearance: none;
  background-color: rgb(65, 65, 65);
}
::-webkit-progress-value {
  background-color: limegreen;
}
.Down-header {
  background-color: rgba(35, 35, 35);
  
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: space-around;
  position: fixed;
  bottom: 0;
  font-weight: bold;
  font-size: small;
  z-index: 1000;
  border-top: 1px solid rgba(128, 128, 128, 0.5);
}
.Down-header div {
  display: grid;
  height: 30px;
  margin-top: auto;
  margin-bottom: auto;
  color: white;
}
.Down-header img,
.Down-header svg.icon {
  height: 16px;
  width: 16px;
  margin-left: auto;
  margin-right: auto;
}
.sidebar {
  /* display: none; */
  position: fixed;
  width: 250px;
  top: 0;
  bottom: 0;
  z-index: 99998;
  background-color: rgb(30, 30, 30);
  text-align: left;
  overflow-y: scroll;
  overflow-x: hidden;
  transition: transform 0.5s, opacity 0.5s;
  /* opacity: 0; */
  /* visibility: hidden; */
  transform: translateX(-100%);
}
.sidebar.show {
  /* opacity: 1; */
  /* visibility: visible; */
  transform: translate(0);
}
.sidebar::-webkit-scrollbar {
  display: none;
}
.sidebar ul {
  width: 93%;
  margin-left: auto;
  margin-right: auto;
}
.sidebar li {
  list-style: none;
}
.sidebar li:nth-child(1) {
  height: 40px;
  /* border-bottom: 1px solid white; */
  display: flex;
  position: absolute;
  width: 250px;
  top: 0;
  left: 0;
  background-color: rgb(36, 35, 35);
  /* background-color: goldenrod; */
}
.sidebar li:nth-child(1) img,
.sidebar li:nth-child(1) svg.icon {
  height: 10px;
  width: 10px;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 5%;
}
.sidebar li:nth-child(2) {
  border-bottom: 1px solid rgba(128, 128, 128, 0.4);
  width: 100%;
  display: flex;
  margin-top: 40px;
}
.sidebar li:nth-child(2) div {
  width: 95%;
  display: grid;
  margin: 5% 0px;
  margin-left: auto;
  margin-right: auto;
  color: white;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.sidebar li:nth-child(2) b {
  font-size: normal;
  font-weight: normal;
  margin-top: auto;
  margin-bottom: auto;
  /* align-self: flex-end; */
}
.sidebar li:nth-child(2) div img,
.sidebar li:nth-child(2) div svg.icon {
  width: 40px;
  height: 40px;
}
.sidebar li:nth-child(2) div > div {
  display: flex;
  justify-content: left;
  gap: 10px;
}
.sidebar li:nth-child(2) div button {
  border: none;
  outline: none;
  color: rgba(255, 255, 255, 0.842);
  padding: 10px 2px;
  margin-bottom: 5%;
  width: 100%;
  border-radius: 100px;
  /* background-color: rgba(218, 165, 32, 0.41); */
  background-color: rgba(50, 205, 50, 0.211);
  font-weight: bold;
  /* text-shadow: 2px 2px 0px gray, 0 2px 1px gray; */
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.3),
    rgba(0, 0, 0, 0.3),
    rgba(255, 255, 255, 0.3),
    rgba(0, 0, 0, 0.3)
  );
}
.sidebar li:nth-child(3) {
  color: white;
  font-weight: bolder;
  margin: 6% 5%;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}
.sidebar li:nth-child(4),
.sidebar li:nth-child(5),
.sidebar li:nth-child(6),
.sidebar li:nth-child(7),
.sidebar li:nth-child(8),
.sidebar li:nth-child(9),
.sidebar li:nth-child(10),
.sidebar li:nth-child(11),
.sidebar li:nth-child(12),
.sidebar li:nth-child(13),
.sidebar li:nth-child(14),
.sidebar li:nth-child(15),
.sidebar li:nth-child(16) {
  margin: 0 5%;
  padding: 2% 5%;
  color: rgb(214, 202, 202);
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
.sidebar li:nth-child(4):hover,
.sidebar li:nth-child(5):hover,
.sidebar li:nth-child(6):hover,
.sidebar li:nth-child(7):hover,
.sidebar li:nth-child(8):hover,
.sidebar li:nth-child(9):hover,
.sidebar li:nth-child(10):hover,
.sidebar li:nth-child(11):hover,
.sidebar li:nth-child(12):hover,
.sidebar li:nth-child(13):hover,
.sidebar li:nth-child(14):hover,
.sidebar li:nth-child(15):hover,
.sidebar li:nth-child(16):hover {
  background-color: rgba(50, 205, 50, 0.211);
  border-radius: 50px;
  cursor: pointer;
}
.sidebar li:nth-child(18) {
  font-weight: bolder;
  padding: 6% 5%;
  color: white;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}
.sidebar li:nth-child(19),
.sidebar li:nth-child(20),
.sidebar li:nth-child(21),
.sidebar li:nth-child(22),
.sidebar li:nth-child(23),
.sidebar li:nth-child(24),
.sidebar li:nth-child(25) {
  margin: 0 5%;
  padding: 2% 5%;
  color: rgb(214, 202, 202);
  /* color: rgb(34, 172, 34); */
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
.sidebar li:nth-child(19):hover,
.sidebar li:nth-child(20):hover,
.sidebar li:nth-child(21):hover,
.sidebar li:nth-child(22):hover,
.sidebar li:nth-child(23):hover,
.sidebar li:nth-child(24):hover,
.sidebar li:nth-child(25):hover {
  background-color: rgba(50, 205, 50, 0.211);
  border-radius: 50px;
  cursor: pointer;
}
.sidebar li:nth-child(27),
.sidebar li:nth-child(28),
.sidebar li:nth-child(29),
.sidebar li:nth-child(30),
.sidebar li:nth-child(31) {
  font-weight: bolder;
  padding: 6% 5%;
  color: white;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}
.sidebar li:nth-child(32) {
  padding: 6% 5%;
  display: flex;
  justify-content: space-between;
}
.sidebar li:nth-child(32) img,
.sidebar li:nth-child(32) svg.icon {
  height: 20px;
  width: 20px;
}

input:focus,
button:focus {
  outline: 0;
}

button {
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
.sec-header {
  color: white;
  margin-left: 5%;
  font-size: small;
  display: flex;
  text-align: left;
  border-left: 5px solid limegreen;
  padding-left: 10px;
  margin-bottom: 7px;
}
.seperate{
  display: flex;
  height: 30px;
}
.category {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  vertical-align: middle;
  position: relative;
  border-bottom: 2px solid gray;
  text-align: left;

  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}
.category::-webkit-scrollbar {
  display: none;
}
.category > div {
  display: inline-block;
  white-space: normal;
  text-align: center;
  overflow: hidden;
  vertical-align: top;
  padding: 5px 15px;
  justify-content: center;
  gap: 10px;
  margin: 8px 2%;
  border-radius: 100px;
  color: rgb(224, 222, 222);
  border: 1px solid rgba(128, 128, 128, 0.288);
  background-color: rgb(40, 40, 40);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.search-body{
  width: 100vw;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 10px;
  margin-top: 20px;
}
.search-body::-webkit-scrollbar{
  display: none;
}
.search-body > div{
  flex: 0 0 100vw;
  scroll-snap-align: center;

  border: 1px dotted darkgreen;
  height: fit-content;
}
.sponsored-packed {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-flow: wrap;

  margin-left: auto;
  margin-right: auto;
  background-color: rgb(40, 40, 40);
  padding: 10px 0;
}
.sponsored-packed > div {
  display: inline-block;
  margin: 5px;
  padding: 5px;
  white-space: normal;
  text-align: left;
  width: 30vw;
  overflow-x: hidden;
  vertical-align: top;
  border: 1px solid rgba(255, 255, 255, 0.514) ;
  border-radius: 5px;
}

.sponsored-packed > div > div {
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 90px;
  position: relative;
  border-radius: 5px;
  /* clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%); */
  /* clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%); */
  /* clip-path: polygon(50% 0%, 100% 20%, 100% 100%, 0 100%, 0 20%); */
  /* clip-path: polygon(50% 0%, 100% 25%, 100% 100%, 0 100%, 0 0); */
}
.sponsored-packed > div > small {
  width: 100%;
  font-size: 12px;
  color: white;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 5px 0;
}
.sponsored-packed > div button{
  display: flex;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: black;
  color: white;
  border-radius: 5px;
  padding: 2px 10px;
  margin-top: auto;
  font-size: small;
  /* line-height: 20px; */
}
.top-countdown {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  /* z-index: 100; */
  background-color: limegreen;
  border-radius: 5px;
  clip-path: polygon(50% 0%, 0 0, 0 25%);
}
.sponsored-scroll-div {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: absolute;
  /* left: 0; */
  bottom: 0;
  /* height: 20px; */
  padding: 4px 0px;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.405),
    rgba(0, 0, 0, 0.705)
  );
  background-repeat: no-repeat;
  background-size: cover;
}
.sponsored-scroll-div > div:nth-child(1) {
  display: flex;
  gap: 2px;
  margin-left: 5%;
  /* width: 50px; */
}
.sponsored-scroll-div > div:nth-child(2) {
  display: flex;
  gap: 2px;
  margin-right: 5%;
  /* width: 40px; */
}
.sponsored-scroll-div img,
.sponsored-scroll-div svg.icon {
  width: 12px;
  height: 12px;
  margin-top: auto;
  margin-bottom: auto;
}
.sponsored-scroll-div small {
  margin-top: auto;
  margin-bottom: auto;
  color: whitesmoke;
  text-shadow: 2px 3px 20px black, 0 2px 10px black;

  font-size: xx-small;
  font-family: sans-serif;
}
.top-countdown span {
  position: absolute;
  font-weight: bold;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: x-small;
  left: 3%;
  top: 2%;
  color: black;
}
.content{
  width: 95%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-flow: wrap;
  margin: 0 auto;
  margin-top: 10px;
  /* padding: 7px; */
}
.content-each{
  width: 30vw;
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 5px;
  border: 1px solid rgba(128, 128, 128, 0.507);
  background-color: rgb(40, 40, 40);
  overflow: hidden;
}
.content-each > div:nth-child(1){
  background-size:cover ;
  background-repeat: no-repeat;
  background-position: center;
  height: 70px;
  border-radius: 5px;
  display: flex;
  position: relative;
}
.content-each > div:nth-child(1) > div{
  display: flex;
  justify-content: center;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background-color: rgba(0, 128, 0, 0.5);
  border: 1px solid white;
  margin: auto;
}
.content-each > div:nth-child(1) img,
.content-each > div:nth-child(1) svg.icon{
  margin: auto;
  height: 15px;
  width: 15px;
}
.content-each > div:nth-child(2){
  width: 100%;
  display: grid;
  color: white;
  margin: 5px 0;
  margin-bottom: 0;
  text-align: left;
}
.content-each > div:nth-child(2) b{
  white-space: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
  font-size: small;
}
.content-each > div:nth-child(2) b:nth-child(1){
  font-weight: normal;
  font-size: x-small;
}
.content-each > div:nth-child(3){
  width: 100%;
  display: flex;
  justify-content: left;
  padding: 5px 0;
  border-top: 1px solid rgba(128, 128, 128, 0.3);
  border-bottom: 1px solid rgba(128, 128, 128, 0.3);
  margin: 5px 0;
}
.content-each > div:nth-child(3) img,
.content-each > div:nth-child(3) svg.icon{
  height: 15px;
  width: 15px;
  margin: auto 0;
  margin-right: 5px;
}
.content-each > div:nth-child(3) small{
  color: gray;
  font-size: small;
  margin: auto 0;
}
.content-each > div:nth-child(4){
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.content-each > div:nth-child(4) > div{
  width: fit-content;
  display: flex;
}
.content-each > div:nth-child(4) > div img,
.content-each > div:nth-child(4) > div svg.icon{
  height: 15px;
  width: 15px;
  margin: auto 0;
  margin-right: 5px;
}
.content-each > div:nth-child(4) > div small{
  color: white;
  font-size: x-small;
  margin: auto 0;
}
.reels-head {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background-color: rgb(40, 40, 40);
  padding: 10px 0;
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex-flow: wrap;

  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}
.reels-head::-webkit-scrollbar {
  display: none;
}
.reels-head > div {
  display: inline-block;
  white-space: normal;
  text-align: center;
  overflow: hidden;
  vertical-align: top;
  aspect-ratio: 9 / 16;
  height: auto;
  width: 42vw;
  max-width: 210px;
  margin: 8px 5px;
  border-radius: 14px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  place-items: center;
}
.reels-head > div > div:nth-child(1) {
  display: flex;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background-color: rgba(0, 128, 0, 0.5);
  border: 2px solid white;
}
.reels-head > div > div:nth-child(1) img,
.reels-head > div > div:nth-child(1) svg.icon {
  width: 20px;
  height: 20px;
  margin: auto;
}
.reels-head > div > div:nth-child(2) {
  display: flex;
  position: absolute;
  bottom: 5px;
  left: 5px;
  background-color: rgba(255, 255, 255, 0.527);
  padding: 0 4px;
  height: 20px;
  border-radius: 5px;
}
.reels-head > div > div:nth-child(2) img,
.reels-head > div > div:nth-child(2) svg.icon {
  width: 10px;
  height: 10px;
  margin: auto 0;
  margin-right: 3px;
}
.reels-head > div > div:nth-child(2) b {
  line-height: 20px;
  font-size: small;
  color: black;
}
.movies{
  width: 100vw;
}
.movies::-webkit-scrollbar{
  display: none;
}
.movies-each{
  display: grid;
  width: 95%;
  margin: 0 auto;
  margin-bottom: 10px;
  padding: 10px;
  background-color: rgb(40, 40, 40);
  border-radius: 5px;
}
.movies-each a{
  color: gray;
  text-decoration: underline;
}
.movies-each > div:nth-child(1){
  position: relative;
  /* background-position: center; */
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
  width: 100%;
  height: 50vw;
}
.movies-each > div:nth-child(1) > div:nth-child(1){
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background-color: rgba(0, 128, 0, 0.5);
  border: 2px solid white;
  display: flex;
  width: 40px;
  height: 40px;
}
.movies-each > div:nth-child(1) > div:nth-child(1) img,
.movies-each > div:nth-child(1) > div:nth-child(1) svg.icon{
  height: 20px;
  width: 20px;
  margin: auto;
}
.movies-each > div:nth-child(1) > div:nth-child(2){
  position: absolute;
  bottom: 20px;
  width: 90%;
  left: 5%;
  right: 5%;
  display: flex;
  justify-content: space-between;
}
.movies-each > div:nth-child(1) > div:nth-child(2) b{
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  padding: 2px 5px;
  font-weight: normal;
  font-size: small;
}
.movies-each > div:nth-child(2){
  width: 100%;
  text-align: left;
  color: white;
  border-bottom: 1px solid rgba(128, 128, 128, 0.5);
  margin: 5px auto;
  padding-bottom: 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-x: hidden;
}
.movies-each > div:nth-child(3){
  width: 100%;
  text-align: left;
  color: gray;
  margin-bottom: 5px;
}
.movies-each > div:nth-child(3) small{
  margin: 0 5px;
}
.movies-each > div:nth-child(4){
  margin-bottom: 5px;
  display: flex;
  overflow-x:hidden ;
}
.movies-each > div:nth-child(4) div{
  width: fit-content;
  text-align: left;
  color: white;
  padding: 0 5px;
  background-color: black;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 5px;
  margin-right: 10px;
}
.movies-each > div:nth-child(4) div > small{
  margin: auto;
  line-height: 25px;
}
.movies-each > div:nth-child(5){
  display: flex;
  justify-content: space-between;
  width: 100%;
  color: gray;
  padding-top: 5px;
  border-top: 1px solid rgba(128, 128, 128, 0.5);
  margin-top: 5px;
}
.movies-each > div:nth-child(5) > div{
  height: 20px;
  display: flex;
}
.movies-each > div:nth-child(5) > div b{
  font-weight: lighter;
  font-size: 20px;
  line-height: 20px;
  color: white;
  margin: auto 0;
  margin-right: 5px;
}
.movies-each > div:nth-child(5) > div b:nth-child(6){
  font-weight: bold;
  margin-right: 0;
}
.movies-each > div:nth-child(5) > div small{
  margin: auto 0;
  color: white;
}
.movies-dot{
  width: 100%;
  display: flex;
  justify-content: center;
}
.movies-dot b{
  height: 5px;
  width: 5px;
  background-color: gray;
  border-radius: 50%;
  margin: 0 5px;
}
.footer-head {
  /* border-top: 1px solid gray; */
  display: grid;
  margin-bottom: 50px;
  /* margin-top: 20px; */
  padding: 7% 0;
  width: 100%;
}
.similar-vid-each {
  padding: 15px 10px;
  padding-bottom: 0;
  margin: 0 auto;
  width: 95%;
  border-radius: 5px;
  background-color: rgb(40, 40, 40);
  margin-bottom: 10px;
}
.similar-vid-each > div:nth-child(1) {
  display: flex;
  justify-content: space-between;
}
.similar-vid-each > div:nth-child(1) > div:nth-child(1) {
  display: flex;
  height: 70px;
  width: 90px;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
  position: relative;
}
.similar-vid-each > div:nth-child(1) > div:nth-child(1) div {
  display: flex;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background-color: rgba(0, 128, 0, 0.5);
  border: 2px solid white;
}
.similar-vid-each > div:nth-child(1) > div:nth-child(1) img,
.similar-vid-each > div:nth-child(1) > div:nth-child(1) svg.icon {
  width: 20px;
  height: 20px;
  margin: auto;
}
.similar-vid-each > div:nth-child(1) > div:nth-child(2) {
  display: grid;
  width: 70%;
  text-align: left;
  margin-left: 4%;
}
.similar-vid-each > div:nth-child(1) > div:nth-child(2) b {
  color: white;
  font-size: small;
}
.similar-vid-each > div:nth-child(1) > div:nth-child(2) > small {
  color: white;
  margin-bottom: 5px;
  margin-top: 5px;
  border-top: 1px solid rgba(128, 128, 128, 0.5);
  border-bottom: 1px solid rgba(128, 128, 128, 0.5);
  padding: 7px 0;
}
.similar-vid-each > div:nth-child(1) > div:nth-child(2) div {
  display: flex;
  justify-content: space-between;
}
.similar-vid-each > div:nth-child(1) > div:nth-child(2) > div b{
  color: gray;
  font-size: small;
  text-decoration: underline;
}
.similar-vid-each > div:nth-child(1) > div:nth-child(2) > div small {
  color: gray;
  font-size: small;
  margin: auto 0;
}
.similar-vid-each > div:nth-child(2) {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid rgba(128, 128, 128, 0.5);
  margin-top: 5px;
}
.similar-vid-each > div:nth-child(2) > div {
  display: flex;
  padding: 10px 0;
  border-radius: 5px;
}
.similar-vid-each > div:nth-child(2) > div img,
.similar-vid-each > div:nth-child(2) > div svg.icon {
  height: 15px;
  width: 15px;
  margin: auto 0;
  margin-right: 5px;
}
.similar-vid-each > div:nth-child(2) > div b {
  margin: auto 0;
  margin-right: 5px;
  color: white;
  font-size: small;
}
.similar-vid-each > div:nth-child(2) > div small {
  margin: auto 0;
  color: white;
  font-size: 12px;
}
.footer-contact {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}
.footer-contact img,
.footer-contact svg.icon {
  width: 35px;
  height: 35px;
  opacity: 0.8;
}
.footer-head div:nth-child(2) {
  display: grid;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.footer-head strong {
  font-family: Arial, Helvetica, sans-serif;
  color: rgba(128, 128, 128, 0.62);
}
.footer-head small {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  color: rgba(128, 128, 128, 0.62);
}
/* ---- Top charts clean-up: no dotted panel borders, no grey slabs behind the
        Trending / Views lists, and an even grid for Top reels ---- */
.search-body > div { border: 0 !important; }
.search-body .sponsored-packed { background: transparent !important; }
html body .search-body .reels-head.chart-cards {
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 12px !important; gap: 12px !important;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 4px 14px 10px; box-sizing: border-box; white-space: normal; overflow: visible;
}
html body .search-body .reels-head.chart-cards > .reel-card {
  display: block; width: 100% !important; height: auto !important; aspect-ratio: 9 / 16; margin: 0 !important; box-sizing: border-box;
}
@media (min-width: 560px) { html body .search-body .reels-head.chart-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { html body .search-body .reels-head.chart-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-gap: 14px !important; gap: 14px !important; } }
/* Top trending / Top views: an even grid of cards (no row slabs) */
html body .search-body .chart-cards.sponsored-packed {
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 12px; gap: 12px;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 4px 14px 10px; box-sizing: border-box;
}
html body .search-body .chart-cards.sponsored-packed > div {
  display: flex; flex-direction: column; gap: 6px; width: auto !important; margin: 0 !important; padding: 8px !important; box-sizing: border-box;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.09) !important; border: 1px solid var(--tc-border, rgba(255,255,255,0.1)) !important;
  background: rgba(255,255,255,0.03) !important; background-image: none !important; backdrop-filter: none; -webkit-backdrop-filter: none;
}
html body .search-body .chart-cards.sponsored-packed > div > div { height: auto; aspect-ratio: 16 / 10; border-radius: 10px; }
html body .search-body .chart-cards.sponsored-packed > div > small { margin: 0; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
html body .search-body .chart-cards.sponsored-packed > div button { align-self: flex-start; margin-top: auto; border-radius: 999px; padding: 3px 10px; background: rgba(255,255,255,0.06); }
@media (min-width: 560px) { html body .search-body .chart-cards.sponsored-packed { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { html body .search-body .chart-cards.sponsored-packed { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-gap: 14px; gap: 14px; } }

/* compat:rich:start — capable devices only (html.tc-rich, set in the head): glass blur, big soft shadows,
   filters. Weak phones and old browsers use the lighter look in the rules above. */
.tc-rich header { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tc-rich .Down-header { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html.tc-rich body .search-body .chart-cards.sponsored-packed > div { -webkit-backdrop-filter: none; backdrop-filter: none; }
/* compat:rich:end */
/* compat:aspect — browsers without aspect-ratio (Chrome < 88, Safari < 15): fixed sizes that match
   the mobile layout, so boxes with a background picture or absolutely placed contents don't collapse. */
@supports not (aspect-ratio: 1 / 1) {
  html body .search-body .reels-head.chart-cards > .reel-card { height: 78vw !important; max-height: 420px; }
  html body .search-body .chart-cards.sponsored-packed > div > div { height: 27vw; max-height: 200px; }
}

/* compat:no-flexgap:start — rebuilt by tools/css_compat.py: spacing for engines without flex gap
   (html.no-flexgap, set in the head). Edit the gap in the rule above, then run the tool. */
.no-flexgap .sidebar li:nth-child(2) div > div > :not(:last-child) { margin-right: 10px; }
.no-flexgap .sponsored-scroll-div > div:nth-child(1) > :not(:last-child) { margin-right: 2px; }
.no-flexgap .sponsored-scroll-div > div:nth-child(2) > :not(:last-child) { margin-right: 2px; }
/* compat:no-flexgap:end */
