/* ==========================================================================
   mjbotapp下载 内页骨架：应用商店详情页
   图标头部 + 评分分布 + 截图横滑 + 评论卡
   ========================================================================== */

:root {
  --st-bg: #fbfaf8;
  --st-ink: #1c1917;
  --st-muted: #78716c;
  --st-orange: #f97316;
  --st-orange-dk: #c2410c;
  --st-line: #eee9e3;
  --st-soft: #fdf6ef;
}

body.st-page { background: var(--st-bg); color: var(--st-ink); }

.st-page .brand-mark { background: linear-gradient(140deg, #fdba74, #ea580c); color: #fff; box-shadow: 0 6px 16px rgba(234, 88, 12, .26); }
.st-page .brand-text em { color: var(--st-orange-dk); }
.st-page .site-nav a.is-active { color: var(--st-orange-dk); background: rgba(249, 115, 22, .1); }
.st-page .btn-login { background: linear-gradient(135deg, #fb923c, #ea580c); box-shadow: 0 8px 20px rgba(234, 88, 12, .26); }

/* ---------------- Hero ---------------- */
.st-hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 76px;
  background:
    radial-gradient(700px 400px at 82% 6%, rgba(251, 146, 60, .16), transparent 66%),
    linear-gradient(180deg, #fffdfb, var(--st-bg));
  border-bottom: 1px solid var(--st-line);
}

.st-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 48px;
  align-items: center;
}

.st-app-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}

.st-app-head .icon {
  flex: none;
  width: 92px; height: 92px;
  display: grid; place-items: center;
  border-radius: 22px;
  background: linear-gradient(140deg, #fdba74, #ea580c);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(234, 88, 12, .28);
}

.st-app-head h1 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  letter-spacing: -.4px;
  line-height: 1.2;
}

.st-app-head .sub {
  margin-top: 4px;
  font-size: 14px;
  color: var(--st-muted);
}

.st-app-head .sub b { color: var(--st-orange-dk); }

.st-lead {
  font-size: 16px;
  line-height: 1.9;
  color: #57534e;
  margin-bottom: 24px;
}

.st-lead strong { color: var(--st-ink); }

.st-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.st-actions .btn-primary {
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #fff;
  box-shadow: 0 14px 30px rgba(234, 88, 12, .28);
}

.st-actions .btn-room {
  background: #fff;
  border: 1px solid var(--st-line);
  color: var(--st-orange-dk);
}

.st-actions .btn-room b { letter-spacing: 1.5px; }

/* 三列指标 */
.st-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--st-line);
  border-bottom: 1px solid var(--st-line);
}

.st-facts div {
  padding: 16px 14px 16px 0;
  border-right: 1px solid var(--st-line);
}

.st-facts div:last-child { border-right: 0; padding-right: 0; }
.st-facts div + div { padding-left: 16px; }

.st-facts .k { display: block; font-size: 11px; letter-spacing: 1px; color: #a8a29e; margin-bottom: 3px; }
.st-facts .v { display: block; font-size: 15px; font-weight: 800; }
.st-facts .v.star { color: #f59e0b; }

.st-visual {
  position: relative;
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--st-line);
  box-shadow: 0 30px 60px rgba(120, 113, 108, .16);
}

.st-visual img { border-radius: 14px; }

.st-visual .badge {
  position: absolute;
  right: -10px;
  bottom: 26px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--st-orange-dk);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(194, 65, 12, .32);
}

/* ---------------- 段落 ---------------- */
.st-section { padding: 74px 0; }
.st-section.soft { background: var(--st-soft); border-block: 1px solid var(--st-line); }

.st-head { max-width: 700px; margin-bottom: 34px; }

.st-head .k { font-size: 12px; font-weight: 800; letter-spacing: 2.5px; color: var(--st-orange-dk); }
.st-head h2 { margin: 10px 0 8px; font-size: clamp(23px, 2.9vw, 32px); font-weight: 900; line-height: 1.3; }
.st-head p { font-size: 15px; color: var(--st-muted); }

