.t-grid {
  background-color: #f5f5f5;
}
.t-grid-levels {
  padding: 7px 0;
  overflow-y: hidden;
  overflow-x: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: #e3e3e3;
}
.t-grid-levels__item {
  padding: 2px 10px;
  margin-left: 105px;
  font-size: 18px;
  white-space: nowrap;
  text-transform: uppercase;
}
.t-grid-levels__item:first-child {
  margin-left: 30px;
}
.t-grid-columns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow-y: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 10px 10px;
}
.t-grid-column {
  padding: 0 5px;
  max-width: 228px;
}
.t-grid-column:nth-child(2) {
  padding-top: 31px;
}
.t-grid-column:nth-child(3) {
  padding-top: 98px;
}
.t-grid-column:nth-child(4) {
  padding-top: 232px;
}
.t-grid-column:first-child .t-grid-match:after {
  height: 5px;
}
.t-grid-column:nth-child(2) .t-grid-match:after {
  height: 41px;
}
.t-grid-column:nth-child(3) .t-grid-match:after {
  height: 108px;
}
.t-grid-column:nth-child(2) .t-grid-match + .t-grid-match {
  margin-top: 82px;
}
.t-grid-column:nth-child(3) .t-grid-match + .t-grid-match {
  margin-top: 216px;
}
.t-grid-column:nth-child(3) .t-grid-match + .t-grid-match--second-place {
  margin-top: 120px;
}
.t-grid-column:nth-child(3)
  .t-grid-match
  + .t-grid-match--second-place:last-child {
  margin-top: 60px;
}
.t-grid-column:nth-child(4) .t-grid-match--second-place {
  margin-top: 310px;
}
.t-grid-match {
  position: relative;
  min-width: 200px;
  height: 52px;
  background-color: #f5f5f5;
  border: 1px solid #eb6932;
}
.t-grid-match::after {
  position: absolute;
  right: -30px;
  border: 1px solid #eb6932;
  border-left: 0;
  content: "";
  display: block;
  height: 5px;
  width: 30px;
}
.t-grid-match--last::after {
  display: none;
}
.t-grid-match:nth-child(even):after {
  bottom: 24px;
  border-top: 0;
}
.t-grid-match:nth-child(odd):after {
  top: 25px;
  border-bottom: 0;
}
.t-grid-match:nth-child(2n) {
  margin-top: 10px;
}
.t-grid-match:nth-child(2n + 3) {
  margin-top: 20px;
}
.t-grid-team {
  color: #36393f;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 26px;
  padding: 0 0 0 5px;
}
.t-grid-team:first-child {
  border-bottom: 1px solid #eb6932;
}
.t-grid-team--hovered {
  background-color: #eb6932;
}
.t-grid-team--hovered > * {
  color: #ffffff !important;
}
.t-grid-team__num {
  color: #94999f;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  font-size: 12px;
  margin: 0 5px 0 0;
  width: 14px;
  text-align: center;
}
.t-grid-team__img-wrapper {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 20px;
  flex: 0 0 20px;
  height: 20px;
  margin: 0 8px 0 0;
  text-align: center;
  white-space: nowrap;
}
.t-grid-team__img {
    display: block;
    width: 20px;
    height: auto;
}
.t-grid-team__name {
  color: #36393f;
  height: 100%;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
  font-size: 13px;
  line-height: 26px;
  min-width: 0;
  overflow: hidden;
  padding-right: 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.t-grid-team__score {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 23px;
  flex: 0 0 23px;
  height: 100%;
  font-size: 13px;
  line-height: 26px;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.5px;
}
