/* 掌经验 · 设计贴图 + 可点击热区 / 真列表 */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: #1a1a1a;
  min-height: 100%;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1f2329;
}
.px-phone {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  position: relative;
  background: #fff;
  min-height: 100vh;
  padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 0 40px rgba(0,0,0,.35);
}
.px-phone > img.px-screen {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.px-hot {
  position: absolute;
  z-index: 6;
  display: block;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(28,105,221,.15);
}
.px-hot:active { background: rgba(28,105,221,.08); }

/* 真·推荐列表 */
.px-feed { padding: 4px 16px 20px; background: #fff; }
.px-feed-hd {
  font-size: 16px; font-weight: 800; margin: 8px 0 12px;
}
.px-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.px-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid #f0f2f7; box-shadow: 0 6px 20px rgba(31,35,41,.06);
  text-decoration: none; color: inherit; display: block;
}
.px-card:active { transform: scale(.98); }
.px-card .cover {
  height: 120px; background: linear-gradient(160deg,#eaf2ff,#d6e6ff);
  display: flex; align-items: center; justify-content: center;
  color: #1c69dd; font-weight: 800; font-size: 22px;
}
.px-card .cover.prod {
  background: linear-gradient(145deg,#1e3a5f,#334155); color: #93c5fd; font-size: 13px;
  padding: 10px; text-align: center;
}
.px-card .body { padding: 10px; }
.px-card .title {
  font-size: 13px; font-weight: 700; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em;
}
.px-card .meta { margin-top: 6px; font-size: 11px; color: #8f959e; }
.px-card .price { margin-top: 8px; color: #1c69dd; font-weight: 800; font-size: 15px; }
.px-empty { text-align: center; color: #8f959e; padding: 32px 12px; font-size: 14px; }

/* 真·底栏 */
.px-tabbar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 100%; max-width: 390px;
  background: #fff; border-top: 1px solid #f0f1f5;
  display: flex; z-index: 20;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
}
.px-tabbar a {
  flex: 1; text-align: center; font-size: 11px; color: #9aa0a6;
  text-decoration: none; padding: 4px 0;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.px-tabbar a.on { color: #1c69dd; font-weight: 700; }
.px-tabbar svg { width: 24px; height: 24px; }

/* 详情页底部真按钮（盖在贴图上） */
.px-cta {
  position: absolute; left: 4%; right: 4%; bottom: 3%;
  z-index: 8; display: flex; gap: 10px; align-items: center;
}
.px-cta .ghost {
  flex: 0 0 72px; text-align: center; font-size: 12px; color: #555;
  background: rgba(255,255,255,.92); border-radius: 12px; padding: 8px 4px;
  border: 1px solid #eee; cursor: pointer;
}
.px-cta .buy {
  flex: 1; background: #1c69dd; color: #fff; border: 0; border-radius: 999px;
  padding: 14px; font-size: 16px; font-weight: 800; cursor: pointer;
}
.px-tip {
  position: sticky; top: 0; z-index: 30;
  background: #1c69dd; color: #fff; font-size: 12px; text-align: center;
  padding: 6px 10px;
}
.px-tip b { font-weight: 800; }

@media (min-width: 430px) {
  body { padding: 12px 0; }
  .px-phone { border-radius: 20px; overflow: hidden; }
}
