/* ==========================================================================
   weixinqun.cc — mjbotapp
   骨架：应用商店详情页（商品卡 Hero → 左侧常驻信息栏 + 右侧长文详情）
   ========================================================================== */

body.page-mjbotapp { background: #f4f7ff; color: #0f172a; }

/* ---------- Hero 商品卡 ---------- */
.app-hero {
  padding: 44px 0 52px;
  background:
    radial-gradient(700px 400px at 82% 0%, rgba(37, 99, 235, .14), transparent 60%),
    linear-gradient(180deg, #eef4ff, #f4f7ff);
}
.app-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 250px;
  gap: 28px;
  padding: 30px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(30, 58, 138, .12);
}
.app-icon {
  width: 116px; height: 116px;
  border-radius: 26px;
  background: linear-gradient(135deg, #2563eb, #22c55e);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px rgba(37, 99, 235, .25);
}
.app-icon svg { width: 58px; height: 58px; }
.app-head .app-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  color: #64748b;
  text-transform: uppercase;
}
.app-head h1 {
  margin-top: 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -1px;
  color: #0b1220;
}
.app-head .app-sub { margin-top: 8px; font-size: 14.5px; color: #475569; }
.app-head .app-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.app-head .app-tags span {
  padding: 4px 10px;
  border-radius: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11.5px;
  font-weight: 600;
}
.app-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.app-actions .btn { border-radius: 12px; padding: 12px 22px; }
.app-actions .btn-primary { background: #2563eb; color: #fff; box-shadow: 0 10px 22px rgba(37, 99, 235, .25); }
.app-actions .btn-room { border-color: #cbd5e1; color: #334155; border-radius: 12px; }
.app-actions .btn-room b { color: #2563eb; }

.app-facts {
  border-left: 1px solid #e2e8f0;
  padding-left: 24px;
  display: grid;
  align-content: center;
  gap: 14px;
}
.app-facts div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.app-facts dt { color: #64748b; }
.app-facts dd { font-weight: 700; color: #0f172a; text-align: right; }
.app-facts .rating { color: #f59e0b; }

/* Hero 配图 */
.app-shot {
  margin: 22px 0 0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 44px rgba(30, 58, 138, .1);
}
.app-shot img {
  width: 100%;
  display: block;
  background: #f8fbff;
}
.app-shot figcaption {
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.4px;
  color: #64748b;
  border-top: 1px solid #eff3f9;
  text-align: right;
}

/* ---------- 主体两栏 ---------- */
.app-body {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 54px 0 20px;
}
.app-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 14px;
}
.app-aside .aside-card {
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.app-aside .aside-card h2 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
}
.app-aside .aside-card ul { margin-top: 12px; display: grid; gap: 8px; }
.app-aside .aside-card li { font-size: 12.5px; color: #475569; display: flex; justify-content: space-between; gap: 10px; }
.app-aside .aside-card li b { color: #0f172a; font-weight: 700; }
.app-aside .aside-card a {
  display: inline-flex;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: #1d4ed8;
}
.app-aside .aside-card a:hover { text-decoration: underline; }
.app-aside .aside-cta { background: #0f172a; border-color: #0f172a; color: #cbd5e1; }
.app-aside .aside-cta h2 { color: #94a3b8; }
.app-aside .aside-cta p { margin-top: 10px; font-size: 12.5px; line-height: 1.8; color: #94a3b8; }
.app-aside .aside-cta .btn { width: 100%; margin-top: 14px; background: #fff; color: #0f172a; border-radius: 10px; padding: 11px 14px; font-size: 13px; }

.app-content { min-width: 0; }
.app-sec { padding: 0 0 56px; scroll-margin-top: calc(var(--header-h) + 20px); }
.app-sec .eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  color: #2563eb;
  text-transform: uppercase;
}
.app-sec h2 {
  margin-top: 10px;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -.4px;
  color: #0b1220;
}
.app-sec p.app-lead { margin-top: 10px; font-size: 14px; line-height: 1.95; color: #475569; max-width: 700px; }

/* ---------- 预览缩略 ---------- */
.shot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.shot {
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 14px;
  overflow: hidden;
}
.shot .shot-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}
.shot .shot-bar i { width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; }
.shot .shot-bar span { margin-left: auto; font-family: var(--mono); font-size: 9px; color: #94a3b8; }
.shot .shot-body { padding: 14px 2px 4px; display: grid; gap: 9px; }
.shot .line { height: 8px; border-radius: 4px; background: #eef2f7; }
.shot .line.w70 { width: 70%; }
.shot .line.w50 { width: 50%; }
.shot .line.blue { background: #dbeafe; }
.shot .line.green { background: #dcfce7; }
.shot .bubble {
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 10px;
  color: #64748b;
}
.shot .bubble::before {
  content: "";
  width: 7px; height: 7px;
  margin-top: 3px;
  border-radius: 50%;
  background: #22c55e;
  flex: none;
}
.shot .bubble.right { background: #eff6ff; color: #1e40af; }
.shot .bubble.right::before { background: #2563eb; }
.shot figcaption {
  margin-top: 10px;
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}

/* ---------- 功能行 ---------- */
.feature-rows { display: grid; gap: 0; border-top: 1px solid #e2e8f0; margin-top: 22px; }
.feature-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 170px;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid #e2e8f0;
}
.feature-row .f-no {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}
.feature-row h3 { font-size: 16px; font-weight: 800; color: #0b1220; }
.feature-row p { margin-top: 6px; font-size: 13.2px; line-height: 1.85; color: #475569; }
.feature-row .f-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .8px;
  color: #94a3b8;
  text-align: right;
  padding-top: 4px;
}

/* ---------- 安装步骤 ---------- */
.install-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.install-step {
  padding: 24px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.install-step .n {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 9px;
  background: #0f172a;
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
}
.install-step h3 { margin-top: 14px; font-size: 15.5px; font-weight: 800; }
.install-step p { margin-top: 8px; font-size: 12.8px; line-height: 1.8; color: #475569; }

/* ---------- 表格 ---------- */
.app-table-wrap { border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; margin-top: 22px; background: #fff; }
.app-table-scroll { overflow-x: auto; }
.app-table { min-width: 560px; }
.app-table th, .app-table td { padding: 14px 18px; text-align: left; font-size: 13px; border-bottom: 1px solid #f1f5f9; color: #334155; }
.app-table thead th { background: #f8fafc; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.1px; color: #64748b; font-weight: 600; }
.app-table tbody tr:last-child td { border-bottom: 0; }
.app-table tbody tr:hover { background: #f8fbff; }
.app-table td strong { color: #0b1220; }
.app-table td code {
  font-family: var(--mono);
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #eff6ff;
  color: #1d4ed8;
}
.app-table .yes { color: #15803d; font-weight: 700; }
.app-table .no { color: #b91c1c; font-weight: 700; }
.app-table .mid { color: #b45309; font-weight: 700; }

/* ---------- 版本条目 ---------- */
.version-list { margin-top: 22px; border-left: 2px solid #dbeafe; padding-left: 22px; display: grid; gap: 20px; }
.version-item { position: relative; }
.version-item::before {
  content: "";
  position: absolute;
  left: -29px; top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #2563eb;
}
.version-item .v-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.version-item .v-head b { font-family: var(--mono); font-size: 14px; color: #0b1220; }
.version-item .v-head time { font-family: var(--mono); font-size: 11px; color: #94a3b8; }
.version-item .v-head .v-tag {
  padding: 1px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 10.5px;
  font-family: var(--mono);
}
.version-item p { margin-top: 6px; font-size: 13px; line-height: 1.85; color: #475569; }

/* ---------- 场景卡 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.scene-card { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid #e2e8f0; }
.scene-card .s-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.2px; color: #2563eb; }
.scene-card h3 { margin-top: 8px; font-size: 15.5px; font-weight: 800; }
.scene-card p { margin-top: 8px; font-size: 12.8px; line-height: 1.85; color: #475569; }

/* ---------- 提示 ---------- */
.app-note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  margin-top: 18px;
}
.app-note b { flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: #b45309; padding-top: 2px; }
.app-note p { font-size: 12.8px; line-height: 1.85; color: #78350f; }

/* ---------- FAQ / 相关 / CTA ---------- */
.app-faq .acc-list { border-top-color: #e2e8f0; }
.app-faq .acc-item { border-bottom-color: #e2e8f0; }
.app-faq .acc-trigger { color: #0b1220; }
.app-faq .acc-panel { color: #475569; }
.app-faq .acc-item.is-open .acc-trigger::after { color: #2563eb; }

.app-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.app-related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: border-color .2s, box-shadow .2s;
}
.app-related a:hover { border-color: #93c5fd; box-shadow: 0 8px 20px rgba(37, 99, 235, .08); }
.app-related span { font-size: 13.2px; font-weight: 600; color: #0f172a; }
.app-related em { font-style: normal; font-family: var(--mono); font-size: 11px; color: #2563eb; }

.app-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 26px;
  align-items: center;
  padding: 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #e2e8f0;
  margin-bottom: 50px;
}
.app-cta h2 { font-size: 23px; font-weight: 900; color: #fff; line-height: 1.35; }
.app-cta p { margin-top: 10px; font-size: 13.2px; color: #94a3b8; line-height: 1.9; }
.app-cta .cta-actions { display: grid; gap: 10px; justify-items: start; }
.app-cta .btn-primary { background: #2563eb; color: #fff; border-radius: 10px; }
.app-cta .tg-link { border-color: rgba(226, 232, 240, .3); color: #e2e8f0; border-radius: 10px; }
.app-cta .tg-link:hover { border-color: #60a5fa; background: rgba(96, 165, 250, .1); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .app-card { grid-template-columns: 92px minmax(0, 1fr); padding: 24px; }
  .app-icon { width: 92px; height: 92px; border-radius: 22px; }
  .app-facts { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #e2e8f0; padding-left: 0; padding-top: 18px; grid-template-columns: 1fr 1fr; }
  .app-body { grid-template-columns: 1fr; gap: 24px; }
  .app-aside { position: static; grid-template-columns: 1fr 1fr; }
  .shot-row { grid-template-columns: 1fr 1fr; }
  .install-steps { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .app-cta { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .app-card { grid-template-columns: 1fr; }
  .app-icon { width: 84px; height: 84px; }
  .app-facts { grid-template-columns: 1fr; }
  .app-aside { grid-template-columns: 1fr; }
  .shot-row { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 34px minmax(0, 1fr); }
  .feature-row .f-meta { grid-column: 2; text-align: left; padding-top: 0; }
  .app-related { grid-template-columns: 1fr; }
  .app-actions .btn { width: 100%; }
  .app-sec { padding-bottom: 44px; }
  .app-cta { padding: 24px; }
}
