/* Figma Game-001 落地页 31082:583 — 仅设计稿内模块，流式布局（非绝对定位导出） */

:root {
  --pl-green: #02875f;
  --pl-green-hover: #026e4d;
  --pl-ink: #000000;
  --pl-muted: #5f6368;
  --pl-body-soft: rgba(0, 0, 0, 0.4);
  --pl-body-strong: rgba(0, 0, 0, 0.7);
  --pl-divider: rgba(0, 0, 0, 0.2);
  --pl-ph: #d9d9d9;
  --pl-review-name: #333333;
  --pl-review-body: #666666;
  --pl-review-date: #999999;
  --pl-avatar: #7a9aaa;
  --pl-star-empty: #cccccc;
  --pl-bar-track: #e0e0e0;
  --pl-pad-x: 15px;
  --pl-max: 375px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--pl-ink);
  font-family: "Google Sans Flex", "Product Sans", Roboto, system-ui, sans-serif;
}

#Nhsj8 {
  min-height: 100vh;
}

.play-fixed-download {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.play-fixed-download__inner {
  max-width: var(--pl-max);
  margin: 0 auto;
  padding: 10px var(--pl-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.play-fixed-download__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.play-fixed-download__logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--pl-ph);
  overflow: hidden;
  flex-shrink: 0;
}

.play-fixed-download__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-fixed-download__meta {
  min-width: 0;
}

.play-fixed-download__title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--pl-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.play-fixed-download__sub {
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.1;
  color: var(--pl-body-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.play-fixed-download__btn {
  border: none;
  background: var(--pl-green);
  color: #fff;
  border-radius: 6px;
  height: 32px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.play-fixed-download__btn:hover {
  background: var(--pl-green-hover);
}

.play-shell {
  max-width: var(--pl-max);
  margin: 0 auto;
  padding: 56px 0 32px;
  background: #fff;
}

.play-pad {
  padding-left: var(--pl-pad-x);
  padding-right: var(--pl-pad-x);
}

/* —— 顶栏 —— */
.play-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 var(--pl-pad-x);
}

.play-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--pl-muted);
  font-size: 20px;
  font-weight: 600;
}

.play-brand svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.play-top-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.play-icon-btn {
  border: none;
  background: none;
  padding: 0;
  color: var(--pl-muted);
  cursor: pointer;
  display: flex;
}

.play-icon-btn svg {
  width: 20px;
  height: 20px;
}

/* —— 应用头图与标题 —— */
.play-hero {
  display: flex;
  gap: 16px;
  padding: 20px var(--pl-pad-x) 0;
  align-items: center;
}

.play-icon-ph {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--pl-ph);
  flex-shrink: 0;
}

.play-icon-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-hero-text h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.play-dev {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--pl-green);
}

/* —— 统计三列 —— */
.play-stats {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-top: 24px;
  padding: 0 calc(var(--pl-pad-x) + 8px);
  text-align: center;
}

.play-stat {
  flex: 1;
  min-width: 0;
}

.play-stat-val {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--pl-ink);
}

.play-stat-val--stack {
  flex-direction: column;
  gap: 2px;
}

.play-stat-val--stack svg {
  width: 11px;
  height: 11px;
  fill: var(--pl-ink);
}

.play-stat-val svg {
  width: 16px;
  height: 16px;
  fill: var(--pl-green);
}

.play-stat-sub {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 400;
  color: var(--pl-body-soft);
  line-height: 1.2;
}

.play-stat-mid .play-stat-val svg {
  width: 11px;
  height: 11px;
  fill: var(--pl-ink);
}

.play-stat + .play-stat {
  border-left: 1px solid var(--pl-divider);
}

/* —— 安装与分享 —— */
.play-install-wrap {
  margin-top: 20px;
  padding: 0 var(--pl-pad-x);
}

.play-install {
  width: 100%;
  max-width: 345px;
  margin: 0 auto;
  display: block;
  height: 30px;
  border: none;
  border-radius: 4px;
  background: var(--pl-green);
  color: #fff;
  font-family: inherit;
  font-size: 10px;
  font-weight: 400;
  cursor: pointer;
}

.play-install:hover {
  background: var(--pl-green-hover);
}

.play-share-row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.play-share-row svg {
  width: 20px;
  height: 20px;
  fill: var(--pl-green);
}

