#home-page {
  background: #f7faf9;
}

.home-main {
  overflow: hidden;
}

.home-hero {
  position: relative;
  background: linear-gradient(180deg, #f7fffd 0%, #f2fbf8 100%);
  border-bottom: 1px solid rgba(21, 128, 90, .08);
}

.home-hero__inner {
  min-height: 276px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 42px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.home-hero__copy {
  min-width: 0;
}

.home-kicker {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 700;
}

.home-hero h1 {
  margin: 0;
  color: #111827;
  font-size: 42px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0;
}

.home-hero h1 span {
  color: #10a85b;
}

.home-hero__desc {
  max-width: 660px;
  margin: 14px 0 22px;
  color: #445064;
  font-size: 16px;
  line-height: 1.75;
}

.home-search {
  width: min(520px, 100%);
  height: 54px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(16, 168, 91, .15);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(13, 148, 91, .12);
  overflow: hidden;
}

.home-search input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 26px;
  border: 0;
  outline: 0;
  color: #111827;
  font-size: 15px;
  background: transparent;
}

.home-search button {
  width: 92px;
  height: 100%;
  border: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(135deg, #12b968, #07934f);
  cursor: pointer;
}

.home-hotwords {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: #64748b;
  font-size: 13px;
}

.home-hotwords a {
  color: #334155;
}

.home-hotwords a:hover {
  color: #0b9b54;
}

.home-hero__art {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: -20px;
  pointer-events: none;
}

.home-hero__art img {
  display: block;
  width: min(100%, 540px);
  height: auto;
  opacity: .94;
  mix-blend-mode: multiply;
  filter: saturate(1.06) drop-shadow(0 24px 34px rgba(15, 118, 80, .12));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.home-channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: -18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.home-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 22px 26px;
  border-right: 1px solid #eef2f4;
}

.home-channel:last-child {
  border-right: 0;
}

.home-channel__icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 8px;
}

.home-channel__icon svg {
  width: 30px;
  height: 30px;
}

.home-channel--soft .home-channel__icon { background: linear-gradient(135deg, #18c96f, #0e9f5e); }
.home-channel--pcgame .home-channel__icon { background: linear-gradient(135deg, #ff9d2e, #f97316); }
.home-channel--android .home-channel__icon { background: linear-gradient(135deg, #2f6dff, #13a8ff); }
.home-channel--mgame .home-channel__icon { background: linear-gradient(135deg, #ff3f8b, #d91f61); }

.home-channel__body {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.home-channel strong {
  color: #172033;
  font-size: 17px;
}

.home-channel small {
  color: #7b8794;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-channel em {
  color: #0ca65a;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  margin-top: 22px;
}

.home-primary,
.home-sidebar {
  min-width: 0;
  display: grid;
  gap: 22px;
  align-content: start;
}

.home-panel {
  min-width: 0;
  background: #fff;
  border: 1px solid #edf1f3;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
}

.home-panel img {
  max-width: 100%;
}

.home-section-head {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
}

.home-section-head h2 {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  padding-left: 14px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.home-section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: #10a85b;
}

.home-section-head > a {
  margin-left: auto;
  color: #8a95a3;
  font-size: 13px;
  white-space: nowrap;
}

.home-section-head > a:hover {
  color: #0b9b54;
}

.home-icon-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  padding: 2px 18px 20px;
}

.home-icon-strip a {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #1f2937;
  text-align: center;
}

.home-icon-strip img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.home-icon-strip span {
  width: 100%;
  overflow: hidden;
  color: #263241;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-tabs-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding-top: 2px;
  padding-bottom: 2px;
}

.home-tabs {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-tabs::-webkit-scrollbar {
  display: none;
}

.home-tabs.js-tabs-hd {
  margin-bottom: 0;
}

.home-tabs li {
  min-width: 68px;
  padding: 7px 10px;
  color: #64748b;
  border-radius: 999px;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
}

.home-tabs li.cur,
.home-tabs li.is-active,
.home-tabs li:hover {
  color: #0b9b54;
  background: #e9f8f0;
}

.home-update-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 18px 14px;
  list-style: none;
}

.home-update-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(58px, 82px) minmax(70px, 92px) 58px;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  border-top: 1px dashed #e4e9ed;
}

.home-update-list li:first-child {
  border-top: 0;
}

.home-update-list li > a:first-child {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #172033;
}

.home-update-list img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 8px;
  object-fit: cover;
}

.home-update-list span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.home-update-list strong {
  overflow: hidden;
  color: #111827;
  font-size: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-update-list small {
  overflow: hidden;
  color: #8a95a3;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-update-list em,
.home-update-list time {
  color: #7d8998;
  font-style: normal;
  font-size: 13px;
  white-space: nowrap;
}

.home-update-list time.is-today {
  color: #ef4444;
  font-weight: 700;
}

.home-download-btn {
  width: 56px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  border-radius: 6px;
  background: #11a85d;
  font-size: 13px;
  font-weight: 700;
}

.home-download-btn:hover {
  background: #078d4d;
}

.home-cover-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  padding: 0 18px 20px;
}

.home-cover-row a {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: #172033;
}

.home-cover-row img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  border-radius: 8px;
  object-fit: cover;
  background: #eef2f4;
}

.home-cover-row strong,
.home-cover-row small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-cover-row strong {
  font-size: 14px;
}

.home-cover-row small {
  color: #7d8998;
  font-size: 12px;
}

.home-mini-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  padding: 0 18px 20px;
}

.home-mini-grid a {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #172033;
  text-align: center;
}

.home-mini-grid img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
}

.home-mini-grid strong,
.home-mini-grid small {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-mini-grid strong {
  font-size: 13px;
}

.home-mini-grid small {
  min-height: 16px;
  color: #8a95a3;
  font-size: 12px;
}

.home-mini-grid em {
  width: 42px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 4px;
  background: #0da257;
  font-size: 12px;
  font-style: normal;
}

.home-articles ul,
.home-rank ol,
.home-topic ul,
.home-side-news ul {
  margin: 0;
  padding: 0 18px 16px;
  list-style: none;
}

.home-articles li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  border-top: 1px dashed #e7ecef;
}

.home-articles li:first-child {
  border-top: 0;
}

.home-articles a {
  min-width: 0;
  overflow: hidden;
  color: #1f2937;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-articles span {
  display: inline-flex;
  align-items: center;
  height: 20px;
  margin-right: 8px;
  padding: 0 6px;
  color: #f97316;
  border: 1px solid #fed7aa;
  border-radius: 4px;
  background: #fff7ed;
  font-size: 12px;
}

.home-articles time {
  color: #94a3b8;
  font-size: 13px;
}

.home-rank li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) minmax(54px, auto);
  align-items: center;
  gap: 10px;
  min-height: 50px;
  border-top: 1px dashed #e7ecef;
}

.home-rank li:first-child {
  border-top: 0;
}

.home-rank i {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: #64748b;
  border-radius: 6px;
  background: #f1f5f9;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.home-rank li:nth-child(-n+3) i {
  color: #fff;
  background: #ff8a1f;
}

.home-rank a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #172033;
}

.home-rank img {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 8px;
  object-fit: cover;
}

.home-rank span {
  min-width: 0;
}

.home-rank span,
.home-rank small,
.home-rank-size {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-rank small,
.home-rank-size {
  color: #8a95a3;
  font-size: 12px;
  font-weight: 400;
}

.home-rank-size {
  justify-self: end;
  max-width: 72px;
  font-style: normal;
  line-height: 18px;
  text-align: right;
}

.home-tools > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 8px;
  padding: 0 16px 18px;
}

.home-tools a {
  min-width: 0;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: #334155;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}

.home-tools svg {
  width: 30px;
  height: 30px;
  color: #168fef;
}

.home-tools span {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
}

.home-topic-body {
  padding: 0 18px 16px;
}

.home-topic-body .homeKey-slide {
  display: none;
}

.home-topic-body .homeKey-list,
.home-topic-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.home-topic-body > a {
  min-height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #1f2937;
  border-top: 1px dashed #e7ecef;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-topic-body > a:first-child {
  border-top: 0;
}

.home-topic li {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px dashed #e7ecef;
}

.home-topic li:first-child {
  border-top: 0;
}

.home-topic a {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #1f2937;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-topic .homeKey-list li {
  position: relative;
  padding-left: 52px;
}

.home-topic .homeKey-list .hd {
  position: absolute;
  left: 0;
  top: 7px;
  width: 42px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0ea5e9;
  border: 1px solid #d7ecfb;
  border-radius: 5px;
  background: #f0f9ff;
  font-size: 12px;
}

.home-topic .homeKey-list .title {
  display: block;
  overflow: hidden;
  color: #1f2937;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-topic img {
  width: 44px;
  height: 32px;
  flex: 0 0 44px;
  border-radius: 6px;
  object-fit: cover;
}

.home-side-news ul {
  display: grid;
  padding-top: 4px;
}

.home-side-news li {
  min-height: 38px;
  display: flex;
  align-items: center;
  border-top: 1px dashed #e7ecef;
}

.home-side-news li:first-child {
  border-top: 0;
}

.home-side-news a {
  min-width: 0;
  overflow: hidden;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-side-news a:hover {
  color: #0b9b54;
}

.home-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.home-trust div {
  min-width: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #edf1f3;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}

.home-trust i {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  color: #10a85b;
  border-radius: 50%;
  background: linear-gradient(135deg, #e9f8f0, #f7fffd);
  box-shadow: inset 0 0 0 1px rgba(16, 168, 91, .12);
  font-style: normal;
}

.home-trust svg {
  width: 25px;
  height: 25px;
}

.home-trust span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.home-trust strong {
  display: block;
  color: #102033;
  font-size: 16px;
}

.home-trust em {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.home-friendlinks {
  margin-top: 22px;
  margin-bottom: 28px;
  background: #fff;
  border: 1px solid #edf1f3;
  border-radius: 8px;
}

.home-friendlinks > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0 20px 18px;
}

.home-friendlinks a {
  color: #64748b;
  font-size: 13px;
}

.home-friendlinks a:hover {
  color: #0b9b54;
}

@media (max-width: 1180px) {
  .home-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  }

  .home-hero__art {
    margin-right: 0;
  }

  .home-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-channel:nth-child(2n) {
    border-right: 0;
  }

  .home-channel:nth-child(n+3) {
    border-top: 1px solid #eef2f4;
  }

  .home-channel {
    padding: 20px 18px;
  }

  .home-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}

@media (max-width: 980px) {
  .home-hero__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .home-hero__desc,
  .home-search {
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero__art img {
    width: min(100%, 470px);
  }

  .home-hotwords {
    justify-content: center;
  }

  .home-layout {
    grid-template-columns: 1fr;
  }

  .home-channels,
  .home-trust {
    grid-template-columns: 1fr 1fr;
  }

  .home-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-topic {
    grid-column: 1 / -1;
  }

  .home-icon-strip,
  .home-mini-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-update-list li {
    grid-template-columns: minmax(0, 1fr) 76px 86px 58px;
  }

  .home-cover-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-hero__inner {
    min-height: 0;
    padding-top: 24px;
    padding-bottom: 26px;
  }

  .home-kicker {
    font-size: 16px;
  }

  .home-hero h1 {
    font-size: 30px;
  }

  .home-hero__desc {
    font-size: 14px;
  }

  .home-search {
    height: 48px;
  }

  .home-search button {
    width: 76px;
  }

  .home-hotwords {
    gap: 9px;
  }

  .home-channels,
  .home-layout,
  .home-sidebar,
  .home-trust {
    grid-template-columns: 1fr;
  }

  .home-channels {
    margin-top: 12px;
  }

  .home-channel {
    border-right: 0;
    border-top: 1px solid #eef2f4;
  }

  .home-channel:nth-child(n+3) {
    border-top: 1px solid #eef2f4;
  }

  .home-channel:first-child {
    border-top: 0;
  }

  .home-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .home-section-head > a {
    margin-left: 0;
  }

  .home-tools .home-section-head,
  .home-topic .home-section-head {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .home-tools .home-section-head > a,
  .home-topic .home-section-head > a {
    margin-left: auto;
  }

  .home-tabs-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-tabs {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .home-tabs li {
    flex: 0 0 auto;
  }

  .home-update-list li {
    grid-template-columns: minmax(0, 1fr) 58px;
    gap: 8px 12px;
    padding: 10px 0;
  }

  .home-update-list em,
  .home-update-list time {
    display: none;
  }

  .home-cover-row,
  .home-icon-strip,
  .home-mini-grid,
  .home-tools > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .home-hero h1 {
    font-size: 26px;
  }

  .home-search input {
    padding: 0 16px;
  }

  .home-channel {
    padding: 18px 16px;
  }
}

/* ---------- homepage layout refinement ---------- */
#home-page .home-main {
  padding-bottom: 4px;
}

#home-page .home-hero__inner {
  min-height: 300px;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
}

#home-page .home-hero__desc {
  max-width: 610px;
}

#home-page .home-channels {
  margin-top: -20px;
}

#home-page .home-layout {
  grid-template-columns: minmax(0, 820px) minmax(300px, 340px);
  align-items: start;
  justify-content: space-between;
  gap: 28px;
}

#home-page .home-primary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#home-page .home-hot,
#home-page .home-updates,
#home-page .home-game-focus,
#home-page .home-articles {
  grid-column: 1 / -1;
}

#home-page .home-mobile-row {
  min-width: 0;
}

#home-page .home-sidebar {
  gap: 18px;
}

