
.player {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 10px;
    background-color: #FFFFFF44;
    padding: 0.25rem 0.75rem;
    gap: 0.25rem;
}

.player-button {
    background: var(--blue);
    border-radius: 100%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    margin: 0 0.75rem 0 -0.5rem;
    transform: scale(1.7);
    animation: pulse 1.5s infinite;
}

.playback-speed {
    background: var(--white);
    opacity: .8;
    border-radius: 15rem;
    border: none;
    color: #171717;
    cursor: pointer;
}

.player-icon {
    height: 1.5rem;
}

.player-icon-hidden {
    display: none;
}

@keyframes pulse {
    0% {
        transform: scale(1.7);
    }
    30% {
        transform: scale(1.9);
    }
    100% {
        transform: scale(1.7);
    }
}

.icon-play {
    fill: white;
}

.icon-pause {
    fill: white;
}

.player-progress {
    display: flex;
    position: relative;
    height: 0.5rem;
    background: #a3a3a3;
    margin: 0 5px;
    flex: 10;
    flex-basis: 100%;
    border-radius: 10px;
}

.player-progress-filled {
    height: 100%;
    background: #0088d6;
    flex: 0;
    flex-basis: 0%;
}

.chapter-marker {
    height: 2rem;
    position: absolute;
    left: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
    color: var(--white);
    pointer-events: none;
    font-family: Noto Sans, sans-serif;
}

.chapter-marker span {
    position: relative;
    z-index: 9;
    background-color: rgb(195 233 255 / 39%);
    padding: 0.25rem;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    pointer-events: all;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    transition: all 0.25s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chapter-marker:hover span {
    background-color: var(--blue);
    color: var(--white);
    opacity: 1;
}

.chapter-marker-line {
    width: 0.125rem;
    height: 100%;
    background: rgb(195 233 255 / 39%);
    transition: all 0.25s;
}

.chapter-marker:hover .chapter-marker-line {
    background-color: var(--blue);
}