/* detail view */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.6 -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", sans-serif; color: #20242a; background: #eef0f3; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; border: 0; }

.pgShell { display: flex; flex-direction: column; min-height: 100vh; background: #f6f7f9; padding-bottom: 68px; }
.pgMain { flex: 1; display: flex; flex-direction: column; }
.pgIcon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; }

/* top bar */
.pgTopbar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 14px; background: rgba(255,255,255,.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(0,0,0,.07); }
.pgBack { display: flex; align-items: center; font-size: 22px; color: #20242a; line-height: 1; }
.pgBarTitle { font-size: 18px; font-weight: 700; }

/* app card */
.pgApp { margin: 14px 13px 0; padding: 24px 18px; background: #fff; border-radius: 20px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.05); }
.pgAppLogo { width: 88px; height: 88px; margin: 0 auto 12px; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 16px rgba(0,0,0,.13); }
.pgAppLogo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pgAppName { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.pgAppCode { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(5,150,105,.1); color: #059669; font-size: 13px; font-weight: 600; margin-bottom: 16px; }

/* download */
.pgDl { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.pgDlBtn { flex: 1; min-width: 120px; padding: 12px 16px; border-radius: 999px; background: #059669; color: #fff; font-weight: 600; text-align: center; font-size: 14px; }
.pgDlBtn:active { transform: scale(.97); }
.pgDlBtnAlt { background: #2b3036; }

/* panel */
.pgPanel { margin: 12px 13px; padding: 18px; background: #fff; border-radius: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.05); }
.pgPanelHead { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.pgPanelHead .pgIcon { color: #059669; font-size: 16px; flex-shrink: 0; }
.pgPanelText { color: #5a6168; font-size: 14px; line-height: 1.85; }

/* screenshots */
.pgShots { display: flex; gap: 11px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.pgShots::-webkit-scrollbar { display: none; }
.pgShot { flex: 0 0 auto; scroll-snap-align: start; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.05); cursor: pointer; }
.pgShot img { height: 300px; width: auto; display: block; }

/* footer */
.pgFooter { margin-top: auto; padding: 20px 16px 24px; text-align: center; border-top: 1px solid rgba(0,0,0,.06); }
.pgFootMain { color: #868b91; font-size: 14px; font-weight: 600; }
.pgFootCopy { margin-top: 7px; color: #b0b4ba; font-size: 12px; }

/* bottom nav */
.pgNav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; justify-content: space-around; padding: 8px 0 max(8px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid rgba(0,0,0,.07); }
.pgNavItem { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 3px 14px; font-size: 11px; color: #6a7076; }
.pgNavItem .pgIcon { font-size: 21px; }
.pgNavItem.on { color: #059669; }

/* page head (faq) */
.pgHead { text-align: center; padding: 24px 18px 4px; }
.pgHead h1 { font-size: 24px; font-weight: 700; }
.pgHead p { color: #6a7076; font-size: 13px; margin-top: 5px; }

/* faq */
.pgFaqWrap { padding: 16px 13px 0; flex: 1; }
.pgFaq { background: #fff; border-radius: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.05); overflow: hidden; }
.pgFaqItem { border-bottom: 1px solid rgba(0,0,0,.07); }
.pgFaqItem:last-child { border-bottom: none; }
.pgFaqQ { display: flex; align-items: center; gap: 11px; width: 100%; padding: 15px 16px; cursor: pointer; background: none; border: none; text-align: left; font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.pgFaqIcon { flex-shrink: 0; width: 25px; height: 25px; border-radius: 8px; background: linear-gradient(135deg, #059669, #065f46); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.pgFaqText { flex: 1; font-size: 15px; font-weight: 600; }
.pgFaqChev { color: #c9cdd2; font-size: 14px; flex-shrink: 0; transition: transform .25s; }
.pgFaqItem.open .pgFaqChev { transform: rotate(90deg); color: #059669; }
.pgFaqA { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 16px 0 52px; }
.pgFaqItem.open .pgFaqA { padding-bottom: 15px; }
.pgFaqBody { color: #5a6168; font-size: 13px; line-height: 1.85; }
.pgFaqBody a { color: #059669; }

/* responsive */
@media (max-width: 599px) {
  .pgDl { flex-direction: column; }
  .pgDlBtn { min-width: 100%; }
  .pgShot img { height: 250px; }
}
@media (min-width: 900px) {
  .pgPanel, .pgApp, .pgFaqWrap { max-width: 760px; margin-left: auto; margin-right: auto; }
}
