/*.pp-season-filter এটি Display None দিয়ে বন্ধ করা আছে। যদি ক্লাইন্ট উপরে ফিল্টার চায় তাহলে Display:none; এই লাইন মুছে দিলেই হবে pp-season-filter ক্লাস থেকে।
*/

.pp-container {
	max-width: 100%;
	margin: 0 auto;
	font-family: Arial, sans-serif;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ── Tabs ─────────────────────────────────────────────────────────────────── */

.pp-tabs {
	display: flex;
	border-bottom: 1px solid #e2e8f0;
	background: #fafafa;
}

.pp-tab {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: normal;
	color: #666;
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	cursor: pointer;
	transition: color .15s ease, border-color .15s ease, background .15s ease;
	outline: none;
	line-height: 1;
}

.pp-tab:hover {
	color: #333;
	background: #f0f0f0;
}

.pp-tab-active {
	color: #c51b1b;
	border-bottom-color: #c51b1b;
	font-weight: bold;
	background: #fff;
}

.pp-tab-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.pp-count {
	background: #eee;
	color: #666;
	font-size: 11px;
	font-weight: normal;
	padding: 1px 6px;
	border-radius: 20px;
	margin-left: 2px;
}

.pp-tab-active .pp-count {
	background: #fce8e8;
	color: #c51b1b;
}

/* ── Panels ───────────────────────────────────────────────────────────────── */

.pp-panel { display: none; }
.pp-panel-active { display: block; }

/* ── Season filter ────────────────────────────────────────────────────────── */

.pp-season-filter {
	/*display: flex;*/
	display:none;
	flex-wrap: wrap;
	gap: 6px;
	padding: 10px 12px;
	border-bottom: 1px solid #e2e8f0;
	background: #fafafa;
}

.pp-season-btn {
	padding: 4px 12px;
	font-size: 12px;
	border: 1px solid #ddd;
	border-radius: 20px;
	background: #fff;
	color: #555;
	cursor: pointer;
	transition: all .15s ease;
}

.pp-season-btn:hover {
	border-color: #c51b1b;
	color: #c51b1b;
}

.pp-season-btn-active {
	background: #c51b1b;
	border-color: #c51b1b;
	color: #fff;
}

/* ── Player areas ─────────────────────────────────────────────────────────── */

.pp-player-area {
	background: #fafafa;
	padding: 10px;
	border-bottom: 1px solid #e2e8f0;
	height: 160px;
	position: relative;
	overflow: hidden;
}

#pp-spotify-player,
#pp-mixed-spotify-player {
	width: 100%;
	height: 100%;
}

#pp-anchor-player,
#pp-mixed-anchor-player {
	width: calc(100% - 20px);
	height: 152px;
	position: absolute;
	top: 10px;
	left: 10px;
}

/* Mixed audio area (Spotify / Anchor) */
.pp-mixed-audio-area {
	background: #fafafa;
	padding: 10px;
	border-bottom: 1px solid #e2e8f0;
	height: 172px;
	position: relative;
	overflow: hidden;
}

/* ── YouTube areas ────────────────────────────────────────────────────────── */

.pp-yt-player-area {
	height: auto;
	padding: 0;
	overflow: visible;
}

.pp-yt-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 200px;
	background: #f5f5f5;
	color: #bbb;
	gap: 10px;
}

.pp-yt-placeholder svg {
	width: 40px;
	height: 40px;
	stroke: #ccc;
}

.pp-yt-placeholder p {
	font-size: 13px;
	color: #aaa;
	margin: 0;
}

.pp-yt-embed-wrap {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.pp-yt-embed-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* Mixed video area */
.pp-mixed-video-area {
	border-bottom: 1px solid #e2e8f0;
}

/* ── Episode list ─────────────────────────────────────────────────────────── */

.pp-list-wrap {
	padding: 10px;
	background: #ffffff;
}

.pp-episode-list {
	list-style: none;
	padding: 0;
	margin: 0;
	max-height: 300px;
	overflow-y: auto;
	border: 1px solid #eeeeee;
	border-radius: 4px;
}

.pp-episode-list::-webkit-scrollbar        { width: 6px; }
.pp-episode-list::-webkit-scrollbar-track  { background: #f1f1f1; }
.pp-episode-list::-webkit-scrollbar-thumb  { background: #ccc; border-radius: 3px; }
.pp-episode-list::-webkit-scrollbar-thumb:hover { background: #999; }

.pp-episode {
	display: flex;
	align-items: center;
	padding: 10px 15px;
	border-bottom: 1px solid #eee;
	background: #fff;
	cursor: pointer;
	transition: background .15s ease;
}

.pp-episode:last-child  { border-bottom: none; }
.pp-episode:hover       { background: #f9f9f9; }
.pp-episode.pp-active   { background: #fcf8f8; }

.pp-ep-icon {
	width: 18px;
	height: 18px;
	color: #999;
	margin-right: 15px;
	flex-shrink: 0;
	transition: color .15s ease;
}

.pp-episode.pp-active .pp-ep-icon { color: #c51b1b; }

.pp-ep-icon-video {
	width: 16px;
	height: 16px;
}

.pp-ep-thumb {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 5px !important;
	margin-right: 15px;
	flex-shrink: 0;
}

.pp-ep-title {
	color: #555;
	font-size: 13.5px;
	font-weight: normal;
	line-height: 1.4;
	flex-grow: 1;
	padding-right: 10px;
}

.pp-episode.pp-active .pp-ep-title {
	color: #c51b1b;
	font-weight: bold;
}

.pp-ep-dur {
	color: #999;
	font-size: 13px;
	flex-shrink: 0;
	margin-left: auto;
	padding-right: 8px;
}

/* ── Audio / Video badge (mixed mode) ────────────────────────────────────── */

.pp-ep-badge {
	flex-shrink: 0;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 20px;
	margin-left: 6px;
	letter-spacing: .2px;
}

.pp-ep-badge-audio {
	background: #efe;
	color: #1a7a1a;
}

.pp-ep-badge-video {
	background: #eef;
	color: #3344aa;
}

.pp-episode.pp-active .pp-ep-badge-audio {
	background: #d4f0d4;
	color: #155a15;
}

.pp-episode.pp-active .pp-ep-badge-video {
	background: #d8dcf8;
	color: #2233aa;
}

/* ── Empty state ──────────────────────────────────────────────────────────── */

.pp-empty {
	padding: 20px;
	text-align: center;
	color: #aaa;
	font-size: 13px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

/* ── Responsive ───────────────────────────────────────────────────────────── */
 
@media (max-width: 480px) {
	.pp-tab       { padding: 10px 14px; font-size: 13px; }
	.pp-ep-title  { font-size: 12.5px; }
	.pp-ep-badge  { font-size: 10px; padding: 2px 6px; }
	.pp-ep-thumb  { width: 50px; height: 50px; border-radius: 10px; margin-right: 12px; }
	.pp-ep-dur    { display: none; }
}