#home-page .home-panel {
  overflow: hidden;
}

#home-page .home-section-head {
  min-height: 58px;
  padding-inline: 18px;
  border-bottom: 1px solid #f1f5f4;
}

#home-page .home-hot .home-section-head,
#home-page .home-updates .home-section-head,
#home-page .home-game-focus .home-section-head,
#home-page .home-mobile-row .home-section-head,
#home-page .home-articles .home-section-head,
#home-page .home-rank .home-section-head,
#home-page .home-tools .home-section-head,
#home-page .home-topic .home-section-head,
#home-page .home-friendlinks .home-section-head {
  margin-bottom: 0;
}

#home-page .home-icon-strip {
  grid-template-columns: repeat(8, minmax(64px, 1fr));
  padding-top: 18px;
}

#home-page .home-update-list {
  padding-top: 4px;
}

#home-page .home-cover-row,
#home-page .home-mini-grid {
  padding-top: 18px;
}

#home-page .home-mini-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#home-page .home-mini-grid a {
  min-height: 118px;
  align-content: start;
}

#home-page .home-mini-grid strong {
  min-height: 20px;
}

#home-page .home-articles ul,
#home-page .home-rank ol {
  padding-top: 6px;
}

#home-page .home-tools > div {
  padding-top: 18px;
}

#home-page .home-topic-body {
  padding-top: 8px;
}

#home-page .home-topic .homeKey-list li,
#home-page .home-topic-body > a,
#home-page .home-topic li {
  min-height: 42px;
}

#home-page .home-topic .homeKey-list .hd {
  top: 9px;
}

#home-page .home-trust {
  margin-top: 26px;
  margin-bottom: 0;
}

#home-page .home-trust div {
  padding: 18px 20px;
}

#home-page .home-friendlinks {
  margin-top: 24px;
}

@media (max-width: 1180px) {
  #home-page .home-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  #home-page .home-primary {
    grid-template-columns: 1fr;
  }

  #home-page .home-mobile-row {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  #home-page .home-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  #home-page .home-layout {
    grid-template-columns: 1fr;
  }

  #home-page .home-primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #home-page .home-hot,
  #home-page .home-updates,
  #home-page .home-game-focus,
  #home-page .home-articles {
    grid-column: 1 / -1;
  }

  #home-page .home-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #home-page .home-rank {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  #home-page .home-primary,
  #home-page .home-sidebar,
  #home-page .home-channels,
  #home-page .home-trust {
    grid-template-columns: 1fr;
  }

  #home-page .home-section-head {
    min-height: 52px;
    padding: 12px 16px;
  }

  #home-page .home-icon-strip,
  #home-page .home-mini-grid,
  #home-page .home-cover-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #home-page .home-update-list {
    padding-inline: 14px;
  }

  #home-page .home-rank,
  #home-page .home-topic {
    grid-column: auto;
  }

  #home-page .home-trust div {
    min-height: 76px;
  }
}

/* ---------- homepage reference layout tune ---------- */
#home-page .home-main {
  background:
    radial-gradient(circle at 21% 5%, rgba(16, 185, 129, .08), transparent 31%),
    linear-gradient(180deg, #f7fbfa 0%, #f4f8f7 48%, #f7faf9 100%);
}

#home-page .home-hero {
  background:
    radial-gradient(circle at 76% 38%, rgba(16, 185, 129, .15), transparent 36%),
    linear-gradient(180deg, #f7fffd 0%, #effaf6 100%);
}

#home-page .home-hero__inner {
  min-height: 322px;
  grid-template-columns: minmax(440px, 520px) minmax(0, 1fr);
  gap: 30px;
  padding-top: 34px;
  padding-bottom: 46px;
}

#home-page .home-kicker {
  margin-bottom: 8px;
  font-size: 19px;
}

#home-page .home-hero h1 {
  font-size: 40px;
  line-height: 1.18;
}

#home-page .home-hero__desc {
  max-width: 500px;
  margin: 12px 0 20px;
  font-size: 15px;
  line-height: 1.65;
}

#home-page .home-search {
  width: min(500px, 100%);
  height: 52px;
}

#home-page .home-hero__art {
  justify-content: flex-end;
  margin-right: 0;
}

#home-page .home-hero__art img {
  width: min(100%, 560px);
  filter: saturate(1.08) drop-shadow(0 24px 38px rgba(15, 118, 80, .14));
}

#home-page .home-channels {
  margin-top: -34px;
  border-color: rgba(15, 23, 42, .05);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}

#home-page .home-channel {
  min-height: 112px;
  padding: 22px 24px;
}

#home-page .home-channel__icon {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
  border-radius: 12px;
}

#home-page .home-layout {
  grid-template-columns: minmax(0, 815px) minmax(318px, 345px);
  gap: 24px;
  margin-top: 22px;
}

#home-page .home-primary,
#home-page .home-sidebar {
  gap: 18px;
}

#home-page .home-panel {
  border-color: #eaf0ee;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .045);
}

#home-page .home-section-head {
  min-height: 54px;
}

#home-page .home-hot .home-icon-strip {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  padding: 16px 18px 18px;
}

#home-page .home-update-list li {
  min-height: 70px;
}

#home-page .home-cover-row {
  gap: 24px;
  padding: 16px 20px 24px;
}

#home-page .home-cover-row img {
  aspect-ratio: 3 / 4;
}

#home-page .home-game-focus .home-cover-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 16px 20px 24px;
}

#home-page .home-game-focus .home-game-card {
  min-width: 0;
  display: grid;
  gap: 9px;
  color: #172033;
}

#home-page .home-game-focus .home-game-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  object-fit: cover;
  background: #eef2f4;
}

#home-page .home-game-focus .home-game-card strong,
#home-page .home-game-focus .home-game-card small {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#home-page .home-game-focus .home-game-card strong {
  color: #172033;
  font-size: 15px;
  line-height: 1.35;
}

#home-page .home-game-focus .home-game-card small {
  color: #7d8998;
  font-size: 12px;
}

