/* YT Channel Showcase — frontend */
.sytcs-section { max-width: 1280px; margin: 36px auto; padding: 0 16px; box-sizing: border-box; font-family: inherit; }
.sytcs-section *, .sytcs-section *::before, .sytcs-section *::after { box-sizing: border-box; }
.sytcs-section-head { text-align: center; margin-bottom: 22px; }
.sytcs-section-title { margin: 0 0 6px; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.2; }
.sytcs-section-sub { color: #666; margin: 0; font-size: 15px; }

/* Cards (shared) */
.sytcs-card, .sytcs-short-card { background:#fff; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit !important;
	box-shadow: 0 4px 14px rgba(0,0,0,.07); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; cursor:pointer; }
.sytcs-card:hover, .sytcs-short-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.12); color: inherit !important; }
.sytcs-thumb { position: relative; display:block; background: #eee; }
.sytcs-thumb img { width: 100%; height: 100%; display:block; object-fit: cover; }
.sytcs-play { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; opacity: 0; transition: opacity .2s; }
.sytcs-card:hover .sytcs-play, .sytcs-short-card:hover .sytcs-play { opacity: 1; }
.sytcs-play svg { width: 56px; height: 56px; fill:#fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.sytcs-duration { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.75); color:#fff; padding: 2px 6px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.sytcs-badge { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; display: inline-flex; align-items: center; gap: 6px; z-index: 2; }
.sytcs-badge small { font-weight: 500; text-transform: none; opacity: .9; letter-spacing: 0; }
.sytcs-badge-live { background: #cc0000; }
.sytcs-badge-premiere { background: #7c3aed; }
.sytcs-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: sytcs-live-pulse 1.4s infinite; }
@keyframes sytcs-live-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.9); }
	70%  { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
	100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.sytcs-premieres-section .sytcs-thumb { aspect-ratio: 16 / 9; }
.sytcs-card-body { padding: 12px 14px 14px; }
.sytcs-card-title { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; margin-bottom: 6px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow:hidden; }
.sytcs-card-meta { color: #777; font-size: 12px; }

/* Shorts carousel */
.sytcs-shorts-section .sytcs-thumb { aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; }
.sytcs-short-card { background: transparent; box-shadow: none; }
.sytcs-short-card:hover { box-shadow: none; }
.sytcs-short-title { display: block; font-weight: 600; font-size: 14px; line-height: 1.3; margin-top: 10px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow:hidden; }
.sytcs-short-meta { display: block; color:#888; font-size: 12px; margin-top: 4px; }

.sytcs-carousel-wrap { position: relative; padding: 8px 48px; }
.sytcs-swiper { overflow: hidden; }
.sytcs-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
	border-radius: 50%; border: none; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.12); cursor: pointer; z-index: 5;
	display:inline-flex; align-items:center; justify-content:center; color:#222; }
.sytcs-nav svg { width: 18px; height: 18px; fill: currentColor; }
.sytcs-nav-prev { left: 0; }
.sytcs-nav-next { right: 0; }
.sytcs-nav:hover { background:#FF0000; color:#fff; }

/* Grid */
.sytcs-grid-section { }
.sytcs-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items:center; margin-bottom: 18px;
	padding: 12px; background:#fff; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.sytcs-search { position: relative; flex: 1 1 240px; }
.sytcs-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: #999; }
.sytcs-search input { width: 100%; padding: 10px 14px 10px 36px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; background:#fafafa; }
.sytcs-search input:focus { outline: none; border-color: #FF0000; background: #fff; }
.sytcs-sort { display: flex; align-items: center; gap: 8px; }
.sytcs-sort label { color:#555; font-size: 13px; }
.sytcs-sort select { padding: 9px 10px; border: 1px solid #ddd; border-radius: 8px; background:#fafafa; font-size: 14px; }
.sytcs-count { color:#888; font-size: 13px; margin-left: auto; }
.sytcs-grid { display: grid; gap: 22px; grid-template-columns: repeat(var(--sytcs-cols, 3), minmax(0, 1fr)); }
@media (max-width: 1024px) { .sytcs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .sytcs-grid { grid-template-columns: 1fr; } }
.sytcs-grid .sytcs-card .sytcs-thumb { aspect-ratio: 16 / 9; }

.sytcs-pagination { display:flex; gap: 6px; justify-content:center; margin-top: 24px; flex-wrap: wrap; }
.sytcs-page-btn { padding: 8px 12px; border: 1px solid #ddd; background:#fff; border-radius: 6px; cursor: pointer; min-width: 36px; }
.sytcs-page-btn.is-active { background:#FF0000; color:#fff; border-color:#FF0000; }
.sytcs-page-btn:hover:not(.is-active) { background:#f5f5f5; }

.sytcs-view-all-wrap { text-align:center; margin-top: 20px; }
.sytcs-view-all { display:inline-block; padding: 10px 20px; background:#FF0000; color:#fff !important; border-radius: 999px; text-decoration: none; font-weight: 600; }
.sytcs-view-all:hover { filter: brightness(1.1); color:#fff !important; }

.sytcs-empty { text-align: center; color:#888; padding: 40px; }
.sytcs-error { background:#fff5f5; border-left: 4px solid #d63638; padding: 12px 16px; border-radius: 4px; color: #333; }

/* Playlist card */
.sytcs-playlist-card { background:#fff; border-radius: 12px; overflow:hidden; text-decoration:none; color: inherit !important;
	box-shadow: 0 4px 14px rgba(0,0,0,.07); display:flex; flex-direction:column; transition: transform .25s ease, box-shadow .25s ease; cursor: pointer; }
.sytcs-playlist-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.12); color: inherit !important; }
.sytcs-playlist-card .sytcs-thumb { aspect-ratio: 16 / 9; position: relative; }
.sytcs-playlist-card .sytcs-thumb::before { content:''; position:absolute; inset:0; background: linear-gradient(90deg, transparent 78%, rgba(0,0,0,.6) 100%); pointer-events: none; }
.sytcs-playlist-count { position: absolute; right: 8px; top: 8px; background: rgba(0,0,0,.75); color:#fff; padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; display:inline-flex; align-items:center; gap: 6px; z-index:1; }
.sytcs-playlist-count svg { width: 14px; height: 14px; fill: currentColor; }
.sytcs-playlists-section .sytcs-card-body { padding: 12px 14px 14px; }

/* Playlist detail page */
.sytcs-playlist-head { background:#fff; border-radius: 12px; padding: 20px 22px; margin-bottom: 22px; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.sytcs-back { display:inline-block; color:#666; text-decoration: none; font-size: 13px; margin-bottom: 12px; }
.sytcs-back:hover { color:#FF0000; }
.sytcs-playlist-header-inner { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: start; }
@media (max-width: 720px) { .sytcs-playlist-header-inner { grid-template-columns: 1fr; } }
.sytcs-playlist-cover img { width: 100%; border-radius: 10px; display:block; aspect-ratio: 16 / 9; object-fit: cover; }
.sytcs-eyebrow { display:inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color:#FF0000; font-weight: 700; margin-bottom: 4px; }
.sytcs-playlist-title { margin: 0 0 8px; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2; }
.sytcs-playlist-count { color:#666; margin: 0 0 12px; font-size: 14px; }
.sytcs-playlist-desc { color:#555; font-size: 14px; margin-top: 12px; }
.sytcs-play-all { display: inline-flex; align-items:center; gap: 8px; padding: 10px 18px; background: #FF0000; color:#fff; border: 0; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 14px; }
.sytcs-play-all svg { width: 16px; height: 16px; fill: currentColor; }
.sytcs-play-all:hover { filter: brightness(1.1); }

/* Modal player */
.sytcs-modal { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: none; align-items:center; justify-content:center; z-index: 100000; padding: 24px; }
.sytcs-modal.is-open { display: flex; }
.sytcs-modal-box { width: 100%; max-width: 960px; aspect-ratio: 16 / 9; position: relative; }
.sytcs-modal-box.is-short { max-width: 360px; aspect-ratio: 9 / 16; }
.sytcs-modal-box iframe { width: 100%; height: 100%; border: 0; border-radius: 8px; background:#000; }
.sytcs-modal-close { position:absolute; top: -42px; right: 0; background: transparent; border: 0; color:#fff; font-size: 28px; cursor: pointer; }
