/* yt-lite — conference videos linked to a topic or a paper.
 * A card is a plain link to YouTube (works without JS); yt-lite.js swaps it
 * for a privacy-enhanced youtube-nocookie iframe on click, so no Google request
 * is made until the reader asks for the video. */
.yt-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.yt-card { border: 1px solid var(--border, rgba(34,211,238,.12)); border-radius: 14px; overflow: hidden;
           background: var(--card-bg, rgba(14,20,40,.8)); display: flex; flex-direction: column;
           transition: transform .25s, border-color .25s; }
.yt-card:hover { transform: translateY(-3px); border-color: var(--border-hover, rgba(34,211,238,.35)); }
.yt { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; color: #fff; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .25s, transform .4s; }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt .play { position: absolute; inset: 0; margin: auto; width: 64px; height: 44px; border-radius: 12px;
            background: rgba(220, 38, 38, .92); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.45); }
.yt .play::before { content: ""; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.yt .dur { position: absolute; right: 8px; bottom: 8px; font: 600 .7rem/1 system-ui, sans-serif; background: rgba(0,0,0,.75);
           padding: .25rem .4rem; border-radius: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-meta { padding: 12px 14px 14px; font-size: .84rem; line-height: 1.5; }
.yt-meta b { display: block; color: var(--text, #e2e8f0); margin-bottom: .2rem; }
.yt-meta span { color: var(--text-muted, #94a3b8); font-size: .76rem; }
.yt-meta .why { display: block; margin-top: .45rem; color: var(--text-muted, #94a3b8); font-size: .8rem; }
.yt-topic { display: inline-block; margin-bottom: .45rem; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
            color: var(--primary, #22d3ee); }
.yt-note { margin-top: .9rem; font-size: .76rem; color: var(--text-muted, #94a3b8); }
