.bdtcast {
	--bdtcast-surface: #fefefe;
	--bdtcast-surface-soft: #efedf2;
	--bdtcast-text: #16213b;
	--bdtcast-muted: #5d6578;
	--bdtcast-gold-top: #ffd45a;
	--bdtcast-gold-bottom: #e0ab2d;
	--bdtcast-line: rgba(25, 33, 52, 0.12);
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.bdtcast__panel {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
	gap: 18px;
	padding: 20px;
	border: 1px solid rgba(186, 195, 212, 0.7);
	border-radius: 24px;
	background:
		radial-gradient(circle at top left, rgba(75, 120, 168, 0.16), rgba(75, 120, 168, 0) 34%),
		radial-gradient(circle at bottom right, rgba(255, 205, 84, 0.12), rgba(255, 205, 84, 0) 24%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(239, 237, 242, 0.95) 100%);
	box-shadow: 0 18px 34px rgba(18, 19, 28, 0.12);
	overflow-x: clip;
}

.bdtcast__player,
.bdtcast__playlist {
	min-width: 0;
	border: 1px solid rgba(186, 195, 212, 0.64);
	border-radius: 18px;
	background: var(--bdtcast-surface);
	box-shadow: 0 14px 26px rgba(17, 19, 28, 0.08);
}

.bdtcast__player {
	padding: 18px;
	background:
		radial-gradient(circle at top right, rgba(255, 205, 84, 0.12), rgba(255, 205, 84, 0) 28%),
		linear-gradient(180deg, rgba(22, 33, 59, 0.98) 0%, rgba(13, 21, 39, 0.98) 100%);
	color: #fefefe;
}

.bdtcast__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 0 11px;
	margin-bottom: 12px;
	border: 1px solid rgba(255, 212, 90, 0.54);
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(255, 212, 90, 0.18) 0%, rgba(255, 212, 90, 0.08) 100%);
	color: #ffd45a;
	font-family: "Arial Narrow", "Roboto Condensed", "Franklin Gothic Medium", sans-serif;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
}

.bdtcast__title {
	margin: 0 0 8px;
	color: #ffffff;
	font-family: "Arial Narrow", "Roboto Condensed", "Franklin Gothic Medium", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 0.94;
	text-transform: uppercase;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.bdtcast__subtitle {
	margin: 0 0 12px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.bdtcast__audio {
	width: 100%;
	margin: 0 0 10px;
}

.bdtcast__meta {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 11px;
	line-height: 1.4;
	word-break: break-word;
}

.bdtcast__playlist {
	padding: 14px 14px 6px;
	background:
		linear-gradient(180deg, rgba(254, 254, 254, 0.98) 0%, rgba(239, 237, 242, 0.92) 100%);
	overflow-x: hidden;
}

.bdtcast__playlist-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--bdtcast-line);
}

.bdtcast__playlist-label,
.bdtcast__playlist-count {
	color: var(--bdtcast-text);
	font-family: "Arial Narrow", "Roboto Condensed", "Franklin Gothic Medium", sans-serif;
	font-size: 15px;
	font-weight: 900;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.bdtcast__playlist-count {
	color: #8a5d1d;
	font-size: 12px;
}

.bdtcast__list {
	display: grid;
	gap: 8px;
	max-height: 400px;
	padding-right: 4px;
	overflow: auto;
	overflow-x: hidden;
}

.bdtcast__track {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	width: 100%;
	padding: 9px 10px;
	border: 1px solid rgba(25, 33, 52, 0.08);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.82);
	color: var(--bdtcast-text);
	text-align: left;
	cursor: pointer;
	transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease, background 150ms ease;
	overflow: hidden;
}

.bdtcast__track:hover,
.bdtcast__track:focus {
	border-color: rgba(74, 115, 163, 0.32);
	box-shadow: 0 10px 18px rgba(18, 19, 28, 0.08);
	transform: translateY(-1px);
}

