/* Course covers and the frames behind them, always 16:9 */
/* stills: real frames at 16:9 */
.still { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); border-radius: var(--r-img); }
.still-img, .pl-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-img { pointer-events: none; }
.still-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .3); }
.still-bar span { display: block; height: 100%; background: var(--accent); }
.still-done { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: var(--r-s); background: var(--good); color: #fff; }
.still-done .g { width: 18px; height: 18px; }
.stack { position: relative; display: block; padding: 8px 8px 0 0; }
.stack::before, .stack::after { content: ""; position: absolute; aspect-ratio: 16 / 9; border-radius: var(--r-img); }
.stack::before { top: 0; right: 0; width: calc(100% - 8px); background: var(--line-2); }
.stack::after { top: 4px; right: 4px; width: calc(100% - 8px); background: var(--ink-3); opacity: .5; }
.stack .still { position: relative; z-index: 1; }
