@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;700&display=swap');

.tp-wrapper {
	position: relative;
	margin: 0;
	width: 100%;
	height: auto;
	font-family: 'Roboto', sans-serif;
	overflow: hidden;
	--quickSlide: cubic-bezier(.5, 0, 0, 1);
	--quickSlideInverse: cubic-bezier(1, 0, .5, 1);
	--easeInOutCirc: cubic-bezier(0.85, 0, 0.15, 1);
	--easeInExpo: cubic-bezier(0.7, 0, 0.84, 0);
	--easeOutExpo: cubic-bezier(0.16, 1, 0.3, 1);
	--easeInOutExpo: cubic-bezier(0.87, 0, 0.13, 1);
}

.tp-wrapper * {
	font-family: 'Roboto', sans-serif;
	box-sizing: border-box;
}

.tp-player-container {
	position: relative;
	width: 100%;
	height: 200px;
	display: flex;
	flex: 1 1 auto;
	overflow: hidden;
	background: var(--player-background);
}

.tp-aside-player {
	position: relative;
	width: 200px;
	height: 100%;
	aspect-ratio: 1/1;
	flex: 0 0 auto;
	overflow: hidden;
	background: var(--player-cover-background);
}

.tp-cover {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 2;
	background: var(--player-cover-loader);
}

.tp-cover.tp-start-change-cover {
	animation: tp-start-change-cover 300ms var(--easeOutExpo) forwards;
}

@keyframes tp-start-change-cover {
	0% {
		clip-path: circle(70.7% at 50% 50%);
	}
	100% {
		clip-path: circle(0% at 50% 50%);
	}
}

.tp-cover.tp-end-change-cover {
	animation: tp-end-change-cover 300ms var(--easeInExpo) forwards;
}

@keyframes tp-end-change-cover {
	0% {
		clip-path: circle(0% at 50% 50%);
	}
	100% {
		clip-path: circle(70.7% at 50% 50%);
	}
}

.tp-cover-image {
	position: relative;
	width: 100%;
	height: 100%;
	display: block;
	margin: 0;
	padding: 0;
	object-fit: cover;
}

.tp-cover.tp-start-change-cover .tp-cover-image {
	animation: tp-start-change-cover-img 300ms linear forwards;
	opacity: 1;
}

@keyframes tp-start-change-cover-img {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

.tp-cover.tp-end-change-cover .tp-cover-image {
	animation: tp-end-change-cover-img 300ms linear forwards;
	opacity: 0;
}

@keyframes tp-end-change-cover-img {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.tp-cover-loading-spinner {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}

.tp-cover-loading-spinner span {
	position: absolute;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1);
	animation: tp-cover-loading 1s var(--quickSlide) infinite;
	background: var(--player-cover-loader);
}

.tp-cover-loading-spinner span:before {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: inherit;
	border-radius: 50%;
	animation: tp-cover-loading-wave 1s var(--quickSlide) infinite;
}

.tp-cover-loading-spinner span:nth-child(1) {
	left: calc(50% - 40px);
	animation-delay: 0ms;
}

.tp-cover-loading-spinner span:nth-child(2) {
	left: 50%;
	animation-delay: 100ms;
}

.tp-cover-loading-spinner span:nth-child(3) {
	left: calc(50% + 40px);
	animation-delay: 200ms;
}

.tp-controls-container {
	position: relative;
	width: 100%;
	min-width: var(--minWidth);
	height: 200px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	box-shadow: 10px 0px 15px 0px rgba(0, 0, 0, 0.25);
}

.tp-controls-header {
	position: relative;
	width: auto;
	height: 20px;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	flex-direction: row;
}

.tp-song-title {
	position: relative;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--player-songtitle);
	font-size: 20px;
	font-weight: 100;
	line-height: 35px;
	margin-top: 30px;
}

.tp-song-title b {
	font-weight: 400;
}

