/* APP 列表 */
.app-card { flex-direction: row; align-items: center; gap: 16px; padding: 16px; }
.app-card__icon { flex: none; width: 76px; height: 76px; border: var(--line); border-radius: 20px; background: var(--mi); }
.app-card__name { font-size: 20px; }
.app-card__line { margin: 2px 0 0; font-size: 14px; color: var(--mo-soft); }
.app-card__ver { margin: 4px 0 0; font-size: 13px; font-weight: 700; color: var(--zhu); }

/* 单个 APP */
.app-head { display: flex; align-items: center; gap: 18px; margin: 8px 0 20px; }
.app-head__icon { flex: none; width: 96px; height: 96px; border: var(--line); border-radius: 24px; box-shadow: var(--pop-small); background: var(--mi); }
.app-head__desc { margin: 12px 0 0; }

.download { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 8px; }
.download__notes { margin: 0 0 24px; padding-left: 1.2em; font-size: 13px; line-height: 1.8; color: var(--mo-soft); }

.shots {
  display: flex;
  gap: 14px;
  margin: 0 -18px;
  padding: 4px 18px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  align-items: flex-start;
}
.shots img {
  flex: none;
  width: 200px;
  height: auto;
  border: var(--line);
  border-radius: 18px;
  background: var(--card);
  scroll-snap-align: start;
}

.versions { width: 100%; border-collapse: separate; border-spacing: 0; border: var(--line); border-radius: var(--radius-small); background: var(--card); overflow: hidden; }
.versions th, .versions td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--mi-deep); }
.versions tr:last-child td { border-bottom: none; }
.versions th { background: var(--mi-deep); font-size: 14px; }
.versions ul { margin: 0; padding-left: 1.1em; }
.versions td:first-child { white-space: nowrap; font-weight: 800; }
.versions th:last-child, .versions td:last-child { white-space: nowrap; }
.versions .latest { margin-left: 6px; }
.versions__date { display: block; font-size: 12px; font-weight: 400; color: var(--mo-soft); }

/* 首页 APP 大图标 */
.app-tile { flex-direction: row; gap: 18px; padding: 18px; }
.app-tile__icon {
  flex: none;
  align-self: flex-start;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  border: var(--line);
  border-radius: 30px;
  box-shadow: var(--pop);
  background: var(--accent);
  transition: transform .12s;
}
.app-tile__icon:hover { transform: rotate(-4deg) scale(1.04); }
.app-tile__icon img { width: 104px; height: 104px; border-radius: 24px; }
.app-tile__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.app-tile__name { font-size: 22px; }
.app-tile__line { margin: 0; font-weight: 700; color: var(--zhu-deep); }
.app-tile__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.app-tile__actions .btn { padding: 8px 14px; font-size: 14px; }

@media (max-width: 480px) {
  .app-tile__icon { width: 96px; height: 96px; border-radius: 24px; }
  .app-tile__icon img { width: 80px; height: 80px; border-radius: 18px; }
}

@media (max-width: 480px) {
  .versions td:first-child { white-space: normal; min-width: 5em; }
  .versions th, .versions td { padding: 8px; }
}

/* 测试版：更新时间 + 这版改了什么（js/app-live.js 从 latest.json 填） */
.download__updated { margin: -2px 0 10px; font-size: 13px; font-weight: 700; color: var(--zi-deep); }
.download__changes { margin: 0 0 14px; padding: 10px 14px; border: 2px dashed var(--zi); border-radius: var(--radius-small); background: var(--card); font-size: 14px; }
.download__changes p { margin: 0 0 4px; font-weight: 800; }
.download__changes ul { margin: 0; padding-left: 1.2em; }
