/* Google Play 应用详情页 —— 对齐 2026 版 Play 网页（桌面 1440 / 移动 390）
   实测基准（play.google.com 桌面）：header 64、内容左右留白 72、主列 845、
   侧栏 364（gap 72）、h1 64/76、安装按钮 200×44 圆角 8、截图 166×296 gap 16、
   区块标题 22/28、正文 14/20、分隔线 #dadce0。 */

:root {
  --gp-green: #01875f;
  --gp-green-hover: #016b4c;
  --gp-green-soft: #e6f4ef;
  --gp-text: #202124;
  --gp-body: #3c4043;
  --gp-muted: #5f6368;
  --gp-line: #dadce0;
  --gp-line-soft: #e8eaed;
  --gp-hover: #f1f3f4;
  --gp-bg: #ffffff;
  --gp-radius: 8px;
  --gp-shell: 1440px;
  --gp-gutter: 72px;
  --gp-side: 364px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--gp-bg);
  color: var(--gp-text);
  font-family: "Google Sans", "Product Sans", Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.hidden { display: none !important; }

/* ============ Header 64px ============ */
.gp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #fff;
  z-index: 60;
}

.gp-header-inner {
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gp-header-left { display: flex; align-items: center; gap: 8px; min-width: 0; }

.gp-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 0;
  font-size: 22px;
  font-weight: 500;
  color: var(--gp-muted);
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.gp-logo-mark { width: 32px; height: 32px; flex-shrink: 0; }

.gp-nav { display: flex; align-items: stretch; height: 64px; }

.gp-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gp-muted);
  border-bottom: 3px solid transparent;
  transition: color .12s, background .12s;
  white-space: nowrap;
}

.gp-nav-link:hover { color: var(--gp-text); background: rgba(60, 64, 67, .04); }
.gp-nav-link.active { color: var(--gp-green); border-bottom-color: var(--gp-green); }

.gp-header-right { display: flex; align-items: center; gap: 4px; }

.gp-hbtn {
  position: relative;
  overflow: hidden;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  color: var(--gp-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .28s cubic-bezier(.4, 0, .2, 1), color .28s cubic-bezier(.4, 0, .2, 1);
}
.gp-hbtn:hover { background: rgba(60, 64, 67, .08); color: var(--gp-text); }
.gp-hbtn:active { background: rgba(60, 64, 67, .12); }

.gp-lang-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--gp-line);
  border-radius: 100px;
  padding: 0 10px;
  height: 34px;
  margin: 0 6px;
}
.gp-lang-wrap select {
  border: 0;
  outline: none;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--gp-body);
  max-width: 132px;
  cursor: pointer;
  padding: 0 2px;
  font-family: inherit;
}

.gp-account {
  position: relative;
  overflow: hidden;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #5f6368;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 6px;
  transition: background .28s cubic-bezier(.4, 0, .2, 1);
}
.gp-account:hover { background: #3c4043; }

/* ============ Shell ============ */
.gp-shell {
  max-width: var(--gp-shell);
  margin: 0 auto;
  padding: 88px var(--gp-gutter) 96px;
}

/* ============ Hero ============ */
.gp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 48px;
  align-items: start;
}

.gp-app-title {
  font-size: 64px;
  line-height: 76px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--gp-text);
  margin: 0 0 4px;
  overflow-wrap: break-word;
  word-break: keep-all;
  text-wrap: balance;
}

.gp-dev-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.gp-dev-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--gp-green);
}
.gp-dev-name:hover { text-decoration: underline; }

.gp-tagline { font-size: 14px; color: var(--gp-muted); margin-top: 4px; }

.gp-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.gp-meta-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--gp-text);
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 24px;
}
.gp-meta-val svg { color: var(--gp-text); }

.gp-meta-sub { font-size: 12px; color: var(--gp-muted); line-height: 20px; }

