.scyt-grid {
	display: grid;
	grid-template-columns: repeat(var(--scyt-columns, 3), minmax(0, 1fr));
	gap: 28px 24px;
	width: 100%;
}
.scyt-card {
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.scyt-thumb {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	aspect-ratio: 16/9;
	overflow: hidden;
	background: #eee;
	cursor: pointer;
	font: inherit;
}
.scyt-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}
.scyt-thumb:hover img { transform: scale(1.03); }
.scyt-play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(0,0,0,.72);
	color: #fff;
	font-size: 20px;
	line-height: 1;
	padding-left: 3px;
	opacity: .95;
	pointer-events: none;
}
.scyt-content { padding: 16px 17px 18px; }
.scyt-title { margin: 0 0 7px; font-size: 18px; line-height: 1.35; }
.scyt-title-button {
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: inherit;
	text-align: left;
	cursor: pointer;
}
.scyt-title-button:hover { text-decoration: underline; }
.scyt-date { margin-bottom: 9px; font-size: 13px; line-height: 1.4; opacity: .65; }
.scyt-description { margin: 0; font-size: 14px; line-height: 1.55; opacity: .82; }

.scyt-modal[hidden] { display: none; }
.scyt-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
}
.scyt-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.82);
	cursor: pointer;
}
.scyt-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(1100px, 100%);
	background: #000;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.scyt-player-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
}
.scyt-player {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.scyt-modal-x {
	position: absolute;
	z-index: 2;
	right: 8px;
	top: 8px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0,0,0,.75);
	color: #fff;
	font-size: 28px;
	line-height: 36px;
	cursor: pointer;
}
.scyt-modal-title {
	padding: 12px 16px 14px;
	background: #111;
	color: #fff;
	font-size: 16px;
	line-height: 1.4;
}

.scyt-error,.scyt-empty { padding: 14px 16px; border: 1px solid #ddd; background: #fafafa; }

body.scyt-modal-open { overflow: hidden; }

@media (max-width: 1024px) {
	.scyt-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 767px) {
	.scyt-grid { grid-template-columns: 1fr; gap: 22px; }
	.scyt-title { font-size: 17px; }
	.scyt-modal { padding: 12px; }
	.scyt-modal-dialog { border-radius: 5px; }
	.scyt-modal-title { font-size: 14px; }
}
