/* Video guides (static/video-guides.js): cards, "Watch how" links and the pop-up player.
   Colours come from the page (currentColor / its own variables) so the same styles fit the Help Center, the landing
   page and the dashboard in light or dark mode. */
.lav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.lav-card { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid rgba(200, 218, 240, .28);
  border-radius: 16px; overflow: hidden; background: rgba(10, 16, 28, .35); color: inherit; font: inherit; cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.lav-card:hover, .lav-card:focus-visible { transform: translateY(-2px); border-color: rgba(200, 218, 240, .6);
  box-shadow: 0 14px 30px rgba(5, 9, 18, .35); outline: none; }
.lav-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #0b1220; overflow: hidden; }
.lav-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lav-play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%;
  background: rgba(10, 16, 28, .72); border: 2px solid rgba(255, 255, 255, .85); transition: transform .18s ease; }
.lav-play::after { content: ""; position: absolute; left: 24px; top: 18px; border-style: solid; border-width: 12px 0 12px 19px;
  border-color: transparent transparent transparent #fff; }
.lav-card:hover .lav-play { transform: scale(1.08); }
.lav-text { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.lav-text b { font-size: 15.5px; font-weight: 600; }
.lav-text span { font-size: 13.5px; opacity: .72; line-height: 1.5; }

.lav-watch { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 3px 10px; border-radius: 999px;
  border: 1px solid currentColor; background: transparent; color: inherit; font: inherit; font-size: 11px; font-weight: 600;
  line-height: 1.6; cursor: pointer; opacity: .85; vertical-align: middle; white-space: nowrap; }
.lav-watch:hover, .lav-watch:focus-visible { opacity: 1; }
.lav-tri { width: 0; height: 0; border-style: solid; border-width: 4px 0 4px 7px; border-color: transparent transparent transparent currentColor; }
.lav-watch-top { margin-left: 10px; font-size: 12px; padding: 4px 12px; }
@media (max-width: 640px) { .lav-watch-top .lav-wt { display: none; } .lav-watch-top { padding: 6px 9px; } }

.lav-modal { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(4, 8, 16, .82); backdrop-filter: blur(4px); }
.lav-box { width: min(1100px, 100%); background: #0f1828; color: #DCE6F2; border: 1px solid rgba(200, 218, 240, .3);
  border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); font-family: Inter, system-ui, sans-serif; }
.lav-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 15px; }
.lav-close { width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .08); color: inherit;
  font-size: 22px; line-height: 1; cursor: pointer; }
.lav-close:hover, .lav-close:focus-visible { background: rgba(255, 255, 255, .16); }
.lav-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.lav-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lav-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 12px; font-size: 13px; color: #9DB0C9; }
.lav-foot a { color: #B4CBE8; white-space: nowrap; }
@media (max-width: 600px) { .lav-foot span { display: none; } }
@media (prefers-reduced-motion: reduce) { .lav-card, .lav-play { transition: none; } .lav-card:hover { transform: none; } }
