.bid-history {
  background: var(--glass-bg);
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-xl);
  backdrop-filter: var(--glass-blur);
  width: 100%;
  max-width: var(--max-width-form);
  margin-left: auto;
  margin-right: auto;
  font-size: var(--font-em-md);

  & > .title {
    font-size: var(--font-em-base);
    opacity: 0.8;
    margin-bottom: var(--space-4);
    text-align: center;
  }

  & > .list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
  }

  & > .list > .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: var(--space-4) var(--space-6);
    background: var(--color-black-alpha-20);
    border-radius: var(--radius-md);
    border: 1px solid transparent;

    &.-current {
      background: var(--color-accent-alpha-20);
      border-color: var(--color-accent-alpha-40);
    }

    & > .player {
      font-weight: var(--font-weight-semibold);
      max-width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    & > .value {
      font-weight: var(--font-weight-bold);
      color: var(--color-accent);

      &.-passed {
        color: var(--color-gray);
      }
    }
  }
}

@media (min-width: 768px) {
  .bid-history {
    width: auto;
    padding: var(--space-12) var(--space-16);
    font-size: 1em;

    & > .title {
      margin-bottom: var(--space-8);
    }

    & > .list {
      display: flex;
      flex-direction: column;
      gap: var(--space-6);
    }

    & > .list > .item {
      flex-direction: row;
      justify-content: space-between;
      padding: var(--space-6) var(--space-10);
    }
  }
}
