.scenario-gallery {
  width: 100%;
  margin: 1.5rem 0;
}
.scenario-gallery__video {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f5f6f7;
  border-radius: 3px;
}
.scenario-gallery .scenario-gallery__caption {
  margin: .5rem 0 .8rem;
  text-align: center;
  font-size: 1rem;
}
.scenario-gallery__choices {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 132px;
  gap: .6rem;
  overflow-x: auto;
  padding: 4px 4px .5rem;
}
.scenario-gallery__choices a {
  min-width: 0;
  padding: 3px 3px .35rem;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #55514a;
  background: transparent;
  text-decoration: none;
  font-size: .9rem;
  line-height: 1.3;
  transition: background-color 120ms ease, color 120ms ease;
}
.scenario-gallery__choices a[aria-current="true"] {
  color: #37332d;
  background: #f2efe9;
}
.scenario-gallery__choices a[aria-current="true"] span {
  text-decoration: underline;
  text-decoration-color: #b2a998;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}
.scenario-gallery__choices a:hover {
  color: #37332d;
  background: #f5f3ef;
  text-decoration: none;
  outline: none;
}
.scenario-gallery__choices a:focus-visible {
  outline: 1px solid #9c917d;
  outline-offset: 1px;
}
.scenario-gallery__choices img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f5f6f7;
  border-radius: 3px;
}
.scenario-gallery__choices span {
  display: block;
  margin-top: .35rem;
}
.scenario-gallery__title {
  display: block;
  white-space: nowrap;
}
.scenario-gallery__meta {
  display: block;
  margin-top: .15rem;
  color: #777168;
  font-size: .75rem;
  line-height: 1.4;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .scenario-gallery__choices a {
    transition: none;
  }
}
