/* Leitfaden: Inhaltsverzeichnis links, Text rechts; am Handy untereinander */
.page-guide .layout {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 24px;
}
@media (max-width: 760px) {
  .page-guide .layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
.toc ol {
  padding-left: 1.2em;
  margin: 0;
}
.toc a[aria-current='page'] {
  font-weight: 700;
}
.guide-text {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.note {
  border-left: 4px solid var(--accent);
  background: var(--bg);
  padding: 4px 16px;
  margin: 16px 0;
  border-radius: 0 8px 8px 0;
}
.note-title {
  font-weight: 700;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
}
th,
td {
  border-bottom: 1px solid var(--border);
  padding: 6px 10px;
  text-align: left;
}
/* Kleine Pixelbilder in Tabellen nicht schrumpfen lassen (site.css setzt img max-width) */
img.sprite {
  max-width: none;
}

/* Look des Spiels: Inhaltsverzeichnis und Text auf Pergament (site.css) */
.toc,
.guide-text {
  background: var(--surface) padding-box;
  border-radius: 0;
  border-style: solid;
  border-width: 12px;
  border-image: url('/site/img/panel-parchment.png') 8 / 14px stretch;
  image-rendering: pixelated;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  padding: 12px 14px;
}
.guide-text img {
  image-rendering: auto;
}
.guide-text img.sprite {
  image-rendering: pixelated;
}
.note {
  background: #f3dfb6;
  border-left-color: var(--wood);
}
/* Die Kapitelnummer steht schon im Link – keine zweite Zählung der Liste */
.toc ol {
  list-style: none;
  padding-left: 0;
}
