/* ===== 共享组件：hero / 标签 / 区块标题 / toast / 底部栏 ===== */

/* 顶部 Hero */
.hero {
  position: relative;
  padding: 48px var(--gutter) 32px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, #FFE9EE 0%, #FFF6EE 55%, #EFF6FF 100%);
}
.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--c-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.hero__title { font-size: 30px; letter-spacing: 0.01em; }
.hero__title em { font-style: normal; color: var(--c-primary); }
.hero__sub { margin-top: 10px; color: var(--c-ink-soft); font-size: 15px; }
.hero__meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.hero__confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* 信息 chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  box-shadow: 0 1px 4px rgba(43, 33, 64, 0.05);
}

/* 区块标题 */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 28px 0 14px;
}
.section-head__no {
  font-size: 13px;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: 0.1em;
}
.section-head__title { font-size: 20px; }
.section-head__hint { margin-left: auto; font-size: 12px; color: var(--c-ink-soft); }

/* 标签 */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + var(--safe-bottom));
  transform: translateX(-50%) translateY(20px);
  background: var(--c-ink);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dur-med) var(--ease-spring), opacity var(--dur-fast) var(--ease-out);
  z-index: var(--z-toast);
  white-space: nowrap;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 底部说明 */
.footer {
  margin-top: 36px;
  padding: 24px var(--gutter) calc(120px + var(--safe-bottom));
  color: var(--c-ink-soft);
  font-size: 12.5px;
  line-height: 1.8;
}
.footer strong { color: var(--c-ink); }

/* 入场动效 */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise var(--dur-med) var(--ease-out) both; }
