* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 10vw; }
@media (min-width: 400px) {
  html { font-size: 40px; }
}
html, body {
  margin: 0;
  width: 100%;
  background: #000;
  color: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

.page {
  width: 100%;
  min-height: 100vh;
  background: #000;
}

.bar, .dock {
  left: 0;
  right: 0;
  width: 100%;
}
.bar {
  position: fixed;
  top: 0;
  z-index: 20;
  height: 2.90667rem;
  display: flex;
  align-items: center;
  gap: 0.18rem;
  padding: 0 0.24rem;
  background: transparent;
}
.logo {
  width: 1.62rem;
  height: 1.62rem;
  border-radius: 0.28rem;
  object-fit: cover;
  flex: none;
}
.meta { flex: 1; min-width: 0; }
.name {
  font-size: 0.46rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.sub {
  margin-top: 0.06rem;
  font-size: 0.26rem;
  color: #d0d0d0;
  white-space: nowrap;
}
.now {
  flex: none;
  border: 0;
  color: #fff;
  font-size: 0.32rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  height: 0.86rem;
  padding: 0 0.32rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9a3c 0%, #ff4d6a 58%, #ff2f78 100%);
  box-shadow: 0 0.08rem 0.22rem rgba(255, 55, 110, 0.35);
}

.poster { width: 100%; height: auto; }

.dock {
  position: fixed;
  bottom: 0;
  z-index: 20;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.24rem;
  padding: 0 0.28rem calc(0.16rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 56%);
}
.dock button {
  flex: 1;
  border: 0;
  background: none;
  padding: 0;
}
.dock img { width: 100%; height: 1.34rem; object-fit: contain; }

/* 电脑宽屏：内容居中成一条，底部两个下载按钮分在屏幕两边 */
@media (min-width: 1024px) {
  html, body { background: #fff; }
  .page {
    max-width: 400px;
    margin: 0 auto;
    background: #000;
  }
  .bar {
    left: 50%;
    right: auto;
    width: 400px;
    transform: translateX(-50%);
  }
  .dock {
    height: auto;
    padding: 16px 28px calc(20px + env(safe-area-inset-bottom));
    background: transparent;
  }
  .dock button { flex: 0 0 auto; width: auto; }
  .dock img { width: auto; height: 54px; }
}