#home-page .home-mobile-row .home-mini-grid {
  gap: 12px 10px;
  padding: 16px 16px 18px;
}

#home-page .home-articles {
  margin-top: 22px;
}

#home-page .home-articles ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 26px;
  padding: 4px 20px 18px;
}

#home-page .home-articles li {
  min-height: 38px;
  grid-template-columns: minmax(0, 1fr) 46px;
}

#home-page .home-articles li:nth-child(-n+3) {
  border-top: 0;
}

#home-page .home-articles span {
  margin-right: 7px;
}

#home-page .home-rank ol,
#home-page .home-topic ul,
#home-page .home-side-news ul {
  padding-left: 16px;
  padding-right: 16px;
}

#home-page .home-tools > div {
  gap: 14px 8px;
}

#home-page .home-tools a {
  min-height: 64px;
}

#home-page .home-topic-body {
  padding-bottom: 14px;
}

#home-page .home-side-news li {
  min-height: 36px;
}

#home-page .home-trust {
  gap: 18px;
  margin-top: 22px;
}

#home-page .home-trust div {
  min-height: 78px;
  padding: 17px 20px;
  border-color: #e8f1ed;
  background:
    linear-gradient(180deg, #fff 0%, #fbfffd 100%);
}

#home-page .home-trust i {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  color: #0da257;
  background: linear-gradient(135deg, #e4f8ef, #f6fffa);
  box-shadow:
    inset 0 0 0 1px rgba(16, 168, 91, .12),
    0 8px 18px rgba(16, 168, 91, .10);
}

@media (max-width: 1180px) {
  #home-page .home-hero__inner {
    grid-template-columns: minmax(390px, 500px) minmax(0, 1fr);
  }

  #home-page .home-layout {
    grid-template-columns: minmax(0, 1fr) 318px;
  }

  #home-page .home-channel {
    padding: 20px 18px;
  }
}

@media (max-width: 980px) {
  #home-page .home-hero__inner {
    grid-template-columns: 1fr;
    padding-bottom: 34px;
    text-align: center;
  }

  #home-page .home-hero__desc,
  #home-page .home-search {
    margin-left: auto;
    margin-right: auto;
  }

  #home-page .home-hero__art {
    justify-content: center;
  }

  #home-page .home-channels {
    margin-top: 16px;
  }

  #home-page .home-layout {
    grid-template-columns: 1fr;
  }

  #home-page .home-articles ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #home-page .home-articles li:nth-child(-n+3) {
    border-top: 1px dashed #e7ecef;
  }

  #home-page .home-articles li:nth-child(-n+2) {
    border-top: 0;
  }
}

@media (max-width: 720px) {
  #home-page .home-hero__inner {
    padding-bottom: 28px;
  }

  #home-page .home-hero h1 {
    font-size: 30px;
  }

  #home-page .home-channels {
    margin-top: 14px;
  }

  #home-page .home-channel {
    min-height: 92px;
  }

  #home-page .home-hot .home-icon-strip,
  #home-page .home-mini-grid,
  #home-page .home-cover-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #home-page .home-articles ul {
    grid-template-columns: 1fr;
    gap: 0;
    padding-inline: 16px;
  }

  #home-page .home-articles li:nth-child(-n+2) {
    border-top: 1px dashed #e7ecef;
  }

  #home-page .home-articles li:first-child {
    border-top: 0;
  }
}

/* ---------- Hero 实时统计行 ---------- */
.home-hero__stats {
  display: flex;
  gap: 28px;
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}

.home-hero__stats b {
  margin-right: 4px;
  font-size: 21px;
  font-weight: 700;
  color: var(--green-dark);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.home-live {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  vertical-align: 1px;
  border-radius: 50%;
  background: var(--green);
  animation: home-pulse 1.6s infinite;
}

@keyframes home-pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .45); }
  70% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* ---------- 最新更新底部按钮 ---------- */
.home-update-foot {
  margin-top: 14px;
  text-align: center;
}

.home-update-foot a {
  display: inline-block;
  padding: 8px 32px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 13px;
  transition: background-color .18s ease, color .18s ease;
}

.home-update-foot a:hover {
  background: var(--green);
  color: #fff;
}

/* ---------- 版本号徽章（等宽字体） ---------- */
.home-ver {
  flex-shrink: 0;
  margin-left: 7px;
  padding: 0 7px;
  border-radius: 5px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  vertical-align: 1px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .home-hero__stats { gap: 18px; }
  .home-hero__stats b { font-size: 17px; }
  .home-ver { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .home-live { animation: none; }
}

/* ---------- 手机应用 / 手机游戏：通栏左右双列 ---------- */
#home-page .home-section-head--amber h2::before {
  background: #f59e0b;
}

.home-mobile-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

#home-page .home-primary .home-mobile-duo {
  grid-column: 1 / -1;
  margin-top: 0;
}

.home-mobile-duo .home-mobile-row {
  min-width: 0;
}

#home-page .home-mobile-duo .home-mini-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .home-mobile-duo {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 18px;
  }
  #home-page .home-mobile-duo .home-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 2026-06-13 homepage data-source tune ---------- */
#home-page .home-update-list .home-comment {
  display: block;
  width: 100%;
  height: auto;
  line-height: 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #8a96a6;
  font-size: 12px;
  font-weight: 400;
}

#home-page .home-hot .home-icon-strip ul,
#home-page .home-game-focus .home-cover-row ul {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

#home-page .home-hot .home-icon-strip li,
#home-page .home-game-focus .home-cover-row li {
  min-width: 0;
  list-style: none;
}

#home-page .home-hot .home-icon-strip > li:nth-of-type(n+9),
#home-page .home-hot .home-icon-strip ul > li:nth-of-type(n+9) {
  display: none;
}

#home-page .home-hot .home-icon-strip li > a,
#home-page .home-hot .home-icon-strip > a {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #1f2937;
  text-align: center;
}

#home-page .home-hot .home-icon-strip li > a {
  height: 100%;
  align-content: start;
}

#home-page .home-hot .home-icon-strip img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
}

#home-page .home-hot .home-icon-strip span,
#home-page .home-hot .home-icon-strip p,
#home-page .home-hot .home-icon-strip em,
#home-page .home-hot .home-icon-strip strong,
#home-page .home-hot .home-icon-strip h3,
#home-page .home-hot .home-icon-strip .title {
  width: 100%;
  display: block;
  height: auto;
  max-height: 40px;
  margin: 0;
  overflow: hidden;
  color: #263241;
  font-size: 15px;
  line-height: 1.35;
  font-style: normal;
  font-weight: 700;
  white-space: normal;
}

#home-page .home-hot .home-icon-strip .ico {
  transition: transform .18s ease;
}

#home-page .home-hot .home-icon-strip a:hover .ico {
  transform: translateY(-3px);
}

#home-page .home-game-focus .home-cover-row > .wbox {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 !important;
  padding: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

#home-page .home-game-focus .home-cover-row .hd-th {
  display: none;
}

#home-page .home-game-focus .home-cover-row .side-gamelist {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#home-page .home-game-focus .home-cover-row .side-gamelist li:nth-of-type(n+5) {
  display: none;
}

#home-page .home-game-focus .home-cover-row .side-gamelist li {
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0;
}

#home-page .home-game-focus .home-cover-row li > a,
#home-page .home-game-focus .home-cover-row > a {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: #172033;
}

#home-page .home-game-focus .home-cover-row .side-gamelist a {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 10px;
  color: #172033;
}

#home-page .home-game-focus .home-cover-row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  object-fit: cover;
  background: #eef2f4;
}

#home-page .home-game-focus .home-cover-row .pic {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
}

#home-page .home-game-focus .home-cover-row strong,
#home-page .home-game-focus .home-cover-row span,
#home-page .home-game-focus .home-cover-row p,
#home-page .home-game-focus .home-cover-row .title {
  min-width: 0;
  display: block;
  margin: 0;
  overflow: hidden;
  color: #172033;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#home-page .home-game-focus .home-cover-row .mask {
  display: none;
}

#home-page .home-game-focus .home-cover-row a:hover .mask {
  display: none;
}

#home-page .home-game-focus .home-cover-row .mask .info {
  max-height: 38px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.55;
}

#home-page .home-game-focus .home-cover-row .mask .btn {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
}

#home-page .home-topic-body {
  display: grid;
  gap: 0;
  padding-top: 10px;
  padding-bottom: 12px;
}

#home-page .home-topic-card {
  min-height: 48px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0;
  border-top: 1px dashed #e7ecef;
  white-space: normal;
}

#home-page .home-topic-card:first-child {
  border-top: 0;
}

#home-page .home-topic-thumb {
  width: 64px;
  height: 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #0b9b54;
  border-radius: 8px;
  background: #e9f8f0;
  font-size: 13px;
  font-weight: 800;
}

#home-page .home-topic-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

#home-page .home-topic-info {
  min-width: 0;
  display: grid;
}

#home-page .home-topic-info strong,
#home-page .home-topic-count {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#home-page .home-topic-info strong {
  color: #172033;
  font-size: 14px;
  line-height: 18px;
}

#home-page .home-topic-count {
  justify-self: end;
  color: #8a95a3;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  text-align: right;
}

#home-page .home-side-news {
  display: none;
}

@media (max-width: 720px) {
  #home-page .home-update-list .home-comment {
    width: 100%;
    padding: 0;
  }

  #home-page .home-game-focus .home-cover-row .side-gamelist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

/* ---------- 2026-06-13 visual polish ---------- */
#home-page .home-hot .home-icon-strip {
  align-items: start;
}

