/* How-to videos (public/js/helpvideos.js): the library, the player with chapters, and the public /watch page. */
.hv-lib { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.hv-cards { display: flex; flex-direction: column; gap: 10px; }
.hv-card { display: flex; gap: 10px; align-items: center; text-align: left; width: 100%; padding: 8px; border-radius: 14px; border: 1px solid var(--line, #dfe5ec); background: var(--card, #fff); color: inherit; cursor: pointer; font: inherit; }
.hv-card.on { border-color: var(--teal, #0e7490); box-shadow: 0 0 0 2px rgba(14, 116, 144, .18); }
.hv-card:focus-visible { outline: 3px solid var(--teal, #0e7490); outline-offset: 2px; }
.hv-thumb { position: relative; flex: 0 0 112px; aspect-ratio: 8 / 5; border-radius: 10px; overflow: hidden; background: #0b1220; }
.hv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.hv-play svg { width: 34px; height: 34px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.hv-dur { position: absolute; right: 6px; bottom: 6px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .65); padding: 1px 6px; border-radius: 6px; }
.hv-ct { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hv-ct b { font-size: 15px; line-height: 1.25; }
.hv-frame { background: #0b1220; border-radius: 16px; overflow: hidden; }
.hv-video { display: block; width: 100%; aspect-ratio: 8 / 5; background: #0b1220; }
.hv-meta { padding: 14px 2px 0; }
.hv-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hv-row .spacer { flex: 1; }
.hv-desc { margin: 10px 0; }
.hv-voice { margin: 0 0 6px; }
.hv-h { margin: 14px 0 8px; font-size: 14px; }
.hv-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.hv-step { display: flex; gap: 10px; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.hv-step:hover { background: rgba(14, 116, 144, .08); }
.hv-step.on { background: rgba(41, 230, 242, .16); }
.hv-step:focus-visible { outline: 3px solid var(--teal, #0e7490); outline-offset: -2px; }
.hv-t { flex: 0 0 38px; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--teal, #0e7490); }
.hv-say { line-height: 1.4; }
.hv-help { display: flex; gap: 14px; align-items: center; }
.hv-help img { width: 150px; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 10px; flex: none; }
@media (max-width: 860px) {
  .hv-lib { grid-template-columns: 1fr; }
  .hv-cards { flex-direction: row; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
  .hv-card { flex: 0 0 250px; scroll-snap-align: start; }
  .hv-help img { width: 110px; }
}
/* the public /watch page */
body.watch { margin: 0; min-height: 100vh; background: radial-gradient(1200px 600px at 10% -10%, #10314a 0%, transparent 60%), #04070c; color: #e7eef5; }
.watch-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 1180px; margin: 0 auto; padding: 18px 16px 6px; }
.watch-top .spacer { flex: 1; }
.watch-main { max-width: 1180px; margin: 0 auto; padding: 8px 16px 40px; }
.watch-main h1 { font-size: clamp(24px, 4vw, 34px); margin: 8px 0 14px; color: #fff; }
.watch .hv-card { background: #0d1622; border-color: #1f2c3c; }
.watch .hv-card.on { border-color: #29e6f2; }
.watch .hv-step:hover { background: rgba(41, 230, 242, .08); }
.watch .hv-t { color: #29e6f2; }
.watch .small.muted, .watch .muted { color: #9fb1c3; }
.watch-foot { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
