/* Обложка плеера Kinescope: templates/partial/player_kinescope.html */
.kinescope-player {
    position: relative;
    flex-shrink: 0;
    max-width: 100%;
    max-height: 100vh;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(155deg, rgba(178, 162, 198, 0.55) 0%, rgba(233, 174, 210, 0.45) 100%);
}

@media (max-width: 600px) {
    .kinescope-player--vertical {
        aspect-ratio: 9 / 16;
    }
}

.kinescope-player__start {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.kinescope-player__poster {
    display: block;
    width: 100%;
    height: 100%;
    /* Как у самого плеера: кадр целиком, без обрезки — картинка не «прыгает» при старте. */
    object-fit: contain;
}

.kinescope-player__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(28px, 22%, 68px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(58, 47, 69, 0.72);
    color: #ffffff;
    transform: translate(-50%, -50%);
    transition: background 0.15s ease, transform 0.15s ease;
}

.kinescope-player__play svg {
    width: 46%;
    height: 46%;
    margin-left: 6%;
}

.kinescope-player__start:hover .kinescope-player__play {
    background: #af8fcc;
    transform: translate(-50%, -50%) scale(1.06);
}

.kinescope-player__start:focus-visible {
    outline: 3px solid #8b7a9e;
    outline-offset: -3px;
}

.kinescope-player__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .kinescope-player__play {
        transition: none;
    }
}