#home-page .home-hot .home-icon-strip span,
#home-page .home-hot .home-icon-strip p,
#home-page .home-hot .home-icon-strip em,
#home-page .home-hot .home-icon-strip strong,
#home-page .home-hot .home-icon-strip h3,
#home-page .home-hot .home-icon-strip .title {
  max-height: 20px;
  color: #263241;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#home-page .home-update-list .home-comment {
  display: block;
  max-width: 100%;
  height: auto;
  line-height: 18px;
  background: transparent;
  color: #8a96a6;
  font-size: 12px;
  font-weight: 400;
}

#home-page .home-sidebar .home-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  box-sizing: border-box;
}

#home-page .home-sidebar .home-section-head h2 {
  min-width: 0;
  max-width: 100%;
  padding-right: 0;
}

#home-page .home-sidebar .home-section-head > a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  min-width: 48px;
  min-height: 0;
  width: auto;
  height: 22px;
  margin-left: 0;
  padding: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 22px;
  text-align: right;
  white-space: nowrap;
  transform: none;
  flex: none;
  gap: 0;
}

#home-page .home-game-focus .home-cover-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

#home-page .home-game-focus .home-game-card strong {
  font-weight: 500;
  text-align: center;
}

#home-page .home-game-focus .home-game-card small {
  color: #7d8998;
  text-align: center;
}

@media (max-width: 980px) {
  #home-page .home-game-focus .home-cover-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #home-page .home-game-focus .home-cover-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

/* ---------- 2026-06-13 homepage spacing tune ---------- */
#home-page .home-channels {
  margin-bottom: 0;
}

#home-page .home-channel {
  min-height: 104px;
  padding-top: 18px;
  padding-bottom: 18px;
}

#home-page .home-layout {
  gap: 18px;
  margin-top: 14px;
}

#home-page .home-primary,
#home-page .home-sidebar {
  gap: 14px;
}

#home-page .home-section-head {
  min-height: 52px;
}

#home-page .home-hot .home-icon-strip {
  padding-top: 14px;
  padding-bottom: 16px;
}

#home-page .home-update-list li {
  min-height: 66px;
}

#home-page .home-cover-row {
  gap: 18px;
  padding: 14px 18px 18px;
}

#home-page .home-game-focus .home-cover-row {
  gap: 20px;
  padding: 14px 18px 18px;
}

.home-mobile-duo,
#home-page .home-primary .home-mobile-duo {
  gap: 16px;
}

#home-page .home-mobile-row .home-mini-grid {
  padding-top: 14px;
  padding-bottom: 16px;
}

#home-page .home-sidebar .home-articles {
  margin-top: 0;
}

#home-page .home-sidebar .home-articles ul {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 4px 16px 14px;
}

#home-page .home-sidebar .home-articles li {
  min-height: 40px;
  grid-template-columns: minmax(0, 1fr) 42px;
}

#home-page .home-sidebar .home-articles li:nth-child(-n+3) {
  border-top: 1px dashed #e7ecef;
}

#home-page .home-sidebar .home-articles li:first-child {
  border-top: 0;
}

#home-page .home-sidebar .home-articles a {
  font-size: 13px;
}

#home-page .home-sidebar .home-articles span {
  height: 18px;
  margin-right: 6px;
  padding: 0 5px;
  font-size: 12px;
}

#home-page .home-sidebar .home-articles time {
  font-size: 12px;
}

#home-page .home-trust {
  margin-top: 18px;
}

/* ---------- 2026-06-13 homepage column alignment ---------- */
#home-page .home-layout {
  grid-template-columns: minmax(0, 1fr) 345px;
  justify-content: stretch;
  gap: 18px;
}

#home-page .home-primary,
#home-page .home-sidebar {
  min-width: 0;
}

#home-page .home-sidebar {
  width: 100%;
}

@media (max-width: 1180px) {
  #home-page .home-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
  }
}

@media (max-width: 980px) {
  #home-page .home-layout {
    grid-template-columns: 1fr;
  }
}

/* ---------- 2026-06-13 update footer spacing ---------- */
#home-page .home-updates .home-update-list {
  padding-bottom: 4px;
}

#home-page .home-updates .home-update-foot {
  margin-top: 2px;
  padding-bottom: 12px;
}

/* ---------- 2026-06-13 game focus six cards ---------- */
#home-page .home-game-focus .home-cover-row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  padding: 14px 18px 18px;
}

#home-page .home-game-focus .home-game-card {
  gap: 7px;
}

#home-page .home-game-focus .home-game-card img {
  aspect-ratio: 1.18 / 1;
}

#home-page .home-game-focus .home-game-card strong {
  font-size: 13px;
  line-height: 18px;
}

@media (max-width: 1180px) {
  #home-page .home-game-focus .home-cover-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  #home-page .home-game-focus .home-cover-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #home-page .home-game-focus .home-cover-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 2026-06-13 homepage V7 redesign ---------- */
#home-page {
  background: #f5faf8;
}

#home-page .home-v7 {
  padding-bottom: 28px;
}

#home-page .home-v7 .home-hero {
  padding: 22px 0 8px;
  background: linear-gradient(180deg, #f7fffb 0%, #f3fbf8 100%);
  border-bottom: 0;
}

#home-page .home-v7 .home-hero__inner {
  min-height: 260px;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  gap: 34px;
  padding: 34px 64px;
  overflow: hidden;
  border: 1px solid rgba(16, 168, 91, .10);
  border-radius: 8px;
  background:
    radial-gradient(circle at 58% 20%, rgba(34, 197, 94, .16), transparent 31%),
    linear-gradient(135deg, #fbfffd 0%, #eefbf5 100%);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .06);
}

#home-page .home-v7 .home-kicker {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 700;
}

#home-page .home-v7 .home-hero h1 {
  font-size: 38px;
  line-height: 1.22;
}

#home-page .home-v7 .home-hero__desc {
  max-width: 560px;
  margin: 14px 0 20px;
  color: #475569;
  font-size: 15px;
}

#home-page .home-v7 .home-search {
  height: 50px;
  box-shadow: 0 12px 28px rgba(12, 148, 84, .12);
}

#home-page .home-v7 .home-hotwords {
  gap: 8px;
  margin-top: 14px;
}

#home-page .home-v7 .home-hotwords a {
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  font-size: 12px;
}

#home-page .home-v7 .home-hero__stats {
  margin-top: 14px;
}

#home-page .home-v7 .home-hero__art img {
  width: min(100%, 500px);
}

#home-page .home-v7 > .container,
#home-page .home-v7 .home-v7-grid,
#home-page .home-v7 .home-mobile-duo,
#home-page .home-v7 .home-trust,
#home-page .home-v7 .home-friendlinks {
  margin-top: 18px;
}

#home-page .home-v7 .home-panel {
  border-color: #e8f0ed;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .045);
}

#home-page .home-v7 .home-section-head {
  min-height: 52px;
  padding: 0 18px;
}

#home-page .home-v7 .home-section-head h2 {
  font-size: 17px;
}

#home-page .home-v7 .home-section-head > a {
  color: #64748b;
}

#home-page .home-v7 .home-hot {
  margin-top: 18px;
}

#home-page .home-v7 .home-hot .home-icon-strip {
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 18px 18px;
}

#home-page .home-v7 .home-hot .home-icon-strip img {
  width: 54px;
  height: 54px;
}

#home-page .home-v7-grid {
  display: grid;
  gap: 18px;
}

#home-page .home-v7-grid--top {
  grid-template-columns: minmax(330px, .82fr) minmax(0, 1.58fr);
}

#home-page .home-v7-grid--showcase {
  grid-template-columns: minmax(0, 1fr) 345px;
}

#home-page .home-v7-grid--bottom {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

#home-page .home-editor-list {
  display: grid;
  margin: 0;
  padding: 4px 18px 14px;
  list-style: none;
}

#home-page .home-editor-list li {
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-top: 1px dashed #e7ecef;
}

#home-page .home-editor-list li:first-child {
  border-top: 0;
}

#home-page .home-editor-list a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #172033;
}

#home-page .home-editor-list img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 8px;
  object-fit: cover;
}

#home-page .home-editor-list span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

#home-page .home-editor-list strong,
#home-page .home-editor-list small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#home-page .home-editor-list strong {
  color: #111827;
  font-size: 14px;
}

#home-page .home-editor-list small {
  color: #8a96a6;
  font-size: 12px;
}

#home-page .home-editor-list em {
  height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: #0b8f50;
  border-radius: 6px;
  background: #e9f8f0;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

#home-page .home-v7 .home-update-list {
  padding: 4px 18px 12px;
}

#home-page .home-v7 .home-update-list li {
  min-height: 58px;
}

#home-page .home-v7 .home-update-list img {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}

#home-page .home-v7 .home-update-list strong {
  font-size: 14px;
}

#home-page .home-v7 .home-channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

#home-page .home-v7 .home-channel {
  min-height: 100px;
  padding: 20px 24px;
}

#home-page .home-v7 .home-channel__icon {
  width: 54px;
  height: 54px;
  flex-basis: 54px;
  border-radius: 12px;
}

#home-page .home-v7 .home-tools-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 18px 18px;
}

#home-page .home-v7 .home-tools-grid a {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #eef4f1;
  border-radius: 8px;
  background: #fbfefd;
  justify-content: center;
}

#home-page .home-v7 .home-game-focus .home-cover-row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  padding: 14px 18px 18px;
}

#home-page .home-v7 .home-game-focus .home-game-card {
  gap: 7px;
}

#home-page .home-v7 .home-game-focus .home-game-card img {
  aspect-ratio: 1.18 / 1;
}

#home-page .home-v7 .home-game-focus .home-game-card strong {
  font-size: 13px;
  line-height: 18px;
}

#home-page .home-v7 .home-rank ol {
  padding: 4px 16px 14px;
}

