.watch-head {
    margin-bottom: 24px;
}

.watch-head h1 {
    font-size: 30px;
    margin: 0;
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
    gap: 24px;
    margin-bottom: 35px;
}

.watch-primary {
    min-width: 0;
}

.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 10px;
    overflow: hidden;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
    background: #000000;
}

.player-notice {
    padding: 18px 0;
    font-size: 13px;
}

.player-notice strong {
    color: #c4dccd;
    font-weight: 500;
    line-height: 1.8;
    display: block;
    margin-bottom: 8px;
}

.player-notice p {
    margin-bottom: 5px;
}

.player-notice a {
    color: var(--accent);
    text-decoration: underline;
}

.player-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.disabled {
    opacity: .6;
    border-color: #3a4148;
    color: #a6afb9;
}

.episode-panel {
    border: 1px solid var(--line);
    padding: 24px 20px;
    border-radius: 10px;
    background: var(--surface);
    min-width: 0;
}

.episode-panel h2 {
    font-size: 22px;
    margin-bottom: 14px;
}

.episode-panel p {
    font-size: 14px;
}

.episode-panel .episode-grid {
    margin-top: 23px;
    margin-bottom: 25px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.episode-panel .small {
    font-size: 13px;
    margin-bottom: 0;
}

.theater .watch-layout {
    grid-template-columns: 1fr;
}

.theater .episode-panel .episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}

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

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

@media (max-width: 560px) {
    .watch-head h1 {
        font-size: 25px;
    }

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

    .player-controls .button {
        padding-inline: 14px;
    }
}
