.contentView--home {
  display: flex;
  min-width: 0;
  min-height: 0;
}

.homePanel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.homeStickyBar {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 6px 10px 0;
  background: var(--panel-bg);
  z-index: 2;
}

.homeStickyBar__lead {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.homeStickyBar__title {
  display: flex;
  justify-content: center;
  margin: 0;
  width: 100%;
  overflow: hidden;
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: normal;
  white-space: nowrap;
  text-overflow: clip;
}

.homeStickyBar__titleTrack {
  display: flex;
  width: max-content;
}

.homeStickyBar__title:has(.is-overflowing) {
  justify-content: flex-start;
  text-align: start;
}

.homeStickyBar__titleTrack.is-overflowing {
  animation: homeTitleMarquee 27s linear infinite;
}

.homeStickyBar__titleTrack:not(.is-overflowing) .homeStickyBar__titleText[aria-hidden="true"] {
  display: none;
}

.homeStickyBar__titleText {
  flex: 0 0 auto;
  white-space: pre;
}

@keyframes homeTitleMarquee {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .homeStickyBar__titleTrack {
    animation: none;
    transform: none;
  }
}

.homeStickyBar__line {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  width: auto;
  margin: 0;
}

.homeMarqueeShell {
  --home-marquee-gap: 55px;
  flex: 1 1 0%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-block: var(--home-marquee-gap);
  overflow: hidden;
}

.homeMarqueeViewport {
  flex: 1 1 0%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: var(--home-marquee-gap);
  overflow: hidden;
}

.homeMarqueeRow {
  flex: 1 1 0%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  pointer-events: none;
  overscroll-behavior: contain;
}

.homeMarqueeTrack,
.homeMarqueeSequence {
  pointer-events: none;
  height: 100%;
  min-height: 0;
  align-items: stretch;
}

.homeMarqueeTrack {
  display: flex;
  gap: var(--home-marquee-gap);
  width: max-content;
}

.homeMarqueeSequence {
  display: flex;
  gap: var(--home-marquee-gap);
  flex: 0 0 auto;
}

.homeMarqueeRow.is-dragging .homeMarqueeItem {
  cursor: grabbing;
}

.homeMarqueeItem {
  position: relative;
  flex: 0 0 auto;
  align-self: stretch;
  height: 100%;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: #000;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  line-height: 0;
  cursor: pointer;
  pointer-events: auto;
  touch-action: pan-x;
  user-select: none;
  transition:
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.homeMarqueeItem img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .homeMarqueeItem:hover,
  .homeMarqueeItem:focus-visible {
    border-color: var(--stroke);
    box-shadow:
      0 0 0 1px rgba(165, 226, 246, 0.35) inset,
      0 0 18px rgba(165, 226, 246, 0.45),
      0 0 36px rgba(165, 226, 246, 0.25);
  }
}

@media (max-width: 767px) {
  .homeStickyBar__title {
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .homeMarqueeShell {
    --home-marquee-gap: 12px;
  }
}

@media (min-width: 768px) and (max-width: 1439px) {
  .homeStickyBar__title {
    font-size: 16px;
  }
}
