/* ============ TOPBAR ============ */
.yetawise-ts-topbar{
  position: relative;
  z-index: 99999;
  width: 100%;
  background: #ffcc00;
  color: #1c1c1c;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.yetawise-ts-topbar__inner{
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  line-height: 1.2;
}

.yetawise-ts-topbar__text{
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yetawise-ts-topbar__btn{
  flex: 0 0 auto;
  background: #1c293d;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 900;
  border-radius: 999px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .15s ease, filter .15s ease, background .15s ease, color .15s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.yetawise-ts-topbar__btn:hover,
.yetawise-ts-topbar__btn:focus{
  transform: translateY(-1px);
  filter: brightness(1.05);
  color: #ffcc00 !important;
  text-decoration: none !important;
}

.yetawise-ts-icon{
  width: 16px;
  height: 16px;
  color: #ffffff;
}

.yetawise-ts-topbar__btn:hover .yetawise-ts-icon,
.yetawise-ts-topbar__btn:focus .yetawise-ts-icon{
  color: #ffffff;
}

@media (max-width: 767px){
  .yetawise-ts-topbar{ margin-top: -20px; }

  .yetawise-ts-topbar__inner{
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .yetawise-ts-topbar__text{
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .yetawise-ts-topbar__btn{
    width: 100%;
    justify-content: center;
  }
}

/* ============ POPUP ============ */
.yetawise-ts-popup{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}
.yetawise-ts-popup.is-open{ display:block; }

.yetawise-ts-popup__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.yetawise-ts-popup__panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 640px);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
}

.yetawise-ts-popup__close{
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
  z-index: 3;
}
.yetawise-ts-popup__close:hover{
  transform: translateY(-1px);
  filter: brightness(0.98);
}

.yetawise-ts-popup__link{
  display: block;
  position: relative;
  text-decoration: none;
}

.yetawise-ts-popup__img{
  display:block;
  width:100%;
  height:auto;
}

.yetawise-ts-popup__badge{
  position:absolute;
  left:12px;
  bottom:12px;
  background: rgba(0,0,0,0.72);
  color:#fff;
  padding:6px 10px;
  border-radius:10px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.2px;
}