.gp-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.gp-install-btn {
  position: relative;
  overflow: hidden;
  min-width: 200px;
  height: 44px;
  padding: 10px 24px;
  border: 0;
  border-radius: var(--gp-radius);
  background: var(--gp-green);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .25px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .28s cubic-bezier(.4, 0, .2, 1), box-shadow .28s cubic-bezier(.4, 0, .2, 1), color .28s cubic-bezier(.4, 0, .2, 1);
}
/* Play hover：底色压深一档 + 抬升阴影，不做位移 */
.gp-install-btn:hover {
  background: #056449;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
}
.gp-install-btn:active { background: #044c37; }
.gp-install-btn.installed,
.gp-actions .gp-install-btn.installed {
  background: var(--gp-green);
  color: #fff;
  box-shadow: none;
}
.gp-install-btn.installed:hover,
.gp-actions .gp-install-btn.installed:hover { background: #056449; }
.gp-install-btn:disabled { background: #e8eaed; color: #9aa0a6; cursor: default; box-shadow: none; }

.gp-install-btn:focus-visible,
.gp-text-action:focus-visible,
.gp-hbtn:focus-visible,
.gp-install-btn.installed:focus-visible {
  outline: 2px solid var(--gp-green);
  outline-offset: 2px;
}

.gp-progress-wrap { display: none !important; }

/* 按钮内置安装进度：环形 + 底部细线，尺寸不变、不跳版 */
.gp-btn-ring {
  display: none;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  flex: 0 0 auto;
  transform: rotate(-90deg);
}
.gp-install-btn.installing .gp-btn-ring { display: block; }
.gp-btn-ring svg { width: 20px; height: 20px; display: block; }
.gp-btn-ring circle {
  fill: none;
  stroke: rgba(255, 255, 255, .32);
  stroke-width: 2.2;
}
.gp-btn-ring circle.arc {
  stroke: #fff;
  stroke-linecap: round;
  stroke-dasharray: 50.27;
  stroke-dashoffset: 50.27;
  transition: stroke-dashoffset .16s linear;
}

.gp-btn-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, .22);
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.gp-install-btn.installing .gp-btn-bar { opacity: 1; }
.gp-btn-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  transition: width .16s linear;
}

.gp-install-btn.installing {
  background: #056449;
  cursor: pointer;
}
.gp-install-btn.installing:hover { background: #056449; }
#gp-install-text { font-variant-numeric: tabular-nums; }

.gp-text-action {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--gp-green);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color .28s cubic-bezier(.4, 0, .2, 1), background .28s cubic-bezier(.4, 0, .2, 1);
}
.gp-text-action:hover { color: #056449; background: rgba(1, 135, 95, .08); }
.gp-text-action:active { background: rgba(1, 135, 95, .12); }
.gp-text-action.done { color: #056449; }
.gp-text-action.done svg { fill: currentColor; }

.gp-device-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 12px;
  color: var(--gp-muted);
}

.gp-hero-icon-wrap {
  width: 240px;
  height: 240px;
  border-radius: 20%;
  overflow: hidden;
  background: #f1f3f4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .08);
}
.gp-app-icon { width: 100%; height: 100%; object-fit: cover; }

/* ============ Body grid ============ */
.gp-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--gp-side);
  column-gap: 72px;
  margin-top: 48px;
  align-items: start;
}

.gp-main-col { min-width: 0; }

/* ============ Screenshots ============ */
.gp-shots-section { margin-top: 0; }

.gp-carousel-wrap { position: relative; }

.gp-screenshots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.gp-screenshots::-webkit-scrollbar { display: none; }

.gp-shot-item {
  height: 296px;
  width: auto;
  max-width: 460px;
  border-radius: var(--gp-radius);
  border: 1px solid var(--gp-line-soft);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--gp-hover);
  cursor: zoom-in;
}

.gp-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--gp-body);
  box-shadow: 0 1px 2px rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: box-shadow .28s cubic-bezier(.4, 0, .2, 1), background .28s cubic-bezier(.4, 0, .2, 1);
}
.gp-carousel-arrow:hover { background: #fff; box-shadow: 0 1px 2px rgba(60, 64, 67, .3), 0 2px 6px 2px rgba(60, 64, 67, .15); }
.gp-carousel-arrow:active { background: #f1f3f4; }
.gp-carousel-arrow.prev { left: -24px; }
.gp-carousel-arrow.next { right: -24px; }

/* ============ Sections ============ */
.gp-section { margin-top: 48px; }
.gp-section:first-child { margin-top: 0; }

.gp-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.gp-sec-head h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
  color: var(--gp-text);
  margin: 0;
}

.gp-arrow { color: var(--gp-muted); font-size: 18px; line-height: 1; }

.gp-short-desc {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--gp-body);
}

.gp-full-desc {
  font-size: 14px;
  line-height: 20px;
  color: var(--gp-body);
  white-space: pre-line;
  max-height: 80px;
  overflow: hidden;
  transition: max-height .28s ease;
}
.gp-full-desc.expanded { max-height: 4000px; }

