.route-media-view #screen{display:flex;flex-direction:column;min-height:0}.route-media-view .video-feed-stage{height:auto;flex:1;min-height:0}.home-header .rm-back{color:#ff692f;font-size:13px;font-weight:600;text-decoration:none;min-height:44px;display:flex;align-items:center}.rm-dialog{width:min(540px,94vw);max-height:85dvh;border:0;border-radius:14px;padding:16px}.rm-dialog::backdrop{background:#0009}.rm-dialog header{display:flex;justify-content:space-between;align-items:center;gap:10px}.rm-dialog h2{font-size:18px}.rm-dialog button,.rm-item a{min-height:44px;padding:8px 12px}.rm-items{display:grid;gap:8px}.rm-item{display:flex;align-items:center;gap:10px;border-bottom:1px solid #e2e8ec;padding:8px 0}.rm-item>span{flex:1;overflow-wrap:anywhere}.rm-item img{width:64px;height:48px;object-fit:cover;border-radius:6px}.route-media-view .creator-link img{width:26px;height:26px;object-fit:cover;border-radius:50%}.route-media-view .creator-link{display:inline-flex;align-items:center;gap:6px}.route-media-view .video-feed-meta{display:flex;justify-content:space-between;gap:8px}.route-media-view .home-empty{height:auto;flex:1}.route-media-view .video-feed-title h1{font-size:17px;overflow-wrap:anywhere}

.rm-counter{flex-shrink:0;color:#cdd5dc;font-size:12px;line-height:1.3;white-space:nowrap}.route-media-view .rm-photo-controls{display:flex;justify-content:space-between}.route-media-view .rm-photo-controls button{min-width:88px}.route-media-view .rm-items{white-space:pre-wrap}
.route-media-view .home-description{display:flex;align-items:center;gap:8px;margin-top:6px;min-width:0}.route-media-view .home-description>span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-media-view .home-description>button{flex-shrink:0;min-height:32px}

/* Bound the two-row viewer grid to the viewport, including long descriptions. */
.home-feed.route-media-view .video-feed-stage:has(>.real-video-player){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;min-width:0;width:100%}
.route-media-view .video-feed-stage>*,.route-media-view .video-feed-title,.route-media-view .video-feed-title h1,.route-media-view .video-feed-meta{min-width:0;max-width:100%}
.route-media-view .real-video-player{width:100%;overflow:hidden}
.route-media-view .real-video-player>iframe,.route-media-view .real-video-player>video{min-width:0;max-width:100%;box-sizing:border-box}
.route-media-view .xv-controls>*{min-width:0;overflow-wrap:anywhere}
.route-media-view #real-player>.xv-controls:not(.xv-controls-nav){grid-template-columns:repeat(3,minmax(0,1fr))}

.route-media-view .video-feed-meta{align-items:center}.route-media-view .creator-link{flex:1;min-width:0;overflow:hidden}.route-media-view .creator-link img{flex-shrink:0}.route-media-view .rm-creator-alias{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rm-items a{color:#1269bb;overflow-wrap:anywhere;text-decoration:underline}
