.sgyts-slider-wrap {
	margin: 24px 0;
	max-width: 100%;
	box-sizing: border-box;
}

.sgyts-slider-wrap *,
.sgyts-slider-wrap *::before,
.sgyts-slider-wrap *::after {
	box-sizing: border-box;
}

.sgyts-slider-title {
	margin: 0 0 16px;
	font-size: 1.4em;
	font-weight: 700;
}

.sgyts-slider-container {
	position: relative;
	display: flex;
	align-items: center;
}

.sgyts-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 4px 4px 12px;
	flex: 1 1 auto;
	-ms-overflow-style: none;
	scrollbar-width: thin;
}

.sgyts-track::-webkit-scrollbar {
	height: 6px;
}

.sgyts-track::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 3px;
}

.sgyts-card {
	flex: 0 0 260px;
	scroll-snap-align: start;
	text-decoration: none;
	color: inherit;
	display: block;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sgyts-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.sgyts-thumb-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	overflow: hidden;
}

.sgyts-thumb-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sgyts-duration {
	position: absolute;
	right: 6px;
	bottom: 6px;
	background: rgba(0, 0, 0, 0.85);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 2px 5px;
	border-radius: 3px;
	line-height: 1.4;
}

.sgyts-info {
	padding: 10px 12px 14px;
}

.sgyts-title {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sgyts-channel {
	margin: 0 0 2px;
	font-size: 12.5px;
	color: #606060;
}

.sgyts-meta {
	margin: 0;
	font-size: 12.5px;
	color: #606060;
}

.sgyts-nav {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	font-size: 15px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	margin: 0 6px;
	transition: background 0.15s ease;
}

.sgyts-nav:hover {
	background: #f0f0f0;
}

.sgyts-nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.sgyts-admin-notice {
	padding: 12px 16px;
	background: #fff3cd;
	border: 1px solid #ffe69c;
	border-radius: 6px;
	color: #664d03;
	font-size: 14px;
	margin: 16px 0;
}

@media (max-width: 600px) {
	.sgyts-card {
		flex-basis: 200px;
	}
	.sgyts-nav {
		width: 30px;
		height: 30px;
		font-size: 13px;
	}
}
