/* "How to play chess" — a read-only rules guide (LearnChessScreen.kt). Prose in a
   single measured column; the piece entries are the SoftCard outline variant the
   Android screen uses. */

.learn {
  max-width: 34rem;
  margin: 0 auto;
  padding-bottom: 2rem;
}

.learn h2 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
}

.learn > p {
  margin: 0 0 0.5rem;
  color: var(--ink2);
  font-size: 0.9rem;
  line-height: 1.55;
}

.learn-rules {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  color: var(--ink2);
  font-size: 0.9rem;
  line-height: 1.55;
}
.learn-rules li + li { margin-top: 0.3rem; }

/* One piece or special move: the glyph, then its name and how it moves. */
.piece-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

/* Sized and colour-matched to the body text rather than the piece art: these are
   type, not board pieces, and the outline glyphs (♙ ♘) would vanish on paper. */
.piece-glyph {
  flex: none;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--ink);
}

.piece-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.piece-card p {
  margin: 0.15rem 0 0;
  color: var(--ink2);
  font-size: 0.85rem;
  line-height: 1.5;
}

.learn-cta { margin-top: 1.5rem; text-align: center; }