.gp-text-btn {
  border: 0;
  background: transparent;
  color: var(--gp-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0 0;
  cursor: pointer;
}
.gp-text-btn:hover { color: var(--gp-green); }

.gp-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  margin-top: 28px;
}
.gp-info-item { min-width: 120px; }
.gp-info-label { font-size: 12px; color: var(--gp-muted); line-height: 16px; }
.gp-info-val { font-size: 14px; color: var(--gp-text); line-height: 22px; margin-top: 2px; }

.gp-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.gp-tag-chip {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gp-line);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--gp-body);
  background: #fff;
  cursor: pointer;
  transition: background .28s cubic-bezier(.4, 0, .2, 1), border-color .28s cubic-bezier(.4, 0, .2, 1);
}
.gp-tag-chip:hover { background: #f1f3f4; border-color: #c4c7c5; }

.gp-whats-new { font-size: 14px; line-height: 20px; color: var(--gp-body); white-space: pre-line; }

.gp-muted-p { font-size: 14px; line-height: 20px; color: var(--gp-body); margin: 0 0 16px; }

.gp-safety-card {
  border: 1px solid var(--gp-line);
  border-radius: 12px;
  padding: 4px 20px;
}
.gp-safety-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  font-size: 14px;
  color: var(--gp-body);
  border-bottom: 1px solid var(--gp-line-soft);
}
.gp-safety-row:last-child { border-bottom: 0; }
.gp-safety-row svg { color: var(--gp-muted); flex-shrink: 0; }

/* ============ Ratings ============ */
.gp-verified-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gp-muted);
  margin-bottom: 20px;
}

.gp-rating-summary {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.gp-rating-big { min-width: 96px; }
.gp-rating-score {
  font-size: 52px;
  line-height: 1;
  font-weight: 400;
  color: var(--gp-text);
  margin-bottom: 10px;
}
.gp-stars-row { display: flex; gap: 2px; color: var(--gp-green); margin-bottom: 6px; }
.gp-rating-total { font-size: 12px; color: var(--gp-muted); }

.gp-rating-bars { flex: 1; min-width: 260px; max-width: 460px; display: flex; flex-direction: column; gap: 8px; }
.gp-bar-row { display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--gp-muted); }
.gp-bar-track { flex: 1; height: 10px; background: #e8eaed; border-radius: 99px; overflow: hidden; }
.gp-bar-fill { height: 100%; background: var(--gp-green); border-radius: 99px; }

.gp-reviews-list { margin-top: 20px; }

.gp-review-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--gp-line-soft);
}
.gp-review-card:last-child { border-bottom: 0; }

.gp-review-main { flex: 1; min-width: 0; }

.gp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  flex-shrink: 0;
  overflow: hidden;
}
.gp-avatar img { width: 100%; height: 100%; object-fit: cover; }

.gp-review-author { font-size: 14px; font-weight: 500; color: var(--gp-text); }

.gp-review-stars-line { display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; }
.gp-review-stars { display: inline-flex; gap: 1px; color: var(--gp-green); }
.gp-review-date { font-size: 12px; color: var(--gp-muted); }

.gp-review-body { font-size: 14px; line-height: 20px; color: var(--gp-body); }

.gp-review-helpful {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--gp-muted);
}
.gp-helpful-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gp-muted);
  cursor: pointer;
  transition: background .28s cubic-bezier(.4, 0, .2, 1), color .28s cubic-bezier(.4, 0, .2, 1);
}
.gp-helpful-btn:hover { background: rgba(60, 64, 67, .08); color: var(--gp-body); }
.gp-helpful-btn.active { color: var(--gp-green); }
.gp-helpful-btn.active svg { fill: currentColor; }

/* Material 状态层（Play 的点按反馈） */
.rp-host { position: relative; overflow: hidden; }
.rp-ink {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  opacity: .26;
  transform: scale(0);
  pointer-events: none;
  animation: rp-expand .6s cubic-bezier(.2, .6, .2, 1) forwards;
}
@keyframes rp-expand {
  to { transform: scale(1); opacity: 0; }
}

.gp-dev-reply {
  margin-top: 14px;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 14px 16px;
}
.gp-dev-reply-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.gp-dev-reply-date { color: var(--gp-muted); font-weight: 400; font-size: 12px; }
.gp-dev-reply-text { font-size: 13px; line-height: 19px; color: var(--gp-body); }

