:root {
  --brand: #F14A25;
  --brand-soft: #fff0ec;
  --ink: #202124;
  --muted: #8d949e;
  --line: #eeeeee;
  --blue: #2b7df0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

button {
  font: inherit;
}

.qm-page {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100svh;
  margin: 0 auto;
  overflow-x: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  display: none;
}

.page-title {
  margin: 0 0 8px;
  color: #202124;
  font-size: 18px;
  line-height: 26px;
  display: none;
}

.seo-intro {
  margin: 0 0 10px;
  color: #6f7680;
  font-size: 12px;
  line-height: 20px;
  display: none;
}

.page-scroll {
  min-height: 0;
  flex: 1 0 auto;
  padding: 0 20px;
  background: #ffffff;
}

.page-scroll.detail {
  padding-bottom: 28px;
}

.mini-game-detail {
  min-height: 0;
}

.topic-page {
  min-height: 0;
  flex: 1 0 auto;
  background: #ffffff;
}

.topic-directory-page {
  padding-top: 0;
  padding-bottom: 36px;
}

.topic-directory-content {
  padding-top: 16px;
}

.topic-directory-page .breadcrumb {
  display: flex;
  margin: 0 0 24px;
  font-size: 12px;
  line-height: 17px;
}

.topic-directory-section {
  min-height: 0;
  margin-bottom: 32px;
}

.topic-directory-heading {
  display: flex;
  min-height: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.topic-directory-heading h2 {
  margin: 0;
  color: #202124;
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
}

.topic-directory-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.topic-directory-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 0;
  color: #8d8d8d;
  font-size: 14px;
  line-height: 20px;
}

.topic-directory-pagination a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border-radius: 18px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--brand);
  text-decoration: none;
}

.topic-directory-card.home-topic-card {
  height: 175px;
  border-radius: 13px;
  padding: 30px 16px;
  transition: opacity 180ms ease;
}

.topic-directory-card.is-refreshing {
  opacity: 0.45;
}

.topic-directory-card.is-live-added {
  animation: topic-card-live-in 220ms ease both;
}

@keyframes topic-card-live-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .topic-directory-card.home-topic-card {
    transition: none;
  }

  .topic-directory-card.is-live-added {
    animation: none;
  }
}

.topic-directory-card.home-topic-card strong {
  max-width: 200px;
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
}

.topic-directory-card .home-topic-icons {
  top: 88px;
  right: 16px;
  bottom: auto;
  left: 16px;
  gap: 10px;
}

.topic-directory-card .home-topic-icons img {
  flex-basis: 42px;
  width: 42px;
  height: 42px;
  border-radius: 9px;
}

.topic-directory-item {
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 10px;
  padding: 0 16px;
  color: #34383e;
  background: #f6f6f8;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.38px;
  line-height: 100%;
  text-decoration: none;
}

