.player-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}
.player-heading h1 {
    font-size: 29px;
    margin-bottom: 0;
}
.player-heading .eyebrow {
    margin-bottom: 10px;
}
.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
    align-items: start;
}
.watch-layout > div {
    min-width: 0;
}
.video-shell {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background: #000;
    border-radius: 12px 12px 0 0;
    z-index: 11;
}
.video-shell video {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.source-message {
    position: absolute;
    inset: 0;
    background: #050b14e8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 18px;
    color: #b4c0d1;
}
.source-message > .icon {
    width: 38px;
    height: 38px;
    color: #90aa79;
    margin-bottom: 20px;
}
.source-message h2 {
    color: #e5ecf4;
    font-size: 24px;
    margin-bottom: 14px;
}
.source-message p {
    font-size: 14px;
    margin-bottom: 8px;
}
.source-message .button {
    margin-top: 15px;
}
.player-toolbar {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 14px 18px;
    background: #181f2a;
    border-radius: 0 0 10px 10px;
    position: relative;
    z-index: 11;
    flex-wrap: wrap;
}
.player-toolbar span {
    margin-right: auto;
    font-size: 13px;
    color: #8f9cb0;
}
.player-toolbar button {
    font-size: 13px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #bdc6d5;
}
.player-toolbar button:hover {
    color: var(--accent);
}
.episode-nav {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.episode-nav > :last-child {
    margin-left: auto;
}
.watch-aside {
    background: #161d28;
    border: 1px solid #2b3545;
    border-radius: 12px;
    padding: 24px;
}
.watch-aside > p {
    color: #99a6ba;
    font-size: 14px;
}
.watch-aside .episodes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.watch-aside .episode {
    padding-inline: 5px;
    text-align: center;
}
.watch-layout.wide {
    grid-template-columns: minmax(0, 1fr);
}
.watch-layout.wide .watch-aside .episodes {
    display: flex;
}
.watch-layout.wide .watch-aside .episode {
    padding-inline: 20px;
}
.play-note {
    border-left: 3px solid #62784a;
    padding: 16px 22px;
    background: #18221b;
    margin-top: 28px;
}
.play-note h2 {
    font-size: 17px;
    margin-bottom: 8px;
}
.play-note p,
.playback-message {
    font-size: 14px;
    color: #a6b5a4;
    margin-bottom: 0;
}
.play-note a {
    color: var(--accent);
}
body.lights-off::after {
    content: "";
    position: fixed;
    inset: 0;
    background: #000c;
    z-index: 10;
    pointer-events: none;
}
.video-shell:fullscreen {
    border-radius: 0;
    height: 100%;
    width: 100%;
}
@media (max-width: 1000px) {
    .watch-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .watch-aside .episodes {
        display: flex;
    }
    .watch-aside .episode {
        padding-inline: 20px;
    }
}
@media (max-width: 600px) {
    .player-heading {
        align-items: flex-start;
    }
    .player-heading h1 {
        font-size: 23px;
    }
    .source-message {
        padding: 12px;
    }
    .source-message > .icon {
        display: none;
    }
    .source-message h2 {
        font-size: 17px;
        margin-bottom: 5px;
    }
    .source-message p {
        font-size: 12px;
        margin-bottom: 4px;
    }
    .source-message p:nth-of-type(2) {
        display: none;
    }
    .source-message .button {
        min-height: 35px;
        font-size: 12px;
        padding: 5px 12px;
        margin-top: 7px;
    }
    .player-toolbar {
        gap: 14px;
        padding: 12px;
    }
    .player-toolbar span {
        width: 100%;
    }
    .episode-nav {
        gap: 8px;
    }
    .episode-nav .button {
        flex: 1;
        padding: 8px;
        font-size: 13px;
    }
}