/* ============ Support (mobile inline) ============ */
.gp-support-inline { display: none; }
.gp-support-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.gp-support-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--gp-line);
  border-radius: 12px;
  color: var(--gp-body);
}
.gp-support-item:hover { background: var(--gp-hover); }
.gp-support-item svg { color: var(--gp-muted); flex-shrink: 0; margin-top: 2px; }
.gp-support-title { display: block; font-size: 14px; font-weight: 500; color: var(--gp-text); }
.gp-support-sub { display: block; font-size: 12px; color: var(--gp-muted); word-break: break-all; }

/* ============ Sidebar ============ */
.gp-side-col { display: flex; flex-direction: column; gap: 16px; }

.gp-cr-card {
  border: 1px solid #c4c7c5;
  border-radius: 16px;
  padding: 18px 24px 14px;
}
.gp-cr-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.gp-cr-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 5px;
  border: 1.5px solid var(--gp-text);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gp-text);
}
.gp-cr-label { font-size: 12px; color: var(--gp-muted); }
.gp-cr-name { font-size: 22px; line-height: 28px; color: #1f1f1f; margin-bottom: 6px; }
.gp-cr-desc { font-size: 13px; line-height: 19px; color: var(--gp-muted); }
.gp-cr-link { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--gp-green); }
.gp-cr-link:hover { text-decoration: underline; }

.gp-side-card { padding: 6px 0; }
.gp-side-title { font-size: 14px; font-weight: 500; color: var(--gp-text); padding: 10px 0 6px; }

.gp-side-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--gp-line-soft);
  color: var(--gp-body);
}
.gp-side-row:hover .gp-side-row-label { text-decoration: underline; }
.gp-side-row svg { color: var(--gp-muted); flex-shrink: 0; margin-top: 1px; }
.gp-side-row-text { min-width: 0; }
.gp-side-row-label { display: block; font-size: 13px; color: var(--gp-body); }
.gp-side-row-sub {
  display: block;
  font-size: 12px;
  color: var(--gp-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
}

.gp-side-kv {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--gp-line-soft);
  font-size: 13px;
  color: var(--gp-muted);
}
.gp-side-kv b { font-weight: 500; color: var(--gp-text); text-align: right; }

/* ============ PWA banner（仅移动端，形态对齐 Play 底部安装条） ============ */
.pwa-bottom-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  width: 100%;
  max-width: none;
  background: #fff;
  border-top: 1px solid var(--gp-line);
  border-radius: 0;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .1);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 80;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  animation: banner-up .32s cubic-bezier(.2, 0, 0, 1);
}
@keyframes banner-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .rp-ink { animation-duration: .01ms !important; }
  .pwa-bottom-banner { animation: none !important; }
  .gp-full-desc { transition: none !important; }
}

/* ============ Mobile app-bar / tabbar（借 Play 安卓端形态） ============ */
.gp-back { display: none; }
.gp-verified { display: inline-flex; align-items: center; margin-left: 2px; }

.gp-tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: #fff;
  border-top: 1px solid var(--gp-line-soft);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}
.gp-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 0;
  color: var(--gp-muted);
  font-size: 11px;
  border-radius: 8px;
  transition: color .28s cubic-bezier(.4, 0, .2, 1), background .28s cubic-bezier(.4, 0, .2, 1);
}
.gp-tab.active { color: var(--gp-green); font-weight: 500; }
.gp-tab:active { background: rgba(60, 64, 67, .08); }

