/* TVYou PWA install bar: slim, bottom-anchored, dismissible. */
#tvyou-pwa-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 99990;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0D2A54;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  padding: 10px 12px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.35;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

#tvyou-pwa-bar.tvyou-pwa-bar-show {
  transform: translateY(0);
  opacity: 1;
}

#tvyou-pwa-bar .tvyou-pwa-bar-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex: 0 0 auto;
}

#tvyou-pwa-bar .tvyou-pwa-bar-text {
  flex: 1 1 auto;
}

#tvyou-pwa-bar .tvyou-pwa-bar-install {
  flex: 0 0 auto;
  background: #E8112D;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

#tvyou-pwa-bar .tvyou-pwa-bar-close {
  flex: 0 0 auto;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 20px;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
  opacity: 0.8;
}

@media (min-width: 720px) {
  #tvyou-pwa-bar {
    left: auto;
    right: 20px;
    bottom: 20px;
    max-width: 420px;
  }
}
