/* Styles shared by the Simulated Nulls pages; everything else is in kit/style.css. */

.course a { color: inherit; text-decoration: none; }
.course a:hover { text-decoration: underline; }
.topbar nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); font-weight: 600; }

/* links to the previous and next pages */
.pager { margin: 2.5rem 0 0; }
.pager .wrap {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 1rem; font-size: 0.95rem; color: var(--ink-2);
}
.pager .next { margin-left: auto; }

/* the overview's list of pages */
ol.cards { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: 0.7rem; }
@media (min-width: 640px) { ol.cards { grid-template-columns: 1fr 1fr; } }
ol.cards li { margin: 0; }
ol.cards a {
  display: block; height: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none;
}
ol.cards a:hover { border-color: var(--axis); }
ol.cards .name { font-weight: 600; display: block; }
ol.cards .question { display: block; font-size: 0.92rem; color: var(--ink-2); margin-top: 0.2rem; }
ol.cards .test { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.35rem; }
ol.cards li.later a { pointer-events: none; border-style: dashed; background: none; }

.game-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; }
.readout.vertical { flex-direction: column; gap: 0.8rem; }