.tp-controls-body {
	position: relative;
	width: 100%;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.tp-button {
	position: relative;
	width: 20px;
	height: 20px;
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	background: transparent;
	flex: 0 0 20px;
	cursor: pointer;
}

.tp-button:before {
	position: absolute;
	content: '';
	width: 60px;
	height: 60px;
	border-radius: 50%;
	top: -20px;
	left: -20px;
	z-index: 1;
	opacity: 1;
	transform: scale(0);
	background: var(--player-buttons-wave);
}

.tp-button.tp-click:before {
	animation: tp-button-wave-click 600ms var(--easeOutExpo) forwards;
}

@keyframes tp-button-wave-click {
	100% {
		opacity: 0;
		transform: scale(1);
	}
}

.tp-button svg {
	position: relative;
	display: block;
	width: 20px;
	height: 20px;
	z-index: 2;
}

.tp-button path {
	fill: var(--player-buttons-normal);
}

.tp-wrapper:not(.tp-mobile) .tp-button:hover path,
.tp-button:active path {
	fill: var(--player-buttons-hover);
}

.tp-button.tp-active path {
	fill: var(--player-buttons-active);
}

.tp-audio-seek-bar {
	position: relative;
	width: 100%;
	min-width: 100px;
	height: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex: 1 1 auto;
	z-index: 1;
	cursor: pointer;
	overflow: hidden;
	background: var(--player-seekbar);
}

.tp-audio-buffered-progress,
.tp-audio-playback-progress {
	position: absolute;
	width: 0%;
	height: 100%;
	left: 0;
	top: 0;
}

.tp-audio-buffered-progress {
	z-index: 2;
	background: var(--player-buffered);
	transition: all 250ms ease-in-out;
}

.tp-audio-playback-progress {
	z-index: 3;
	background: var(--player-progress);
}

.tp-audio-current-time,
.tp-audio-duration {
	position: absolute;
	font-size: 12px;
	font-weight: 400;
	z-index: 4;
	left: 5px;
	color: var(--player-timestamps);
}

.tp-audio-duration {
	right: 5px;
	left: auto;
}

.tp-player-loader {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 10;
	transition: all 500ms var(--quickSlide) 500ms;
	opacity: 0;
	background: var(--player-loader-background);
	pointer-events: none;
}

.tp-loading .tp-player-loader {
	opacity: 1;
}

.tp-player-loader span {
	position: absolute;
	width: 8px;
	height: 8px;
	left: -8px;
	top: 6px;
	border-radius: 4px;
	background: var(--player-loader-color);
}

.tp-player-loader span {
	animation: tp-player-loader 1s var(--easeInOutCirc) infinite;
}

.tp-player-loader span:nth-child(1) {
	animation-delay: 0ms;
}

.tp-player-loader span:nth-child(2) {
	animation-delay: 150ms;
}

.tp-player-loader span:nth-child(3) {
	animation-delay: 300ms;
}

.tp-controls-footer {
	position: relative;
	width: 100%;
	height: auto;
	padding: 0;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 20px;
}

.tp-controls-footer .tp-button {
	margin-right: 0;
}

.tp-volume-control {
	position: relative;
	width: 140px;
	margin-left: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex: 0 0 auto;
}

.tp-volume-level-bar {
	position: relative;
	width: 100%;
	height: 4px;
	cursor: pointer;
	background: var(--player-volume-levelbar);
}

.tp-volume-level {
	position: absolute;
	width: 75%;
	height: 100%;
	top: 0;
	left: 0;
	background: var(--player-volume-level);
}

.tp-social-media-container {
	position: relative;
	width: 0;
	padding: 20px 0px;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: flex-start;
	flex-direction: column;
	flex: 0 0 auto;
	gap: 20px;
	overflow: hidden;
}

.tp-sharing .tp-social-media-container {
	width: 60px;
	padding: 20px 20px;
}

.tp-social-media-container .tp-button {
	transform: translateX(-200%);
	transition: all 500ms var(--easeOutExpo);
}

.tp-social-media-container .tp-button:nth-child(1) {
	transition-delay: 50ms;
}

.tp-social-media-container .tp-button:nth-child(2) {
	transition-delay: 100ms;
}

.tp-social-media-container .tp-button:nth-child(3) {
	transition-delay: 150ms;
}

.tp-sharing .tp-social-media-container .tp-button {
	transform: translateX(0%);
}

.tp-sharing .tp-social-media-container .tp-button:nth-child(1) {
	transition-delay: 0ms;
}

.tp-sharing .tp-social-media-container .tp-button:nth-child(2) {
	transition-delay: 50ms;
}

.tp-sharing .tp-social-media-container .tp-button:nth-child(3) {
	transition-delay: 100ms;
}

.tp-playlist-container {
	position: relative;
	width: 100%;
	height: 0px;
	overflow: hidden;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 1fr 0px;
	background: var(--playlist-background);
	transition: all 500ms var(--easeOutExpo);
}

.tp-wrapper.tp-scrollable .tp-playlist-container.tp-playlist-hovered {
	grid-template-columns: 1fr 10px;
}

.tp-scrollbar-track {
	position: relative;
	width: 10px;
	height: 100%;
	top: 0;
	right: 0;
	background: var(--playlist-scrollbar-track);
}

.tp-scrollbar-thumb {
	position: absolute;
	width: 100%;
	height: 10%;
	top: 0;
	right: 0%;
	pointer-events: none;
	background: var(--playlist-scrollbar-thumb);
}

.tp-playlist {
	position: relative;
	width: 100%;
	min-width: 0;
	height: 0px;
	margin: 0 !important;
	padding: 0 !important;
	list-style-type: none !important;
}

.tp-wrapper.tp-scrollable .tp-playlist {
	overflow-y: scroll;
	scrollbar-width: none;
}

.tp-wrapper.tp-mobile .tp-playlist {
	overflow-y: scroll;
}

.tp-playlist-item {
	position: relative;
	width: 100%;
	height: 40px;
	margin: 0 !important;
	padding: 0 !important;
	list-style-type: none !important;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-content: stretch;
	align-items: center;
	cursor: pointer;
	background: var(--playlist-background);
	color: var(--playlist-color);
	border-bottom-color: var(--playlist-separator);
}

.tp-playlist-item.tp-playing,
.tp-playlist-item:hover {
	background: var(--playlist-hover-background);
	color: var(--playlist-hover-color);
	border-bottom-color: var(--playlist-hover-separator);
}

.tp-playlist-item.tp-active {
	background: var(--playlist-active-background);
	color: var(--playlist-active-color);
	border-bottom-color: var(--playlist-active-separator);
}

.tp-playlist-item:last-child {
	border-bottom: none;
}

.tp-playlist-item-indicator {
	position: relative;
	width: 40px;
	height: 40px;
	flex: 0 0 auto;
}

.tp-playlist-item-indicator span {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 3px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1);
	transition: all 250ms var(--easeOutExpo);
	background: var(--playlist-color);
}

