.highlights-section { scroll-margin-top: 6rem; }
.highlights-section [hidden] { display: none !important; }
.highlights-empty { padding: 1rem 1.25rem; border-radius: 1rem; }
.highlights-toolbar { display: flex; gap: .8rem; align-items: center; margin-bottom: .9rem; min-width: 0; }
.highlights-filters { display: flex; gap: .55rem; overflow-x: auto; padding: .25rem .2rem .5rem; flex: 1; }
.highlights-filters .btn { flex: none; border-radius: 100vmax; white-space: nowrap; padding: .65rem .85rem; }
.highlights-filters .btn[aria-pressed="true"] { background: var(--cyan, #50c7ff); border-color: transparent; color: #00131b; }
.highlights-arrows { display: flex; gap: .4rem; }
.highlights-arrows .btn { min-width: 44px; min-height: 44px; padding: .45rem; }
.highlights-rail {
  --highlight-gap: 1rem;
  --highlight-columns: 3;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--highlight-columns) - 1) * var(--highlight-gap)) / var(--highlight-columns));
  gap: var(--highlight-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
}
.highlights-card { min-width: 0; border-radius: 1rem; overflow: hidden; scroll-snap-align: start; }
.highlights-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-width: 400px;
  margin-inline: auto;
  background: radial-gradient(ellipse at 48% 38%, #153e55 0, transparent 65%), #0b172b;
}
.highlights-frame-youtube { aspect-ratio: 16 / 9; min-height: 200px; max-width: none; }
.highlights-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.highlights-caption { padding: 1rem; overflow-wrap: anywhere; }
.highlights-caption h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.highlights-caption p { margin-bottom: .55rem; }
.highlights-card-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 767.98px) {
  .highlights-rail { --highlight-columns: 1; }
  .highlights-toolbar { flex-wrap: wrap; }
  .highlights-filters { flex-basis: 100%; }
  .highlights-arrows { margin-inline-start: auto; }
}
.highlights-arrows [aria-disabled="true"] { opacity: .45; cursor: default; }