.play-share-row span {
  font-size: 10px;
  color: var(--pl-green);
}

.play-device {
  margin-top: 20px;
  padding: 0 var(--pl-pad-x);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.play-device svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--pl-muted);
}

.play-device p {
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
  color: var(--pl-body-soft);
}

/* —— 三图横滑 —— */
.play-shots {
  margin-top: 20px;
  padding: 0 var(--pl-pad-x);
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.play-shots::-webkit-scrollbar {
  display: none;
}

.play-shot {
  flex: 0 0 111px;
  width: 111px;
  height: 198px;
  border-radius: 8px;
  background: var(--pl-ph);
  position: relative;
  overflow: hidden;
}

.play-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* —— 文案区块 —— */
.play-section {
  margin-top: 26px;
  padding: 0 var(--pl-pad-x);
}

.play-section h2 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pl-ink);
}

.play-section p {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
  color: var(--pl-body-soft);
  max-width: 345px;
}

/* —— 数据安全框 —— */
.play-safety {
  margin: 22px var(--pl-pad-x) 0;
  padding: 12px 14px;
  border: 1px solid var(--pl-divider);
  border-radius: 8px;
  max-width: 345px;
}

.play-safety-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.play-safety-row + .play-safety-row {
  margin-top: 14px;
}

.play-safety-row svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--pl-muted);
}

.play-safety-row p {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
  color: var(--pl-body-strong);
}

.play-safety-row .play-safety-note {
  margin-top: 2px;
  color: var(--pl-body-strong);
  opacity: 0.95;
}

/* —— 评分：写评论 —— */
.play-rate {
  margin-top: 28px;
  padding: 0 var(--pl-pad-x) 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.play-rate h2 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pl-review-name);
}

.play-rate-sub {
  margin: 0 0 14px;
  font-size: 10px;
  color: var(--pl-review-date);
}

.play-stars-lg {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.play-stars-lg svg {
  width: 28px;
  height: 28px;
  color: var(--pl-star-empty);
}

.play-write {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 345px;
  min-height: 36px;
  padding: 0 16px;
  margin-left: auto;
  margin-right: auto;
  border: none;
  border-radius: 4px;
  background: var(--pl-green);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.play-write:hover {
  background: var(--pl-green-hover);
}

/* —— 评分摘要 + 分布条 —— */
.play-summary {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  margin-top: 20px;
  padding: 0 var(--pl-pad-x);
  max-width: 100%;
}

.play-summary-left {
  flex: 0 0 92px;
  text-align: center;
}

.play-score-big {
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  color: var(--pl-ink);
}

.play-summary-stars {
  display: flex;
  justify-content: center;
  gap: 1px;
  margin: 6px 0 4px;
}

.play-summary-stars svg {
  width: 12px;
  height: 12px;
  display: block;
  fill: var(--pl-green);
}

.play-summary-meta {
  font-size: 10px;
  color: var(--pl-ink);
}

.play-bars {
  flex: 1;
  min-width: 0;
  padding-top: 6px;
}

.play-bar-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.play-bar-line:last-child {
  margin-bottom: 0;
}

.play-bar-num {
  flex: 0 0 10px;
  font-size: 10px;
  text-align: right;
  color: var(--pl-review-body);
}

.play-bar-track {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--pl-bar-track);
  overflow: hidden;
}

.play-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--pl-green);
}

/* —— 单条评论 —— */
.play-review {
  margin-top: 20px;
  padding: 0 var(--pl-pad-x) 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.play-review:last-of-type {
  border-bottom: none;
}

.play-review-head {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px 12px;
}

.play-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pl-avatar);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.play-review-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--pl-review-name);
}

.play-kebab {
  border: none;
  background: none;
  padding: 4px;
  color: var(--pl-review-body);
  cursor: pointer;
  line-height: 0;
}

.play-kebab svg {
  width: 20px;
  height: 20px;
}

.play-review-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 10px;
}

.play-review-stars {
  display: flex;
  gap: 1px;
}

.play-review-stars svg {
  width: 15px;
  height: 15px;
  fill: var(--pl-green);
}

.play-review-date {
  font-size: 12px;
  color: var(--pl-review-date);
}

.play-review-body {
  margin: 10px 0 0;
  font-size: 10px;
  line-height: 1.55;
  color: var(--pl-review-body);
  max-width: 345px;
}
