.vt-wrapper { width: 100%; box-sizing: border-box; }
.vt-layout-grid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 22px; }
.yt-card { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 6px 18px rgba(15,23,42,.08); cursor: pointer; transition: .25s ease; }
.yt-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(15,23,42,.12); }

.yt-thumb, .yt-list-thumb { aspect-ratio: 16/9; background-size: cover; background-position: center; position: relative; overflow: hidden; display: block; }
.yt-thumb iframe, .yt-list-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }

.yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #000; box-shadow: 0 10px 25px rgba(0,0,0,.25); pointer-events: none; z-index: 1; transition: transform 0.2s ease; }
.yt-card:hover .yt-play, .yt-list-item:hover .yt-play { transform: translate(-50%,-50%) scale(1.1); }

.yt-content { background: #fff; padding: 14px; }
.yt-title { font-size: 15px; font-weight: 700; color: #0f172a; line-height: 1.4; }
.yt-desc { font-size: 13px; color: #64748b; margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* LIST MODE */
.vt-layout-list { display: flex; flex-direction: column; gap: 18px; }
.yt-list-item { display: flex; align-items: center; gap: 24px; padding: 20px; background: #fff; border-radius: 16px; box-shadow: 0 6px 18px rgba(15,23,42,.08); cursor: pointer; transition: .25s ease; }
.yt-list-item:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(15,23,42,.12); }
.yt-list-thumb { flex: 0 0 33%; border-radius: 12px; }
.yt-list-content { flex: 1; }
.yt-list-content .yt-title { font-size: 18px; margin-bottom: 6px; }

@media(max-width:768px){
    .yt-list-item { flex-direction: column; padding: 16px; }
    .yt-list-thumb { width: 100%; flex: none; }
}