.row {
	flex-wrap: nowrap !important;
}

.lewo {
	background-color: rgba(0, 0, 0);
	max-width: 240px;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.prawo {
	background-color: black;
	flex: 1;
	overflow: hidden;
}

.logo {
	height: 100px;
	margin: 0 15px;
	background-image: url('assets/img/ttlogo.png');
	background-position: left;
	background-size: contain;
	background-repeat: no-repeat;
}

.search {
	display: flex;
	align-items: center;
	border-radius: 50px;
	cursor: pointer;
	position: relative;
	justify-content: right;
	width: 90%;
	max-width: 200px;
	margin-bottom: 15px;
}

.search input:focus-visible {
	outline: none;
}

.search-icon {
	position: absolute;
	left: 5px;
}

.search input {
	border: none !important;
	border-radius: 50px;
	background: transparent;
	padding: 8px;
	width: 90%;
	color: rgba(255, 255, 255, 0.5);
}

.przycisk {
	display: flex;
	gap: 15px;
	color: #fff;
	font-size: 18px;
	align-items: center;
	padding: 6px 0;
	border-radius: 5px;
	cursor: pointer;
	user-select: none;
	padding-left: 10px;
}

.przycisk.active {
	color: #ff3b5c;
}

.przycisk:hover {
	background-color: rgba(255, 255, 255, 0.3);
}

.lewo-srodek {
	display: flex;
	flex-direction: column;
	justify-content: left;
	margin-bottom: 30px;
}

.zalogujwrapper {
	width: 100%;
	display: flex;
	justify-content: center;
}

.zaloguj {
	background-color: #ff3b5c;
	color: #fff;
	padding: 10px;
	font-size: 15px;
	text-align: center;
	border-radius: 5px;
	width: 87%;
	margin: 0 25px;
	font-weight: bold;
	cursor: pointer;
	user-select: none;
	margin-bottom: 20px;
}

.zaloguj:hover {
	background-color: #ff2b4f;
}

@media screen and (max-width: 1025px) {
	.logo {
		height: 50px;
		margin: 20px 0;
		background-image: url('assets/img/ttsmall.png');
		background-position: center;
	}

	.lewo {
		max-width: 90px;
	}
	.przycisktext {
		display: none;
	}

	.search-icon {
		left: 10px;
	}

	.search input {
		display: none;
	}

	.zalogujwrapper {
		display: none;
	}
}

.ttWrap {
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	justify-content: center;
}

.ttall {
	position: relative;
	height: 100%;
	aspect-ratio: 9 / 16;
	display: flex;
	align-items: center;
	border-radius: 8px;
	background-color: rgba(255, 255, 255, 0.05);
	user-select: none;
}

.ttall video {
	width: 100%;
}

.przyciskiprawo {
	position: absolute;
	right: -90px;
	gap: 25px 0;
	display: flex;
	flex-direction: column;
	justify-content: end;
	height: 100%;
	padding-bottom: 20px;
	user-select: none;
}

.profil {
	width: 50px;
	height: 50px;
	border-radius: 50px;
	position: relative;
	cursor: pointer;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.profil img {
	width: 100%;
}

.profil.plus::before {
	display: flex;
	justify-content: center;
	align-items: center;
	content: '+';
	padding-bottom: 4px;
	color: #fff;
	font-weight: bold;
	line-height: 1px;
	border-radius: 50%;
	background-color: #ff3b5c;
	width: 15px;
	height: 15px;
	position: absolute;
	left: 50%;
	bottom: -5px;
	transform: translate(-50%, 0);
}

.przycisktt {
	padding: 15px 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	cursor: pointer;
}

.przycisktt i {
	color: #fff;
	font-size: 20px;
}

.ile {
	color: rgba(255, 255, 255, 0.6);
	font-weight: bold;
	font-size: 12px;
	position: absolute;
	bottom: -20px;
}

@media screen and (max-width: 721px) {
	.ttWrap {
		justify-content: left;
	}
	.profil {
		width: 40px;
		height: 40px;
	}
	.przycisktt {
		padding: 12px 9px;
	}
	.przycisktt i {
		font-size: 17px;
	}
	.przyciskiprawo {
		right: -60px;
	}
}

.ttall.active .muzyka {
	animation: krecenie infinite 2s linear;
}

@keyframes krecenie {
	from {
		rotate: 0deg;
	}
	to {
		rotate: 360deg;
	}
}

.dolwrap {
	position: absolute;
	bottom: 0;
	padding: 20px;
	color: #fff;
	font-size: 20px;
}

.username {
	position: relative;
	bottom: 0;
	font-weight: bold;
}

.description-wrapper {
	display: flex;
	align-items: flex-start;
	max-width: 100%;
	gap: 5px;
}

.description {
	margin: 0;
	overflow: hidden;
	line-height: 20px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	word-break: break-word;
	-webkit-line-clamp: 1;
	max-height: 20px;
}

.description-full {
	margin: 0;
	line-height: 20px;
	word-break: break-word;
}

.toggle-btn {
	white-space: nowrap;
	flex-shrink: 0;
	font-size: 14px;
	text-decoration: underline;
	cursor: pointer;
	margin-left: 5px;
	color: #ccc;
}

.toggle-btn.collapsed::after {
	content: 'Więcej';
}

.toggle-btn:not(.collapsed)::after {
	content: 'Mniej';
}

.collapse {
  transition: none !important;
}

.collapsing {
  height: auto !important;
  transition: none !important;
}

.progress-bar-container {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
}

.progress-bar {
	position: relative;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.3);
	border-radius: 2px;
	cursor: pointer;
}

.progress-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	background-color: #ff3b5c;
	border-radius: 2px;
	pointer-events: none;
}

.progress-handle {
	position: absolute;
	top: 50%;
	left: 0%;
	transform: translate(-50%, -50%);
	width: 8px;
	height: 8px;
	background-color: white;
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.2s;
	pointer-events: none;
}

.progress-bar:hover .progress-handle {
	opacity: 1;
	pointer-events: all;
}

.progress-bar.dragging .progress-handle {
	opacity: 1;
}

.volume-control {
	position: absolute;
	top: 20px;
	left: 20px;
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 10;
	cursor: pointer;
}

.volume-icon {
	font-size: 22px;
	color: #fff;
	transition: color 0.2s ease, transform 0.2s ease;
}

.volume-icon:hover {
	color: #ff3b5c;
	transform: scale(1.1);
}


.volume-slider {
	width: 100px;
	height: 4px;
	-webkit-appearance: none;
	background: rgba(255, 255, 255, 0.4);
	border-radius: 2px;
	outline: none;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, width 0.2s ease;
}

.volume-control:hover .volume-slider {
	opacity: 1;
	pointer-events: auto;
}

.volume-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 10px;
	height: 10px;
	background: #fff;
	border-radius: 50%;
	cursor: pointer;
}

.volume-slider::-moz-range-thumb {
	width: 10px;
	height: 10px;
	background: #fff;
	border-radius: 50%;
	cursor: pointer;
}

.video-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
}

.pause-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.pause-icon {
	width: 150px;
	height: 150px;
	filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

.video-paused .pause-overlay {
	opacity: 0.8;
}



