/* Team TararBari V16.4 — UIU seam + large shooting star + sponsor clarity */

/* Remove the gap between the fixed menu and the V16 UIU Hero. */
body.theme-uiu-rover-reference-v16{padding-top:84px!important}
body.theme-uiu-rover-reference-v16 .nav,
body.theme-uiu-rover-reference-v16 .nav-inner{height:84px!important;min-height:84px!important}
body.theme-uiu-rover-reference-v16 main,
body.theme-uiu-rover-reference-v16 #tb-v16-home,
body.theme-uiu-rover-reference-v16 main>#tb-v16-home:first-child,
body.theme-uiu-rover-reference-v16 #tb-v16-home>.uiu16-home,
body.theme-uiu-rover-reference-v16 .uiu16-home,
body.theme-uiu-rover-reference-v16 .uiu16-hero{
  margin-top:0!important;padding-top:0!important
}
body.theme-uiu-rover-reference-v16:not(.admin):not(.cms-admin):not(.admin-page) main>#tb-v16-home:first-child{
  margin-top:0!important;padding-top:0!important
}
body.theme-uiu-rover-reference-v16 .uiu16-hero{
  border-top:0!important;background-position:center top!important
}
@media(max-width:900px){
  body.theme-uiu-rover-reference-v16{padding-top:78px!important}
  body.theme-uiu-rover-reference-v16 .nav,
  body.theme-uiu-rover-reference-v16 .nav-inner{height:78px!important;min-height:78px!important}
}

/* Clearer Supported By / sponsor presentation. */
body.theme-uiu-rover-reference-v16 .uiu16-supported{
  padding:var(--v16-sponsor-pad,42px) 0 calc(var(--v16-sponsor-pad,42px) + 4px)!important;
  background:linear-gradient(180deg,#090b0d,#080a0c)!important;
  border-top:1px solid rgba(255,255,255,.055)!important;
  border-bottom:1px solid rgba(255,255,255,.11)!important
}
body.theme-uiu-rover-reference-v16 .uiu16-supported-head{
  margin-bottom:24px!important;color:#dce4e9!important;
  font-size:var(--v16-sponsor-title-size,12px)!important;
  font-weight:950!important;letter-spacing:.24em!important;
  text-shadow:0 0 16px rgba(255,255,255,.08)!important
}
body.theme-uiu-rover-reference-v16 .uiu16-sponsor-row{
  gap:var(--v16-sponsor-gap,34px)!important;row-gap:20px!important
}
body.theme-uiu-rover-reference-v16 .uiu16-sponsor{
  min-width:190px!important;min-height:92px!important;height:auto!important;
  padding:12px 18px!important;gap:14px!important;
  border:1px solid rgba(255,255,255,.09)!important;border-radius:8px!important;
  background:rgba(255,255,255,.025)!important;filter:none!important;opacity:1!important;
  transition:transform .2s ease,border-color .2s ease,background .2s ease!important
}
body.theme-uiu-rover-reference-v16 .uiu16-sponsor:hover{
  transform:translateY(-3px)!important;border-color:rgba(240,90,40,.38)!important;
  background:rgba(255,255,255,.045)!important
}
body.theme-uiu-rover-reference-v16 .uiu16-sponsor img{
  width:auto!important;height:auto!important;
  max-height:var(--v16-sponsor-logo-h,66px)!important;max-width:180px!important;
  object-fit:contain!important;filter:brightness(1.12) contrast(1.08)!important;opacity:1!important
}
body.theme-uiu-rover-reference-v16 .uiu16-sponsor span{
  color:#f0f5f8!important;font-size:var(--v16-sponsor-text-size,13px)!important;
  line-height:1.3!important;font-weight:850!important;letter-spacing:.01em!important;
  text-shadow:0 1px 8px rgba(0,0,0,.55)!important
}
body.theme-uiu-rover-reference-v16 .uiu16-supported .uiu16-copy{
  color:#e6edf2!important;font-size:var(--v16-sponsor-text-size,13px)!important;font-weight:800!important
}
@media(max-width:700px){
  body.theme-uiu-rover-reference-v16 .uiu16-supported{padding:28px 0 30px!important}
  body.theme-uiu-rover-reference-v16 .uiu16-sponsor-row{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important
  }
  body.theme-uiu-rover-reference-v16 .uiu16-sponsor{
    min-width:0!important;min-height:74px!important;padding:9px 10px!important;
    flex-direction:column!important;gap:6px!important;text-align:center!important
  }
  body.theme-uiu-rover-reference-v16 .uiu16-sponsor img{
    max-height:min(var(--v16-sponsor-logo-h,66px),48px)!important;max-width:120px!important
  }
  body.theme-uiu-rover-reference-v16 .uiu16-sponsor span{font-size:11px!important}
}

/* One large shooting star, similar to the original/default Mars Hero. */
body.theme-uiu-rover-reference-v16 .tb16-mega-shooting-star{
  position:absolute!important;left:-24%!important;top:8%!important;
  width:var(--v16-mega-star-size,8px)!important;height:var(--v16-mega-star-size,8px)!important;
  border-radius:50%!important;z-index:4!important;pointer-events:none!important;opacity:0!important;
  background:#fff!important;
  box-shadow:0 0 10px #fff,0 0 24px rgba(126,229,255,.98),0 0 52px rgba(50,190,255,.72)!important;
  animation:tb16MegaShoot var(--v16-mega-star-dur,9s) cubic-bezier(.2,.62,.23,1) infinite!important;
  animation-delay:-5.2s!important
}
body.theme-uiu-rover-reference-v16 .tb16-mega-shooting-star:before{
  content:""!important;position:absolute!important;right:3px!important;top:50%!important;
  width:var(--v16-mega-tail,420px)!important;height:4px!important;transform:translateY(-50%)!important;
  transform-origin:right center!important;
  background:linear-gradient(90deg,transparent 0%,rgba(56,181,255,.03) 14%,rgba(79,204,255,.18) 42%,rgba(172,239,255,.62) 76%,#fff 100%)!important;
  filter:drop-shadow(0 0 5px rgba(83,215,255,.95))!important
}
body.theme-uiu-rover-reference-v16 .tb16-mega-shooting-star:after{
  content:""!important;position:absolute!important;inset:-10px!important;border-radius:50%!important;
  background:radial-gradient(circle,rgba(255,255,255,.8),rgba(85,214,255,.18) 45%,transparent 72%)!important
}
@keyframes tb16MegaShoot{
  0%,48%{opacity:0;transform:translate3d(0,0,0) rotate(22deg) scale(.8)}
  51%{opacity:1}
  76%{opacity:1}
  91%{opacity:.82;transform:translate3d(145vw,62vh,0) rotate(22deg) scale(1.08)}
  100%{opacity:0;transform:translate3d(155vw,67vh,0) rotate(22deg) scale(1.08)}
}
@media(max-width:700px){
  body.theme-uiu-rover-reference-v16 .tb16-mega-shooting-star{--v16-mega-star-size:6px!important;top:10%!important}
  body.theme-uiu-rover-reference-v16 .tb16-mega-shooting-star:before{
    width:min(var(--v16-mega-tail,420px),250px)!important;height:3px!important
  }
}
@media(prefers-reduced-motion:reduce){
  body.theme-uiu-rover-reference-v16 .tb16-mega-shooting-star{display:none!important}
}
