.brief-story {
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.brief-story:hover,
.brief-story:focus-within {
  background: linear-gradient(90deg, rgba(145, 213, 28, 0.07), transparent 72%);
}

.brief-story.is-ranked {
  border-top-color: #557c24;
}

button.brief-story__rank {
  align-items: flex-start;
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.brief-story__rank span {
  color: #9aa49e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brief-story__rank strong {
  display: grid;
  place-items: center;
  width: 72px;
  height: 56px;
  color: #fff;
  background: #111613;
  border: 1px solid #4d5b51;
  border-radius: 13px;
  font-size: 22px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.brief-story__rank:hover strong {
  border-color: #91d51c;
  transform: translateY(-2px);
}

.brief-story__rank:focus-visible {
  outline: 0;
}

.brief-story__rank:focus-visible strong {
  border-color: #91d51c;
  outline: 3px solid #91d51c66;
  outline-offset: 2px;
}

.brief-story__rank[aria-pressed="true"] strong {
  color: #071003;
  background: #91d51c;
  border-color: #91d51c;
}

@media (max-width: 600px) {
  .brief-story__rank strong {
    width: 62px;
  }
}