.bdtcast__track.is-active {
	border-color: #261d11;
	background: linear-gradient(180deg, rgba(255, 212, 90, 0.18) 0%, rgba(255, 212, 90, 0.08) 100%);
	box-shadow: 0 12px 20px rgba(167, 120, 18, 0.14);
}

.bdtcast__track-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: linear-gradient(180deg, #ffffff 0%, #e8e4eb 100%);
	color: #8a5d1d;
	font-family: "Arial Narrow", "Roboto Condensed", "Franklin Gothic Medium", sans-serif;
	font-size: 15px;
	font-weight: 900;
	line-height: 1;
}

.bdtcast__track.is-active .bdtcast__track-index {
	background: linear-gradient(180deg, var(--bdtcast-gold-top) 0%, var(--bdtcast-gold-bottom) 100%);
	color: #15110c;
}

.bdtcast__track-copy {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.bdtcast__track-title {
	color: var(--bdtcast-text);
	font-family: "Arial Narrow", "Roboto Condensed", "Franklin Gothic Medium", sans-serif;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 0.95;
	text-transform: uppercase;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.bdtcast__track-subtitle {
	color: var(--bdtcast-muted);
	font-size: 12px;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bdtcast__empty {
	margin: 0;
	padding: 24px;
	border: 1px dashed rgba(22, 33, 59, 0.16);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.82);
	color: #5d6578;
	text-align: center;
}

.bdtcast-rss {
	--bdtcast-rss-gold-top: #ffd45a;
	--bdtcast-rss-gold-bottom: #e0ab2d;
	--bdtcast-rss-gold-border: rgba(255, 212, 90, 0.28);
	--bdtcast-rss-gold-shadow: rgba(167, 120, 18, 0.24);
	position: relative;
	padding: 28px 0;
	background:
		radial-gradient(circle at top left, rgba(255, 212, 90, 0.16), transparent 28%),
		radial-gradient(circle at top right, rgba(255, 186, 64, 0.1), transparent 24%),
		linear-gradient(180deg, #07111b 0%, #0b1622 100%);
	overflow: hidden;
}

.bdtcast-rss__shell {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: 28px;
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(10, 19, 31, 0.92) 0%, rgba(7, 14, 24, 0.96) 100%);
	border: 1px solid var(--bdtcast-rss-gold-border);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(10px);
}

.bdtcast-rss__top {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 28px;
	align-items: center;
}

.bdtcast-rss__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 212, 90, 0.1);
	border: 1px solid rgba(255, 212, 90, 0.22);
	color: #ffd45a;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bdtcast-rss__title {
	margin: 14px 0 8px;
	font-family: "Arial Narrow", "Roboto Condensed", "Franklin Gothic Medium", sans-serif;
	font-size: clamp(34px, 6vw, 62px);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 0 22px rgba(255, 212, 90, 0.14);
}

.bdtcast-rss__subtitle {
	margin: 0;
	max-width: 620px;
	color: #9ab0c7;
	font-size: 16px;
	line-height: 1.7;
}

.bdtcast-rss__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.bdtcast-rss__action {
	text-decoration: none;
	padding: 12px 18px;
	border-radius: 14px;
	font-weight: 800;
	transition: 0.25s ease;
	border: 1px solid rgba(255, 212, 90, 0.2);
	background: rgba(255, 255, 255, 0.03);
	color: #f5e8c4;
}

.bdtcast-rss__action.is-primary {
	background: linear-gradient(180deg, var(--bdtcast-rss-gold-top) 0%, var(--bdtcast-rss-gold-bottom) 100%);
	color: #15110c !important;
	-webkit-text-fill-color: #15110c;
	border: 2px solid #261d11;
	box-shadow: 0 4px 0 #171717, 0 10px 24px var(--bdtcast-rss-gold-shadow);
}

.bdtcast-rss__action:hover,
.bdtcast-rss__action:focus {
	transform: translateY(-2px);
}

.bdtcast-rss__player-wrap {
	position: relative;
}

.bdtcast-rss__player-glow {
	position: absolute;
	inset: auto 8% -16px 8%;
	height: 40px;
	background: radial-gradient(circle, rgba(255, 212, 90, 0.32), transparent 68%);
	filter: blur(18px);
	pointer-events: none;
}