/* 评分 */
.rating-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  padding: 32px 34px;
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 18px;
}

.rating-big { text-align: center; }

.rating-big .n {
  font-family: Georgia, serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

.rating-big .s { color: #f59e0b; font-size: 16px; letter-spacing: 3px; margin-top: 6px; }
.rating-big .c { font-size: 12.5px; color: #a8a29e; margin-top: 4px; }

.rating-bars { display: grid; gap: 10px; }

.rating-bars .row {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 14px;
  align-items: center;
  font-size: 12.5px;
  color: var(--st-muted);
}

.rating-bars .track {
  height: 8px;
  border-radius: 4px;
  background: #f5f2ee;
  overflow: hidden;
}

.rating-bars .fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #fdba74, #ea580c);
}

.rating-bars .row span:last-child { text-align: right; color: #a8a29e; }

/* 截图横排 */
.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.shot {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--st-line);
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}

.shot:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(120, 113, 108, .14); }

.shot .screen {
  border-radius: 10px;
  background: #1c1917;
  padding: 14px 12px;
  min-height: 230px;
}

.shot .screen .bar {
  height: 8px;
  border-radius: 4px;
  background: #3f3f3f;
  margin-bottom: 8px;
}

.shot .screen .bar.w60 { width: 60%; }
.shot .screen .bar.w40 { width: 40%; }

.shot .screen .tile {
  height: 54px;
  border-radius: 10px;
  background: #292524;
  margin-bottom: 8px;
}

.shot .screen .tile.accent { background: linear-gradient(120deg, #fb923c, #c2410c); }

.shot .cap {
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--st-ink);
}

.shot .cap span { display: block; font-weight: 400; color: var(--st-muted); font-size: 12px; margin-top: 2px; }

/* 版本信息 */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.info-card {
  padding: 26px 28px;
  border-radius: 16px;
  border: 1px solid var(--st-line);
  background: #fff;
}

.info-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 14px; }

.info-card dl { display: grid; gap: 10px; }

.info-card .kv {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--st-line);
  font-size: 13.5px;
}

.info-card .kv:last-child { border-bottom: 0; padding-bottom: 0; }
.info-card dt { color: var(--st-muted); }
.info-card dd { margin: 0; font-weight: 700; text-align: right; }

/* 评论 */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.review {
  padding: 24px 26px;
  border-radius: 16px;
  border: 1px solid var(--st-line);
  background: #fff;
}

.review .top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.review .av {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--st-soft);
  color: var(--st-orange-dk);
  font-weight: 800;
  font-size: 13px;
}

.review .who { font-size: 13px; font-weight: 700; }
.review .stars { font-size: 11.5px; color: #f59e0b; letter-spacing: 1px; }
.review p { font-size: 13.5px; line-height: 1.85; color: #57534e; }
.review .date { margin-top: 10px; font-size: 11.5px; color: #a8a29e; }

/* 相关 */
.st-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.st-related a {
  padding: 22px;
  border-radius: 14px;
  border: 1px solid var(--st-line);
  background: #fff;
  transition: border-color .2s, transform .2s;
}

.st-related a:hover { border-color: #fdba74; transform: translateY(-3px); }
.st-related strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.st-related span { font-size: 12.5px; color: var(--st-muted); }

/* 入场 */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .7s; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1000px) {
  .st-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .st-visual { max-width: 520px; }
  .rating-wrap { grid-template-columns: 1fr; gap: 24px; }
  .shots { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .st-related { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .st-hero { padding: 46px 0 58px; }
  .st-app-head { gap: 14px; }
  .st-app-head .icon { width: 72px; height: 72px; border-radius: 18px; font-size: 24px; }
  .st-app-head h1 { font-size: 24px; }
  .st-actions .btn { width: 100%; }
  .st-facts { grid-template-columns: 1fr 1fr; }
  .st-facts div:nth-child(2) { border-right: 0; }
  .st-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--st-line); }
  .st-section { padding: 56px 0; }
  .shots { grid-template-columns: 1fr; }
  .st-visual .badge { right: 8px; bottom: 8px; }
}
