/* /start — „How to play”: antetul și fonturile din rules.css (identitatea primăriei: navy, auriu, crem); o linie de timp
   verticală cu iconițe; pașii jucătorului logat: done (verde), now (auriu), next (estompat). Pe mobil, o coloană */
.st-wrap { max-width: 1240px; margin: 0 auto; padding: 34px 24px 60px; }   /* aceeași lățime ca antetul (.rb-wrap) */
.st-wrap h1 { font: 700 40px/1.1 var(--serif); color: var(--navy); margin: 0 0 8px; }
.st-intro { color: var(--muted); margin: 0 0 28px; font-size: 16.5px; }

.st-line { list-style: none; margin: 0; padding: 0; position: relative; }
/* linia verticală, prin centrul iconițelor */
.st-line::before { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.st-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; margin: 0 0 18px; }
.st-icon { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); display: grid; place-items: center; z-index: 1; }
.st-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.st-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; box-shadow: 0 1px 2px rgba(27,42,74,.04); }
.st-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 6px; }
.st-when { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #7A5E10; background: var(--gold-soft); border-radius: 999px; padding: 2px 10px; }
.st-head h2 { font: 700 26px/1.15 var(--serif); color: var(--navy); margin: 0; }
.st-state { margin-left: auto; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 2px 10px; border: 1px solid currentColor; }
.st-card p { margin: 0; font-size: 15.5px; }

/* stările: încheiat, acum, urmează */
.st-step.done .st-icon { background: #E7F0EA; border-color: #2E7D57; }
.st-step.done .st-icon svg { stroke: #1E5A3E; }
.st-step.done .st-state { color: #1E5A3E; }
.st-step.now .st-icon { background: var(--gold-soft); box-shadow: 0 0 0 5px rgba(201,162,39,.18); }
.st-step.now .st-card { border-color: var(--gold); box-shadow: 0 4px 16px rgba(201,162,39,.16); }
.st-step.now .st-state { color: #7A5E10; background: var(--gold-soft); }
.st-step.next .st-card { opacity: .78; }
.st-step.next .st-state { color: var(--muted); }

.st-notes { margin: 28px 0 0; padding-left: 74px; }
.st-notes p { margin: 0 0 10px; font-size: 15.5px; }
.st-tip { background: #fff; border-left: 3px solid var(--gold); padding: 10px 14px; border-radius: 0 10px 10px 0; }
.st-real { color: var(--muted); }
.st-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 26px; padding-left: 74px; }
.st-btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px; padding: 12px 26px; border-radius: 999px; background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.st-btn:hover { background: var(--navy-2); }
.st-btn.alt { background: #fff; color: var(--navy); }
.st-btn.alt:hover { background: #EEF1F7; }

@media (max-width: 720px) {
  .st-wrap { padding: 22px 16px 44px; }
  .st-wrap h1 { font-size: 31px; }
  .st-line::before { left: 21px; }
  .st-step { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .st-icon { width: 44px; height: 44px; }
  .st-icon svg { width: 21px; height: 21px; }
  .st-card { padding: 14px 15px; }
  .st-head h2 { font-size: 22px; }
  .st-state { margin-left: 0; }
  .st-notes, .st-actions { padding-left: 0; }
  .st-actions { justify-content: stretch; }
  .st-actions .st-btn { flex: 1; text-align: center; }
}
