/* Live Streaming pages (family "ls"): the ONE stylesheet of every streaming page, loaded from /Live_Streaming/stream.css.
   It only adds what the unchanged Standard_Text_Page template does not have; every rule is scoped to .ls so nothing else on a page changes,
   and every colour comes from the template's own variables so all themes work. Change the look HERE, then run `ls.py build` and `ls.py check`. */

/* click-to-play YouTube picture inside the template's 16:9 .video-wrapper (nothing is requested from YouTube before the click) */
.ls .yt-facade {
    position: absolute;
    inset: 0;
    display: block;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
.ls .yt-facade img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .9;
}
.ls .yt-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 68px;
    height: 48px;
    margin: -24px 0 0 -34px;
    border-radius: 12px;
    background: rgba(200, 0, 0, .93);
}
.ls .yt-play::after {
    content: "";
    position: absolute;
    left: 27px;
    top: 14px;
    border: 10px solid transparent;
    border-left: 18px solid #fff;
    border-right: 0;
}
.ls .yt-facade:hover .yt-play,
.ls .yt-facade:focus .yt-play { background: #f00; }
.ls .yt-facade:focus-visible { outline: 3px solid #fc0; outline-offset: -3px; }

/* the Download list: one line of circled files per video, e.g.  [High MP4 795 MB] [Med MP4 463 MB] [Low MP4 239 MB] */
.ls .files {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: .5rem 0 1.25rem;
}
.ls .file-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .5rem;
    margin: 0;
    text-align: left;
}
.ls .file-title { margin-right: .25rem; }
.ls .tag.file {
    margin: 0;
    padding: .12em .75em;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}
