/* 首页 · 合一融合：亲子主线 + 闯关细条 + 跟读 CTA */
.home-main { padding-bottom: 1rem; }

.today-hero {
  margin-top: 1.4rem;
  background: linear-gradient(125deg, #99f6e4, #fef08a);
  border-radius: 22px;
  padding: 1.4rem 1.3rem 1.25rem;
  box-shadow: 0 12px 32px rgba(42, 157, 143, 0.14);
}
.layer-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--leaf-dark);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}
.layer-tag.on-dark {
  color: #99f6e4;
  background: rgba(255, 255, 255, 0.12);
}
.today-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}
.today-why { color: #0f766e; font-size: 0.95rem; max-width: 34rem; }
.today-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; }
.today-chips .chip {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
}

.today-rail {
  margin-top: 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 1rem 0.95rem;
}
.rail-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.rail-head b { font-family: var(--font-display); font-size: 0.95rem; }
.rail-head a { font-size: 0.8rem; font-weight: 700; color: #1cb0f6; }
.rail-meta { font-size: 0.8rem; color: var(--muted); font-weight: 600; margin-bottom: 0.55rem; }
.rail-bar {
  height: 8px;
  background: #cffafe;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.65rem;
}
.rail-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #58cc02, #1cb0f6);
  border-radius: 99px;
  transition: width 0.35s ease;
}
.rail-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.rail-dot {
  min-width: 36px;
  height: 36px;
  padding: 0 0.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  background: #f0fdfa;
  border: 2px solid #99f6e4;
  color: var(--muted);
}
.rail-dot.done {
  background: #58cc02;
  border-color: #58a700;
  color: #fff;
}
.rail-dot.now {
  background: #fff;
  border-color: var(--coral);
  color: var(--coral);
  box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.18);
}

.today-speak {
  margin-top: 0.9rem;
  background: linear-gradient(165deg, #1d3557, #1f7a6f);
  color: #fff;
  border-radius: 20px;
  padding: 1.2rem 1.2rem 1.25rem;
  box-shadow: 0 14px 36px rgba(29, 53, 87, 0.16);
}
.speak-en {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 800;
  margin: 0.35rem 0 0.2rem;
  letter-spacing: -0.02em;
}
.speak-zh { opacity: 0.88; font-size: 0.95rem; margin-bottom: 0.95rem; }
.speak-actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.btn-coral {
  background: var(--coral);
  color: #fff;
}
.btn-coral:hover { filter: brightness(1.05); }
.btn-on-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.18); }

.today-steps { margin-top: 0.9rem; }
.step-list { margin-top: 0.3rem; }
.step-row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
}
.step-row:last-child { border-bottom: 0; }
.step-n {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--leaf-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.step-row.is-done .step-n {
  background: #58cc02;
  color: #fff;
}
.step-row b { display: block; font-size: 0.92rem; }
.step-row span { font-size: 0.8rem; color: var(--muted); }
.parent-note {
  margin-top: 1rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  color: #9a3412;
}
.parent-note strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}
.parent-note p { font-size: 0.88rem; }

.home-formula {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 0.5rem 0 1.5rem;
  line-height: 1.7;
}
.home-formula b { color: var(--leaf-dark); }

@media (max-width: 640px) {
  .speak-actions .btn { width: 100%; }
}
