/* Keep the lottery header stable until issue and result data arrive together. */
.lottery-card:has(.placeholder-number) {
  position: relative;
  min-height: 116px;
}

.lottery-card:has(.placeholder-number) .n-card__content {
  visibility: hidden;
}

.lottery-card:has(.placeholder-number)::after {
  content: "开奖数据加载中";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8c8c8c;
  font-size: 13px;
  background: #fff;
}

.lottery-card:has(.placeholder-number) + .n-card {
  display: none;
}

@media (max-width: 768px) and (hover: none) {
  .fan-numbers-grid[data-v-f24db85c] {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    contain: layout paint style;
  }

  .fan-number-container[data-v-f24db85c] {
    aspect-ratio: 1 / 1;
    contain: layout paint;
  }

  .fan-number-item[data-v-f24db85c] {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }
}
