*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-tap-highlight-color: transparent; 
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #0a0a0a;
  background: #fff;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:root {
  --bg: #fff;
  --blue: #3478f5;
  --border: 1px solid #eee;
  --bodyborder: 1.3rem;
  --colorgray: #aaaaad;
  --color8c8b90: #8c8b90;
  --color4a4a4e: #4a4a4e;
  --colore9e9ec: #e9e9ec;
  --box: #f2f1f5;
}

.page {
  padding-bottom: 4rem;
  max-width: 750px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* 顶部应用信息 */
.base-info {
  display: flex;
  align-items: flex-start;
  padding: 2.4rem var(--bodyborder) 1.3rem;
}

.base-info__icon {
  flex-shrink: 0;
  width: 6.9rem;
  height: 6.9rem;
  border-radius: 0.8rem;
  overflow: hidden;
}

.base-info__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.base-info__main {
  flex: 1;
  min-width: 0;
  margin-left: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.base-info__title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
}

.base-info__hint {
  margin: 0.35rem 0 0;
  line-height: 1.45;
  color: gray;
  font-size: 0.88rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.btn-install,
.btn-trust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 6.2rem;
  height: 1.85rem;
  padding: 0 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.88rem;
  line-height: 1;
  white-space: nowrap;
}

.btn-install {
  background: var(--blue);
  color: #fff;
}

.btn-trust {
  color: var(--blue);
  border: 1px solid var(--blue);
  background: #fff;
}

.btn__icon {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  object-fit: contain;
}

.btn__text {
  line-height: 1;
  transform: translateY(0.02rem);
}

/* 评分区 */
.rate-info {
  display: flex;
  align-items: flex-start;
  padding: 1rem 0 0.8rem;
  margin: 0 var(--bodyborder);
  border-top: var(--border);
}

.rate-info__col {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.rate-info__col--rate {
  flex: 1.35;
}

.rate-info__label {
  margin: 0;
  color: #878789;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
}

.rate-info__value {
  margin: 0.1rem 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color8c8b90);
  line-height: 1.2;
}

.rate-info__value--large {
  font-size: 1.4rem;
}

.rate-info__stars {
  width: 5rem;
  margin: 0.15rem auto 0;
}

.rate-info__divider {
  flex-shrink: 0;
  width: 1px;
  height: 2.5rem;
  margin: 0.4rem 0.35rem 0;
  background: #eee;
}

/* 简介 */
.app-info {
  border-top: var(--border);
  margin: 0 1.25rem;
}

.app-info__title {
  margin: 1.2rem 0 0.5rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.app-info__content {
  margin: 0 0 1.2rem;
  font-size: 1.08rem;
  line-height: 1.75;
}

.app-info__content p {
  margin: 0;
}

.app-info__lead,
.app-info__subtitle {
  margin-bottom: 0.6rem;
}

.app-info__list {
  margin: 0 0 0.6rem;
  padding-left: 1.2rem;
}

.app-info__list li {
  margin-bottom: 0.35rem;
}

.app-info__list li:last-child {
  margin-bottom: 0;
}

/* 评分及评论 */
.comment-info {
  border-top: var(--border);
  padding: 1rem 0;
  margin: 0 1.25rem;
}

.comment-info__title {
  margin: 0.3rem 0 0.85rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.comment-info__summary {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.comment-info__score-wrap {
  flex-shrink: 0;
}

.comment-info__score {
  font-size: 60px;
  line-height: 1;
  font-weight: 700;
  color: #4a4a4a;
}

.comment-info__score-label {
  width: 5.6875rem;
  margin: 0.625rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color8c8b90);
}

.comment-info__bars {
  flex: 1;
  min-width: 0;
  padding-top: 0.15rem;
}

.star-row {
  display: flex;
  align-items: center;
  margin-top: 0.35rem;
}

.star-row:first-child {
  margin-top: 0;
}

.star-row__img {
  position: relative;
  width: 2.875rem;
  height: 0.5rem;
  flex-shrink: 0;
  overflow: hidden;
}

.star-row__img img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.star-row__mask {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--bg);
}

.star-row__bar {
  flex: 1;
  height: 2px;
  margin-left: 0.5rem;
  background: var(--colore9e9ec);
  border-radius: 1px;
  overflow: hidden;
}

.star-row__bar-fill {
  height: 100%;
  background: var(--color4a4a4e);
  border-radius: 1px;
}

.comment-info__count {
  margin: 0.5rem 0 0;
  text-align: right;
  font-size: 0.75rem;
  color: var(--colorgray);
}

/* 单条评论 */
.comment-card {
  background: var(--box);
  border-radius: 0.5rem;
  margin: 0 1.25rem 1.3rem;
  padding: 0.7rem;
}

.comment-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 5px;
}

.comment-card__title {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.comment-card__date {
  flex-shrink: 0;
  font-size: 1rem;
  color: #908f96;
}

.comment-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.comment-card__stars img {
  width: 4.6rem;
}

.comment-card__author {
  font-size: 1rem;
  color: var(--colorgray);
}

.comment-card__body {
  margin: 0.4rem 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

/* 信息列表 */
.info-section {
  border-top: var(--border);
  margin: 0 var(--bodyborder);
}

.info-section__title {
  margin: 0.6rem 0 0;
  font-size: 1.6rem;
  font-weight: 700;
}

.info-list li {
  display: flex;
  align-items: center;
  line-height: 3.2rem;
  border-bottom: var(--border);
  font-size: 1.05rem;
}

.info-list__label {
  color: #aaa9aa;
}

.info-list__value {
  flex: 1;
  text-align: right;
  line-height: 1rem;
}

/* 免责声明 */
.disclaimer {
  padding: 0.71rem var(--bodyborder);
  color: var(--colorgray);
  font-size: 1rem;
  line-height: 1.55;
}