.bdtcast-rss__player {
	position: relative;
	display: block;
	width: 100%;
	background: #111;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.bdtcast-rss__list {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 212, 90, 0.12);
}

.bdtcast-rss__list-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 18px;
}

.bdtcast-rss__list-head h3 {
	margin: 0;
	color: #fff;
	font-family: "Arial Narrow", "Roboto Condensed", "Franklin Gothic Medium", sans-serif;
	font-size: 24px;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.bdtcast-rss__list-head span {
	color: #ffd45a;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.bdtcast-rss__episodes-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.bdtcast-rss__episode-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1px solid rgba(255, 212, 90, 0.12);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
	transition: 0.25s ease;
}

.bdtcast-rss__episode-card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 212, 90, 0.3);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 212, 90, 0.08);
}

.bdtcast-rss__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #07111b;
}

.bdtcast-rss__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bdtcast-rss__card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 18px;
}

.bdtcast-rss__date {
	display: inline-block;
	margin-bottom: 10px;
	color: #ffd45a;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.bdtcast-rss__episode-title {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.35;
}

.bdtcast-rss__episode-title a {
	color: #fff;
	text-decoration: none;
}

.bdtcast-rss__episode-description {
	margin: 0 0 16px;
	color: #97abc1;
	font-size: 14px;
	line-height: 1.6;
}

.bdtcast-rss__card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
}

.bdtcast-rss__episode-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 12px;
	background: linear-gradient(180deg, var(--bdtcast-rss-gold-top) 0%, var(--bdtcast-rss-gold-bottom) 100%);
	color: #15110c !important;
	-webkit-text-fill-color: #15110c;
	border: 2px solid #261d11;
	box-shadow: 0 4px 0 #171717, 0 8px 16px var(--bdtcast-rss-gold-shadow);
	text-decoration: none;
	font-size: 13px;
	font-weight: 800;
}

.bdtcast-rss__episode-button.is-secondary {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 212, 90, 0.16);
	box-shadow: none;
	color: #f5e8c4;
}

.bdtcast-rss__pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
	margin-top: 24px;
}

.bdtcast-rss__page-nav,
.bdtcast-rss__page-number {
	text-decoration: none;
	padding: 10px 14px;
	border-radius: 12px;
	border: 1px solid rgba(255, 212, 90, 0.16);
	background: rgba(255, 255, 255, 0.03);
	color: #f5e8c4;
	font-weight: 700;
	font-size: 14px;
}

.bdtcast-rss__page-number.is-active {
	background: linear-gradient(180deg, var(--bdtcast-rss-gold-top) 0%, var(--bdtcast-rss-gold-bottom) 100%);
	color: #2a1700;
	border: 2px solid #261d11;
}

.bdtcast-rss__error {
	color: #fff;
	background: #101c2a;
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 16px;
	border-radius: 14px;
}

@media (max-width: 1024px) {
	.bdtcast__panel {
		grid-template-columns: 1fr;
	}

	.bdtcast-rss__top {
		grid-template-columns: 1fr;
	}

	.bdtcast-rss__episodes-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.bdtcast__panel {
		padding: 14px;
		border-radius: 18px;
	}

	.bdtcast__player,
	.bdtcast__playlist {
		padding: 14px;
	}

	.bdtcast__track {
		grid-template-columns: 44px minmax(0, 1fr);
		gap: 8px;
		padding: 8px 10px;
	}

	.bdtcast__track-index {
		width: 44px;
		height: 44px;
		font-size: 14px;
		border-radius: 14px;
	}

	.bdtcast__track-title {
		font-size: 16px;
	}

	.bdtcast-rss__shell {
		width: min(100% - 20px, 100%);
		padding: 18px;
		border-radius: 18px;
	}

	.bdtcast-rss__episodes-grid {
		grid-template-columns: 1fr;
	}

	.bdtcast-rss__list-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.bdtcast-rss__subtitle {
		font-size: 15px;
	}
}
