#schedule-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 128px;
  min-height: 128px;
  max-height: 128px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: auto;
}

#schedule-list .schedule-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 16px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: var(--black);
  box-shadow: 0 4px 12px var(--shadow);
  overflow: hidden;
  animation: schedule-enter 200ms var(--transition-ease) both;
}

#schedule-list .schedule-item:hover {
  background: var(--brand);
}

#schedule-list .schedule-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: var(--transparent);
  color: var(--black);
}

#schedule-list .schedule-item-icon svg {
  width: 20px;
  height: 20px;
}

#schedule-list .schedule-item-content {
  display: flex;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.schedule-marquee {
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
}

.schedule-item-date {
  display: block;
  flex-shrink: 0;
  color: var(--black);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

#schedule-list .schedule-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 6px;
  border: 0;
  border-radius: 6px;
  background: var(--transparent);
  color: var(--black);
  transition: opacity 120ms ease;
}

#schedule-list .schedule-remove:hover {
  opacity: 0.6;
  background: var(--transparent);
  color: var(--black);
}

#schedule-list .schedule-remove:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

#schedule-list .schedule-remove svg {
  width: 18px;
  height: 18px;
}

@keyframes schedule-enter {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}