#vcb-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 100%;
  z-index: 99999;
  padding: 26px 14px; /* افزایش ارتفاع */
  box-shadow: 0 2px 8px rgba(10,8,48,0.10);
  gap: 28px;
  font-size: 1.28rem; /* قبلاً 1.06rem بود */
  right: 0;
  left: 0;
  direction: rtl;
  transition: top 0.3s, bottom 0.3s;
  max-width: 100vw;
  box-sizing: border-box;
}

#vcb-banner.vcb-bottom {top:auto; bottom:0;}
#vcb-banner.vcb-top {top:0; bottom:auto;}

#vcb-banner-message {
  margin-left: 20px;
  font-weight: bold;
  color: var(--vcb-gold, #D4AF37);
  letter-spacing: 0.5px;
  font-size: 1.4em;
}

#vcb-banner-timer {
  display: flex;
  gap: 10px;
  background: var(--vcb-sec, #54595F);
  padding: 10px 28px;
  border-radius: 30px;
  /* color: #fff; حذف شد، مقدار رنگ از JS و inline میاد */
  font-weight: bold;
  font-size: 1.25em;
  letter-spacing: 1px;
  flex-direction: row; /* تضمین افقی بودن در همه حالت‌ها */
}

#vcb-banner-timer span {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
}

#vcb-banner-timer .vcb-label {
  font-size: 0.72em;
  font-weight: normal;
  opacity: 0.8;
  letter-spacing: 0.5px;
}

#vcb-banner-close {
  background: none;
  border: none;
  color: var(--vcb-gold, #D4AF37);
  font-size: 2.1em;
  cursor: pointer;
  margin-right: 18px;
  font-weight: bold;
  transition: color .3s;
  line-height: 1;
  padding: 0 7px;
}
#vcb-banner-close:hover { color: #fff; }


/* --------- ریسپانسیو موبایل --------- */
@media(max-width: 600px) {
  #vcb-banner {
    flex-direction: column;
    gap: 8px;
    padding: 12px 2px 10px 2px;
    font-size: 1.04rem;
    max-width: 100vw;
    box-sizing: border-box;
  }

  #vcb-banner-message {
    margin-left: 0;
    margin-right: 0;
    font-size: 1em;
    text-align: center;
    line-height: 1.7;
    padding-bottom: 2px;
    word-break: break-word;
    max-width: 100vw;
    box-sizing: border-box;
    white-space: normal;
  }

  #vcb-banner-timer {
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    padding: 5px 6px;
    font-size: 0.99em;
    gap: 4px;
    border-radius: 14px;
    min-width: 0;
  }
  #vcb-banner-timer span {
    min-width: 28px;
    font-size: 1em;
    padding: 0 0.5px;
  }

  #vcb-banner-close {
    font-size: 1.5em;
    margin-right: 0;
    margin-top: 1px;
    align-self: center;
    padding: 0 3px;
    display: inline-block;
  }
}