.tp-playlist-item:hover .tp-playlist-item-indicator span {
	background: var(--playlist-hover-color);
}

.tp-playlist-item.tp-active .tp-playlist-item-indicator span {
	background: var(--playlist-active-color);
}

.tp-playlist-item-indicator span:before {
	position: absolute;
	display: none;
	content: "";
	width: 6px;
	height: 6px;
	top: 0;
	left: 0;
	background: inherit;
	border-radius: 50%;
}

.tp-playing .tp-playlist-item-indicator span {
	height: 6px;
	width: 4px;
	animation: tp-playing-animation 600ms infinite var(--quickSlide);
}

.tp-playing .tp-playlist-item-indicator span:nth-child(1) {
	left: calc(50% - 8px);
	animation-delay: 75ms;
}

.tp-playing .tp-playlist-item-indicator span:nth-child(2) {
	animation-delay: 0ms;
}

.tp-playing .tp-playlist-item-indicator span:nth-child(3) {
	left: calc(50% + 8px);
	animation-delay: 150ms;
}

.tp-loading .tp-playlist-item.tp-active .tp-playlist-item-indicator span {
	width: 6px;
	height: 6px;
	transform: translate(-50%, -50%) scale(1);
	animation: tp-playlist-loader 1000ms var(--quickSlide) infinite;
}

