/*
  AI-generated file.
  Generated by Codex(GPT) in 2026-11-22 23:12.
*/

/* 继承官网配色与卡片样式，仅调整内测入口的布局和层级。 */
.testflight-main {
  padding-bottom: 32px;
}

.testflight-main .activity-hero {
  padding-bottom: 32px;
}

.testflight-main .activity-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
}

.testflight-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.testflight-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  line-height: 1.3;
}

.testflight-card > p {
  margin: 0 0 24px;
}

/* 同一行的入口底部对齐，未提供的链接不生成可点击占位按钮。 */
.testflight-entry {
  max-width: 100%;
  margin-top: auto;
}

/* 未开放内测时保留按钮布局，以不可点击的状态展示。 */
.testflight-card .download-button:disabled {
  font-family: inherit;
  font-size: inherit;
  color: var(--muted);
  background: var(--surface-soft);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* 原生按钮沿用下载入口的字体与视觉样式。 */
.testflight-copy-button {
  font-family: inherit;
  font-size: inherit;
  text-align: left;
  cursor: pointer;
}

.testflight-copy-status {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.testflight-copy-status:empty {
  margin: 0;
}

/* 统一深色主题的主按钮文字，并确保优先级高于通用主按钮样式。 */
@media (prefers-color-scheme: dark) {
  .testflight-card .download-button.primary {
    color: var(--bg);
  }
}

@media (max-width: 620px) {
  .testflight-entry {
    width: 100%;
  }
}
