/* 彩票列表 — 对齐 manycai365 /index/lotterylist */
.page-mc-lotterylist main {
  background: #fff;
  padding-bottom: 60px;
}

.mc-ll-head {
  height: 153px;
  margin: 0 auto;
  background: url('../img/manycai/lotterylist-header.png') center / cover no-repeat;
  border-radius: 0;
}

.mc-ll-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 48px;
  margin: 0 auto;
  padding: 28px 16px 12px;
  border-bottom: 1px solid #e5e5ea;
  background: #fff;
}
.mc-ll-tab {
  font-size: 22px;
  font-weight: 500;
  color: #225ff6;
  line-height: 2;
  padding: 0 2px 6px;
  cursor: pointer;
  user-select: none;
  border-bottom: 4px solid transparent;
}
.mc-ll-tab:hover,
.mc-ll-tab.active {
  border-bottom-color: #225ff6;
}

.mc-ll-regions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin: 0 auto;
  padding: 14px 16px 6px;
  background: #eaf2ff;
}
.mc-ll-regions.is-hidden { display: none; }
.mc-ll-region {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #7aa6ff;
  background: #f3f8ff;
  color: #225ff6;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}
.mc-ll-region.active {
  background: #225ff6;
  border-color: #225ff6;
  color: #fff;
}
.mc-ll-item.is-hidden { display: none; }

.mc-ll-body {
  background: #fff;
  padding-top: 40px;
  min-height: 480px;
}

.mc-ll-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}
.mc-ll-grid.is-hidden { display: none; }

.mc-ll-item {
  width: 20%;
  margin: 0 0 40px;
  padding: 0 8px;
  box-sizing: border-box;
}
.mc-ll-item dt {
  position: relative;
  text-align: center;
  overflow: hidden;
  width: 114px;
  height: 114px;
  margin: 0 auto;
  border-radius: 25px;
}
.mc-ll-item dt img {
  width: 114px;
  height: 114px;
  border-radius: 25px;
  object-fit: cover;
  display: block;
  background: #f5f5f7;
}
.mc-ll-icon-link { display: block; }

.mc-ll-handle {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(229, 229, 234, 0.96);
  border-radius: 25px;
  transform: translateY(-105%);
  transition: transform 0.25s ease;
  z-index: 2;
}
.mc-ll-item dt:hover .mc-ll-handle {
  transform: translateY(0);
}
.mc-ll-history {
  width: 88px;
  height: 37px;
  line-height: 37px;
  text-align: center;
  background: linear-gradient(225deg, #dfcd7d 0%, #c3aa5b 100%);
  border-radius: 5px;
}
.mc-ll-history a {
  display: block;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}

.mc-ll-item dd {
  margin: 10px 0 0;
  text-align: center;
  font-size: 16px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc-ll-empty {
  width: 100%;
  text-align: center;
  color: #999;
  padding: 60px 16px;
  font-size: 15px;
}

@media (max-width: 900px) {
  .mc-ll-item { width: 25%; }
  .mc-ll-tabs { gap: 0 20px; }
  .mc-ll-tab { font-size: 16px; }
}
@media (max-width: 640px) {
  .mc-ll-head { height: 100px; }
  .mc-ll-item { width: 33.333%; margin-bottom: 28px; }
  .mc-ll-item dt,
  .mc-ll-item dt img {
    width: 88px;
    height: 88px;
    border-radius: 18px;
  }
  .mc-ll-tab { font-size: 14px; }
  .mc-ll-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0 16px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .mc-ll-tab {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .mc-ll-item dd {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    word-break: break-word;
    padding: 0 4px;
    font-size: 14px;
    line-height: 1.35;
  }
}
@media (max-width: 480px) {
  .mc-ll-item { width: 50%; }
  .mc-ll-item dt,
  .mc-ll-item dt img {
    width: 76px;
    height: 76px;
    border-radius: 16px;
  }
}
