/* ============================================================
   Плашка «Скачать приложение» — только мобильные
   ============================================================ */
#ty-app-banner {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  background: #2f2f2f;
  border-top: 3px solid #e8a000;
  padding: 10px 12px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .28);
  font-family: inherit;
  animation: tyBannerUp .28s ease-out;
}

#ty-app-banner.is-visible { display: block; }

@keyframes tyBannerUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.ty-banner-row {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}

.ty-banner-close {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.ty-banner-close:active { background: rgba(255, 255, 255, .3); }

.ty-banner-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
}

.ty-banner-text {
  flex: 1 1 auto;
  min-width: 0;
  color: #fff;
  line-height: 1.3;
}
.ty-banner-title {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ty-banner-sub {
  font-size: 12.5px;
  color: #c9c9c9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ty-banner-free {
  font-size: 12px;
  color: #9ad29a;
}

.ty-banner-btn {
  flex: 0 0 auto;
  background: #e8a000;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 8px;
  text-decoration: none !important;
  white-space: nowrap;
}
.ty-banner-btn:active { background: #cf8f00; }

/* отступ снизу, чтобы плашка не перекрывала контент */
body.ty-banner-open { padding-bottom: 82px !important; }

/* показываем только на мобильных */
@media (min-width: 768px) {
  #ty-app-banner { display: none !important; }
  body.ty-banner-open { padding-bottom: 0 !important; }
}
