.ntc-my-tunes {
	--ntc-border: #e4e7ec;
	--ntc-surface: #ffffff;
	--ntc-muted: #667085;
	--ntc-text: #101828;
	--ntc-accent: #2563eb;
	--ntc-accent-soft: #eff6ff;
	color: var(--ntc-text);
}

.ntc-my-tunes__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 24px;
}

.ntc-my-tunes__header h2 {
	margin: 0 0 6px;
	font-size: clamp(1.7rem, 2.4vw, 2.25rem);
	line-height: 1.15;
}

.ntc-my-tunes__header p {
	margin: 0;
	color: var(--ntc-muted);
}

.ntc-admin-preview {
	flex: 0 0 auto;
	font-size: 13px;
}

.ntc-preview-notice {
	margin-bottom: 20px;
}

.ntc-tune-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 22px;
}

.ntc-tune-card {
	overflow: hidden;
	border: 1px solid var(--ntc-border);
	border-radius: 16px;
	background: var(--ntc-surface);
	box-shadow: 0 7px 24px rgba(16, 24, 40, 0.06);
}

.ntc-tune-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f2f4f7;
}

.ntc-tune-card__image,
.ntc-tune-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ntc-tune-card__content {
	padding: 18px;
}

.ntc-tune-card__title {
	margin: 0 0 15px;
	font-size: 1.16rem;
	line-height: 1.3;
}

.ntc-video-buttons {
	display: grid;
	gap: 9px;
}

.ntc-video-button {
	width: 100%;
	min-height: 44px;
	padding: 10px 13px;
	border: 1px solid var(--ntc-border);
	border-radius: 10px;
	background: #fff;
	color: var(--ntc-text);
	font: inherit;
	font-weight: 600;
	line-height: 1.25;
	text-align: left;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.ntc-video-button:hover,
.ntc-video-button:focus-visible {
	border-color: var(--ntc-accent);
	background: var(--ntc-accent-soft);
	outline: none;
}

.ntc-video-button:active {
	transform: translateY(1px);
}

.ntc-video-button[aria-expanded="true"] {
	border-color: var(--ntc-accent);
	background: var(--ntc-accent-soft);
	color: var(--ntc-accent);
}

.ntc-player {
	margin-top: 16px;
	border: 1px solid var(--ntc-border);
	border-radius: 12px;
	overflow: hidden;
	background: #0b0f19;
}

.ntc-player[hidden] {
	display: none !important;
}

.ntc-player__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	background: #fff;
}

.ntc-player__title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ntc-player__close {
	flex: 0 0 auto;
	padding: 6px 9px;
	border: 0;
	background: transparent;
	color: var(--ntc-accent);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.ntc-player__stage {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
}

.ntc-player__stage iframe,
.ntc-player__stage video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.ntc-empty-state {
	padding: 34px;
	border: 1px dashed var(--ntc-border);
	border-radius: 16px;
	background: #f9fafb;
	text-align: center;
}

.ntc-empty-state h3 {
	margin-top: 0;
}

.ntc-empty-state p {
	max-width: 650px;
	margin: 0 auto 18px;
	color: var(--ntc-muted);
}

@media (max-width: 680px) {
	.ntc-my-tunes__header {
		flex-direction: column;
	}

	.ntc-tune-grid {
		grid-template-columns: 1fr;
	}

	.ntc-tune-card__content {
		padding: 15px;
	}
}