#home-page .home-v7 .home-rank li {
  min-height: 47px;
}

#home-page .home-v7 .home-mobile-duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#home-page .home-v7 .home-mobile-row .home-mini-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 18px 18px;
}

#home-page .home-v7 .home-topic-body {
  padding: 10px 18px 14px;
}

#home-page .home-v7 .home-topic-card {
  min-height: 48px;
}

#home-page .home-v7 .home-articles {
  margin-top: 0;
}

#home-page .home-v7 .home-articles ul {
  grid-template-columns: 1fr;
  padding: 6px 18px 14px;
}

#home-page .home-v7 .home-articles li {
  min-height: 40px;
}

#home-page .home-v7 .home-articles li:first-child {
  border-top: 0;
}

#home-page .home-v7 .home-trust {
  gap: 18px;
}

#home-page .home-v7 .home-trust div {
  min-height: 78px;
  background: linear-gradient(180deg, #fff 0%, #f8fffb 100%);
}

@media (max-width: 1180px) {
  #home-page .home-v7-grid--top,
  #home-page .home-v7-grid--showcase {
    grid-template-columns: 1fr;
  }

  #home-page .home-v7 .home-hot .home-icon-strip {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  #home-page .home-v7 .home-game-focus .home-cover-row,
  #home-page .home-v7 .home-mobile-row .home-mini-grid,
  #home-page .home-v7 .home-tools-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  #home-page .home-v7 .home-hero__inner {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  #home-page .home-v7-grid--bottom,
  #home-page .home-v7 .home-mobile-duo,
  #home-page .home-v7 .home-channels {
    grid-template-columns: 1fr;
  }

  #home-page .home-v7 .home-hot .home-icon-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #home-page .home-v7 .home-hero h1 {
    font-size: 28px;
  }

  #home-page .home-v7 .home-tabs-head {
    grid-template-columns: 1fr;
  }

  #home-page .home-v7 .home-game-focus .home-cover-row,
  #home-page .home-v7 .home-mobile-row .home-mini-grid,
  #home-page .home-v7 .home-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 2026-06-13 homepage V7 alignment fix ---------- */
#home-page .home-v7 .home-section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

#home-page .home-v7 .home-section-head h2 {
  min-width: 0;
}

#home-page .home-v7 .home-section-head > a {
  justify-self: end;
  width: auto;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 20px;
}

#home-page .home-v7 .home-tabs-head {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

#home-page .home-v7 .home-tabs {
  min-width: 0;
}

#home-page .home-v7 .home-panel {
  min-width: 0;
  overflow: hidden;
}

#home-page .home-v7-grid,
#home-page .home-v7 .home-mobile-duo,
#home-page .home-v7 .home-channels,
#home-page .home-v7 .home-hot .home-icon-strip,
#home-page .home-v7 .home-cover-row,
#home-page .home-v7 .home-mini-grid,
#home-page .home-v7 .home-tools-grid {
  min-width: 0;
}

#home-page .home-v7 .home-hot .home-icon-strip > *,
#home-page .home-v7 .home-cover-row > *,
#home-page .home-v7 .home-mini-grid > *,
#home-page .home-v7 .home-tools-grid > * {
  min-width: 0;
}

#home-page .home-v7 .home-tools .home-section-head {
  border-bottom: 1px solid #f1f5f4;
}

#home-page .home-v7 .home-tools .home-section-head > a {
  color: #64748b;
  font-size: 13px;
}

#home-page .home-v7 .home-tools-grid svg {
  width: 30px;
  height: 30px;
}

#home-page .home-v7 .home-hot .home-icon-strip > li:nth-of-type(n+9),
#home-page .home-v7 .home-hot .home-icon-strip ul > li:nth-of-type(n+9) {
  display: block;
}

#home-page .home-v7 .home-hot .home-icon-strip > li:nth-of-type(n+11),
#home-page .home-v7 .home-hot .home-icon-strip ul > li:nth-of-type(n+11) {
  display: none;
}

/* ---------- 2026-06-13 V7 top modules layout fix ---------- */
#home-page .home-v7-grid--top .home-editor,
#home-page .home-v7-grid--top .home-updates {
  grid-column: auto;
  min-width: 0;
}

#home-page .home-v7-grid--top .home-updates .home-section-head {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

#home-page .home-v7-grid--top .home-updates .home-tabs {
  display: none;
}

#home-page .home-v7-grid--top .home-update-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  padding: 6px 18px 16px;
}

#home-page .home-v7-grid--top .home-update-list li {
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 10px;
  min-height: 58px;
}

#home-page .home-v7-grid--top .home-update-list li:nth-child(-n+2) {
  border-top: 0;
}

#home-page .home-v7-grid--top .home-update-list li > a:first-child {
  gap: 10px;
}

#home-page .home-v7-grid--top .home-update-list img {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-radius: 7px;
}

#home-page .home-v7-grid--top .home-update-list strong {
  font-size: 13px;
  line-height: 18px;
}

#home-page .home-v7-grid--top .home-update-list small {
  font-size: 12px;
  line-height: 16px;
}

#home-page .home-v7-grid--top .home-update-list em,
#home-page .home-v7-grid--top .home-update-list .home-download-btn {
  display: none;
}

#home-page .home-v7-grid--top .home-update-list time {
  justify-self: end;
  color: #8a95a3;
  font-size: 12px;
}

#home-page .home-v7-grid--top .home-update-list time.is-today {
  color: #ef4444;
  font-weight: 600;
}

@media (max-width: 1180px) {
  #home-page .home-v7-grid--top .home-update-list {
    grid-template-columns: 1fr;
  }

  #home-page .home-v7-grid--top .home-update-list li:nth-child(2) {
    border-top: 1px dashed #e4e9ed;
  }
}

/* ---------- 2026-06-13 latest update badge list ---------- */
#home-page .home-v7-grid--top .home-v7-news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  margin: 0;
  padding: 8px 18px 16px;
  list-style: none;
}

#home-page .home-v7-grid--top .home-v7-news-list li {
  min-width: 0;
  min-height: 54px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  border-top: 1px dashed #e7ecef;
}

#home-page .home-v7-grid--top .home-v7-news-list li:nth-child(-n+2) {
  border-top: 0;
}

#home-page .home-news-badge {
  width: 34px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

#home-page .home-news-badge--soft {
  color: #0b9b54;
  background: #e9f8f0;
}

#home-page .home-news-badge--app {
  color: #ef4444;
  background: #fff1f2;
}

#home-page .home-news-badge--game {
  color: #f97316;
  background: #fff7ed;
}

#home-page .home-news-badge--article {
  color: #2563eb;
  background: #eff6ff;
}

#home-page .home-v7-grid--top .home-v7-news-list a {
  min-width: 0;
  display: grid;
  gap: 4px;
  color: #172033;
}

#home-page .home-v7-grid--top .home-v7-news-list strong,
#home-page .home-v7-grid--top .home-v7-news-list small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#home-page .home-v7-grid--top .home-v7-news-list strong {
  color: #111827;
  font-size: 13px;
  line-height: 17px;
}

#home-page .home-v7-grid--top .home-v7-news-list small {
  color: #8a96a6;
  font-size: 12px;
  line-height: 16px;
}

#home-page .home-v7-grid--top .home-v7-news-list time {
  justify-self: end;
  color: #8a95a3;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

#home-page .home-v7-grid--top .home-v7-news-list time.is-today {
  color: #ef4444;
  font-weight: 600;
}

@media (max-width: 1180px) {
  #home-page .home-v7-grid--top .home-v7-news-list {
    grid-template-columns: 1fr;
  }

  #home-page .home-v7-grid--top .home-v7-news-list li:nth-child(2) {
    border-top: 1px dashed #e7ecef;
  }
}

/* ---------- 2026-06-13 editor/latest reference layout ---------- */
#home-page .home-v7-grid--top .home-editor .home-section-head {
  grid-template-columns: auto minmax(0, 1fr);
}

#home-page .home-editor-tabs {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

#home-page .home-editor-tabs li {
  position: relative;
  color: #64748b;
  font-size: 13px;
  line-height: 52px;
  white-space: nowrap;
}

#home-page .home-editor-tabs li.is-active {
  color: #0b9b54;
  font-weight: 700;
}

#home-page .home-editor-tabs li.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: #12a85d;
}

#home-page .home-v7-grid--top .home-editor-list strong {
  font-size: 13px;
}

#home-page .home-v7-grid--top .home-editor-list small {
  line-height: 16px;
}

#home-page .home-v7-grid--top .home-editor-list em {
  height: 22px;
  padding: 0 8px;
  font-size: 12px;
}

#home-page .home-v7-grid--top .home-updates .home-section-head {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

#home-page .home-v7-grid--top .home-update-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  padding-top: 6px;
  padding-bottom: 14px;
}

#home-page .home-v7-grid--top .home-update-list li {
  min-height: 56px;
}

#home-page .home-v7-grid--top .home-update-list span {
  gap: 3px;
}

#home-page .home-v7-grid--top .home-update-list .home-comment {
  color: #8a96a6;
}

/* ---------- 2026-06-13 editor/latest same-row layout ---------- */
#home-page .home-v7-grid--top {
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
}

#home-page .home-v7-grid--top .home-editor {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#home-page .home-v7-grid--top .home-updates {
  width: 100%;
}

#home-page .home-v7-grid--top .home-editor .home-section-head {
  min-height: 52px;
  padding-right: 16px;
}

#home-page .home-v7-grid--top .home-editor-tabs {
  gap: 16px;
}

#home-page .home-v7-grid--top .home-editor-tabs li {
  line-height: 50px;
}

#home-page .home-v7-grid--top .home-editor-list {
  padding: 4px 16px 12px;
}

