.ls .ss-stage {
  overflow: hidden;
  background: #0b0b0c;
}

/* One window, inset at the top and running off the bottom */
.ls-win {
  position: absolute;
  top: 40px;
  left: 50%;
  width: 560px;
  translate: -50% 0;
}

.ls .ss-stage[data-layout='compact'] .ls-win {
  top: 16px;
  width: 326px;
}

.ls-body {
  display: grid;
  gap: 18px;
  /* Taller than the stage leaves room for, so the window runs off the bottom */
  min-height: 420px;
  align-content: start;
  padding: 26px 34px 60px;
  background: var(--ss-surface);
}

.ls .ss-stage[data-layout='compact'] .ls-body {
  padding: 22px 23px 60px;
}

.ls-head {
  display: grid;
  gap: 2px;
}

.ls-label {
  color: var(--ss-text);
  font-size: 13px;
}

.ls-value {
  color: var(--ss-text-strong);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* The day under the pointer: a hairline and a dot, jumping day to day */
.ls-plot {
  position: relative;
}

.ls-hair {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  margin-left: -0.5px;
  background: var(--ss-line);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.ls-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border: 2px solid var(--ss-surface);
  border-radius: 50%;
  background: var(--ss-accent);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.18);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.ls-hair[data-on],
.ls-dot[data-on] {
  opacity: 1;
}

.ls-axis {
  display: flex;
  justify-content: space-between;
  margin-top: -8px;
  color: var(--ss-text-faint);
  font-size: 11px;
}

.ls-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ls-win {
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 0 0 1px rgb(255 255 255 / 0.06);
}

/* The headline on the left, the profile it belongs to on the right */
.ls-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ls-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ls-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  /* Instagram's story ring, in the brand's own gradient */
  box-shadow: 0 0 0 2px var(--ss-surface), 0 0 0 4px #d6249f;
}

.ls-handle {
  font-size: 13px;
  font-weight: 600;
  color: var(--ss-text-strong);
}

/* Instagram's glyph, white on the dark title bar */
.ls-ig {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* At phone width the face alone says whose profile it is */
.ls .ss-stage[data-layout='compact'] .ls-handle {
  display: none;
}
