body {
  background-color: #ffffff;
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

.filled-icon {
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

.mobile-fast-install {
  isolation: isolate;
}

.external-browser-dialog.is-visible {
  display: flex;
}

body.has-external-browser-dialog {
  overflow: hidden;
}

.about-description {
  white-space: pre-line;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.screenshot-track {
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.screenshot-item {
  flex: 0 0 auto;
  width: 115px;
  height: 204px;
  object-fit: cover;
  scroll-snap-align: start;
}

.screenshot-item2 {
  flex: 0 0 auto;
  width: auto;
  height: 204px;
  max-width: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}

.screenshot-nav {
  display: none;
}

.kOqhQd {
  margin-right: 8px;
  height: 40px;
  width: 40px;
}

.google-play-brand {
  border: 0;
  color: inherit;
  font: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

.google-play-brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  margin: 0 8px 0 0;
  padding: 0;
  vertical-align: baseline;
}

.google-play-brand-text {
  border: 0;
  color: #5f6368;
  font: inherit;
  font-family: Roboto, Arial, sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

.installation-disclosure {
  background: #e6f4ea;
  border-bottom: 1px solid #c4e8d5;
  color: #235c47;
}

.pc-header {
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.pc-header.is-scrolled {
  border-bottom-color: #dadce0;
}

@media (min-width: 768px) {
  .screenshot-item {
    width: 166px;
    height: 296px;
  }

  .screenshot-item2 {
    width: auto;
    height: 296px;
    max-width: 100%;
  }

  .screenshot-nav.is-visible {
    display: flex;
  }
}

.avatar-bg-1 {
  background-color: #607d8b;
}

.avatar-bg-2 {
  background-color: #f4511e;
}

.nav-indicator {
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background-color: #01875f;
  border-radius: 3px 3px 0 0;
  transition: all 0.3s ease;
}

.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rating-partial-star {
  width: 24px;
  height: 24px;
  line-height: 24px;
}

.rating-partial-star__base {
  position: absolute;
  inset: 0;
  color: #dadce0;
  font-size: 24px;
  line-height: 24px;
}

.rating-partial-star__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 24px;
  overflow: hidden;
}

.rating-partial-star__icon {
  display: block;
  width: 24px;
  color: #01875f;
  font-size: 24px;
  line-height: 24px;
}

.rating-bar--92 {
  width: 92%;
}

.rating-bar--5 {
  width: 5%;
}

.rating-bar--3 {
  width: 3%;
}

.rating-bar--0 {
  width: 0;
}


/* ==========================================================
 * UI 细节优化
 * 保留 Google Play 主体结构，只优化移动端安全区、点击反馈与底部 Tabbar。
 * ========================================================== */
:root {
  --mobile-header-height: 56px;
  --mobile-tabbar-content-height: 70px;
  --mobile-safe-top: env(safe-area-inset-top, 0px);
  --mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  font: inherit;
}

/* 移动端顶部栏：给刘海屏 / 灵动岛正确预留安全区。 */
.mobile-header {
  height: calc(var(--mobile-header-height) + var(--mobile-safe-top));
  padding-top: var(--mobile-safe-top);
  border-bottom: 1px solid rgba(218, 220, 224, 0.72);
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.05);
}

.mobile-header-spacer {
  height: calc(var(--mobile-header-height) + var(--mobile-safe-top));
}

.mobile-header__actions {
  flex: 0 0 auto;
}

.mobile-header__action,
.mobile-header__profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #3c4043;
  cursor: pointer;
  transition:
    background-color 140ms ease,
    transform 140ms ease;
}

.mobile-header__action .material-symbols-outlined {
  font-size: 23px;
}

.mobile-header__profile {
  width: 38px;
  height: 38px;
}

.mobile-header__action:active,
.mobile-header__profile:active {
  background: #f1f3f4;
  transform: scale(0.96);
}

.mobile-header__action:focus-visible,
.mobile-header__profile:focus-visible {
  outline: 2px solid #01875f;
  outline-offset: 1px;
}

/* 安装主按钮：保留原绿色主体，只收紧圆角、阴影和动效。 */
.mobile-fast-install {
  min-height: 54px;
  border-radius: 10px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(1, 135, 95, 0.12);
}

.mobile-fast-install::after {
  top: -35%;
  left: -45%;
  width: 42%;
  height: 170%;
  border-radius: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(255, 255, 255, 0.34) 50%,
    rgba(255, 255, 255, 0.08) 65%,
    transparent 100%
  );
  transform: rotate(10deg);
  animation: mobile-install-shine 5.5s ease-in-out infinite;
}

@keyframes mobile-install-shine {
  0%,
  72% {
    opacity: 0;
    transform: translateX(0) rotate(10deg);
  }

  78% {
    opacity: 1;
  }

  92%,
  100% {
    opacity: 0;
    transform: translateX(380%) rotate(10deg);
  }
}

/* Tabbar：Google Play / Material 3 风格。
 * 重点处理 iPhone safe-area、窄屏文字、触控热区和激活态层级。
 */
.mobile-tabbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  height: calc(var(--mobile-tabbar-content-height) + var(--mobile-safe-bottom));
  padding-bottom: var(--mobile-safe-bottom);
  border-top: 1px solid rgba(218, 220, 224, 0.72);
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 -1px 10px rgba(60, 64, 67, 0.06);
  -webkit-backdrop-filter: saturate(145%) blur(14px);
  backdrop-filter: saturate(145%) blur(14px);
  transform: translateZ(0);
}

.mobile-tabbar__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  width: 100%;
  max-width: 600px;
  height: var(--mobile-tabbar-content-height);
  margin: 0 auto;
  padding: 6px 8px 4px;
}