#home-page .home-v7-grid--top .home-editor-list li {
  min-height: 66px;
}

#home-page .home-v7-grid--top .home-editor-list img {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

#home-page .home-v7-grid--top .home-v7-news-list {
  padding: 8px 18px 14px;
}

@media (max-width: 980px) {
  #home-page .home-v7-grid--top {
    grid-template-columns: 1fr;
  }

  #home-page .home-v7-grid--top .home-editor {
    width: 100%;
  }
}

/* ---------- 2026-06-13 category-below reference layout ---------- */
#home-page .home-category-below {
  display: grid;
  gap: 18px;
}

#home-page .home-category-below--top {
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr) minmax(240px, 1fr);
}

#home-page .home-category-below--bottom {
  grid-template-columns: minmax(0, 1fr) 450px;
}

#home-page .home-recommend-games,
#home-page .home-download-card,
#home-page .home-topic-showcase,
#home-page .home-article-card {
  overflow: hidden;
}

#home-page .home-recommend-games {
  display: flex;
  flex-direction: column;
}

#home-page .home-recommend-game-row {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 14px 18px 18px;
}

#home-page .home-recommend-game-row a {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(130px, 1fr) 36px;
  gap: 8px;
  color: #172033;
  text-align: center;
}

#home-page .home-recommend-game-row img {
  width: 100%;
  height: 100%;
  min-height: 130px;
  aspect-ratio: 1.08 / 1;
  border-radius: 7px;
  object-fit: cover;
  background: #eef3f1;
}

#home-page .home-recommend-game-row strong {
  color: #172033;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#home-page .home-download-card ul,
#home-page .home-article-card ul {
  margin: 0;
  padding: 8px 16px 14px;
  list-style: none;
}

#home-page .home-download-card li {
  min-height: 47px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 60px;
  align-items: center;
  gap: 10px;
}

#home-page .home-download-card li + li {
  margin-top: 4px;
}

#home-page .home-download-card li > a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #172033;
}

#home-page .home-download-card img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 8px;
  object-fit: cover;
}

#home-page .home-download-card span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

#home-page .home-download-card strong,
#home-page .home-download-card small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#home-page .home-download-card strong {
  color: #172033;
  font-size: 13px;
  line-height: 17px;
}

#home-page .home-download-card small {
  color: #7b8a9d;
  font-size: 12px;
  line-height: 16px;
}

#home-page .home-download-card em,
#home-page .home-download-card .home-dl-link {
  flex-shrink: 0;
  height: 24px;
  padding: 0 12px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #12a85d;
  border: 1px solid #9be3ba;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

#home-page .home-download-card .home-dl-link:hover {
  color: #fff;
  background: #18a058;
  border-color: #18a058;
}

#home-page .home-topic-tile-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  padding: 14px 18px 18px;
}

#home-page .home-topic-tile-row a {
  min-width: 0;
  display: grid;
  align-content: start;
  grid-template-rows: auto 18px;
  gap: 7px;
  justify-items: center;
  color: #172033;
  text-align: center;
}

#home-page .home-topic-tile-row span {
  width: 100%;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b9b54;
  border: 1px solid #eef3f1;
  border-radius: 8px;
  background: #fbfdfc;
  font-size: 20px;
  font-weight: 700;
}

#home-page .home-topic-tile-row img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

#home-page .home-topic-tile-row strong,
#home-page .home-topic-tile-row small {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#home-page .home-topic-tile-row strong {
  color: #172033;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
}

#home-page .home-topic-tile-row small {
  color: #7b8a9d;
  font-size: 12px;
  line-height: 16px;
}

#home-page .home-article-card li {
  min-height: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
}

#home-page .home-article-card a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #172033;
}

#home-page .home-article-card span {
  height: 20px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 12px;
}

#home-page .home-article-card .home-article-badge--news {
  color: #0b9b54;
  background: #e9f8f0;
}

#home-page .home-article-card .home-article-badge--game {
  color: #e36a00;
  background: #fff3e3;
}

#home-page .home-article-card .home-article-badge--android {
  color: #1684d8;
  background: #edf7ff;
}

#home-page .home-article-card .home-article-badge--soft {
  color: #7661d8;
  background: #f2efff;
}

#home-page .home-article-card .home-article-badge--tips {
  color: #0f8f9e;
  background: #e9fbfd;
}

#home-page .home-article-card .home-article-badge--default {
  color: #64748b;
  background: #f1f5f9;
}

#home-page .home-article-card strong {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#home-page .home-article-card time {
  justify-self: end;
  color: #7b8a9d;
  font-size: 12px;
  white-space: nowrap;
}

#home-page .home-article-card time.is-today {
  color: #ef2b2b;
  font-weight: 500;
}

@media (max-width: 1180px) {
  #home-page .home-category-below--top,
  #home-page .home-category-below--bottom {
    grid-template-columns: 1fr;
  }

  #home-page .home-recommend-game-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #home-page .home-recommend-game-row,
  #home-page .home-topic-tile-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 2026-06-13 homepage spacing final pass ---------- */
#home-page .home-main {
  padding-top: 0;
}

#home-page .home-v7 .home-hero {
  padding: 14px 0 12px;
}

#home-page .home-v7 .home-hero__inner {
  min-height: 0;
  padding: 28px 58px 26px;
}

#home-page .home-v7 .home-hero__copy {
  gap: 14px;
}

#home-page .home-v7 .home-kicker {
  margin-bottom: 0;
}

#home-page .home-v7 .home-search {
  margin-top: 2px;
  width: min(500px, 100%);
}

#home-page .home-v7 .home-hotwords {
  margin-top: 10px;
}

#home-page .home-v7 .home-hero__stats {
  margin-top: 6px;
}

#home-page .home-v7 .home-hero__art img {
  width: min(100%, 480px);
}

#home-page .home-v7 .home-panel,
#home-page .home-category-below,
#home-page .home-v7-grid {
  margin-top: 14px;
}

#home-page .home-v7 .home-hot {
  margin-top: 14px;
}

#home-page .home-v7 .home-section-head {
  min-height: 48px;
}

#home-page .home-v7 .home-hot .home-icon-strip {
  padding-top: 14px;
  padding-bottom: 16px;
}

#home-page .home-v7-grid--top,
#home-page .home-category-below {
  gap: 14px;
}

@media (max-width: 980px) {
  #home-page .home-v7 .home-hero__inner {
    padding: 26px 24px;
  }
}

@media (max-width: 640px) {
  #home-page .home-v7 .home-hero {
    padding: 10px 0;
  }

  #home-page .home-v7 .home-hero__inner {
    gap: 12px;
    padding: 24px 16px 18px;
  }

  #home-page .home-v7 .home-hero__stats {
    margin-top: 4px;
  }

  #home-page .home-v7 .home-hero__art {
    margin-top: -2px;
  }

  #home-page .home-v7 .home-hero__art img {
    width: min(100%, 350px);
  }
}

/* ---------- 2026-06-13 homepage vertical rhythm unify ---------- */
#home-page .home-v7 {
  --home-section-gap: 12px;
}

#home-page .home-v7 > .container,
#home-page .home-v7 > .home-v7-grid,
#home-page .home-v7 > .home-category-below,
#home-page .home-v7 > .home-trust,
#home-page .home-v7 > .home-friendlinks {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#home-page .home-v7 > .home-hero + .container,
#home-page .home-v7 > .home-hero + .home-v7-grid,
#home-page .home-v7 > .home-hero + .home-category-below,
#home-page .home-v7 > .home-hero + .home-trust,
#home-page .home-v7 > .home-hero + .home-friendlinks,
#home-page .home-v7 > .container + .container,
#home-page .home-v7 > .container + .home-v7-grid,
#home-page .home-v7 > .container + .home-category-below,
#home-page .home-v7 > .container + .home-trust,
#home-page .home-v7 > .container + .home-friendlinks,
#home-page .home-v7 > .home-v7-grid + .container,
#home-page .home-v7 > .home-v7-grid + .home-category-below,
#home-page .home-v7 > .home-v7-grid + .home-trust,
#home-page .home-v7 > .home-category-below + .container,
#home-page .home-v7 > .home-category-below + .home-category-below,
#home-page .home-v7 > .home-category-below + .home-trust,
#home-page .home-v7 > .home-trust + .home-friendlinks {
  margin-top: var(--home-section-gap) !important;
}

#home-page .home-v7 .home-section-head {
  min-height: 46px;
}

#home-page .home-v7 .home-hot .home-icon-strip,
#home-page .home-v7 .home-tools-grid,
#home-page .home-recommend-game-row,
#home-page .home-topic-tile-row {
  padding-top: 12px;
  padding-bottom: 14px;
}

#home-page .home-download-card ul,
#home-page .home-article-card ul {
  padding-top: 6px;
  padding-bottom: 12px;
}

#home-page .home-trust {
  gap: 12px;
}

#home-page .home-friendlinks {
  margin-bottom: 0 !important;
}

@media (max-width: 640px) {
  #home-page .home-v7 {
    --home-section-gap: 10px;
  }

  #home-page .home-v7 .home-hot .home-icon-strip,
  #home-page .home-v7 .home-tools-grid,
  #home-page .home-recommend-game-row,
  #home-page .home-topic-tile-row {
    padding-top: 10px;
    padding-bottom: 12px;
  }
}

/* ---------- 2026-06-13 homepage compact rhythm adjustment ---------- */
#home-page .home-v7 {
  --home-section-gap: 8px;
}

#home-page .home-v7 .home-section-head {
  min-height: 44px;
}

#home-page .home-v7 .home-hot .home-icon-strip {
  padding: 10px 18px 10px;
}

#home-page .home-v7 .home-tools-grid {
  padding: 10px 18px 10px;
}

#home-page .home-v7 .home-tools-grid a {
  min-height: 74px;
}

