#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(5, minmax(0, 1fr));
  gap: 18px;
  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);
  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;
  display: grid;
  gap: 2px;
}

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

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

.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-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: 10px;
}

#home-page .home-topic-card {
  min-height: 72px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  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: 68px;
  height: 46px;
  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;
  gap: 2px;
}

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

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

#home-page .home-topic-info em {
  color: #0b9b54;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

#home-page .home-topic-info small {
  color: #8a95a3;
  font-size: 12px;
}

#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;
  }
}
