.search-block .search-row {
  margin-bottom: 10px;
  display: flex;
}

.search-block .search-match-status {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
}

.search-block .search-row-list {
  max-height: 95px;
  overflow: hidden;
}

.search-block .search-row-list.load-more {
  max-height: inherit;
}

.search-block .search-row-label {
  width: 80px;
}

.search-block .search-row-label,
.search-block .search-row-item {
  padding: 10px 15px;
  margin-bottom: 10px;
  line-height: 1;
  font-size: 14px;
}

.search-block .search-row-item {
  margin-right: 10px;
  cursor: pointer;
}

.search-block .search-row-item-active {
  color: #079d50;
  font-weight: bold;
  position: relative;
}

.search-block .search-row-item-active::after {
  content: '';
  width: 50%;
  height: 4px;
  background-color: #079d50;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.search-block .search-row-more {
  display: none;
  background: #f8f8f8;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 10px 15px;
  color: #999999;
  margin-bottom: 14px;
}

.search-form-block {
  margin-bottom: 10px;
  display: flex;
}

.search-block.layui-form .layui-form-label {
  text-align: left;
}

.search-block.layui-form .layui-input-block {
  margin-left: 80px;
}

.search-block .all-matches {
  height: 38px;
}

/* 列表 */
.match-list-box {
  width: 100%;
  max-height: 400px;
  overflow-y: auto;
}

/**************************** 比赛信息显示样式 **************************/
.match-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.match-list-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 20px;
  background: white;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
  border: 1px solid #e5e5e5;
}

.match-list-item .web-show {
  display: block;
}

.match-list-item .phone-show {
  display: none;
}

.match-list-item.selected {
  border-color: #079d50;
}

.match-list-item .match-date-type {
  background-image: url(../images/game_card_header_bg.png);
  background-size: 100% 100%;
  padding: 5px 10px;
  border-radius: 10px;
  max-width: 330px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.match-list-item .match-team-box {
  position: absolute;
  width: 100%;
  height: 1;
  overflow: visible;
  padding: 0 20px;
}

.match-list-item .match-team {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  flex: 1;
  text-align: center;
}

.match-list-item .match-team-logo {
  width: 52px;
  height: 52px;
}

.match-list-item .match-team-name {
  text-align: center;
}

.match-list-item .match-team-name:hover {
  color: #079d50;
}

.match-team-info {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
}

.match-list-item .match-info {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  margin-top: 15px;
  align-items: center;
  gap: 5px;
  padding: 0 15px;
  width: 360px;
}

.match-list-item .match-date-year {
  color: white;
  text-align: center;
  font-size: 12px;
}

.match-type,
.match-type:hover {
  text-align: center;
  color: white;
}

.match-list-item .match-date-time {
  color: #333;
  font-size: 20px;
}

.match-score-status {
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.match-list-item .match-status {
  color: #333;
  font-size: 16px;
  text-align: center;
  line-height: 24px;
  padding: 0 5px;
  min-width: 44px;
  border-radius: 6px;
  height: 24px;
}

.match-list-item .match-status-start {
  color: white;
  background: linear-gradient(123deg, #ffd511, #ff621e);
  font-size: 12px;
}

.match-list-item .match-status-end {
  color: white;
  background-color: #128449;
  font-size: 12px;
}

.match-date-all-o {
  color: #00a69c;
  margin-top: 10px;
}

.match-date-year:hover,
.match-date-all-o:hover {
  text-decoration: underline !important;
}

.match-list-item .btn-select-date {
  position: absolute;
  right: 15px;
  top: 15px;
  color: #079d50;
  padding-top: 5px;
  padding-bottom: 5px;
}

.match-list-item .btn-select-date:not(.btn-color-gray[disabled]):hover {
  color: #079d50;
}

.match-list-item .btn-select-date[disabled],
.match-list-item .btn-select-date[disabled]:hover {
  color: #999999;
}

.match-list-item .btn-select-date[disabled]:hover {
  opacity: 0.8;
}

.match-list-item .normal-team-score {
  color: #0c0c0c;
}

.match-list-item .highlight-team-score {
  color: #ff7e1b;
}

.highlight-team-score::after {
  content: '';
  display: inline-block;
  height: 14px;
  width: 14px;
  margin-left: 5px;
  background-size: 100% 100%;
  background-image: url(../images/highlight_score.png);
}

.match-list-item .lowlight-team-score {
  color: white;
}

.match-list-item .btn-select-date {
  display: none;
}

@media screen and (max-width: 768px) {
  .search-block .search-row-label {
    width: 76px;
  }

  .search-block .search-row-item {
    padding: 10px 5px;
  }

  .search-block .search-form-block {
    flex-direction: column;
  }

  .search-block.layui-form .layui-input-block {
    width: 212px;
  }

  .search-block.layui-form .layui-form-item .all-matches {
    margin-left: 80px;
  }

  .search-block.layui-form .layui-form-selected dl {
    overflow-x: auto;
    width: 70vw;
  }

  .search-block.layui-form .layui-form-select dl dd {
    white-space: normal;
    line-height: 1.2;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .match-list-item {
    padding: 10px;
  }

  .match-list-item .web-show {
    display: none;
  }

  .match-list-item .phone-show {
    display: block;
  }

  .match-team-info {
    justify-content: space-between;
  }

  .match-list-item .match-info {
    width: auto;
    flex: 1;
    padding: 0;
    text-align: center;
  }

  .match-list-item .match-team {
    width: 70px;
    flex: auto;
    max-width: 70px;
  }

  .match-list-item .match-team-logo {
    width: 30px;
    height: 30px;
  }

  .match-list-item .match-date-type {
  }

  .match-list-item .btn-select-date {
    position: static;
    margin-top: 5px;
  }

  .match-list-item .match-date-year,
  .match-list-item .match-type,
  .match-list-item .match-team-score,
  .match-list-item .match-status,
  .match-list-item .match-score-status {
    font-size: 12px;
  }

  .highlight-team-score::after {
    height: 12px;
    width: 12px;
    margin-bottom: -2px;
  }
}