.topic-directory-item span {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-directory-item small {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  color: var(--brand);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.38px;
  line-height: 100%;
}

.topic-directory-item small b {
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.topic-page-content {
  padding: 20px 28px 36px;
}

.topic-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.topic-app-info {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.topic-app-info strong {
  overflow: hidden;
  color: #2d3136;
  font-size: 21px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-app-icon {
  position: relative;
  display: grid;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  color: #ffffff;
  background: #ca3842;
  font-size: 28px;
  font-weight: 800;
}

.topic-app-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-download-btn {
  flex: 0 0 auto;
  min-height: 44px;
  border: 0;
  border-radius: 24px;
  padding: 0 17px;
  color: #ffffff;
  background: var(--brand);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.topic-title {
  margin: 0 0 8px;
  color: #272b30;
  font-size: 24px;
  line-height: 1.36;
  letter-spacing: 0.01em;
}

.topic-intro,
.topic-section p,
.topic-disclaimer {
  margin: 0;
  color: #666b72;
  font-size: 17px;
  line-height: 1.55;
}

.topic-intro {
  margin-bottom: 4px;
}

.topic-content {
  margin-top: 2px;
}

.topic-section {
  margin-top: 4px;
}

.topic-section h2 {
  margin: 0;
  color: #555b63;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  text-indent: 2em;
}

.topic-section p {
  text-indent: 2em;
}

.topic-disclaimer {
  margin-top: 8px;
  text-indent: 2em;
}

.topic-subject-page .breadcrumb {
  margin: -4px 0 14px;
}

.topic-subject-page .topic-title {
  margin-bottom: 8px;
}

.topic-subject-page .topic-intro {
  margin-bottom: 22px;
}

.topic-subject-list {
  display: grid;
  gap: 24px;
}

.topic-subject-card {
  padding-bottom: 24px;
  border-bottom: 1px solid #eeeeee;
}

.topic-subject-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.topic-subject-app {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.topic-subject-app-copy {
  min-width: 0;
}

.topic-subject-app-copy h2 {
  overflow: hidden;
  margin: 0 0 2px;
  color: #30343a;
  font-size: 18px;
  line-height: 26px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-subject-app-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #8c9199;
  font-size: 13px;
  line-height: 19px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.topic-subject-app-copy > span {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 8px;
  border-radius: 3px;
  color: #8c9199;
  background: #f4f4f5;
  font-size: 11px;
  line-height: 18px;
}

.topic-subject-card .topic-download-btn {
  width: 100%;
  margin-top: 14px;
  min-height: 54px;
  font-size: 15px;
}

.topic-subject-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.topic-subject-tags::-webkit-scrollbar {
  display: none;
}

.topic-subject-tags span {
  flex: 0 0 auto;
  max-width: 42%;
  overflow: hidden;
  padding: 4px 8px;
  border-radius: 4px;
  color: #747981;
  background: #f6f6f7;
  font-size: 11px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topic-subject-description {
  display: -webkit-box;
  margin: 13px 0 0;
  overflow: hidden;
  color: #5d626a;
  font-size: 14px;
  line-height: 22px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.topic-subject-images {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.topic-subject-images::-webkit-scrollbar {
  display: none;
}

.topic-subject-image {
  flex: 0 0 29%;
  min-width: 92px;
  aspect-ratio: 3 / 5;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #f4f4f5;
  scroll-snap-align: start;
}

.topic-subject-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 380px) {
  .topic-page-content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .topic-app-info {
    gap: 10px;
  }

  .topic-app-info strong {
    font-size: 18px;
  }

  .topic-app-icon {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
    border-radius: 13px;
  }

  .topic-download-btn {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .topic-title {
    font-size: 22px;
  }

  .topic-intro,
  .topic-section p,
  .topic-disclaimer,
  .topic-section h2 {
    font-size: 16px;
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  height: 74px;
  background: #ffffff;
}

.topbar-spacer {
  width: 34px;
  height: 34px;
}

.topbar::after {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 1px;
  background: transparent;
  content: "";
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  color: #2d3136;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

.hamburger,
.search-icon,
.back-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
  position: absolute;
  left: 2px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #2d3136;
  content: "";
}

.hamburger::before {
  top: 4px;
}

.hamburger span {
  top: 9px;
}

.hamburger::after {
  top: 14px;
}

.search-icon {
  border: 2px solid #2d3136;
  border-radius: 50%;
  transform: scale(0.82);
}

.search-icon::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: #2d3136;
  content: "";
  transform: rotate(45deg);
}

.back-icon::before {
  position: absolute;
  top: 4px;
  left: 6px;
  width: 11px;
  height: 11px;
  border-left: 2px solid #2d3136;
  border-bottom: 2px solid #2d3136;
  content: "";
  transform: rotate(45deg);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: #333333;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 88px;
  height: 24px;
  object-fit: contain;
}

.app-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #ff893c, #ff342b);
  font-weight: 900;
}

.app-avatar {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  font-size: 21px;
}

.app-avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f2f3f5;
}

.app-avatar-remote {
  position: relative;
}

.app-avatar-remote > span {
  position: absolute;
}

.app-avatar-remote > img {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  color: #a3a8b0;
  font-size: 11px;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb b {
  color: #777d86;
  font-weight: 500;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 28px;
  margin-bottom: 16px;
  margin-right: -20px;
  padding-right: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  color: #6f7680;
  font-size: 12px;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.game-category-tabs {
  display: flex;
  gap: 10px;
  margin: 2px -20px 10px;
  padding: 0 20px 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.game-category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs-shell {
  min-width: 0;
}

.category-tabs-control {
  display: none;
}

.game-category-tab {
  display: grid;
  flex: 0 0 76px;
  place-items: center;
  border: 0;
  padding-bottom: 10px;
  color: #30343a;
  background: transparent;
  cursor: pointer;
}

.game-category-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  color: var(--brand);
  background: transparent;
  font-size: 23px;
  font-weight: 800;
}

.game-category-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.game-category-tab.active {
  border-radius: 12px;
  padding: 10px;
  background: #fff0f1;
}

.game-category-label {
  width: 100%;
  overflow: hidden;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-category-tab.active .game-category-label {
  color: #25292e;
  font-weight: 400;
}

.tab {
  position: relative;
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.tab.active {
  color: #1f2227;
  font-weight: 800;
}

.tab.active::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  content: "";
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 13px;
  color: #2d3136;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.section-title::after {
  display: none;
}

.section-title-more {
  display: inline-flex;
  flex: 0 0 auto;
  height: 20px;
  align-items: center;
  color: var(--brand);
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

.section-title-more-arrow {
  display: block;
  width: 14px;
  height: 14px;
  background: var(--brand);
  -webkit-mask: url("./static/images/home/jiantou.svg") center / contain no-repeat;
  mask: url("./static/images/home/jiantou.svg") center / contain no-repeat;
}

.home-section {
  min-width: 0;
}

@media (max-width: 767px) {
  .home-page .home-banner-carousel {
    margin: 16px 0 30px;
  }

  .home-page .home-banner-track {
    gap: 8px;
    padding: 0;
  }

  .home-page .home-banner {
    flex-basis: calc(100% - 48px);
    min-height: 0;
    aspect-ratio: 322 / 232;
    border-radius: 16px;
    padding: 0;
  }

  .home-page .home-banner-arrow,
  .home-page .home-banner-pagination {
    display: none;
  }

  .home-section .section-title {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 500;
  }
}

.home-banner-carousel {
  position: relative;
  margin: 4px -20px 16px;
}

.home-banner-viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.home-banner-viewport::-webkit-scrollbar {
  display: none;
}

.home-banner-track {
  display: flex;
  gap: 10px;
  padding: 0 20px;
}

.home-banner {
  position: relative;
  display: flex;
  flex: 0 0 calc(100% - 12px);
  min-height: 184px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  padding: 24px 22px;
  isolation: isolate;
  background: var(--home-banner-mobile-image, var(--home-banner-image)) center / cover no-repeat;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.home-banner-copy {
  position: relative;
  z-index: 2;
  max-width: 235px;
  opacity: 0.45;
  transform: translateX(18px);
  transition: opacity 480ms ease 100ms, transform 480ms cubic-bezier(0.22, 1, 0.36, 1) 100ms;
}

.home-banner.is-active .home-banner-copy {
  opacity: 1;
  transform: translateX(0);
}
.home-banner-brand { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; color: #2c3035; font-size: 18px; }
.home-banner-brand img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.home-banner-title { margin: 0; color: #2f3135; font-size: 21px; font-weight: 800; letter-spacing: 0.02em; line-height: 1.35; white-space: nowrap; }
.home-banner-title span { margin-left: 4px; color: #F7412B; }
.home-banner-subtitle { margin: 4px 0 12px; color: #b76c58; font-size: 10px; line-height: 16px; white-space: nowrap; }
.home-banner-cta { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; height: 28px; border: 0; border-radius: 18px; padding: 0 12px; color: #ffffff; background: var(--brand); box-shadow: 0 7px 12px rgba(241, 74, 37, 0.24); cursor: pointer; font: inherit; font-size: 11px; font-weight: 700; text-decoration: none; }
.home-banner-cta span { margin-left: 5px; font-size: 17px; font-weight: 400; line-height: 1; }

.home-banner-content {
  color: #ffffff;
  text-decoration: none;
}

.home-banner-content-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: 4px;
}

.home-banner-content-type {
  margin-bottom: 7px;
  color: #ffd8cf;
  font-size: 11px;
  font-weight: 700;
}

.home-banner-content-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 22px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-banner-content-description {
  display: -webkit-box;
  margin-top: 7px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-banner-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 0;
  padding: 0;
  place-items: center;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.home-banner-arrow img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.home-banner-arrow-previous { left: 28px; }
.home-banner-arrow-next { right: 28px; }

.home-banner-pagination {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 12px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  pointer-events: none;
}

.home-banner-pagination button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  pointer-events: auto;
  transition: width 180ms ease, background-color 180ms ease;
}

.home-banner-pagination button.is-active {
  width: 20px;
  background: var(--brand);
}

.home-banner-arrow:focus-visible,
.home-banner-pagination button:focus-visible,
.home-banner-content:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .home-banner-viewport {
    scroll-behavior: auto;
  }

  .home-banner-copy,
  .home-banner-pagination button {
    transition: none;
  }
}

.home-banner-art { display: none; }
.banner-orbit { position: absolute; border: 10px solid rgba(255, 113, 68, 0.3); border-radius: 50%; transform: rotate(-35deg); }
.banner-orbit-one { right: -35px; bottom: -36px; width: 188px; height: 99px; }
.banner-orbit-two { top: 38px; right: 0; width: 144px; height: 76px; border-color: rgba(255, 125, 79, 0.48); }
.banner-core { position: absolute; top: 66px; right: 36px; display: grid; width: 56px; height: 56px; place-items: center; border: 6px solid #fff8f2; border-radius: 50%; color: #ffffff; background: radial-gradient(circle at 35% 30%, #ff9570, #fa421f 62%, #e92e18); box-shadow: 0 8px 18px rgba(229, 57, 28, 0.28); }
.banner-core span { display: block; margin-left: 4px; font-size: 25px; transform: rotate(-25deg); }
.banner-token, .banner-dot { position: absolute; display: grid; place-items: center; border-radius: 10px; color: #ffffff; background: linear-gradient(145deg, #ff8a60, #f34325); box-shadow: 0 5px 10px rgba(225, 75, 37, 0.22); }
.banner-token-one { top: 28px; right: 2px; width: 27px; height: 27px; font-size: 17px; transform: rotate(24deg); }
.banner-token-two { right: 93px; bottom: 27px; width: 26px; height: 26px; font-size: 13px; transform: rotate(-22deg); }
.banner-dot { width: 11px; height: 11px; border-radius: 50%; }
.banner-dot-one { top: 40px; right: 59px; }
.banner-dot-two { right: 11px; bottom: 42px; width: 7px; height: 7px; }

.home-topic-hub {
  display: grid;
  gap: 24px;
  margin: 24px 0 8px;
}

.home-topic-group {
  min-width: 0;
}

.home-topic-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.home-topic-heading h2 {
  margin: 0;
  color: #24272d;
  font-size: 17px;
  line-height: 24px;
}

.home-topic-heading a {
  color: var(--brand);
  font-size: 12px;
  line-height: 18px;
  text-decoration: none;
}

.home-topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.home-topic-card {
  position: relative;
  display: block;
  min-width: 0;
  height: 126px;
  overflow: hidden;
  border-radius: 12px;
  padding: 16px;
  color: #262a30;
  background: #f6f6f8;
  isolation: isolate;
  text-decoration: none;
}

.home-topic-card::before {
  position: absolute;
  z-index: 0;
  top: -18px;
  right: -18px;
  bottom: -18px;
  width: 57%;
  background: var(--home-topic-card-image) center / cover no-repeat;
  content: "";
  filter: saturate(0.9) blur(1px);
  opacity: 0.18;
  transform: scale(1.12);
}

.home-topic-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(247, 247, 249, 0.98) 0%, rgba(247, 247, 249, 0.9) 45%, rgba(247, 247, 249, 0.28) 100%);
  content: "";
}

.home-topic-card strong {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  overflow: hidden;
  max-width: 180px;
  color: #22262c;
  font-size: 16px;
  font-weight: 700;
  line-height: 23px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-topic-icons {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.home-topic-icons img {
  display: block;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .home-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .home-topic-card {
    height: 138px;
  }
}

.information-page {
  padding-right: 24px;
  padding-bottom: 112px;
  padding-left: 24px;
}

.information-breadcrumb {
  margin-bottom: 22px;
}

.information-topic-section,
.information-feed-section {
  min-width: 0;
}

.information-topic-heading h2,
.information-feed-section > h2 {
  margin: 0 0 16px;
  color: #202328;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}

.information-topic-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.information-topic-heading a {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-size: 12px;
  line-height: 18px;
  text-decoration: none;
}

.information-feed-section {
  margin-top: 16px;
}

.information-filter-tabs {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin: 0 0 16px;
}

.information-filter-tabs button {
  position: relative;
  border: 0;
  padding: 0 0 2px;
  color: #333333;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: 0.28px;
}

.information-filter-tabs button.active {
  color: #F14A25;
  font-weight: 600;
}

.information-filter-tabs button.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 36px;
  background: #F14A25;
  content: "";
}

.information-waterfall {
  column-count: 1;
  column-gap: 16px;
}

.information-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 8px;
  overflow: hidden;
  border-radius: 8px;
  background: #f7f7f7;
  break-inside: avoid;
  vertical-align: top;
}

.information-card[hidden] {
  display: none;
}

.information-card > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.information-pinned-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.information-pinned-grid[hidden] { display: none; }
.information-pinned-card { position: relative; margin: 0; }
.information-pinned-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 0 0 8px 0;
  color: #fff;
  background: #F14A25;
  font-size: 10px;
  font-weight: 400;
}
.information-pinned-card .information-card-copy { gap: 8px; padding: 6px; }
.information-pinned-author,
.information-card-source { display: flex; min-width: 0; align-items: center; gap: 4px; color: #6c6c6c; font-size: 10px; line-height: 14px; }
.information-card-meta { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; }
.information-pinned-card .information-pinned-author img,
.information-card .information-card-source img { flex: 0 0 auto; width: 14px; height: 14px; min-height: 0; border-radius: 3px; background: transparent; object-fit: cover; }
@media (min-width: 768px) {
  .information-pinned-grid { grid-template-columns: minmax(0, 1016fr) minmax(0, 484fr); }
}

.information-card img {
  display: block;
  width: 100%;
  height: auto;
  background: #eceef1;
  object-fit: cover;
}

.information-card-copy {
  display: grid;
  gap: 8px;
  padding: 6px;
}

.information-card h3,
.information-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  -webkit-box-orient: vertical;
}

.information-card h3 {
  color: #282c32;
  font-size: 12px;
  font-weight: 600;
  line-height: 17px;
  -webkit-line-clamp: 2;
}

.information-card p {
  color: #70757d;
  font-size: 13px;
  line-height: 20px;
  -webkit-line-clamp: 2;
}

.information-card time {
  flex: 0 0 auto;
  color: #9a9ea5;
  font-size: 10px;
  line-height: 14px;
}

.information-empty {
  margin: 0;
  border-radius: 12px;
  padding: 30px 20px;
  color: #8d9299;
  background: #f6f6f7;
  text-align: center;
}

.information-load-more {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin: 8px 0 0;
  border-radius: 8px;
  color: #777d86;
  background: #f7f7f7;
  font-size: 13px;
  line-height: 20px;
  text-decoration: none;
}

.information-load-more[aria-busy="true"] {
  pointer-events: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .information-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .information-waterfall {
    column-count: 2;
    column-gap: 20px;
  }

  .information-waterfall.is-filtered {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
    column-count: initial;
  }

  .information-waterfall.is-filtered .information-card {
    margin-bottom: 0;
  }

  .information-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .information-page {
    padding-bottom: 92px;
  }

  .information-breadcrumb {
    margin-bottom: 24px;
  }

  .information-topic-heading h2,
  .information-feed-section > h2 {
    margin-bottom: 16px;
    color: #333333;
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
  }

  .information-topic-grid {
    display: block;
  }

  .information-topic-card {
    height: 175px;
    border-radius: 13px;
    padding: 30px 16px;
  }

  .information-topic-card:not(:first-child) {
    display: none;
  }

  .information-topic-card strong {
    width: 200px;
    max-width: 200px;
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
  }

  .information-topic-card .home-topic-icons {
    right: 16px;
    bottom: 31px;
    left: 16px;
    gap: 10px;
  }

  .information-topic-card .home-topic-icons img {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .information-pinned-feature > a > img,
  .information-pinned-feature > div > img {
    height: 155px;
    object-fit: cover;
  }

  .information-pinned-feature .information-card-copy {
    min-height: 51px;
  }

  .information-waterfall {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 8px;
    column-count: initial;
  }

  .information-waterfall-column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
  }

  .information-waterfall-column .information-card {
    margin-top: 0;
    margin-bottom: 0;
  }

  .information-pinned-secondary > a > img,
  .information-pinned-secondary > div > img {
    min-height: 158px;
    object-fit: cover;
  }
}

.site-footer-shell { margin-top: auto; padding: 0 20px 92px; background: #ffffff; }
.page-scroll + .site-footer-shell { margin-top: auto; }
.page-scroll.detail + .site-footer-shell { margin-top: auto; }
.home-page { min-height: 0; }
.home-page + .site-footer-shell .site-footer { margin-top: 0; }
.site-footer { margin-top: 28px; padding: 0 3px 4px; color: #8c9199; font-size: 13px; line-height: 21px; }
.site-footer h2 { margin: 0 0 12px; color: #30343a; font-size: 17px; line-height: 24px; }
.friend-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
.friend-links a { display: flex; min-width: 0; min-height: 34px; align-items: center; justify-content: flex-start; text-decoration: none; }
.friend-icon { display: block; flex: 0 0 24px; width: 24px; height: 24px; object-fit: contain; }
.friend-brand-icon { display: block; width: auto; max-width: 100%; height: auto; max-height: 34px; object-fit: contain; object-position: left center; }
.footer-divider { height: 1px; margin: 16px 0 13px; background: #eeeeee; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; color: #8c9199; }
.footer-nav a { color: inherit; text-decoration: none; white-space: nowrap; }
.footer-nav span { flex: 0 0 auto; margin: 0 8px; color: #c6c9cf; }
.site-footer p { margin: 7px 0 0; }
.site-footer p a { color: inherit; text-decoration: none; }
.footer-contact span + span { margin-left: 20px; }
.footer-nav,
.site-footer p { font-size: 13px; }

@media (max-width: 380px) {
  .home-banner { min-height: 0; padding: 0; }
  .home-banner-title { font-size: 18px; }
  .home-banner-art { width: 46%; }
  .friend-links { gap: 10px 6px; }
}

.app-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 64px;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-right: -20px;
  padding-right: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.app-grid::-webkit-scrollbar {
  display: none;
}

.grid-item {
  display: block;
  min-width: 0;
  color: inherit;
  scroll-snap-align: start;
  text-align: center;
  text-decoration: none;
}

.grid-name {
  display: block;
  width: 64px;
  overflow: hidden;
  color: #34383f;
  font-size: 12px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-main-nav,
.desktop-download-panel,
.home-benefits,
.desktop-qr-trigger,
.desktop-detail-qr,
.grid-summary,
.grid-meta,
.grid-view {
  display: none;
}

.related-section {
  display: block;
  margin-top: 24px;
}

.related-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.related-heading h2 {
  margin: 0 0 10px;
  color: #30343a;
  font-size: 18px;
  line-height: 26px;
}

.related-heading a {
  color: var(--brand);
  font-size: 12px;
  text-decoration: none;
}

.related-mobile-grid {
  margin-right: -20px;
}

.related-list {
  display: none;
}

.app-detail-web-sidebar {
  display: none;
}

.download-card {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 20;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 7px;
  width: min(440px, calc(100vw - 24px));
  min-height: 54px;
  border-radius: 12px;
  padding: 8px 10px;
  background: #fff0eb;
  box-shadow: 0 8px 20px rgba(255, 77, 50, 0.12);
  transform: translateX(-50%);
}

.download-card .download-icon {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 7px;
  object-fit: cover;
}

.download-red-envelope,
.desktop-download-arrow {
  display: none;
}

.desktop-detail-actions {
  display: contents;
}

.download-card .copy {
  min-width: 0;
  color: #3a3d42;
  font-size: 13px;
  overflow: hidden;
  line-height: 15px;
  white-space: nowrap;
}

.download-copy-main,
.download-company {
  display: block;
}

.download-company {
  margin-top: 4px;
  color: #777d85;
  font-size: 11px;
  line-height: 15px;
}

.primary-btn,
.outline-btn,
.small-btn {
  border: 0;
  border-radius: 18px;
  cursor: pointer;
}

.small-btn {
  height: 28px;
  min-width: 48px;
  padding: 0 10px;
  color: #ffffff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.outline-btn {
  display: inline-grid;
  place-items: center;
  height: 32px;
  min-width: 56px;
  border: 1px solid var(--brand);
  color: var(--brand);
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.primary-btn {
  height: 46px;
  color: #ffffff;
  background: var(--brand);
  font-size: 13px;
  font-weight: 700;
  line-height: 17px;
}

.list {
  display: grid;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
}

.paged-list-status {
  min-height: 54px;
  padding: 18px 0 4px;
  color: #a0a6af;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

.list-item {
  display: grid;
  grid-template-columns: 54px 1fr 58px;
  align-items: center;
  gap: 12px;
  min-height: 83px;
  border-bottom: 1px solid var(--line);
}

.list-item-link {
  color: inherit;
  text-decoration: none;
}

.list-item-link:active {
  background: #fff7f5;
}

.list-item .app-avatar {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  font-size: 18px;
}

.item-copy {
  min-width: 0;
}

.item-title {
  margin: 0 0 4px;
  color: #22252a;
  font-size: 13px;
  font-weight: 800;
}

.item-sub,
.item-meta {
  margin: 0;
  overflow: hidden;
  color: #9aa0a8;
  font-size: 11px;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-item-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
}

.mini-rating {
  flex: 0 0 auto;
  color: #ff7a1a;
  font-weight: 700;
}

.mini-rating span {
  margin-right: 2px;
  font-size: 12px;
}

.mini-categories {
  display: flex;
  min-width: 0;
  gap: 4px;
  overflow: hidden;
}

.mini-categories span {
  overflow: hidden;
  border-radius: 3px;
  padding: 0 5px;
  color: #72809a;
  background: #f1f4f8;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-app {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
}

.hero-app > div {
  min-width: 0;
}

.hero-app .app-avatar {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  font-size: 28px;
}

.hero-name {
  margin: 0 0 7px;
  overflow: hidden;
  color: #202124;
  font-size: 18px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-summary {
  display: block;
  margin: 0 0 7px;
  overflow: hidden;
  color: #8d949e;
  font-size: 12px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company {
  display: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  border-radius: 4px;
  padding: 0 10px;
  color: #8b929b;
  background: #f1f2f4;
  font-size: 11px;
}

.cta-stack {
  display: grid;
  gap: 16px;
  margin: 22px 0;
}

.cta-stack .detail-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 46px;
  border-width: 2px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 400;
}

.detail-download-btn .download-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-stack .detail-qm-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  border-radius: 32px;
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
}

@media (max-width: 1023px) {
  .cta-stack .detail-qm-btn.is-loading,
  .cta-stack .detail-qm-btn.is-unavailable {
    position: relative;
    cursor: default;
  }

  .cta-stack .detail-qm-btn.is-loading > span,
  .cta-stack .detail-qm-btn.is-unavailable > span {
    visibility: hidden;
  }

  .cta-stack .detail-qm-btn.is-loading::after {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.38);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: detail-button-spin 700ms linear infinite;
    content: "";
  }

  .cta-stack .detail-qm-btn.is-unavailable::after {
    color: #ffffff;
    font-size: 14px;
    content: "下载链接暂不可用";
  }
}

@keyframes detail-button-spin {
  to { transform: rotate(360deg); }
}

.stats {
  display: grid;
  grid-template-columns: repeat(var(--stat-count, 4), 1fr);
  margin: 0 -4px 18px;
  text-align: center;
}

.stat {
  border-right: 1px solid #eeeeee;
}

.stat:last-child {
  border-right: 0;
}

.stat small {
  display: block;
  color: #a1a6ae;
  font-size: 10px;
}

.stat b {
  display: block;
  margin-top: 3px;
  color: #2c3035;
  font-size: 13px;
}

.preview-row {
  display: flex;
  gap: 12px;
  margin: 17px 0 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}

.preview-row::-webkit-scrollbar {
  display: none;
}

.preview-carousel {
  position: relative;
}

.preview-scroll-control {
  display: none;
}

.preview {
  position: relative;
  flex: 0 0 calc((100% - 24px) / 3);
  height: 164px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 68% 20%, rgba(255, 255, 255, 0.72), transparent 12%),
    linear-gradient(160deg, #25c6ff, #1fb06c 47%, #ffe566 48%, #1c85f5);
  scroll-snap-align: start;
}

.preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-button {
  border: 0;
  padding: 0;
  cursor: zoom-in;
}

body.menu-open,
body.image-viewer-open,
body.wechat-tip-open,
body.qm-install-tip-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

.wechat-tip[hidden] {
  display: none;
}

.wechat-tip {
  position: fixed;
  inset: 0;
  z-index: 120;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  color: #ffffff;
  opacity: 0;
  transition: opacity 180ms ease;
}

.wechat-tip.is-open {
  opacity: 1;
}

.wechat-tip-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.82);
}

.wechat-tip-arrow {
  position: absolute;
  top: max(5px, env(safe-area-inset-top));
  right: max(8px, env(safe-area-inset-right));
  width: 80px;
  height: 86px;
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.wechat-tip-content {
  position: absolute;
  top: max(88px, calc(env(safe-area-inset-top) + 74px));
  right: max(22px, env(safe-area-inset-right));
  display: grid;
  justify-items: end;
  gap: 8px;
  max-width: calc(100vw - 44px);
  text-align: right;
}

.wechat-tip-content strong {
  font-size: 20px;
}

.wechat-tip-content span {
  font-size: 14px;
  line-height: 22px;
}

.wechat-tip-content button {
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  padding: 7px 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.qm-install-tip[hidden] {
  display: none;
}

.qm-install-tip {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding: 20px;
}

.qm-install-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(15, 18, 22, 0.62);
}

.qm-install-panel {
  position: relative;
  display: grid;
  width: min(340px, calc(100vw - 40px));
  border-radius: 18px;
  padding: 22px 20px 14px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  text-align: center;
}

.qm-install-panel strong {
  color: #202124;
  font-size: 18px;
}

.qm-install-panel p {
  margin: 10px 0 18px;
  color: #6f747b;
  font-size: 13px;
  line-height: 20px;
}

.qm-install-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.qm-install-actions button {
  height: 42px;
  border-radius: 22px;
  font-size: 14px;
}

.qm-install-retry {
  border: 1px solid var(--brand);
  color: var(--brand);
  background: #ffffff;
}

.qm-install-download {
  border: 1px solid var(--brand);
  color: #ffffff;
  background: var(--brand);
}

.qm-install-close {
  justify-self: center;
  margin-top: 12px;
  border: 0;
  padding: 5px 20px;
  color: #8b9097;
  background: transparent;
  font-size: 13px;
}

.image-viewer[hidden] {
  display: none;
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  opacity: 0;
  overscroll-behavior: contain;
  touch-action: none;
  transition: opacity 180ms ease;
}

.image-viewer.is-open {
  opacity: 1;
}

.image-viewer-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  border: 0;
  background: rgba(8, 10, 13, 0.88);
  cursor: zoom-out;
}

.image-viewer-content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: max(20px, env(safe-area-inset-top)) 12px max(20px, env(safe-area-inset-bottom));
  pointer-events: none;
}

.image-viewer-image {
  display: block;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}

.image-viewer-close {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.58);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

@media (max-width: 520px) {
  .image-viewer-content {
    padding-right: 12px;
    padding-left: 12px;
  }

  .image-viewer-close {
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
  }
}

.preview.alt {
  background:
    radial-gradient(circle at 52% 25%, rgba(255, 255, 255, 0.66), transparent 13%),
    linear-gradient(160deg, #f2b441, #4873d9 46%, #101928);
}

.preview.dark {
  background:
    radial-gradient(circle at 42% 34%, #ffcb50, transparent 15%),
    linear-gradient(160deg, #2e1d26, #866344, #1f2b39);
}

.copy-block h2,
.copy-block h3,
.info-block h2,
.info-block h3 {
  margin: 16px 0 8px;
  color: #202124;
  font-size: 14px;
}

.copy-block p {
  margin: 0;
  color: #5f656d;
  font-size: 12px;
  line-height: 20px;
  white-space: pre-line;
}

[data-expandable-copy]:not(.is-expanded) [data-expandable-text] {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--expand-lines, 3);
}

.intro-more {
  display: block;
  margin: 5px 0 0 auto;
  border: 0;
  padding: 2px 0 2px 14px;
  color: var(--brand);
  background: #ffffff;
  font-size: 12px;
  cursor: pointer;
}

.intro-more[hidden] {
  display: none;
}

.info-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  color: #777d86;
  font-size: 12px;
}

.info-list div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 6px;
}

.info-list b {
  color: #3c4046;
}

.info-list span {
  white-space: pre-line;
}

.feature-row {
  align-items: start;
}

.feature-row .feature-content {
  min-width: 0;
  white-space: normal;
}

.feature-row [data-expandable-text] {
  --expand-lines: 2;
  white-space: pre-line;
}

.feature-row .feature-more {
  margin: 4px 0 0 auto;
}

.policy-links {
  display: flex;
  gap: 18px;
  margin: 16px 0 0;
  font-size: 12px;
}

.policy-links a {
  color: #4285e8;
  text-decoration: none;
}

.drawer-page {
  position: fixed;
  inset: 0;
  z-index: 40;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.drawer-mask {
  position: fixed;
  inset: 0 0 0 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  border: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.drawer {
  position: relative;
  z-index: 2;
  width: min(310px, 82vw);
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow-y: auto;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  background: #ffffff;
  transform: translateX(-100%);
  transition: transform 180ms ease;
}

.drawer-page.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-page.is-open .drawer {
  transform: translateX(0);
}

.drawer-brand {
  justify-content: flex-start;
  margin-bottom: 26px;
}

.drawer-brand-logo {
  display: block;
  width: 118px;
  height: 42px;
  object-fit: contain;
}

.drawer-menu {
  display: grid;
  gap: 10px;
}

.drawer-menu a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: center;
  height: 44px;
  border-radius: 5px;
  padding: 0 12px;
  color: #2f3338;
  text-decoration: none;
}

.drawer-menu a.active {
  color: var(--brand);
  background: var(--brand-soft);
}

.drawer-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.drawer-information-icon {
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #ffffff;
  background: #8b9097;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
}

.drawer-menu a.active .drawer-information-icon {
  background: var(--brand);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  z-index: 50;
  min-width: 170px;
  max-width: calc(100vw - 40px);
  border-radius: 20px;
  padding: 10px 16px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.82);
  text-align: center;
  font-size: 13px;
  line-height: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 500px) {
  .qm-page {
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .qm-page {
    width: 100%;
    max-width: none;
    min-height: 100svh;
  }

  .page-scroll {
    min-height: 0;
    padding: 0 48px 20px;
  }

  .page-scroll + .site-footer-shell {
    margin-top: 0;
  }

  .page-scroll.detail {
    padding-bottom: 20px;
  }

  .site-footer {
    margin-top: 0;
  }

  .home-section {
    margin-top: 12px;
  }

  .home-section .section-title {
    justify-content: space-between;
    margin: 18px 0 12px;
    font-size: 16px;
    font-weight: 700;
  }

  .home-section .section-title::after {
    display: none;
  }

  .home-section .section-title::before {
    display: none;
    content: none;
  }

  .home-section .app-grid {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 32px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .home-section .grid-item {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 52px;
    gap: 11px;
    align-items: center;
    min-height: 54px;
    text-align: left;
  }

  .home-section .grid-item .app-avatar {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    font-size: 18px;
  }

  .home-section .grid-copy {
    display: grid;
    min-width: 0;
    gap: 1px;
  }

  .home-section .grid-name {
    width: auto;
    color: #272b30;
    font-size: 13px;
    font-weight: 700;
    line-height: 17px;
  }

  .home-section .grid-summary,
  .home-section .grid-meta {
    display: block;
    overflow: hidden;
    color: #8e949c;
    font-size: 10px;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-section .grid-view {
    display: grid;
    width: 52px;
    height: 24px;
    place-items: center;
    border-radius: 14px;
    color: var(--brand);
    background: #f7f7f7;
    font-size: 11px;
    font-weight: 700;
  }

  .category-tabs-shell {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 8px;
    margin: 2px 0 12px;
  }

  .game-category-tabs {
    grid-column: 2;
    gap: 12px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
  }

  .game-category-tab {
    flex: 0 0 106px;
  }

  .category-tabs-control {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #6f7680;
    background: #f6f6f6;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
  }

  .category-tabs-control:disabled {
    color: #c9cdd3;
    cursor: default;
  }

  .category-tabs-control img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
  }

  .paged-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
}

@media (min-width: 1024px) {
  body {
    min-width: 1024px;
  }

  .qm-page {
    width: min(1200px, calc(100vw - 48px));
    max-width: none;
    min-height: 100svh;
    margin: 0px auto;
    overflow: visible;
    box-shadow: none;
  }

  .page-scroll {
    min-height: 0;
    padding: 0 48px 20px;
  }

  .page-scroll + .site-footer-shell {
    margin-top: 0;
  }

  .qm-page.topic-directory-shell {
    width: min(1440px, 100vw);
  }

  .topic-page-content {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 36px 48px 48px;
  }

  .topic-directory-page {
    padding: 0 0 20px;
  }

  .topic-directory-content {
    width: min(1320px, calc(100vw - 120px));
    margin: 0 auto;
    padding-top: 22px;
  }

  .topic-directory-page .breadcrumb {
    display: flex;
    margin: 0 0 24px;
    font-size: 12px;
    line-height: 17px;
  }

  .topic-directory-section {
    min-height: 0;
    margin: 0 0 32px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .topic-directory-heading {
    min-height: 28px;
    margin-bottom: 24px;
  }

  .topic-directory-heading h2 {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
  }

  .topic-directory-more {
    display: none;
  }

  .topic-directory-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 76px;
    padding: 0;
  }

  .topic-directory-card.home-topic-card {
    height: 183px;
    border-radius: 12px;
    padding: 30px 24px;
  }

  .topic-directory-card.home-topic-card strong {
    max-width: 200px;
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
  }

  .topic-directory-card .home-topic-icons {
    top: 88px;
    right: 24px;
    bottom: auto;
    left: 24px;
    gap: 12px;
  }

  .topic-directory-card .home-topic-icons img {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    border-radius: 11px;
  }

  .topic-directory-item {
    min-height: 0;
    border-radius: 8px;
    padding: 23px 32px;
    background: #f6f6f8;
    font-size: 18px;
    line-height: 26px;
  }

  .topic-directory-item small {
    font-size: 16px;
  }

  .topic-subject-page .breadcrumb {
    margin: 0 0 20px;
  }

  .topic-subject-page .topic-title {
    font-size: 30px;
  }

  .topic-subject-page .topic-intro {
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 26px;
  }

  .topic-subject-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .topic-subject-card {
    padding: 20px;
    border: 1px solid #eeeeee;
    border-radius: 16px;
  }

  .topic-subject-card:last-child {
    border-bottom: 1px solid #eeeeee;
  }

  .topic-subject-app-copy h2 {
    font-size: 19px;
  }

  .topic-subject-card .topic-download-btn {
    min-height: 46px;
    font-size: 14px;
  }

  .topic-subject-image {
    flex-basis: 30%;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    gap: 40px;
    height: 54px;
    width: 99.5vw;
    margin-left: calc(50% - 50vw);
    flex: 0 0 auto;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    box-shadow: 0 2px 10px rgba(30, 34, 39, 0.04);
  }

  .topbar::after,
  .topbar .icon-btn,
  .topbar-spacer {
    display: none;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand-logo {
    width: 76px;
    height: 22px;
  }

  .desktop-main-nav {
    display: flex;
    align-self: stretch;
    align-items: center;
    gap: 26px;
  }

  .desktop-main-nav a {
    position: relative;
    display: grid;
    height: 100%;
    place-items: center;
    color: #34373c;
    font-size: 14px;
    text-decoration: none;
  }

  .desktop-main-nav a.active {
    color: #1e2227;
    font-weight: 700;
  }

  .desktop-main-nav a.active::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
    content: "";
  }

  .desktop-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: stretch;
    margin-top: 0;
  }

  .home-banner-carousel {
    margin: 0;
  }

  .home-banner-viewport {
    overflow: hidden;
  }

  .home-banner-track {
    gap: 0;
    padding: 0;
  }

  .home-banner {
    flex-basis: 100%;
    min-height: 300px;
    border-radius: 0;
    padding: 54px 70px;
    background-image: var(--home-banner-desktop-image, var(--home-banner-mobile-image, var(--home-banner-image)));
  }

  .home-banner-copy {
    max-width: 390px;
  }

  .home-banner-content-title {
    font-size: 30px;
  }

  .home-banner-content-description {
    font-size: 13px;
  }

  .home-banner-brand {
    gap: 10px;
    margin-bottom: 8px;
    font-size: 28px;
  }

  .home-banner-brand img {
    width: 54px;
    height: 54px;
    border-radius: 13px;
  }

  .home-banner-title {
    font-size: 32px;
  }

  .home-banner-subtitle {
    margin: 6px 0 16px;
    font-size: 13px;
    line-height: 20px;
  }

  .home-banner-cta {
    min-width: 130px;
    height: 36px;
    font-size: 13px;
  }

  .home-banner-arrow-previous { left: 18px; }
  .home-banner-arrow-next { right: 18px; }

  .desktop-download-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 18px 22px;
    background: #ffffff;
    text-align: center;
  }

  .desktop-download-panel p {
    margin: 0 0 7px;
    color: #22252a;
    font-size: 13px;
    font-weight: 800;
  }

  .desktop-download-panel small {
    color: #454a51;
    font-size: 10px;
    line-height: 16px;
  }

  .desktop-qr,
  .desktop-detail-qr-code {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background-color: #ffffff;
    background-image:
      linear-gradient(90deg, #111 11%, transparent 11%, transparent 22%, #111 22%, #111 33%, transparent 33%, transparent 44%, #111 44%, #111 55%, transparent 55%, transparent 66%, #111 66%, #111 77%, transparent 77%),
      linear-gradient(#111 11%, transparent 11%, transparent 22%, #111 22%, #111 33%, transparent 33%, transparent 44%, #111 44%, #111 55%, transparent 55%, transparent 66%, #111 66%, #111 77%, transparent 77%);
    background-size: 17px 17px;
  }

  .desktop-qr {
    width: 128px;
    height: 128px;
    margin: 12px 0 15px;
    border: 8px solid #ffffff;
    box-shadow: inset 0 0 0 1px #e5e5e5;
  }

  .desktop-qr::before,
  .desktop-detail-qr-code::before {
    position: absolute;
    inset: 8px auto auto 8px;
    width: 23px;
    height: 23px;
    border: 5px solid #111111;
    outline: 4px solid #ffffff;
    background: #111111;
    content: "";
  }

  .desktop-qr::after,
  .desktop-detail-qr-code::after {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 23px;
    height: 23px;
    border: 5px solid #111111;
    outline: 4px solid #ffffff;
    background: #111111;
    content: "";
  }

  .desktop-qr img,
  .desktop-detail-qr img {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    border: 4px solid #ffffff;
    border-radius: 5px;
  }

  .desktop-qr img.initial-qr {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .desktop-download-button {
    width: 126px;
    height: 28px;
    border: 0;
    border-radius: 16px;
    color: #ffffff;
    background: var(--brand);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
  }

  .home-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 22px 80px 17px;
    border-bottom: 1px solid #f1f1f1;
  }

  .home-benefits > div {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
  }

  .home-benefit-icon {
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    object-fit: contain;
  }

  .home-benefits span {
    display: grid;
    gap: 2px;
  }

  .home-benefits strong {
    color: #33373c;
    font-size: 14px;
  }

  .home-benefits small {
    color: #a1a5aa;
    font-size: 12px;
  }

  .home-section {
    margin-top: 8px;
  }

  .home-topic-hub {
    display: grid;
    gap: 24px;
    margin: 26px 0 8px;
  }

  .home-topic-group {
    min-width: 0;
  }

  .home-topic-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .home-topic-heading h2 {
    margin: 0;
    color: #24272d;
    font-size: 16px;
    line-height: 24px;
  }

  .home-topic-heading a,
  .information-topic-heading a {
    color: var(--brand);
    font-size: 11px;
    line-height: 18px;
    text-decoration: none;
  }

  .home-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .home-topic-card {
    position: relative;
    display: block;
    min-width: 0;
    height: 144px;
    overflow: hidden;
    border-radius: 12px;
    padding: 18px;
    color: #262a30;
    background: #f6f6f8;
    isolation: isolate;
    text-decoration: none;
  }

  .home-topic-card::before {
    position: absolute;
    z-index: 0;
    top: -18px;
    right: -18px;
    bottom: -18px;
    width: 57%;
    background: var(--home-topic-card-image) center / cover no-repeat;
    content: "";
    filter: saturate(0.9) blur(1px);
    opacity: 0.18;
    transform: scale(1.12);
  }

  .home-topic-card::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(247, 247, 249, 0.98) 0%, rgba(247, 247, 249, 0.9) 45%, rgba(247, 247, 249, 0.28) 100%);
    content: "";
  }

  .home-topic-card strong {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    overflow: hidden;
    max-width: 180px;
    color: #22262c;
    font-size: 16px;
    font-weight: 700;
    line-height: 23px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-topic-icons {
    position: absolute;
    z-index: 1;
    right: 18px;
    bottom: 20px;
    left: 18px;
    display: flex;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
  }

  .home-topic-icons img {
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    object-fit: cover;
  }

  .section-title {
    justify-content: space-between;
    margin: 16px 0 10px;
    font-size: 16px;
    font-weight: 700;
  }

  .section-title::after {
    display: none;
  }

  .section-title::before {
    display: none;
    content: none;
  }

  .app-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(54px, auto));
    gap: 10px 48px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  /* Desktop首页每组展示两行，完整数据由“更多”列表承接。 */
  .home-section .grid-item:nth-child(n + 7) {
    display: none;
  }

  .grid-item {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 52px;
    gap: 11px;
    align-items: center;
    min-height: 54px;
    text-align: left;
  }

  .grid-item .app-avatar {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    font-size: 18px;
  }

  .grid-copy {
    display: grid;
    min-width: 0;
    gap: 1px;
  }

  .grid-name {
    width: auto;
    color: #272b30;
    font-size: 13px;
    font-weight: 700;
    line-height: 17px;
  }

  .grid-summary,
  .grid-meta {
    display: block;
    overflow: hidden;
    color: #8e949c;
    font-size: 10px;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .grid-view {
    display: grid;
    width: 52px;
    height: 24px;
    place-items: center;
    border-radius: 14px;
    color: var(--brand);
    background: #f7f7f7;
    font-size: 11px;
    font-weight: 700;
  }

  .breadcrumb {
    margin: 15px 0 16px;
    font-size: 11px;
  }

  .category-tabs-shell {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 10px;
    margin: 0 0 17px;
  }

  .game-category-tabs {
    justify-content: flex-start;
    grid-column: 2;
    gap: 12px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
  }

  .game-category-tab {
    flex: 0 0 116px;
    padding: 10px 4px;
  }

  .game-category-tab.active {
    padding: 10px 4px;
  }

  .game-category-icon {
    width: 72px;
    height: 72px;
  }

  .game-category-label {
    margin-top: 5px;
    font-size: 13px;
  }

  .category-tabs-control {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #6f7680;
    background: #f6f6f6;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
  }

  .category-tabs-control:disabled {
    color: #c9cdd3;
    cursor: default;
  }

  .category-tabs-control img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
  }

  .paged-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 42px;
  }

  .list-item {
    min-height: 66px;
    grid-template-columns: 50px minmax(0, 1fr) 52px;
    gap: 11px;
    border-bottom: 0;
  }

  .list-item .app-avatar {
    width: 50px;
    height: 50px;
  }

  .item-title {
    margin-bottom: 2px;
    font-size: 13px;
  }

  .item-sub,
  .item-meta {
    font-size: 10px;
    line-height: 14px;
  }

  .list-item .outline-btn {
    width: 52px;
    min-width: 0;
    height: 24px;
    border: 0;
    color: var(--brand);
    background: #f7f7f7;
    font-size: 11px;
  }

  .paged-list-status {
    display: none;
  }

  .site-footer-shell {
    padding: 0 48px 112px;
  }

  .site-footer {
    margin-top: 0;
    padding-top: 14px;
  }

  .site-footer h2 {
    font-size: 16px;
  }

  .friend-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .friend-links a {
    flex: 0 1 auto;
    justify-content: center;
  }

  .friend-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .friend-brand-icon {
    width: auto;
    max-width: 190px;
    height: auto;
    max-height: 46px;
    object-position: center;
  }

  .footer-divider {
    margin: 36px 0 18px;
  }

  .footer-nav,
  .site-footer p {
    justify-content: center;
    font-size: 12px;
    text-align: center;
  }

  .site-footer p {
    margin-top: 3px;
  }

  .download-card {
    bottom: 30px;
    grid-template-columns: minmax(0, 1fr) 122px;
    gap: 38px;
    width: min(1440px, calc(100vw - 56px));
    min-height: 100px;
    border-radius: 12px;
    padding: 6px 54px 6px 310px;
    background: #ffe4de;
    box-shadow: 0 12px 28px rgba(180, 91, 65, 0.13);
  }

  .download-card::before {
    display: none;
  }

  .download-card .download-icon {
    display: none;
  }

  .download-card .download-red-envelope {
    position: absolute;
    left: 42px;
    bottom: -36px;
    display: block;
    width: 224px;
    height: 224px;
    object-fit: contain;
    pointer-events: none;
  }

  .download-card .copy {
    overflow: visible;
    font-size: clamp(14px, 1.28vw, 20px);
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
  }

  .download-card .copy br {
    display: none;
  }

  .download-card .download-company {
    margin-top: 10px;
    font-size: clamp(10px, 0.85vw, 13px);
    font-weight: 400;
    line-height: 1.2;
  }

  .download-card .small-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 122px;
    height: 45px;
    border-radius: 24px;
    font-size: 17px;
    font-weight: 500;
  }

  .desktop-download-arrow {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
  }

  .site-footer-shell {
    padding-bottom: 150px;
  }

  .drawer-page {
    display: none !important;
  }

  .detail {
    padding-bottom: 20px;
  }

  .app-detail-web-layout {
    display: block;
  }

  .app-detail-web-layout > .detail {
    min-width: 0;
  }

  .app-detail-web-sidebar {
    display: grid;
    min-width: 0;
    gap: 28px;
    padding: 8px 48px 44px;
  }

  .app-detail-side-section {
    min-width: 0;
  }

  .app-detail-side-section > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 30px;
    margin-bottom: 14px;
  }

  .app-detail-side-section > header h2 {
    margin: 0;
    color: #202328;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
  }

  .app-detail-side-section > header a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    text-decoration: none;
  }

  .app-detail-side-section > header a span {
    font-size: 17px;
    line-height: 1;
  }

  .app-detail-side-news-list {
    display: grid;
    gap: 10px;
    border-radius: 16px;
    padding: 20px 20px 18px;
    background: #f6f6f7;
  }

  .app-detail-side-news {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
    color: #25292f;
    text-decoration: none;
  }

  .app-detail-side-news > img {
    display: block;
    width: 112px;
    height: 68px;
    border-radius: 7px;
    object-fit: cover;
  }

  .app-detail-side-news > span {
    display: grid;
    min-width: 0;
    align-content: center;
    gap: 4px;
  }

  .app-detail-side-news strong,
  .app-detail-side-news small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
  }

  .app-detail-side-news strong {
    color: #24282e;
    font-size: 15px;
    line-height: 21px;
    -webkit-line-clamp: 1;
  }

  .app-detail-side-news small {
    color: #858990;
    font-size: 11px;
    line-height: 17px;
    -webkit-line-clamp: 2;
  }

  .app-detail-side-related-list {
    display: grid;
    gap: 14px;
  }

  .app-detail-side-related {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    color: #25292f;
    text-decoration: none;
  }

  .app-detail-side-related-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }

  .app-detail-side-related > span {
    display: grid;
    min-width: 0;
    gap: 1px;
  }

  .app-detail-side-related strong,
  .app-detail-side-related small,
  .app-detail-side-related em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-detail-side-related strong {
    color: #2b2f35;
    font-size: 13px;
    line-height: 18px;
  }

  .app-detail-side-related small,
  .app-detail-side-related em {
    color: #9a9da3;
    font-size: 9px;
    font-style: normal;
    line-height: 13px;
  }

  .app-detail-side-related > b {
    min-width: 44px;
    border-radius: 999px;
    padding: 5px 20px;
    color: var(--brand);
    background: #fff4f1;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }

  .detail-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: start;
    margin-top: 8px;
  }

  .detail .hero-app {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 9px;
    margin-top: 0;
    align-items: start;
  }

  .detail .hero-app .app-avatar {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    font-size: 22px;
  }

  .detail .hero-name {
    margin: 3px 0 5px;
    font-size: 16px;
    line-height: 21px;
  }

  .detail .hero-summary {
    display: block;
    margin: 0 0 6px;
    overflow: hidden;
    color: #9a9da3;
    font-size: 10px;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .detail .company {
    display: none;
  }

  .detail .tag {
    height: 20px;
    padding: 0 6px;
    font-size: 10px;
  }

  .detail .cta-stack {
    position: relative;
    margin: 0;
  }

  .detail .cta-stack .detail-download-btn {
    display: none;
  }

  .desktop-detail-actions {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .desktop-qr-trigger {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: var(--brand);
    cursor: pointer;
    transition: background-color 160ms ease;
  }

  .desktop-qr-trigger:hover,
  .desktop-qr-trigger:focus-visible {
    background: var(--brand);
  }

  .desktop-qr-trigger span {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 4px;
  }

  .detail .desktop-detail-actions .detail-qm-btn {
    width: 184px;
    height: 42px;
    border-radius: 22px;
    font-size: 10px;
    line-height: 13px;
  }

  .desktop-detail-qr {
    position: absolute;
    top: 50px;
    left: 0;
    z-index: 3;
    display: grid;
    width: 140px;
    padding: 14px 12px 13px;
    place-items: center;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(25, 29, 35, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    visibility: hidden;
  }

  .desktop-qr-trigger:hover ~ .desktop-detail-qr,
  .desktop-qr-trigger:focus-visible ~ .desktop-detail-qr,
  .desktop-detail-qr:hover {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .desktop-detail-qr-code {
    position: relative;
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    background-size: 11px 11px;
  }

  .desktop-detail-qr-code::before,
  .desktop-detail-qr-code::after {
    width: 14px;
    height: 14px;
    border-width: 3px;
    outline-width: 2px;
  }

  .desktop-detail-qr-code::before {
    inset: 5px auto auto 5px;
  }

  .desktop-detail-qr-code::after {
    top: 5px;
    right: 5px;
  }

  .desktop-detail-qr-code img {
    position: relative;
    z-index: 1;
    width: 26px;
    height: 26px;
  }

  .desktop-detail-qr-code.has-generated-qr {
    background-image: none;
  }

  .desktop-detail-qr-code.has-generated-qr::before,
  .desktop-detail-qr-code.has-generated-qr::after {
    display: none;
  }

  .desktop-detail-qr-code img.generated-apk-qr {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .desktop-detail-qr-code img.initial-qr,
  .desktop-detail-qr-code img.generated-home-qr {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .desktop-detail-qr-code .generated-apk-qr-logo {
    position: absolute;
    z-index: 1;
    width: 22px;
    height: 22px;
    border: 2px solid #ffffff;
    border-radius: 3px;
    object-fit: cover;
  }

  .desktop-detail-qr-code .generated-home-qr-logo {
    position: absolute;
    z-index: 1;
    width: 22px;
    height: 22px;
    border: 2px solid #ffffff;
    border-radius: 3px;
    object-fit: cover;
  }

  .desktop-qr.has-generated-qr {
    background-image: none;
  }

  .desktop-qr.has-generated-qr::before,
  .desktop-qr.has-generated-qr::after {
    display: none;
  }

  .desktop-qr img.generated-home-qr {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .desktop-qr .generated-home-qr-logo {
    position: absolute;
    z-index: 1;
    width: 30px;
    height: 30px;
    border: 3px solid #ffffff;
    border-radius: 4px;
    object-fit: cover;
  }

  .desktop-detail-qr small {
    color: #92979f;
    font-size: 9px;
    line-height: 14px;
  }

  .detail .stats,
  .detail > .tabs {
    display: none;
  }

  .detail .preview-row {
    display: flex;
    gap: 11px;
    margin: 43px 0 23px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }

  .detail .preview-carousel {
    margin: 43px 0 23px;
  }

  .detail .preview-carousel .preview-row {
    margin: 0;
  }

  .preview-scroll-control {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity 160ms ease;
  }

  .preview-scroll-control.is-previous {
    left: -20px;
  }

  .preview-scroll-control.is-next {
    right: -20px;
  }

  .preview-scroll-control img {
    display: block;
    width: 40px;
    height: 40px;
  }

  .preview-scroll-control:disabled {
    opacity: 0.35;
    cursor: default;
  }

  .detail .preview-row::-webkit-scrollbar {
    display: none;
  }

  .detail .preview {
    flex: 0 0 calc((100% - 22px) / 3.35);
    width: auto;
    height: 486px;
    aspect-ratio: auto;
    scroll-snap-align: start;
  }

  .detail .copy-block h2,
  .detail .info-block h2,
  .related-heading h2 {
    margin: 22px 0 10px;
    font-size: 16px;
  }

  .detail .copy-block p {
    max-width: 820px;
    font-size: 12px;
    line-height: 21px;
  }

  .detail .info-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 48px;
  }

  .detail .info-list div {
    display: grid;
    gap: 5px;
  }

  .detail .info-list b,
  .detail .info-list span {
    font-size: 11px;
  }

  .related-section {
    display: block;
    margin-top: 26px;
  }

  .related-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .related-heading h2 {
    margin: 0 0 10px;
  }

  .related-heading a {
    color: var(--brand);
    font-size: 11px;
    text-decoration: none;
  }

  .related-mobile-grid {
    display: none;
  }

  .related-list {
    display: grid;
    width: 100%;
    gap: 4px;
  }

  .page-scroll.detail + .site-footer-shell {
    margin-top: 0;
  }
}

@media (max-width: 1279px) {
  .app-detail-web-layout {
    display: block;
  }

  .app-detail-web-layout > .detail {
    min-width: 0;
  }

  .app-detail-web-sidebar {
    display: grid;
    min-width: 0;
    gap: 28px;
    padding: 8px 48px 48px;
  }

  .app-detail-side-section {
    min-width: 0;
  }

  .app-detail-side-section > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 30px;
    margin-bottom: 14px;
  }

  .app-detail-side-section > header h2 {
    margin: 0;
    color: #202328;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
  }

  .app-detail-side-section > header a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    text-decoration: none;
  }

  .app-detail-side-section > header a span {
    font-size: 17px;
    line-height: 1;
  }

  .app-detail-side-news-list {
    display: grid;
    gap: 10px;
    border-radius: 16px;
    padding: 20px 20px 18px;
    background: #f6f6f7;
  }

  .app-detail-side-news {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
    color: #25292f;
    text-decoration: none;
  }

  .app-detail-side-news > img {
    display: block;
    width: 112px;
    height: 68px;
    border-radius: 7px;
    object-fit: cover;
  }

  .app-detail-side-news > span {
    display: grid;
    min-width: 0;
    align-content: center;
    gap: 4px;
  }

  .app-detail-side-news strong,
  .app-detail-side-news small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
  }

  .app-detail-side-news strong {
    color: #24282e;
    font-size: 15px;
    line-height: 21px;
    -webkit-line-clamp: 1;
  }

  .app-detail-side-news small {
    color: #858990;
    font-size: 11px;
    line-height: 17px;
    -webkit-line-clamp: 2;
  }

  .app-detail-side-related-list {
    display: grid;
    gap: 14px;
  }

  .app-detail-side-related {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-width: 0;
    color: #25292f;
    text-decoration: none;
  }

  .app-detail-side-related-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }

  .app-detail-side-related > span {
    display: grid;
    min-width: 0;
    gap: 1px;
  }

  .app-detail-side-related strong,
  .app-detail-side-related small,
  .app-detail-side-related em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-detail-side-related strong {
    color: #2b2f35;
    font-size: 13px;
    line-height: 18px;
  }

  .app-detail-side-related small,
  .app-detail-side-related em {
    color: #9a9da3;
    font-size: 9px;
    font-style: normal;
    line-height: 13px;
  }

  .app-detail-side-related > b {
    min-width: 44px;
    border-radius: 999px;
    padding: 5px 20px;
    color: var(--brand);
    background: #fff4f1;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .app-detail-web-sidebar {
    gap: 26px;
    padding: 6px 20px 20px;
  }

  .app-detail-side-news-list {
    padding: 14px;
  }

  .app-detail-side-news {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .app-detail-side-news > img {
    width: 96px;
    height: 60px;
  }

  .app-detail-side-related-list {
    grid-auto-flow: column;
    grid-auto-columns: 64px;
    gap: 16px;
    margin-right: -20px;
    padding-right: 20px;
    padding-bottom: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  .app-detail-side-related-list::-webkit-scrollbar {
    display: none;
  }

  .app-detail-side-related {
    display: block;
    min-width: 0;
    scroll-snap-align: start;
    text-align: center;
  }

  .app-detail-side-related-icon {
    display: block;
    width: 54px;
    height: 54px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
  }

  .app-detail-side-related-icon .app-avatar-img {
    border-radius: inherit;
    box-shadow: none;
    filter: none;
  }

  .app-detail-side-related > span {
    display: block;
    min-width: 0;
  }

  .app-detail-side-related strong {
    display: block;
    width: 64px;
    margin-top: 0;
    color: #34383f;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    text-overflow: ellipsis;
  }

  .app-detail-side-related small,
  .app-detail-side-related em,
  .app-detail-side-related > b {
    display: none;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .download-card {
    grid-template-columns: minmax(0, 1fr) 122px;
    gap: 28px;
    min-height: 86px;
    padding: 2px 32px 2px 240px;
  }

  .download-card .download-red-envelope {
    left: 28px;
    bottom: -31px;
    width: 190px;
    height: 190px;
  }

  .download-card .copy {
    font-size: 14px;
    white-space: normal;
  }

  .download-card .small-btn {
    width: 98px;
    height: 37px;
    font-size: 14px;
  }

  .desktop-download-arrow {
    width: 15px;
    height: 15px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .page-scroll.detail + .site-footer-shell {
    margin-top: 0;
  }
}

@media (min-width: 768px) {
  .category-tabs-shell:not(.is-scrollable) .category-tabs-control {
    visibility: hidden;
    pointer-events: none;
  }
}

@media (min-width: 1024px) {
  .information-page {
    width: min(100%, 870px);
    margin: 0 auto;
    padding-right: 24px;
    padding-bottom: 140px;
    padding-left: 24px;
  }

  .information-page .topbar {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .information-breadcrumb {
    margin: 16px 0 28px;
  }

  .information-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .information-topic-card {
    height: 156px;
    border-radius: 9px;
    padding: 20px;
    background: #f7f7f7;
  }

  .information-topic-card::before {
    top: -20px;
    right: -52px;
    bottom: auto;
    width: 233px;
    height: 233px;
    filter: saturate(0.9) blur(0.5px);
    opacity: 0.35;
    transform: none;
  }

  .information-topic-card::after {
    background: linear-gradient(90.13deg, #f7f7f7 0%, #f7f7f7 18.8%, rgba(247, 247, 247, 0.85) 99.93%);
  }

  .information-topic-card strong {
    width: 200px;
    height: 50px;
    max-width: 200px;
    color: #000000;
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
  }

  .information-topic-card .home-topic-icons {
    right: 20px;
    bottom: 22px;
    left: 20px;
    gap: 12px;
  }

  .information-topic-card .home-topic-icons img {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    border: 1px solid #eaeaea;
    border-radius: 9px;
    background: #ffffff;
  }

  .information-feed-section {
    margin-top: 32px;
  }

  .information-feed-section > h2 {
    margin-bottom: 24px;
  }

  .information-filter-tabs {
    gap: 32px;
    margin-bottom: 24px;
  }

  .information-filter-tabs button {
    padding-bottom: 6px;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0.4px;
  }

  .information-pinned-grid {
    gap: 24px;
    margin-bottom: 24px;
  }

  .information-pinned-card > a > img,
  .information-pinned-card > div > img {
    height: 234px;
    object-fit: cover;
  }

  .information-pinned-card .information-card-copy {
    min-height: 78px;
    gap: 12px;
    padding: 12px;
  }

  .information-pinned-card h3 {
    font-size: 14px;
    line-height: 22px;
  }

  .information-pinned-badge {
    padding: 5px 13px;
    border-radius: 0 0 8px 0;
    font-size: 12px;
  }

  .information-pinned-author,
  .information-card-source {
    gap: 6px;
    font-size: 12px;
    line-height: 20px;
  }

  .information-card time {
    font-size: 12px;
    line-height: 20px;
  }

  .information-pinned-card .information-pinned-author img,
  .information-card .information-card-source img {
    width: 20px;
    height: 20px;
    min-height: 0;
  }

  .information-waterfall {
    column-count: 3;
    column-gap: 24px;
  }

  .information-waterfall.is-filtered {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
    column-count: initial;
  }

  .information-waterfall.is-filtered .information-card {
    margin-bottom: 0;
  }

  .information-card {
    margin-bottom: 24px;
  }

  .information-card-copy {
    gap: 12px;
    padding: 12px;
  }

  .information-card h3 {
    font-size: 14px;
    line-height: 22px;
  }

  .information-page ~ .site-footer-shell {
    width: 870px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 48px;
    padding-left: 48px;
  }
}