.mobile-tabbar__item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 48px;
  height: 100%;
  padding: 2px 1px 1px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #5f6368;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition:
    color 160ms ease,
    transform 120ms ease;
}

.mobile-tabbar__item::before {
  position: absolute;
  inset: 3px 5px;
  border-radius: 16px;
  background: rgba(95, 99, 104, 0.07);
  content: "";
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 120ms ease,
    transform 120ms ease;
  pointer-events: none;
}

.mobile-tabbar__item:active {
  transform: scale(0.975);
}

.mobile-tabbar__item:active::before {
  opacity: 1;
  transform: scale(1);
}

.mobile-tabbar__item:focus-visible {
  outline: 2px solid #01875f;
  outline-offset: -3px;
}

.mobile-tabbar__icon-wrap {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 32px;
  border-radius: 999px;
  background: transparent;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms cubic-bezier(0.2, 0, 0, 1);
}

.mobile-tabbar__icon {
  font-size: 24px;
  line-height: 1;
  font-variation-settings:
    "FILL" 0,
    "wght" 430,
    "GRAD" 0,
    "opsz" 24;
  transition: font-variation-settings 180ms ease;
}

.mobile-tabbar__label {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 76px;
  overflow: hidden;
  padding: 0 1px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: 0;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-tabbar__item.is-active {
  color: #006c4c;
}

.mobile-tabbar__item.is-active::before {
  opacity: 0;
}

.mobile-tabbar__item.is-active .mobile-tabbar__icon-wrap {
  background: #dff5e7;
  box-shadow: inset 0 0 0 1px rgba(1, 135, 95, 0.035);
  transform: translateY(-1px);
}

.mobile-tabbar__item.is-active .mobile-tabbar__icon {
  font-variation-settings:
    "FILL" 1,
    "wght" 500,
    "GRAD" 0,
    "opsz" 24;
}

.mobile-tabbar__item.is-active .mobile-tabbar__label {
  font-weight: 600;
}

@media (max-width: 359px) {
  .mobile-tabbar__inner {
    padding-right: 3px;
    padding-left: 3px;
  }

  .mobile-tabbar__icon-wrap {
    width: 50px;
  }

  .mobile-tabbar__label {
    max-width: 62px;
    font-size: 10.5px;
    letter-spacing: -0.01em;
  }
}

@media (orientation: landscape) and (max-height: 500px) and (max-width: 767px) {
  :root {
    --mobile-tabbar-content-height: 60px;
  }

  .mobile-tabbar__inner {
    padding-top: 3px;
    padding-bottom: 2px;
  }

  .mobile-tabbar__icon-wrap {
    height: 28px;
  }
}

@media (max-width: 767px) {
  body {
    /* 只预留一次底部空间，避免 footer + body 双重留白。 */
    padding-bottom: calc(
      var(--mobile-tabbar-content-height) + var(--mobile-safe-bottom) + 8px
    );
  }

  .page-footer-content {
    padding-bottom: 24px;
  }

  /* 截图区域在手机上稍微延伸到页面边缘，主体内容宽度不变。 */
  .screenshot-track {
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
    scroll-padding-inline: 16px;
    overscroll-behavior-inline: contain;
  }

  .screenshot-item,
  .screenshot-item2 {
    scroll-snap-stop: always;
  }
}

@media (hover: hover) and (pointer: fine) {
  .mobile-header__action:hover,
  .mobile-header__profile:hover {
    background: #f1f3f4;
  }

  .mobile-tabbar__item:not(.is-active):hover {
    color: #3c4043;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-fast-install::after {
    animation: none;
  }

  .mobile-header__action,
  .mobile-header__profile,
  .mobile-tabbar__item,
  .mobile-tabbar__icon-wrap {
    transition: none;
  }
}