/* 区块标题右侧圆形箭头（Play 安卓端做法） */
.gp-sec-head .gp-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f3f4;
  color: var(--gp-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background .28s cubic-bezier(.4, 0, .2, 1);
}
.gp-sec-head .gp-arrow:hover { background: #e8eaed; }

@media (max-width: 760px) {
  .gp-back { display: inline-flex; }
  .gp-header-left .gp-logo { display: none; }
  .gp-header-right .gp-hbtn:first-child,
  .gp-account { display: none; }
  .gp-header-right { gap: 0; }
  .gp-tabbar { display: flex; }

  /* 移动端 Hero：图标左置 + 标题右排，和 Play 安卓版一致 */
  .gp-hero { grid-template-columns: 84px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .gp-hero-icon-wrap {
    width: 84px;
    height: 84px;
    border-radius: 18%;
    order: 0;
    margin-bottom: 0;
    grid-row: 1;
    grid-column: 1;
  }
  .gp-hero-main { grid-row: 1; grid-column: 2; }
  .gp-app-title { font-size: 22px; line-height: 28px; margin-bottom: 4px; }
  .gp-dev-name { font-size: 13px; }
  .gp-tagline { font-size: 12px; margin-top: 2px; }

  /* 数据三列 + 竖分割线 */
  .gp-meta-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 16px;
    padding: 10px 0;
    border-top: 1px solid var(--gp-line-soft);
    border-bottom: 1px solid var(--gp-line-soft);
  }
  .gp-meta-item { padding: 0 10px; text-align: center; position: relative; }
  .gp-meta-item + .gp-meta-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: var(--gp-line-soft);
  }
  .gp-meta-val { justify-content: center; font-size: 14px; }
  .gp-meta-sub { font-size: 11px; }

  .gp-actions { margin-top: 16px; }
  .gp-install-btn { border-radius: 100px; }
  .gp-text-action { flex: 1; justify-content: center; }

  .gp-shot-item { height: 250px; border-radius: 12px; }
  .gp-screenshots { gap: 10px; }

  .gp-shell { padding-bottom: 168px; }
  .pwa-bottom-banner { bottom: 60px; }
}
.pwa-banner-icon { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.pwa-banner-text { flex: 1; min-width: 0; }
.pwa-banner-title { font-size: 14px; font-weight: 500; color: var(--gp-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pwa-banner-sub { font-size: 12px; color: var(--gp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pwa-banner-btn {
  position: relative;
  overflow: hidden;
  border: 0;
  background: var(--gp-green);
  color: #fff;
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .28s cubic-bezier(.4, 0, .2, 1), box-shadow .28s cubic-bezier(.4, 0, .2, 1);
}
.pwa-banner-btn:hover {
  background: #056449;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
}
.pwa-banner-btn:active { background: #044c37; }
.pwa-banner-close {
  border: 0;
  background: transparent;
  color: var(--gp-muted);
  font-size: 20px;
  line-height: 1;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pwa-banner-close:hover { background: rgba(60, 64, 67, .08); }

/* ============ Modals ============ */
.gp-modal {
  position: fixed;
  inset: 0;
  background: rgba(32, 33, 36, .72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 24px;
}
.gp-lightbox-inner { position: relative; max-width: 92vw; max-height: 90vh; }
.gp-lightbox-inner img { max-width: 100%; max-height: 86vh; border-radius: 10px; }
.gp-lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--gp-text);
  font-size: 20px;
  cursor: pointer;
}

.gp-guide-card {
  width: 100%;
  max-width: 390px;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
}
.gp-guide-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.gp-guide-head img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.gp-guide-title { font-size: 16px; font-weight: 500; color: var(--gp-text); }
.gp-guide-sub { font-size: 13px; color: var(--gp-muted); }
.gp-guide-steps { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; line-height: 19px; color: var(--gp-body); margin-bottom: 18px; }

.gp-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  background: #202124;
  color: #fff;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 140;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
}

/* ============ Responsive ============ */
@media (max-width: 1320px) {
  :root { --gp-gutter: 48px; }
  .gp-body { column-gap: 48px; }
  .gp-app-title { font-size: 56px; line-height: 66px; }
}

@media (max-width: 1100px) {
  :root { --gp-gutter: 32px; }

  .gp-nav-link { padding: 0 12px; }
  .gp-shell { padding-top: 80px; }

  .gp-hero { grid-template-columns: minmax(0, 1fr) 176px; gap: 32px; }
  .gp-hero-icon-wrap { width: 176px; height: 176px; }
  .gp-app-title { font-size: 44px; line-height: 54px; }

  .gp-body { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .gp-side-col { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .gp-cr-card { flex: 1 1 300px; }
  .gp-side-card { flex: 1 1 300px; }
  .gp-support-inline { display: block; }
}

@media (max-width: 760px) {
  .gp-header { height: 56px; }
  .gp-header-inner { padding: 0 8px 0 12px; gap: 8px; }
  .gp-nav { display: none; }
  .gp-logo { font-size: 18px; padding-right: 0; }
  .gp-logo-mark { width: 26px; height: 26px; }
  .hide-sm { display: none; }
  .gp-lang-wrap { height: 30px; padding: 0 8px; margin: 0; }
  .gp-lang-wrap select { font-size: 12px; max-width: 88px; }
  .gp-account { width: 32px; height: 32px; }

  .gp-shell { padding: 72px 16px 120px; }

  .gp-hero { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .gp-hero-icon-wrap { width: 96px; height: 96px; border-radius: 22%; order: -1; margin-bottom: 18px; }

  .gp-app-title { font-size: 28px; line-height: 36px; letter-spacing: 0; margin-bottom: 6px; }
  .gp-dev-name { font-size: 14px; }
  .gp-tagline { font-size: 13px; }

  .gp-meta-row { gap: 28px; margin-top: 18px; }
  .gp-meta-val { font-size: 13px; }
  .gp-meta-sub { font-size: 11.5px; }

  .gp-actions { margin-top: 20px; gap: 4px; }
  .gp-install-btn { min-width: 0; width: 100%; height: 48px; font-size: 15px; border-radius: 8px; }
  .gp-progress-wrap { width: 100%; }
  .gp-text-action { height: 40px; padding: 0 10px; margin-top: 6px; }

  .gp-device-note { display: none; }

  .gp-body { margin-top: 32px; }
  .gp-shot-item { height: 240px; }
  .gp-carousel-arrow { display: none; }

  .gp-section { margin-top: 36px; }
  .gp-sec-head h2 { font-size: 18px; line-height: 24px; }

  .gp-info-grid { gap: 18px 28px; }
  .gp-rating-summary { gap: 24px; }
  .gp-rating-score { font-size: 40px; }
  .gp-rating-bars { min-width: 100%; }

  .gp-side-col { flex-direction: column; }
  .gp-support-inline { display: block; }

  .pwa-bottom-banner { max-width: none; width: 100%; bottom: 0; padding: 8px 10px 8px 12px; }
  .pwa-banner-title { font-size: 13.5px; }
  .pwa-banner-sub { font-size: 11.5px; }
  .pwa-banner-btn { padding: 9px 18px; font-size: 13.5px; }
  .pwa-banner-close { padding: 2px 4px; font-size: 18px; }
}

/* ===== 移动端 Hero 覆盖（置于文件末尾以压过早期 760px 规则） ===== */
@media (max-width: 760px) {
  .gp-hero { grid-template-columns: 84px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .gp-hero-icon-wrap {
    width: 84px; height: 84px; border-radius: 18%;
    order: 0; margin-bottom: 0; grid-row: 1; grid-column: 1;
  }
  .gp-hero-main { grid-row: 1; grid-column: 2; }
  .gp-app-title { font-size: 22px; line-height: 28px; margin-bottom: 4px; }
  .gp-meta-row { grid-column: 1 / -1; }
  .gp-actions { grid-column: 1 / -1; }
  .gp-device-note { grid-column: 1 / -1; }
}

/* ===== 移动端 Hero：图标绝对定位左置，标题行缩进，数据/按钮整宽 ===== */
@media (max-width: 760px) {
  .gp-hero { display: block; position: relative; }
  .gp-hero-icon-wrap {
    position: absolute; left: 0; top: 0;
    width: 84px; height: 84px; border-radius: 18%;
    margin: 0;
  }
  .gp-hero-main { padding-left: 0; }
  .gp-app-title, .gp-dev-line, .gp-tagline { margin-left: 98px; }
  .gp-app-title { font-size: 22px; line-height: 28px; }
  .gp-meta-row {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0; margin-top: 18px; padding: 10px 0;
    border-top: 1px solid var(--gp-line-soft);
    border-bottom: 1px solid var(--gp-line-soft);
  }
}

/* 安装浮条让位底部导航，两条并存不重叠 */
@media (max-width: 760px) {
  .pwa-bottom-banner {
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    border-radius: 14px 14px 0 0;
  }
  .gp-shell { padding-bottom: 210px; }
}

/* ===== 截图轮播：可拖拽 / 可滑动 / 圆点指示 ===== */
.gp-screenshots {
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  overscroll-behavior-x: contain;
}
.gp-screenshots.dragging { cursor: grabbing; scroll-behavior: auto; }
.gp-screenshots.dragging .gp-shot-item { pointer-events: none; }
.gp-shot-item {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.gp-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  min-height: 8px;
}
.gp-dots:empty { display: none; }
.gp-dot {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background: #dadce0;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: width .25s cubic-bezier(.4, 0, .2, 1), background .25s cubic-bezier(.4, 0, .2, 1);
}
.gp-dot.active { width: 18px; background: var(--gp-green); }

@media (max-width: 760px) {
  .gp-screenshots { scroll-snap-type: x proximity; }
  .gp-shot-item { scroll-snap-align: start; }
}

/* 截图尺寸加大，桌面端也有真实可滚动量（否则 5 张刚好塞满，看起来「划不动」） */
.gp-shot-item { height: 340px; }
@media (max-width: 1100px) { .gp-shot-item { height: 300px; } }
@media (max-width: 760px) { .gp-shot-item { height: 260px; } }
