/* ════════════════════════════════════════════════════════════════
   SMITSIMAX from Scratch · Tutorial-specific styles
   Builds on tutorial.css design tokens.
   ════════════════════════════════════════════════════════════════ */

/* ── History timeline (same shape as sort-tutorial.css / graph-tutorial.css;
      duplicated so this tutorial does not need to load those stylesheets) ─ */
.sort-timeline {
  margin: 1.75rem 0 2.25rem;
  border-left: 1px solid var(--tut-border);
  padding-left: 1.25rem;
}

.sort-timeline-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.25rem;
  padding: 0.55rem 0;
  align-items: baseline;
}

.sort-timeline-year {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--tut-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
}

.sort-timeline-year::before {
  content: '';
  position: absolute;
  left: -1.95rem;
  top: 0.4em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tut-accent);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.15);
}

.sort-timeline-body {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--tut-soft);
}

.sort-timeline-body strong { color: var(--tut-text); font-weight: 600; }

/* ── Code blocks ─────────────────────────────────────────────────── */
pre.code code {
  font-family: inherit;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  white-space: pre;
  display: block;
}

/* ── Card visual on the home index for this tutorial ─────────────── */
.tut-card-visual.smitsimax-bg,
.game-card-visual.smitsimax-bg {
  background:
    radial-gradient(circle at 25% 30%, rgba(167, 139, 250, 0.28), transparent 45%),
    radial-gradient(circle at 75% 65%, rgba(52, 211, 153, 0.24), transparent 45%),
    linear-gradient(135deg, #0a0f1f 0%, #0d0a1a 50%, #0a1a16 100%);
}

