/* ========== 基础重置 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  background: #f5f6f8;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ========== 通用容器 ========== */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page__header {
  padding: 28px 20px 20px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.page__title {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
}

.page__subtitle {
  margin-top: 6px;
  font-size: 13px;
  color: #999;
}

.page__body {
  flex: 1;
  padding: 20px;
}

.page__footer {
  padding: 16px 20px 28px;
  text-align: center;
  font-size: 12px;
  color: #bbb;
}

/* ========== 卡片 / 内容块 ========== */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.card__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.card__text {
  font-size: 14px;
  color: #555;
}

/* 详情列表 */
.detail-list {
  list-style: none;
}

.detail-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.detail-list li:last-child {
  border-bottom: none;
}

.detail-list .label {
  color: #999;
}

.detail-list .value {
  color: #333;
  font-weight: 500;
  text-align: right;
}

/* 图片块 */
.cover {
  width: 100%;
  height: 160px;
  border-radius: 10px;
  object-fit: cover;
  background: #eef0f3;
}

/* 视频播放器 */
.video-box {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  margin-bottom: 14px;
}

.video-box video {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

/* 按钮 */
.btn {
  display: block;
  width: 100%;
  padding: 13px 0;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: #2f7dfc;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:active {
  opacity: 0.85;
}

.btn--ghost {
  color: #2f7dfc;
  background: #eaf2ff;
}

/* ========== 入口页（index）专用 ========== */
.entry {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
  text-align: center;
}

.entry__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eaf2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 18px;
}

.entry__title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.entry__desc {
  font-size: 14px;
  color: #888;
  max-width: 280px;
  margin-bottom: 24px;
}

.entry__list {
  width: 100%;
  max-width: 360px;
  text-align: left;
}

.entry__list .card {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.entry__list .card__name {
  font-size: 15px;
  font-weight: 500;
}

.entry__list .card__code {
  font-size: 12px;
  color: #2f7dfc;
  background: #eaf2ff;
  padding: 3px 8px;
  border-radius: 6px;
}
