/* BrainRush "How to play" page (US-35, D-38). Loaded after style.css and reuses its colors. */

.guide-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
}

.guide-intro { font-size: 1.1rem; color: var(--muted); margin: 0 0 1.25rem; }

/* Contents and sections share the panel look of the setup blocks */
.guide-toc,
.guide-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.guide-toc ol { margin: 0; padding-left: 1.4rem; columns: 2; column-gap: 2rem; }
.guide-toc li { margin: 0.2rem 0; }
.guide-section { scroll-margin-top: 1rem; }
.guide-section h3 { margin-top: 1rem; }
.guide-section p,
.guide-section ul { margin: 0 0 0.6rem; }
.guide-section ul { padding-left: 1.4rem; }
.guide-section li { margin: 0.3rem 0; }
.guide-section li ul { margin: 0.3rem 0 0; }

/* Quick start: big gold step numbers */
.guide-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.guide-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  margin: 0.7rem 0;
}
.guide-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1a1a;
  font-weight: 700;
  text-align: center;
  line-height: 1.9rem;
}

/* Scoring example */
.guide-table { width: 100%; border-collapse: collapse; margin: 0.4rem 0 0.8rem; }
.guide-table th,
.guide-table td { text-align: left; padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--border); }
.guide-table th { color: var(--muted); font-weight: 600; background: var(--panel-2); }
.guide-table .pos { color: var(--success); font-weight: 600; }
.guide-table .neg { color: var(--danger); font-weight: 600; }

.guide-faq { margin: 0; }
.guide-faq dt { font-weight: 600; margin-top: 0.8rem; }
.guide-faq dt:first-child { margin-top: 0; }
.guide-faq dd { margin: 0.2rem 0 0; color: var(--muted); }

.guide-back { text-align: center; margin: 1.5rem 0 0; }
.guide-back .btn { text-decoration: none; display: inline-block; }

@media (max-width: 600px) {
  .guide-main { padding: 1rem 0.75rem 2rem; }
  .guide-toc ol { columns: 1; }
  .guide-toc,
  .guide-section { padding: 0.8rem 0.9rem; }
  .guide-table { font-size: 0.9rem; }
  .guide-table th,
  .guide-table td { padding: 0.4rem; }
}
