/* =================================
   App hot list 排行榜组件（带序号 1..N）
   组件自带样式，可在任意页面单独引用
   ================================= */
.hotlist-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 12px 0 rgba(14, 9, 62, 0.08);
  overflow: hidden;
}
.hotlist-tabs {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 0 8px;
}
.hotlist-tab {
  position: relative;
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d4d4d;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}
.hotlist-tab.is-active {
  color: #1E77FF;
}
.hotlist-tab.is-active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  background: #1E77FF;
  border-radius: 2px 2px 0 0;
}
.hotlist-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
  padding: 8px 16px 16px;
}
.hotlist-list.is-hidden {
  display: none;
}
.hotlist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid #f4f4f4;
  text-decoration: none;
  transition: background 0.2s ease;
}
.hotlist-item:hover {
  background: #fafafa;
}
.hotlist-item-img-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.hotlist-item-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hotlist-item-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hotlist-item-name {
  color: #282828;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hotlist-item-category {
  color: #4d4d4d;
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hotlist-item-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #4d4d4d;
  font-size: 13px;
  flex-shrink: 0;
}
.hotlist-item-rating svg {
  width: 14px;
  height: 14px;
  fill: #ff9500;
}
.hotlist-rank {
  width: 22px;
  flex-shrink: 0;
  text-align: center;
  color: #b0b0b0;
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
}
.hotlist-rank--top {
  color: #ff9500;
}
@media only screen and (max-width: 767px) {
  .hotlist-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}
