.rdss-htl {
  --htl-w: 18rem;
  --htl-track-h: 31rem;
  --htl-red: #BA122B;
  --htl-nav: #111111;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}
.rdss-htl:focus-visible {
  outline: 2px solid var(--htl-red);
  outline-offset: 4px;
}
.rdss-htl__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 3.5rem;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.rdss-htl__viewport::-webkit-scrollbar {
  height: 6px;
}
.rdss-htl__viewport::-webkit-scrollbar-track {
  background: transparent;
}
.rdss-htl__viewport::-webkit-scrollbar-thumb {
  background: var(--htl-red);
  border-radius: 3px;
}
.rdss-htl__viewport::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
.rdss-htl__track {
  position: relative;
  display: flex;
  width: max-content;
  min-width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  height: var(--htl-track-h);
}
.rdss-htl__track::before {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(var(--htl-w) / 2);
  right: calc(var(--htl-w) / 2);
  height: 3px;
  margin-top: -1.5px;
  background: var(--htl-red);
  border-radius: 2px;
}
.rdss-htl__event {
  position: relative;
  flex: 0 0 var(--htl-w);
  height: 100%;
  scroll-snap-align: center;
}
.rdss-htl__marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 2.4rem;
  height: 2.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--htl-red);
  color: #fff;
  box-shadow: 0 0 0 4px #fff;
  font-family: 'Fira Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rdss-htl__marker svg,
.rdss-htl__marker i {
  width: 1em;
  height: 1em;
  font-size: 1rem;
  fill: currentColor;
}
.rdss-htl__event::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 2.5rem;
  background: var(--htl-red);
  transform: translateX(-50%);
}
.rdss-htl__event.is-above::before {
  bottom: 50%;
  margin-bottom: 1.2rem;
  transform-origin: bottom center;
}
.rdss-htl__event.is-below::before {
  top: 50%;
  margin-top: 1.2rem;
  transform-origin: top center;
}
.rdss-htl__card {
  position: absolute;
  left: 50%;
  width: calc(var(--htl-w) - 1.5rem);
  transform: translateX(-50%);
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  background: #faf7f5;
  color: #222;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.is-above .rdss-htl__card {
  bottom: calc(50% + 3.6rem);
}
.is-below .rdss-htl__card {
  top: calc(50% + 3.6rem);
}
.rdss-htl__year {
  display: block;
  font-family: 'Fira Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--htl-red);
  margin-bottom: 0.2rem;
}
.rdss-htl__title {
  font-family: 'Fira Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.3rem;
  color: #222;
}
.rdss-htl__text {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #222;
}
.rdss-htl__nav {
  flex: 0 0 2.5rem;
  box-sizing: border-box;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--htl-nav);
  color: #fff;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.rdss-htl__nav > span {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  font-size: 0;
  border: 0 solid #fff;
}
.rdss-htl__nav--prev > span {
  border-left-width: 2.5px;
  border-bottom-width: 2.5px;
  transform: translateX(0.15rem) rotate(45deg);
}
.rdss-htl__nav--next > span {
  border-right-width: 2.5px;
  border-top-width: 2.5px;
  transform: translateX(-0.15rem) rotate(45deg);
}
.rdss-htl__nav:hover:not(:disabled) {
  transform: scale(1.06);
}
.rdss-htl__nav:focus-visible {
  outline: 2px solid var(--htl-nav);
  outline-offset: 3px;
}
.rdss-htl__nav:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
}
.rdss-htl:not(.is-overflowing) .rdss-htl__nav {
  display: none;
}
.rdss-htl.is-js .rdss-htl__event {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.rdss-htl.is-js .rdss-htl__event.is-visible {
  opacity: 1;
  transform: none;
}
.rdss-htl.is-js .rdss-htl__marker {
  transform: translate(-50%, -50%) scale(0.4);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s;
}
.rdss-htl.is-js .rdss-htl__event.is-visible .rdss-htl__marker {
  transform: translate(-50%, -50%) scale(1);
}
.rdss-htl.is-js .rdss-htl__event::before {
  transform: translateX(-50%) scaleY(0);
  transition: transform 0.45s ease 0.25s;
}
.rdss-htl.is-js .rdss-htl__event.is-visible::before {
  transform: translateX(-50%) scaleY(1);
}
@media (max-width: 767px) {
  .rdss-htl {
    --htl-w: 15rem;
    --htl-track-h: 35rem;
    gap: 0.5rem;
  }
  .rdss-htl__nav {
    flex-basis: 2.2rem;
    width: 2.2rem;
    height: 2.2rem;
  }
  .rdss-htl__text {
    font-size: 0.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rdss-htl__viewport {
    scroll-behavior: auto;
  }
  .rdss-htl *,
  .rdss-htl *::before {
    transition: none !important;
  }
  .rdss-htl.is-js .rdss-htl__event {
    opacity: 1;
    transform: none;
  }
  .rdss-htl.is-js .rdss-htl__marker,
  .rdss-htl.is-js .rdss-htl__event::before {
    transform: none;
  }
  .rdss-htl.is-js .rdss-htl__marker {
    transform: translate(-50%, -50%);
  }
}
