#section-09-heart {
  position: fixed;
  inset: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0A0E17;
  visibility: hidden;
  pointer-events: none;
  z-index: 10;
}

#section-09-heart.is-visible {
  visibility: visible;
  pointer-events: auto;
}

#section-09-heart.is-complete {
  visibility: hidden;
  pointer-events: none;
}

#section-09-heart.is-interactive {
  cursor: none;
}

.heart-frame {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #0A0E17;
}

.heart-stage {
  position: absolute;
  inset: 0;
  background: #0A0E17;
  overflow: hidden;
}

.heart-background-track {
  position: absolute;
  left: 0;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: stretch;
  gap: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.heart-background-item {
  position: relative;
  height: 100vh;
  width: auto;
  flex: 0 0 auto;
}

.heart-background-image {
  display: block;
  height: 100vh;
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.heart-background-overlay,
.heart-background-overlay-second,
.heart-background-overlay-third {
  position: absolute;
  inset: 0;
  height: 100vh;
  width: auto;
  max-width: none;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  opacity: 1;
}

.heart-background-overlay.is-hidden,
.heart-background-overlay-second.is-hidden,
.heart-background-overlay-third.is-hidden {
  opacity: 0;
}

.heart-trigger-point {
  position: absolute;
  top: 0;
  width: 10px;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.heart-trigger-point-stage-1 {
  left: 200px;
}

.heart-trigger-point-stage-2 {
  left: 700px;
}

.heart-trigger-point-stage-3 {
  left: 950px;
}

.heart-drop-zone {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  background: transparent;
  z-index: 1;
}

.heart-drop-zone-stage-1 {
  left: 200px;
  top: 51%;
  width: 700px;
  height: 600px;
  transform: translateY(-50%);
}

.heart-drop-zone-stage-2 {
  left: 650px;
  top: 0;
  width: 700px;
  height: 300px;
}

.heart-drop-zone-stage-3 {
  left: 1000px;
  bottom: 0;
  width: 750px;
  height: 500px;
}

.heart-thought,
.heart-thought-second,
.heart-thought-third,
.heart-thought-fourth,
.heart-thought-fifth,
.heart-thought-sixth {
  position: absolute;
  z-index: 2;
  font-family: "Source Sans 3", sans-serif;
  font-size: 25px;
  line-height: 1;
  font-weight: 400;
  color: #ffffff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 1;
}

.heart-thought {
  left: 325px;
  top: 52%;
  transform: translateY(-50%);
}

.heart-thought-second {
  left: 325px;
  top: 52%;
  transform: translateY(-50%);
}

.heart-thought-third {
  left: 800px;
  top: 100px;
}

.heart-thought-fourth {
  left: 720px;
  top: 65px;
  line-height: 1.1;
  white-space: pre-line;
}

.heart-thought-fifth {
  left: 1150px;
  top: 70%;
}

.heart-thought-sixth {
  left: 1150px;
  top: 70%;
}

.heart-thought.is-hidden,
.heart-thought-second.is-hidden,
.heart-thought-third.is-hidden,
.heart-thought-fourth.is-hidden,
.heart-thought-fifth.is-hidden,
.heart-thought-sixth.is-hidden {
  opacity: 0;
}

.heart-thought-ghost,
.heart-thought-second-ghost,
.heart-thought-third-ghost,
.heart-thought-fourth-ghost,
.heart-thought-fifth-ghost,
.heart-thought-sixth-ghost {
  visibility: hidden;
  pointer-events: none;
}

.heart-thought-typed,
.heart-thought-second-typed,
.heart-thought-third-typed,
.heart-thought-fourth-typed,
.heart-thought-fifth-typed,
.heart-thought-sixth-typed {
  position: absolute;
  left: 0;
  top: 0;
  color: #ffffff;
  pointer-events: none;
  white-space: inherit;
  line-height: inherit;
}

.heart-person-sequence {
  position: absolute;
  left: 0;
  top: 50%;
  width: auto;
  height: 90vh;
  max-width: none;
  transform: translateY(-50%) scale(0.9);
  transform-origin: left center;
  object-fit: contain;
  object-position: left center;
  display: block;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  z-index: 3;
}

.heart-person-sequence.is-visible {
  opacity: 1;
}

.heart-cat-sequence {
  position: absolute;
  left: 0;
  bottom: 30px;
  width: auto;
  height: 90vh;
  max-width: none;
  transform: scale(0.9);
  transform-origin: left bottom;
  object-fit: contain;
  object-position: left bottom;
  display: block;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  z-index: 3;
}

.heart-cat-sequence.is-visible {
  opacity: 1;
}

.heart-walking-person {
  position: absolute;
  left: 240px;
  bottom: 60px;
  width: 300px;
  height: 600px;
  transform: scale(0.8);
  transform-origin: left bottom;
  object-fit: contain;
  display: block;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  z-index: 3;
}

.heart-walking-person.is-visible {
  opacity: 1;
}

.heart-advance-indicator.ui-indicator {
  position: absolute;
  left: 50%;
  bottom: 3%;
  transform: translateX(-50%);
  z-index: 7;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  font-size: 18px;
  line-height: 1;
  padding: 12px 28px;
  background: rgba(18, 27, 40, 0.6);
  color: #ffffff;
  border-radius: 5px;
  white-space: nowrap;
}

.heart-advance-indicator.is-visible {
  opacity: 1;
}

.heart-toolbar {
  position: fixed;
  left: 30px;
  top: 50%;
  width: 90px;
  height: 250px;
  transform: translateY(-50%);
  background: rgba(137, 172, 207, 0.3);
  display: none;
  z-index: 8;
  pointer-events: none;
}

.heart-toolbar.is-visible {
  display: block;
}

.heart-toolbar-inner {
  width: 100%;
  height: 100%;
  padding: 10px;
  display: grid;
  grid-template-rows: repeat(3, 70px);
  row-gap: 10px;
  justify-content: center;
  align-content: center;
}

.heart-toolbar-slot {
  position: relative;
  width: 70px;
  height: 70px;
  background: rgba(97, 161, 230, 0.5);
  pointer-events: auto;
}

.heart-toolbar-piece {
  position: absolute;
  left: 0;
  top: 0;
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
  cursor: default;
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
  z-index: 2;
}

.heart-toolbar-piece.is-active-piece {
  cursor: none !important;
}

.heart-toolbar-piece.is-dragging {
  cursor: none !important;
  z-index: 20;
}

.heart-toolbar-piece.is-dragging {
  cursor: none !important;
  z-index: 20;
}

.heart-toolbar-piece.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.heart-hover-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-9999px, -9999px, 0);
  transition: opacity 100ms ease;
  z-index: 30;
  will-change: transform, opacity;
}

.heart-hover-cursor.is-visible {
  opacity: 1;
}

.heart-hover-cursor img {
  width: 32px;
  height: 32px;
  display: block;
}