/* Give channel identities room; titles remain complete and accessible. */
body.home-view #home-content .home-live-logo{width:64px;height:64px;flex:none;border-radius:15px;overflow:hidden}
body.home-view #home-content .home-live-logo img{inset:6px;width:calc(100% - 12px);height:calc(100% - 12px);object-fit:contain}
body.home-view #home-content .home-live-item{min-height:84px;align-items:center;gap:14px}
.home-view .home-channel-title{display:block;min-width:0;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.home-view .home-channel-title .channel-title-text{display:inline-block;white-space:nowrap;vertical-align:top}
.home-view .home-channel-title.is-scrolling{text-overflow:clip}
.home-view .home-channel-title.is-scrolling .channel-title-text{animation:home-channel-scroll var(--channel-scroll-time,4s) linear 1s infinite alternate}
@keyframes home-channel-scroll{0%{transform:translateX(0)}85%,100%{transform:translateX(var(--channel-scroll,0px))}}
@media(max-width:650px){body.home-view #home-content .home-live-logo{width:60px;height:60px}body.home-view #home-content .home-live-item{min-height:80px;gap:12px}}
/* TV has a denser, separately sized Home. Avoid growing its rows off-screen. */
body.tv.home-view #home-content .home-live-logo{width:40px;height:40px;border-radius:8px}
body.tv.home-view #home-content .home-live-logo img{inset:4px;width:calc(100% - 8px);height:calc(100% - 8px)}
body.tv.home-view #home-content .home-live-item{min-height:48px;padding:4px 2px;gap:9px}
@media(prefers-reduced-motion:reduce){.home-view .home-channel-title.is-scrolling .channel-title-text{animation:none;white-space:normal}.home-view .home-channel-title.is-scrolling{white-space:normal;overflow-wrap:anywhere}}
