/*! /activity 活动列表页：对齐旧 web Vue H5 活动 Tab（列表/入口/跳转） */
.hg-activity-page{
  position:relative;
  padding:16px var(--hg-page-gutter,16px) 24px;
  overflow:hidden;
}

.hg-activity-page__inner{
  position:relative;
  z-index:1;
}
.hg-activity-page__head{
  margin:8px 0 16px;
}
.hg-activity-page__head h1{
  margin:0;
  font-size:22px;
  line-height:1.3;
  color:#fff;
  font-weight:600;
}
.hg-activity-page__head p{
  margin:8px 0 0;
  color:rgba(255,255,255,.55);
  font-size:13px;
  line-height:1.5;
}
.hg-activity-page__list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}
.hg-activity-page__card{
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 13px 13px 17px;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  text-decoration:none;
  color:inherit;
  -webkit-tap-highlight-color:transparent;
}
.hg-activity-page__card.is-clickable{
  cursor:pointer;
  transition:transform .18s ease;
}
.hg-activity-page__card.is-clickable:active{
  transform:scale(.99);
}
.hg-activity-page__card.is-static{
  cursor:default;
}
.hg-activity-page__cover{
  flex:0 0 48px;
  width:48px;
  height:48px;
  border-radius:12px;
  overflow:hidden;
  background:rgba(99,48,251,.06);
}
.hg-activity-page__cover img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.hg-activity-page__info{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.hg-activity-page__title{
  margin:0;
  font-size:14px;
  line-height:1.35;
  color:#fff;
  font-weight:600;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.hg-activity-page__sub{
  margin:0;
  font-size:12px;
  line-height:1.4;
  color:rgba(255,255,255,.55);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.hg-activity-page__cta{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:32px;
  padding:0 16px;
  border-radius:999px;
  border:0;
  background:linear-gradient(135deg,#ff8a3d 0%,#ff5a7a 50%,#c84bff 100%);
  color:#fff;
  font-size:12px;
  font-weight:600;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 4px 16px rgba(0,0,0,.12);
  pointer-events:none;
}
.hg-activity-page__empty{
  padding:48px 16px;
  text-align:center;
  color:rgba(255,255,255,.45);
  font-size:14px;
}
.hg-activity-page__more{
  display:none;
  margin:4px 0 0;
  padding:12px 0;
  text-align:center;
  font-size:12px;
  color:rgba(255,255,255,.45);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  user-select:none;
}
.hg-activity-page__more.is-visible{display:block}
.hg-activity-page__more.is-loading{opacity:.55;pointer-events:none}

@media (max-width:1023px){
  .hg-activity-page{
    padding:12px 16px 24px;
    min-height:60vh;
  }
  .hg-activity-page__head{
    margin:0 16px 18px 12px;
  }
  .hg-activity-page__cover{
    flex-basis:48px;
    width:48px;
    height:48px;
  }
}

@media (min-width:1024px){
  .hg-activity-page__cover{
    flex-basis:72px;
    width:72px;
    height:72px;
    border-radius:10px;
  }
  .hg-activity-page__title{font-size:15px}
  .hg-activity-page__sub{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    white-space:normal;
  }
  .hg-activity-page__cta{
    background:#ffd21c;
    color:#111;
    box-shadow:none;
  }
}

/* === home popup (HomePopupAd) === */
.hg-home-popup{
  position:fixed;
  inset:0;
  z-index:200;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  box-sizing:border-box;
}
.hg-home-popup[hidden]{
  display:none !important;
}
.hg-home-popup__mask{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.64);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.hg-home-popup__body{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  width:100%;
  max-width:343px;
}
.hg-home-popup__cover{
  display:block;
  width:100%;
  margin:0;
  padding:0;
  border:0;
  border-radius:16px;
  overflow:hidden;
  background:rgba(255,255,255,.04);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.hg-home-popup__cover img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
.hg-home-popup__close{
  width:40px;
  height:40px;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.hg-home-popup__close img{
  width:40px;
  height:40px;
  filter:brightness(0) invert(1);
}
body.is-hg-home-popup-open{
  overflow:hidden;
}