#home-page .home-recommend-game-row,
#home-page .home-topic-tile-row {
  padding-top: 10px;
  padding-bottom: 10px;
}

#home-page .home-download-card ul,
#home-page .home-article-card ul {
  padding-top: 4px;
  padding-bottom: 10px;
}

#home-page .home-trust div {
  min-height: 74px;
  padding-top: 14px;
  padding-bottom: 14px;
}

#home-page .home-friendlinks .home-section-head {
  min-height: 42px;
}

#home-page .home-friendlinks > div:last-child {
  padding-bottom: 10px;
}

@media (max-width: 640px) {
  #home-page .home-v7 {
    --home-section-gap: 6px;
  }

  #home-page .home-v7 .home-hot .home-icon-strip,
  #home-page .home-v7 .home-tools-grid,
  #home-page .home-recommend-game-row,
  #home-page .home-topic-tile-row {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

/* ---------- 2026-06-13 homepage final gap tightening ---------- */
#home-page .home-main {
  padding-bottom: 0 !important;
}

#home-page .home-v7 {
  --home-section-gap: 6px;
}

#home-page .home-v7 > * + * {
  margin-top: var(--home-section-gap) !important;
}

#home-page .home-v7 .home-hot .home-icon-strip {
  padding-bottom: 8px;
}

#home-page .home-category-below {
  gap: 10px;
}

#home-page .home-recommend-game-row,
#home-page .home-topic-tile-row {
  padding-top: 8px;
  padding-bottom: 8px;
}

#home-page .home-trust {
  gap: 10px;
}

#home-page .home-friendlinks {
  margin-bottom: 0 !important;
}

#home-page .site-footer {
  margin-top: 0 !important;
}

/* ---------- 2026-06-13 homepage equal gap lock ---------- */
#home-page .home-main.home-v7 {
  --home-section-gap: 10px;
  display: flex;
  flex-direction: column;
  row-gap: var(--home-section-gap);
  padding-bottom: var(--home-section-gap) !important;
}

#home-page .home-main.home-v7 > .home-hero,
#home-page .home-main.home-v7 > .container,
#home-page .home-main.home-v7 > .home-v7-grid,
#home-page .home-main.home-v7 > .home-category-below,
#home-page .home-main.home-v7 > .home-trust,
#home-page .home-main.home-v7 > .home-friendlinks {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#home-page .home-main.home-v7 > * + * {
  margin-top: 0 !important;
}

#home-page .home-main.home-v7 .home-category-below {
  gap: 10px;
}

#home-page .home-main.home-v7 .home-friendlinks > div:last-child {
  padding-bottom: 10px;
}

@media (max-width: 640px) {
  #home-page .home-main.home-v7 {
    --home-section-gap: 8px;
  }
}

/* ---------- 2026-06-13 friendlinks visual polish ---------- */
#home-page .home-main.home-v7 .home-friendlinks > div:last-child {
  gap: 8px 10px;
  padding: 0 18px 12px;
}

#home-page .home-main.home-v7 .home-friendlinks a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #53657a;
  border: 1px solid #e6eee9;
  border-radius: 999px;
  background: #fbfefd;
  font-size: 13px;
  line-height: 28px;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

#home-page .home-main.home-v7 .home-friendlinks a:hover {
  color: #079653;
  border-color: #a9e6c4;
  background: #f0fbf5;
}

/* ---------- 2026-06-13 friendlinks plain text restore ---------- */
#home-page .home-main.home-v7 .home-friendlinks > div:last-child {
  min-height: 42px;
  align-items: center;
  gap: 0 18px;
  padding: 0 18px;
}

#home-page .home-main.home-v7 .home-friendlinks a {
  min-height: 0;
  padding: 0;
  color: #64748b;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  line-height: 42px;
}

#home-page .home-main.home-v7 .home-friendlinks a:hover {
  color: #0b9b54;
  background: transparent;
}

/* ---------- 2026-06-13 latest list title icons ---------- */
#home-page .home-v7-grid--top .home-v7-news-list a {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

#home-page .home-v7-grid--top .home-v7-news-list .home-news-ico {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  object-fit: cover;
  background: #f3f7f5;
}

#home-page .home-v7-grid--top .home-v7-news-list .home-news-text {
  min-width: 0;
  display: grid;
  gap: 2px;
}

/* ---------- 2026-06-13 hero compact height ---------- */
#home-page .home-main.home-v7 .home-hero {
  padding: 10px 0 6px;
}

#home-page .home-main.home-v7 .home-hero__inner {
  min-height: 238px;
  padding: 22px 56px 20px;
  gap: 28px;
}

#home-page .home-main.home-v7 .home-kicker {
  margin-bottom: 4px;
  font-size: 16px;
}

#home-page .home-main.home-v7 .home-hero h1 {
  font-size: 36px;
  line-height: 1.18;
}

#home-page .home-main.home-v7 .home-hero__desc {
  margin: 10px 0 14px;
}

#home-page .home-main.home-v7 .home-search {
  height: 48px;
}

#home-page .home-main.home-v7 .home-hotwords {
  margin-top: 8px;
}

#home-page .home-main.home-v7 .home-hero__stats {
  margin-top: 6px;
}

#home-page .home-main.home-v7 .home-hero__art img {
  width: min(100%, 450px);
}

@media (max-width: 980px) {
  #home-page .home-main.home-v7 .home-hero__inner {
    min-height: 0;
    padding: 22px 24px 18px;
  }
}

@media (max-width: 640px) {
  #home-page .home-main.home-v7 .home-hero {
    padding: 8px 0 4px;
  }

  #home-page .home-main.home-v7 .home-hero__inner {
    padding: 20px 16px 16px;
  }

  #home-page .home-main.home-v7 .home-hero h1 {
    font-size: 28px;
  }

#home-page .home-main.home-v7 .home-hero__art img {
    width: min(100%, 320px);
  }
}

/* ---------- 2026-06-13 latest list height fill ---------- */
#home-page .home-v7-grid--top .home-v7-news-list {
  padding-bottom: 8px;
}

#home-page .home-v7-grid--top .home-v7-news-list li {
  min-height: 59px;
}

#home-page .home-v7-grid--top .home-v7-news-list a {
  min-height: 42px;
}

/* ---------- 2026-06-13 homepage visual gap consistency ---------- */
#home-page .home-main.home-v7 {
  --home-section-gap: 10px;
  --home-head-height: 42px;
  --home-content-pad-y: 10px;
}

#home-page .home-main.home-v7 .home-section-head {
  min-height: var(--home-head-height);
  padding-top: 0;
  padding-bottom: 0;
}

#home-page .home-main.home-v7 .home-editor-list,
#home-page .home-main.home-v7 .home-v7-news-list,
#home-page .home-main.home-v7 .home-tools-grid,
#home-page .home-main.home-v7 .home-recommend-game-row,
#home-page .home-main.home-v7 .home-topic-tile-row,
#home-page .home-main.home-v7 .home-download-card ul,
#home-page .home-main.home-v7 .home-article-card ul {
  padding-top: var(--home-content-pad-y);
  padding-bottom: var(--home-content-pad-y);
}

#home-page .home-main.home-v7 .home-category-below {
  gap: var(--home-section-gap);
}

#home-page .home-main.home-v7 .home-trust {
  gap: var(--home-section-gap);
}

#home-page .home-main.home-v7 .home-friendlinks > div:last-child {
  min-height: var(--home-head-height);
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 640px) {
  #home-page .home-main.home-v7 {
    --home-section-gap: 8px;
    --home-head-height: 40px;
    --home-content-pad-y: 8px;
  }
}

/* ---------- 2026-06-13 homepage strict visual gap equalize ---------- */
#home-page .home-main.home-v7 {
  --home-section-gap: 8px;
  --home-head-height: 40px;
  --home-content-pad-y: 8px;
  row-gap: var(--home-section-gap) !important;
}

#home-page .home-main.home-v7 > .home-v7-grid,
#home-page .home-main.home-v7 > .home-tools,
#home-page .home-main.home-v7 > .home-category-below,
#home-page .home-main.home-v7 > .home-trust,
#home-page .home-main.home-v7 > .home-friendlinks {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#home-page .home-main.home-v7 .home-section-head {
  min-height: var(--home-head-height) !important;
}

#home-page .home-main.home-v7 .home-editor-list,
#home-page .home-main.home-v7 .home-v7-news-list,
#home-page .home-main.home-v7 .home-tools-grid,
#home-page .home-main.home-v7 .home-recommend-game-row,
#home-page .home-main.home-v7 .home-topic-tile-row,
#home-page .home-main.home-v7 .home-download-card ul,
#home-page .home-main.home-v7 .home-article-card ul {
  padding-top: var(--home-content-pad-y) !important;
  padding-bottom: var(--home-content-pad-y) !important;
}

#home-page .home-main.home-v7 .home-v7-news-list li {
  min-height: 66px;
}

#home-page .home-main.home-v7 .home-v7-news-list a {
  min-height: 48px;
}

#home-page .home-main.home-v7 .home-tools-grid a {
  min-height: 70px;
}

#home-page .home-main.home-v7 .home-category-below,
#home-page .home-main.home-v7 .home-trust {
  gap: var(--home-section-gap) !important;
}

@media (max-width: 640px) {
  #home-page .home-main.home-v7 {
    --home-section-gap: 6px;
    --home-head-height: 38px;
    --home-content-pad-y: 6px;
  }
}

/* ========== 2026-08-15 homepage restructure: updates-first layout ========== */
/* hero 压缩：回头客高频访问，门面区不占满首屏，让更新流在折线上露头 */
#home-page .home-main.home-v7 .home-hero__inner {
  min-height: 0;
  padding-top: 18px;
  padding-bottom: 16px;
}

