/* 邻聚同城 · 同城合伙人 */
.pt-page { --pt-theme: #0e9f6e; --pt-ink: #17251f; --pt-sub: #667a72; --pt-muted: #94a69f; --pt-line: #e4efe9; --pt-bg: #f4faf7; background: var(--pt-bg); color: var(--pt-ink); min-height: 100vh; padding-bottom: 84px; }
.pt-page a { color: inherit; }
.pt-page img { max-width: 100%; }

/* 首页入口 */
.pt-entry { position: relative; display: block; margin: 14px 14px 0; padding: 15px 15px 12px; border-radius: 20px; overflow: hidden; color: #fff; background: radial-gradient(90% 80% at 86% 0%, rgba(255, 220, 132, 0.3), transparent 58%), linear-gradient(145deg, #07593f, #0e9f6e 58%, #19ba89); box-shadow: 0 13px 28px rgba(9, 80, 50, 0.2); }
.pt-entry::after { content: ""; position: absolute; right: -42px; top: -55px; width: 165px; height: 165px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.04); }
.pt-entry-glow { position: absolute; left: -35px; bottom: -60px; width: 150px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 221, 132, 0.18), transparent 67%); }
.pt-entry-top { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.pt-entry-kicker { font-size: 8px; letter-spacing: 1.9px; color: rgba(225, 255, 241, 0.62); font-weight: 700; }
.pt-entry-title { margin-top: 6px; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: 0.5px; display: flex; align-items: baseline; gap: 7px; }
.pt-entry-title span { font-family: var(--font); font-size: 9.5px; font-weight: 700; color: #5a3c00; background: #ffe1a8; padding: 3px 6px; border-radius: 5px; }
.pt-entry-sub { margin-top: 5px; font-size: 10px; color: rgba(226, 255, 242, 0.7); }
.pt-entry-crown { width: 45px; height: 45px; flex: none; border-radius: 13px; display: grid; place-items: center; color: #3d2700; background: linear-gradient(135deg, #ffe9a6, #efc35b); box-shadow: 0 7px 17px rgba(0, 0, 0, 0.22); }
.pt-entry-crown .ico { width: 23px; height: 23px; }
.pt-entry-levels { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.pt-entry-levels span { font-size: 8.5px; font-weight: 600; padding: 3px 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); }
.pt-entry-foot { position: relative; z-index: 2; margin-top: 9px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.13); display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 8.5px; color: rgba(226, 255, 242, 0.62); }
.pt-entry-foot span { display: flex; align-items: center; gap: 2px; }

.pt-hero { position: relative; padding: calc(13px + env(safe-area-inset-top, 0px)) 16px 58px; color: #fff; overflow: hidden; border-radius: 0 0 28px 28px; background: radial-gradient(90% 80% at 85% 0%, rgba(255, 219, 128, 0.28), transparent 58%), linear-gradient(145deg, #07593f, var(--pt-theme) 55%, #18b989); }
.pt-hero::after { content: ""; position: absolute; right: -48px; top: 42px; width: 155px; height: 155px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.17); box-shadow: 0 0 0 25px rgba(255, 255, 255, 0.055); }
.pt-hero-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; }
.pt-round { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.22); }
.pt-round .ico { width: 18px; height: 18px; }
.pt-brand { flex: 1; display: flex; align-items: center; gap: 7px; min-width: 0; }
.pt-brand-mark { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px; color: #3d2700; background: linear-gradient(135deg, #ffe9a6, #f0c35c); }
.pt-brand-mark .ico { width: 18px; height: 18px; }
.pt-brand b { display: block; font-size: 14px; font-weight: 800; }
.pt-brand small { display: block; font-size: 8px; letter-spacing: 1.8px; opacity: 0.6; margin-top: 1px; }
.pt-user-row { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.pt-avatar { width: 51px; height: 51px; flex: none; border-radius: 15px; overflow: hidden; display: grid; place-items: center; background: rgba(255, 255, 255, 0.17); border: 1.5px solid rgba(255, 255, 255, 0.3); }
.pt-avatar .ico { width: 24px; height: 24px; }
.pt-user-main { flex: 1; min-width: 0; }
.pt-user-main h1 { font-size: 19px; font-weight: 800; }
.pt-user-main p { margin-top: 4px; font-size: 9px; color: rgba(236, 255, 247, 0.7); }
.pt-level-pill { display: inline-flex; align-items: center; gap: 3px; margin-top: 5px; font-size: 8.5px; font-weight: 700; padding: 3px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.24); }
.pt-hero-actions { display: flex; gap: 7px; }
.pt-hero-action { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.2); }
.pt-hero-action .ico { width: 18px; height: 18px; }
.pt-invite-line { position: relative; z-index: 2; margin-top: 13px; padding: 9px 11px; border-radius: 10px; display: flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.17); }
.pt-invite-line .ico { color: #ffe09a; }
.pt-invite-line span { flex: 1; font-size: 9px; color: rgba(236, 255, 247, 0.75); }
.pt-invite-line b { font-family: ui-monospace, Menlo, monospace; letter-spacing: 1.2px; font-size: 11.5px; color: #fff3c8; }
.pt-invite-line button { font-size: 8.5px; font-weight: 700; color: #064c37; background: #ffe9a6; padding: 4px 7px; border-radius: 5px; }
.pt-body { padding: 0 13px; }
.pt-summary-card { position: relative; z-index: 4; margin-top: -38px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 16px; border: 1px solid var(--pt-line); box-shadow: 0 8px 22px rgba(10, 80, 50, 0.07); padding: 13px 5px; }
.pt-summary-cell { text-align: center; position: relative; }
.pt-summary-cell + .pt-summary-cell::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 1px; background: #eef5f1; }
.pt-summary-cell b { display: block; font-size: 17px; font-weight: 800; color: #0b6e50; }
.pt-summary-cell span { display: block; margin-top: 3px; font-size: 8.5px; color: var(--pt-muted); }
.pt-quick-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 10px; }
.pt-quick { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 9px; border-radius: 12px; background: #fff; border: 1px solid var(--pt-line); }
.pt-quick .ico { width: 20px; height: 20px; color: var(--pt-theme); }
.pt-quick b { font-size: 10px; }
.pt-quick span { font-size: 8px; color: var(--pt-muted); }
.pt-card { background: #fff; border-radius: 14px; border: 1px solid var(--pt-line); padding: 12px; margin-top: 10px; box-shadow: 0 5px 14px rgba(10, 80, 50, 0.03); }
.pt-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.pt-sec-head h2 { font-size: 15px; font-weight: 800; }
.pt-sec-head a { display: flex; align-items: center; gap: 1px; font-size: 9px; color: var(--pt-muted); }
.pt-chart { width: 100%; height: 104px; }
.pt-chart-wrap { margin-top: 4px; }
.pt-chart-labels { display: flex; justify-content: space-between; font-size: 7.5px; color: var(--pt-muted); padding: 0 2px; }
.pt-chart-kpis { display: flex; gap: 12px; font-size: 8.5px; color: var(--pt-muted); }
.pt-chart-kpis b { color: var(--pt-ink); font-size: 11px; }
.pt-levels-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.pt-levels-scroll::-webkit-scrollbar { display: none; }
.pt-level-card { flex: 0 0 192px; border-radius: 14px; padding: 12px; background: #fff; border: 1.5px solid var(--pt-line); }
.pt-level-card.on { border-color: var(--pt-theme); background: #f2fcf8; }
.pt-level-head { display: flex; align-items: center; gap: 7px; }
.pt-level-badge { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; color: #fff; font-size: 10px; font-weight: 800; background: var(--lc, var(--pt-theme)); }
.pt-level-head b { font-size: 12px; }
.pt-level-head small { display: block; font-size: 8px; color: var(--pt-muted); margin-top: 1px; }
.pt-level-price { margin-top: 9px; display: flex; align-items: baseline; gap: 3px; color: var(--pt-theme); }
.pt-level-price b { font-size: 20px; font-weight: 800; }
.pt-level-price span { font-size: 8px; color: var(--pt-muted); }
.pt-level-rates { margin-top: 7px; display: flex; gap: 10px; font-size: 8.5px; color: var(--pt-sub); }
.pt-level-rates b { color: var(--pt-ink); }
.pt-level-foot { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; font-size: 8px; color: var(--pt-muted); }
.pt-level-foot button { font-size: 8.5px; font-weight: 700; color: var(--pt-theme); }
.pt-commission-row { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--pt-line); }
.pt-commission-row:last-child { border-bottom: 0; }
.pt-comm-ico { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: #edf9f4; color: var(--pt-theme); }
.pt-comm-ico .ico { width: 17px; height: 17px; }
.pt-comm-main { flex: 1; min-width: 0; }
.pt-comm-main b { display: block; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-comm-main small { display: block; margin-top: 3px; font-size: 8px; color: var(--pt-muted); }
.pt-comm-amount { flex: none; text-align: right; }
.pt-comm-amount b { display: block; font-size: 13px; color: #0b8a5f; }
.pt-comm-amount span { display: block; margin-top: 2px; font-size: 7.5px; color: var(--pt-muted); }
.pt-status { display: inline-flex; font-size: 7.5px; font-weight: 700; padding: 2px 4px; border-radius: 3px; }
.pt-status.pending { color: #a56800; background: #fff3d1; }
.pt-status.approved { color: #2470c8; background: #eaf3ff; }
.pt-status.settled { color: #0b7a52; background: #e3f9ef; }
.pt-status.rejected { color: #b33a30; background: #ffefed; }
.pt-empty { display: flex; flex-direction: column; align-items: center; padding: 30px 15px; text-align: center; color: var(--pt-muted); }
.pt-empty-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--pt-line); color: #abd2c2; margin-bottom: 8px; }
.pt-empty-ico .ico { width: 22px; height: 22px; }
.pt-empty b { font-size: 12px; color: var(--pt-sub); }
.pt-empty p { margin-top: 4px; font-size: 9px; line-height: 1.6; }
.pt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 10px 14px; border-radius: 10px; font-size: 11.5px; font-weight: 700; }
.pt-btn.primary { color: #fff; background: linear-gradient(135deg, #16b989, var(--pt-theme)); box-shadow: 0 6px 14px rgba(14, 159, 110, 0.24); }
.pt-btn.gold { color: #3d2700; background: linear-gradient(135deg, #ffe9a6, #efc35b); }
.pt-btn.ghost { color: var(--pt-sub); background: #fff; border: 1px solid var(--pt-line); }
.pt-btn.block { display: flex; width: 100%; margin-top: 9px; }
.pt-btn:disabled { opacity: 0.45; box-shadow: none; }
.pt-mini-btn { display: inline-flex; align-items: center; gap: 2px; padding: 5px 8px; border-radius: 6px; font-size: 8.5px; font-weight: 600; color: var(--pt-sub); background: #fff; border: 1px solid var(--pt-line); }
.pt-mini-btn.primary { color: #fff; background: var(--pt-theme); border-color: var(--pt-theme); }
.pt-mini-btn.danger { color: #c53c31; background: #fff1ef; border-color: #ffd5cf; }
.pt-sub-head { position: relative; padding: calc(13px + env(safe-area-inset-top, 0px)) 16px 20px; color: #fff; background: linear-gradient(150deg, #07593f, var(--pt-theme) 58%, #18b989); border-radius: 0 0 26px 26px; overflow: hidden; }
.pt-sub-head h1 { margin-top: 16px; font-family: var(--font-display); font-size: 23px; font-weight: 800; }
.pt-sub-head p { margin-top: 4px; font-size: 9.5px; color: rgba(235, 255, 247, 0.7); }
.pt-filter { display: flex; gap: 5px; overflow-x: auto; padding: 0 1px 8px; scrollbar-width: none; }
.pt-filter::-webkit-scrollbar { display: none; }
.pt-filter button { flex: none; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--pt-line); background: #fff; color: var(--pt-sub); font-size: 9px; }
.pt-filter button.on { color: var(--pt-theme); border-color: #9ce0c5; background: #e9faf2; font-weight: 700; }
.pt-fans-tabs { display: flex; gap: 4px; background: #fff; border: 1px solid var(--pt-line); border-radius: 10px; padding: 4px; margin-bottom: 9px; }
.pt-fans-tabs button { flex: 1; padding: 7px 2px; border-radius: 7px; font-size: 9.5px; color: var(--pt-sub); }
.pt-fans-tabs button.on { background: var(--pt-theme); color: #fff; font-weight: 700; }
.pt-fan-row { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--pt-line); }
.pt-fan-row:last-child { border-bottom: 0; }
.pt-fan-avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #7fe2bc, #0e9f6e); color: #fff; }
.pt-fan-avatar .ico { width: 18px; height: 18px; }
.pt-fan-main { flex: 1; min-width: 0; }
.pt-fan-main b { font-size: 10.5px; }
.pt-fan-main small { display: block; font-size: 8px; color: var(--pt-muted); margin-top: 2px; }
.pt-fan-right { flex: none; text-align: right; font-size: 8px; color: var(--pt-muted); }
.pt-fan-right b { display: block; font-size: 11px; color: #0b8a5f; }
.pt-note { margin: 10px 3px 0; font-size: 8.5px; color: var(--pt-muted); line-height: 1.6; text-align: center; }
.pt-pending-card { background: #fff; border-radius: 14px; border: 1px solid #f0dfaa; padding: 15px; text-align: center; margin-top: 12px; }
.pt-pending-card .ico { width: 30px; height: 30px; color: #d5a021; }
.pt-pending-card b { display: block; margin-top: 6px; font-size: 14px; }
.pt-pending-card p { margin-top: 5px; font-size: 9px; color: var(--pt-muted); line-height: 1.6; }
.pt-modal { width: min(90vw, 350px); max-height: 82vh; overflow-y: auto; background: #fff; border-radius: 17px; padding: 15px; }
.pt-modal h3 { font-size: 15px; font-weight: 800; }
.pt-modal-sub { margin-top: 4px; font-size: 9px; color: var(--pt-muted); line-height: 1.6; }
.pt-poster-modal { width: min(92vw, 350px); max-height: 90vh; overflow-y: auto; }
.pt-poster { position: relative; overflow: hidden; border-radius: 17px; background: linear-gradient(145deg, #07593f, #0e9f6e 55%, #18b989); color: #fff; }
.pt-poster-bg { position: absolute; inset: 0; }
.pt-poster-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.pt-poster-copy { position: relative; z-index: 2; padding: 18px 16px 13px; }
.pt-poster-copy .pt-brand-mark { margin-bottom: 23px; }
.pt-poster-copy h2 { font-family: var(--font-display); font-size: 25px; font-weight: 800; line-height: 1.3; }
.pt-poster-copy p { margin-top: 7px; font-size: 10px; color: rgba(238, 255, 249, 0.78); line-height: 1.6; }
.pt-poster-user { display: flex; align-items: center; gap: 7px; margin-top: 16px; }
.pt-poster-user .pt-avatar { width: 38px; height: 38px; border-radius: 50%; }
.pt-poster-user b { font-size: 10.5px; }
.pt-poster-user small { display: block; font-size: 8px; color: rgba(238, 255, 249, 0.6); margin-top: 2px; }
.pt-poster-qr { position: relative; z-index: 2; margin: 12px 16px 16px; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); }
.pt-poster-qr img { width: 82px; height: 82px; flex: none; border-radius: 6px; background: #fff; }
.pt-poster-qr b { display: block; font-size: 10px; }
.pt-poster-qr small { display: block; margin-top: 3px; font-size: 7.5px; color: rgba(238, 255, 249, 0.6); }
.pt-poster-actions { display: flex; gap: 7px; margin-top: 9px; }
.pt-poster-actions .pt-btn { flex: 1; }
.pt-join-level { display: flex; flex-direction: column; gap: 0; }
.pt-join-level .pt-level-card { flex: none; margin-bottom: 8px; }
.pt-join-level .pt-level-card .pt-btn { margin-top: 9px; width: 100%; padding: 9px; font-size: 10.5px; }
.pt-trend-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.pt-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pt-half-stat { background: #fff; border-radius: 12px; border: 1px solid var(--pt-line); padding: 11px; text-align: center; }
.pt-half-stat b { display: block; font-size: 18px; color: #0b7e59; }
.pt-half-stat span { display: block; margin-top: 2px; font-size: 8.5px; color: var(--pt-muted); }
.pt-tabs-links { display: flex; gap: 7px; margin-top: 10px; }
.pt-link-card { flex: 1; display: flex; align-items: center; gap: 7px; padding: 10px; border-radius: 11px; background: #fff; border: 1px solid var(--pt-line); }
.pt-link-card span { width: 29px; height: 29px; flex: none; border-radius: 8px; display: grid; place-items: center; background: #e9faf2; color: var(--pt-theme); }
.pt-link-card b { display: block; font-size: 9.5px; }
.pt-link-card small { display: block; margin-top: 2px; font-size: 8px; color: var(--pt-muted); }
.pt-link-card .ico { width: 16px; height: 16px; }
.pt-level-current { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 10px; background: #eefaf4; border: 1px solid #ccecdd; margin-top: 10px; }
.pt-level-current b { font-size: 11px; }
.pt-level-current small { display: block; font-size: 8px; color: var(--pt-muted); margin-top: 2px; }
.pt-upgrade-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.pt-upgrade-row { display: flex; align-items: center; gap: 8px; padding: 9px; border-radius: 9px; border: 1px solid var(--pt-line); background: #fbfdfc; }
.pt-upgrade-row.on { border-color: var(--pt-theme); background: #f1fcf7; }
.pt-upgrade-main { flex: 1; }
.pt-upgrade-main b { font-size: 10.5px; }
.pt-upgrade-main small { display: block; margin-top: 2px; font-size: 8px; color: var(--pt-muted); }
.pt-upgrade-row .pt-btn { padding: 7px 9px; font-size: 9px; }
@media (max-width: 360px) {
  .pt-summary-cell b { font-size: 15px; }
  .pt-split { grid-template-columns: 1fr; }
}
