.watch-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 10px 0 26px;
}

.watch-heading h1 {
    font-size: 27px;
    margin: 8px 0 0;
    line-height: 1.5;
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 25px;
    margin-bottom: 35px;
}

.player-surface {
    min-width: 0;
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #050506;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.player-notice {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: #07090dee;
}

.notice-symbol {
    color: var(--accent);
    width: 55px;
    height: 55px;
    border: 1px solid #efc75e60;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 15px;
}

.notice-symbol .icon {
    width: 25px;
    height: 25px;
}

.player-notice strong {
    font-size: 20px;
    margin-bottom: 8px;
}

.player-notice p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 19px;
}

.player-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding: 16px 19px;
    border-radius: 0 0 10px 10px;
    background: #22242a;
    font-size: 14px;
}

.player-toolbar > span {
    margin-right: auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.playback-hint {
    font-size: 13px;
    color: #969ca6;
    padding: 17px 0 0;
    margin-bottom: 0;
}

.watch-sidebar {
    background: #191b20;
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 12px;
    align-self: start;
}

.watch-sidebar > h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.watch-sidebar > p {
    color: var(--muted);
    font-size: 14px;
}

.watch-sidebar .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.watch-sidebar .section-heading h2 {
    font-size: 18px;
}

.watch-sidebar .section-heading > span {
    font-size: 12px;
}

.watch-sidebar .episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.watch-sidebar .muted {
    font-size: 12px;
    margin: 0;
}

.theater .watch-layout {
    grid-template-columns: minmax(0, 1fr);
}

.theater .watch-sidebar .episode-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.video-frame:fullscreen {
    border-radius: 0;
    width: 100vw;
    height: 100vh;
}

@media (max-width: 1000px) {
    .watch-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .watch-sidebar .episode-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .watch-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .watch-heading h1 {
        font-size: 23px;
    }

    .watch-sidebar {
        padding: 20px;
    }

    .watch-sidebar .episode-grid,
    .theater .watch-sidebar .episode-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .player-notice {
        padding: 12px;
    }

    .notice-symbol {
        display: none;
    }

    .player-notice strong {
        font-size: 17px;
    }

    .player-notice p {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .player-notice .button {
        font-size: 12px;
        min-height: 34px;
        padding: 6px 13px;
    }

    .player-toolbar {
        padding: 12px;
        gap: 9px;
        font-size: 12px;
    }
}
