/* tc Podcast Player — episode list */

.tc-podcast-player {
	color: #1a1a1a;
}

.tc-podcast-player__empty {
	color: #6b6b70;
}

.tc-podcast-player__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tc-podcast-player__item {
	display: flex;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid #e5e5e7;
}

.tc-podcast-player__item:first-child {
	padding-top: 0;
}

.tc-podcast-player__item.is-playing .tc-podcast-player__title {
	color: #182554;
}

.tc-podcast-player__item--hidden {
	display: none;
}

.tc-podcast-player__cover img {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 10px;
	object-fit: cover;
}

.tc-podcast-player__body {
	flex: 1;
	min-width: 0;
}

.tc-podcast-player__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}

.tc-podcast-player__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.3;
}

.tc-podcast-player__date {
	font-size: 0.85rem;
	color: #6b6b70;
	white-space: nowrap;
}

.tc-podcast-player__controls {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
}

.tc-podcast-player .tc-podcast-player__play {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #182554;
	color: #fff;
	cursor: pointer;
}

.tc-podcast-player .tc-podcast-player__play:hover {
	background: #3a4149;
}

.tc-podcast-player__play svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.tc-podcast-player__length {
	font-size: 0.85rem;
	color: #6b6b70;
	font-variant-numeric: tabular-nums;
}

.tc-podcast-player__desc-wrap {
	margin-top: 8px;
}

.tc-podcast-player__desc {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #4a4a4f;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tc-podcast-player__desc.is-expanded {
	-webkit-line-clamp: unset;
	overflow: visible;
}

.tc-podcast-player .tc-podcast-player__desc-toggle {
	margin-top: 4px;
	padding: 0;
	border: 0;
	background: none;
	color: #182554;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
}

.tc-podcast-player .tc-podcast-player__desc-toggle:hover {
	text-decoration: underline;
}

.tc-podcast-player .tc-podcast-player__more {
	display: block;
	margin: 16px auto 0;
	padding: 10px 24px;
	border: 1px solid #182554;
	border-radius: 24px;
	background: #fff;
	color: #182554;
	font-weight: 600;
	cursor: pointer;
}

.tc-podcast-player .tc-podcast-player__more:hover {
	background: #182554;
	color: #fff;
}

@media (max-width: 480px) {
	.tc-podcast-player__item {
		gap: 12px;
	}

	.tc-podcast-player__cover img {
		width: 56px;
		height: 56px;
	}

	.tc-podcast-player__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	.tc-podcast-player__title {
		font-size: 0.95rem;
	}
}

/* tc Podcast Player — sticky player */

.tc-podcast-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	background: #fff;
	border-top: 1px solid #e5e5e7;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
	transform: translateY(100%);
	visibility: hidden;
	pointer-events: none;
	transition: transform 0.25s ease;
	padding-bottom: env(safe-area-inset-bottom, 0);
}

.tc-podcast-sticky.is-visible {
	transform: translateY(0);
	visibility: visible;
	pointer-events: auto;
}

.tc-podcast-sticky__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 20px;
}

.tc-podcast-sticky__cover img {
	display: block;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	object-fit: cover;
}

.tc-podcast-sticky__info {
	flex: 0 1 220px;
	min-width: 0;
}

.tc-podcast-sticky__title {
	font-size: 0.9rem;
	font-weight: 600;
	color: #1a1a1a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tc-podcast-sticky__transport {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.tc-podcast-sticky .tc-podcast-sticky__btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	padding: 0;
	background: none;
	color: #182554;
	cursor: pointer;
}

.tc-podcast-sticky__btn svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.tc-podcast-sticky__btn--seek {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: #4a4a4f;
	transition: background-color 0.15s ease;
}

.tc-podcast-sticky__btn--seek:hover {
	background-color: rgba(24, 37, 84, 0.08);
}

.tc-podcast-sticky__btn--seek svg {
	width: 28px;
	height: 28px;
}

.tc-podcast-sticky .tc-podcast-sticky__btn--play {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #182554;
	color: #fff;
}

.tc-podcast-sticky__btn--play svg {
	width: 20px;
	height: 20px;
}

.tc-podcast-sticky .tc-podcast-sticky__btn--play:hover {
	background: #3a4149;
}

.tc-podcast-sticky__progress {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 120px;
}

.tc-podcast-sticky__time {
	min-width: 2.6em;
	text-align: center;
	font-size: 0.75rem;
	color: #6b6b70;
	font-variant-numeric: tabular-nums;
}

.tc-podcast-sticky__range {
	flex: 1;
	height: 10px;
	accent-color: #182554;
	cursor: pointer;
}

.tc-podcast-sticky__volume {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.tc-podcast-sticky__volume-range {
	width: 80px;
	accent-color: #182554;
}

.tc-podcast-sticky__btn--mute svg {
	width: 20px;
	height: 20px;
}

.tc-podcast-sticky.is-muted .tc-podcast-sticky__btn--mute::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 2px;
	background: currentColor;
	transform: rotate(-45deg);
}

.tc-podcast-sticky .tc-podcast-sticky__close {
	flex-shrink: 0;
	margin-left: auto;
	width: 32px;
	height: 32px;
	color: #6b6b70;
}

.tc-podcast-sticky__close svg {
	width: 18px;
	height: 18px;
}

.tc-podcast-sticky .tc-podcast-sticky__close:hover {
	color: #1a1a1a;
}

@media (max-width: 780px) {
	.tc-podcast-sticky__inner {
		flex-wrap: wrap;
		padding: 8px 12px;
	}

	.tc-podcast-sticky__volume {
		display: none;
	}

	.tc-podcast-sticky .tc-podcast-sticky__close {
		order: 0;
		margin-left: 0;
	}

	.tc-podcast-sticky__cover {
		order: 1;
	}

	.tc-podcast-sticky__info {
		order: 2;
		flex: 1 1 auto;
	}

	.tc-podcast-sticky__transport {
		order: 3;
		margin-left: auto;
	}

	.tc-podcast-sticky__progress {
		order: 4;
		flex: 1 1 100%;
	}
}

@media (max-width: 420px) {
	.tc-podcast-sticky__cover {
		display: none;
	}
}
