.history-detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.history-detail-heading h3,
.history-detail-heading p {
  margin-top: 0;
}
.history-delete {
  border: 1px solid #e5c5c2;
  background: #fff7f6;
  color: #a43b34;
  border-radius: 9px;
  padding: 8px 11px;
  font-weight: 700;
  cursor: pointer;
}
.history-delete:disabled {
  opacity: 0.55;
  cursor: wait;
}
@media (max-width: 800px) {
  .history-list {
    display: flex;
    align-items: stretch;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 4px 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .history-list .history-item {
    flex: 0 0 230px;
    min-width: 230px;
    max-width: 230px;
    overflow: hidden;
    padding: 13px;
    border: 1px solid var(--line);
    background: #f8fbf9;
    scroll-snap-align: start;
  }
  .history-list .history-item.active {
    border-color: #8db7a4;
    background: #e8f2eb;
  }
  .history-list .history-item b,
  .history-list .history-item small {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .history-list .history-score {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
