/* The tutorial videos (assets/video-embed.js): a cream card until the visitor loads YouTube's player. */
.yt { margin: 1.25rem 0; max-width: 32rem; }
/* The complete tour on /help keeps the column's full width. */
.yt-wide .yt { max-width: none; }
.yt-load,
.yt-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.yt-load {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
  padding: 1rem 1.25rem;
  background: var(--card);
  color: var(--fg);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.yt-load:hover,
.yt-load:focus-visible { border-color: var(--line-strong); }
.yt-title {
  display: block;
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.3;
  max-width: 28rem;
}
.yt-meta {
  position: absolute;
  left: 1.25rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.yt-play {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 1rem;
}
.yt-frame { height: auto; background: #000; }
.yt figcaption { margin-top: 0.4rem; font-size: var(--fs-sm); color: var(--muted); }
.yt-grid { margin: 1.25rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.yt-grid .yt { margin: 0; max-width: none; }
.yt-grid .yt-title { font-size: 1rem; }