#home-page .home-main.home-v7 .home-hero__art img {
  width: min(100%, 390px);
}

/* hero 统计：今日/本周可点击跳到更新流；外观与「资源总数」保持一致，只在悬停时提示可点 */
#home-page .home-hero__stats a {
  display: inline-flex;
  align-items: baseline;
  color: inherit;
}

#home-page .home-hero__stats a:hover {
  color: #0b9b54;
}

#home-page .home-hero__stats a:hover b {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* 热词行：「热门：」标签与热词列表分两栏。热词在自己的列表里换行，第二行对齐到第一个胶囊下方（悬挂缩进），
   不会再从标签下面开始排。后台区块输出的 .hot-link 用 display:contents 摊平进列表，与装机必备同排、逐个换行 */
#home-page .home-hotwords {
  flex-wrap: nowrap;
  align-items: flex-start;
}

#home-page .home-hotwords__label {
  flex: none;
  line-height: 26px; /* 与胶囊同高，标签文字和第一行胶囊垂直居中对齐 */
}

#home-page .home-hotwords__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

#home-page .home-hotwords .hot-link {
  display: contents;
}

/* 装机必备：与普通热词同尺寸，只用浅绿底色区分。
   选择器需带 .home-v7 和 a，优先级才能高过通用热词胶囊规则（#home-page .home-v7 .home-hotwords a） */
#home-page .home-v7 .home-hotwords a.home-hotpin {
  flex: none;
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #e8f7ee;
  border: 1px solid #86d9a8;
  color: #15803d;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

#home-page .home-v7 .home-hotwords a.home-hotpin:hover {
  background: #10a85b;
  border-color: #10a85b;
  color: #fff;
}

/* 首屏「搜索优先」居中布局（2026-10-23 方案 B）：去掉右侧装饰插画，标题、说明、搜索框、热词、统计全部居中。
   只作用于 641px 以上；手机端保持原有的左对齐单列排版。 */
@media (min-width: 641px) {
  #home-page .home-main.home-v7 .home-hero__inner {
    display: block;
    min-height: 0;
    padding: 30px 24px 26px;
    text-align: center;
  }

  #home-page .home-main.home-v7 .home-hero__copy {
    max-width: 760px;
    margin: 0 auto;
  }

  #home-page .home-main.home-v7 .home-hero__desc {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  #home-page .home-main.home-v7 .home-search {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  #home-page .home-main.home-v7 .home-hotwords,
  #home-page .home-main.home-v7 .home-hotwords__list,
  #home-page .home-main.home-v7 .home-hero__stats {
    justify-content: center;
  }
}

/* 最新更新：首位板块，双列，按日分组，可筛选 */
#home-page .home-latest .home-section-head {
  flex-wrap: wrap;
}

#home-page .home-lu-filter {
  display: flex;
  gap: 8px;
  margin-left: 14px;
}

#home-page .home-lu-filter a {
  border: 1px solid #dbe3ea;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.7;
  border-radius: 99px;
  padding: 1px 12px;
}

#home-page .home-lu-filter a:hover {
  border-color: #10a85b;
  color: #0b9b54;
}

#home-page .home-lu-filter a.is-on {
  background: #10a85b;
  border-color: #10a85b;
  color: #fff;
}

#home-page .home-lu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  padding: 2px 20px 12px;
}

#home-page .home-lu-day {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

#home-page .home-lu-day .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  flex: none;
}

#home-page .home-lu-day.is-today .dot {
  background: #10a85b;
  box-shadow: 0 0 0 4px rgba(16, 168, 91, .15);
}

#home-page .home-lu-day em {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: #94a3b8;
}

#home-page .home-lu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 0;
  border-bottom: 1px dashed #eef1f4;
  font-size: 13px;
}

#home-page .home-lu-item > a {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  color: #172033;
}

#home-page .home-lu-item:hover strong {
  color: #0b9b54;
}

#home-page .home-lu-item .home-news-ico {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex: none;
}

#home-page .home-lu-item strong {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 38%;
}

#home-page .home-lu-item small {
  flex: none;
  min-width: 0;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#home-page .home-lu-item .home-lu-desc {
  flex: 1;
  min-width: 0;
  color: #b3bcc8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1100px) {
  #home-page .home-lu-item strong {
    max-width: 62%;
  }

  #home-page .home-lu-item small {
    flex: 1;
  }

  #home-page .home-lu-item .home-lu-desc {
    display: none;
  }
}

#home-page .home-lu-item time {
  flex: none;
  font-size: 12px;
  color: #94a3b8;
}

#home-page .home-lu-item time.is-today {
  color: #dc2626;
}

#home-page .home-lu-more {
  grid-column: 1 / -1;
  text-align: center;
  padding: 12px 0 2px;
}

#home-page .home-lu-more a {
  display: inline-block;
  font-size: 13px;
  color: #0b9b54;
  border: 1px solid #bfe8cd;
  background: #f2fbf5;
  border-radius: 99px;
  padding: 5px 28px;
}

#home-page .home-lu-more a:hover {
  background: #10a85b;
  border-color: #10a85b;
  color: #fff;
}

/* 编辑推荐 + 文章教程：等宽双列（原 grid 为编辑推荐窄列设计） */
#home-page .home-v7-grid--top {
  grid-template-columns: 1fr 1fr;
}

/* 全部分类：SEO 内链层，低调紧凑 */
#home-page .home-catlinks .home-catlinks-body {
  padding: 4px 20px 12px;
}

#home-page .home-catlinks .row {
  display: flex;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px dashed #eef1f4;
  font-size: 13px;
  line-height: 2;
}

#home-page .home-catlinks .row:last-child {
  border-bottom: 0;
}

#home-page .home-catlinks .row > b {
  flex: none;
  min-width: 76px;
  color: #374151;
  font-weight: 600;
}

#home-page .home-catlinks .row > b a {
  color: inherit;
}

#home-page .home-catlinks .links {
  flex: 1;
  min-width: 0;
}

#home-page .home-catlinks .links a {
  display: inline-block;
  margin-right: 18px;
  color: #6b7280;
  white-space: nowrap;
}

#home-page .home-catlinks a:hover {
  color: #0b9b54;
}

/* 信任背书：一行小字（替代原 home-trust 四格卡片） */
#home-page .home-trustline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: space-around;
  align-items: center;
  padding: 13px 18px;
  font-size: 13px;
  color: #64748b;
  background: #fff;
  border: 1px solid #ecf0f3;
  border-radius: 12px;
}

#home-page .home-trustline span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#home-page .home-trustline svg {
  width: 18px;
  height: 18px;
  color: #10a85b;
  flex: none;
}

#home-page .home-trustline b {
  color: #334155;
  font-weight: 600;
  margin-right: 2px;
}

#home-page .home-trustline small {
  font-size: inherit;
  color: inherit;
}

@media (max-width: 900px) {
  #home-page .home-v7-grid--top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  #home-page .home-lu-grid {
    grid-template-columns: 1fr;
  }

  #home-page .home-lu-filter {
    display: none;
  }

  #home-page .home-lu-item strong {
    max-width: 56%;
  }

  #home-page .home-trustline {
    justify-content: flex-start;
    gap: 8px 22px;
  }
}

/* 2026-08-15b：更新流多视图切换（每个类型独立列表，JS 切换 hide） */
#home-page .home-lu-grid.hide {
  display: none;
}

/* 2026-08-15c：更新流视图切换滑入动画（尊重减少动态偏好） */
@keyframes homeLuSlideIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

#home-page .home-lu-grid.luin {
  animation: homeLuSlideIn .28s ease;
}

@media (prefers-reduced-motion: reduce) {
  #home-page .home-lu-grid.luin {
    animation: none;
  }
}

/* 首页移动端：精彩主题 6 项 3 列 2 行；全部分类紧凑展示 */
@media (max-width: 640px) {
  #home-page .home-topic-tile-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 8px;
  }

  #home-page .home-topic-tile-row span {
    height: 72px;
    font-size: 18px;
  }

  #home-page .home-topic-tile-row strong {
    font-size: 12.5px;
    line-height: 16px;
  }

  #home-page .home-catlinks .home-catlinks-body {
    padding: 2px 14px 10px;
  }

  #home-page .home-catlinks .row {
    display: block;
    padding: 9px 0 8px;
    font-size: 12.5px;
    line-height: 1.5;
  }

  #home-page .home-catlinks .row > b {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-bottom: 6px;
    color: #2f3d35;
    font-size: 13px;
  }

  #home-page .home-catlinks .row > b::before {
    content: "";
    width: 3px;
    height: 12px;
    flex: none;
    border-radius: 2px;
    background: #16a34a;
  }

  #home-page .home-catlinks .links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px 6px;
  }

  #home-page .home-catlinks .links a {
    display: block;
    overflow: hidden;
    margin-right: 0;
    padding: 4px 2px;
    color: #5f6f65;
    background: #f6f9f7;
    border-radius: 6px;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  /* 信任背书：保持四行，一行一项，统一图标/字号/行距 */
  #home-page .home-trustline {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 2px 16px;
    font-size: 12.5px;
  }

  #home-page .home-trustline span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 0;
    background: transparent;
    border-radius: 0;
    border-bottom: 1px dashed #eef1f4;
    line-height: 1.5;
  }

  #home-page .home-trustline span:last-child {
    border-bottom: 0;
  }

  #home-page .home-trustline svg {
    width: 17px;
    height: 17px;
  }

  #home-page .home-trustline b {
    margin: 0;
    color: #2f3d35;
    font-size: 13px;
    flex: none;
  }

  #home-page .home-trustline small {
    color: #7b8a80;
    font-size: 12.5px;
    line-height: 1.5;
  }
}