.tp-loading .tp-playlist-item.tp-active .tp-playlist-item-indicator span:before {
	display: block;
}

.tp-loading .tp-playlist-item.tp-active .tp-playlist-item-indicator span:before {
	animation: tp-playlist-loader-wave 1s var(--quickSlide) infinite;
}

.tp-loading .tp-playlist-item.tp-active .tp-playlist-item-indicator span:nth-child(1) {
	left: calc(50% - 8px);
	animation-delay: 0ms;
}

.tp-loading .tp-playlist-item.tp-active .tp-playlist-item-indicator span:nth-child(2) {
	animation-delay: 100ms;
}

.tp-loading .tp-playlist-item.tp-active .tp-playlist-item-indicator span:nth-child(3) {
	left: calc(50% + 8px);
	animation-delay: 200ms;
}

.tp-playlist-item-song-title {
	position: relative;
	flex: 1 1 auto;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	padding-right: 20px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: inherit;
	text-align: left;
}

.tp-playlist-item-song-title b {
	font-weight: 700;
}

.tp-playlist-song-download,
.tp-playlist-song-buy {
	position: relative;
	width: 20px;
	height: 20px;
	margin-right: 20px;
	transition: transform 250ms var(--easeOutExpo);
	flex: 0 0 auto;
}

.tp-playlist-item .tp-playlist-song-download path,
.tp-playlist-item .tp-playlist-song-buy path {
	fill: var(--playlist-color) !important;
}

.tp-playlist-item:hover .tp-playlist-song-download path,
.tp-playlist-item:hover .tp-playlist-song-buy path {
	fill: var(--playlist-hover-color) !important;
}

.tp-playlist-item.tp-active .tp-playlist-song-download path,
.tp-playlist-item.tp-active .tp-playlist-song-buy path {
	fill: var(--playlist-active-color) !important;
}

.tp-playlist-item a:last-of-type {
	margin-right: 10px;
}

.tp-playlist-song-download:hover,
.tp-playlist-song-buy:hover {
	transform: scale(1.25);
}

.tp-playlist-song-download:active,
.tp-playlist-song-buy:active {
	transform: scale(0.75);
}

@keyframes tp-cover-loading {
	0% {
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		transform: translate(-50%, -50%) scale(.5);
	}
	100% {
		transform: translate(-50%, -50%) scale(1);
	}
}

@keyframes tp-cover-loading-wave {
	0%, 50% {
		transform: scale(1);
		opacity: 1;
	}
	100% {
		transform: scale(4);
		opacity: 0;
	}
}

@keyframes tp-playlist-loader {
	0% {
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		transform: translate(-50%, -50%) scale(.5);
	}
	100% {
		transform: translate(-50%, -50%) scale(1);
	}
}

@keyframes tp-playlist-loader-wave {
	0%,	50% {
		transform: scale(1);
		opacity: 1;
	}
	100% {
		transform: scale(3);
		opacity: 0;
	}
}

@keyframes tp-player-loader {
	0% {
		left: -8px;
	}
	50% {
		width: calc(8px * 2);
		height: 6px;
		top: 7px;
	}
	100% {
		left: 100%;
	}
}

@keyframes tp-playing-animation {
	0%, 100% {
		height: 6px;
	}
	50% {
		height: 20px;
	}
}


/* Errors */
.tp-wrapper .tp-error-container {
	position: absolute;
	width: auto;
	height: auto;
	min-width: 220px;
	max-width: calc(100% - 40px);
	max-height: calc(100% - 40px);
	padding: 20px;
	top: 50%;
	left: 50%;
	opacity: 0;
	transform: translate(-50%, 100%);
	visibility: visible;
	background: color-mix(in srgb, #000 35%, transparent);
	backdrop-filter: blur(25px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
	border-radius: 5px;
	z-index: 100;
	text-align: center;
	transition: all 500ms var(--easeOutExpo);
	cursor: default;
	pointer-events: none;
}

.tp-wrapper .tp-error-message {
	font-size: 30px;
	line-height: 35px;
	font-weight: 400;
	color: #fff;
}

.tp-wrapper .tp-error-close-button {
	position: absolute;
	width: 10px;
	height: 10px;
	top: 10px;
	right: 10px;
	cursor: pointer;
}

.tp-wrapper .tp-error-close-button svg {
	display: block;
	width: 10px;
	height: 10px;
}

.tp-wrapper .tp-error-close-button:hover path,
.tp-wrapper .tp-error-close-button path {
	fill: #fff !important;
}

.tp-wrapper.tp-error .tp-error-container {
	opacity: 1;
	transform: translate(-50%, -50%);
	visibility: visible;
	pointer-events: all;
}


/* No Cover */
.tp-no-cover .tp-aside-player {
	width: 0px;
}

/* tp-medium Horizontal */

.tp-medium .tp-player-container {
	height: auto;
}

.tp-medium .tp-controls-container {
	height: auto;
}

.tp-medium .tp-song-title {
	margin-top: 0;
}

.tp-medium .tp-controls-body {
	justify-content: center;
	flex-wrap: wrap;
}

.tp-medium .tp-button {
	order: 1;
}

.tp-medium .tp-audio-seek-bar {
	order: 2;
}

.tp-medium .tp-volume-control {
	order: 1;
}

.tp-medium .tp-volume-level-bar {
	order: 1;
}

/* Skin Vertical */

.tp-vertical {
	min-width: var(--minWidth);
}

.tp-vertical .tp-player-container {
	height: auto;
	flex-direction: column;
}

.tp-vertical .tp-aside-player {
	width: 100%;
}

.tp-vertical .tp-controls-container {
	height: auto;
}

.tp-vertical .tp-song-title {
	margin-top: 0;
}

.tp-vertical .tp-controls-body {
	justify-content: center;
	flex-wrap: wrap;
}

.tp-vertical .tp-button {
	order: 1;
}

.tp-vertical .tp-audio-seek-bar {
	order: 2;
}

.tp-vertical .tp-volume-control {
	order: 1;
}

.tp-vertical .tp-volume-level-bar {
	order: 1;
}

.tp-vertical .tp-social-media-container {
	width: 100%;
	height: 0px;
	padding: 0px 20px;
	flex-direction: row;
}

.tp-vertical.tp-sharing .tp-social-media-container {
	width: 100%;
	height: 60px;
	padding: 20px 20px;
}

.tp-vertical .tp-social-media-container .tp-button {
	transform: translateY(-200%);
}

.tp-sharing .tp-social-media-container .tp-button {
	transform: translateY(0%);
}

/* Ronded */

.tp-wrapper.tp-rounded {
	border-radius: 10px;
	overflow: hidden;
}

.tp-wrapper.tp-rounded .tp-audio-seek-bar {
	border-radius: 5px;
	overflow: hidden;
}

.tp-wrapper.tp-rounded .tp-volume-level-bar {
	border-radius: 2px;
	overflow: hidden;
}

.tp-wrapper.tp-rounded .tp-scrollbar-thumb {
	border-radius: 10px;
}

.tp-player-log {
	position: relative;
	width: 100%;
	padding: 20px;
	background: #555;
	font-size: 12px;
	line-height: 20px;
	font-weight: 400;
	color: #fff;
}
