/* Spielesammlung: Startseite der Reihe. Baut auf style.css auf (Pergament, Tinte, Holz). */
html, body.sammlung { height: auto; min-height: 100%; overflow: auto; }
body.sammlung {
  position: static; touch-action: auto; user-select: auto; -webkit-user-select: auto;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(168, 86, 31, 0.28), transparent 60%),
    linear-gradient(180deg, #2a221a, #1b1d22 70%);
  background-attachment: fixed;
}
#shelf {
  width: min(560px, 100%); margin: 0 auto;
  padding: calc(16px + var(--safe-top)) calc(16px + var(--safe-right)) calc(24px + var(--safe-bottom)) calc(16px + var(--safe-left));
  display: flex; flex-direction: column; gap: 16px;
}

.hub-head { padding: 24px 22px 18px; border-radius: 3px; text-align: center; }
.hub-head h1 { font-size: clamp(30px, 9vw, 42px); line-height: 1.02; margin: 4px 0 6px; }
.hub-head .sub { margin: 0; line-height: 1.45; font-size: 16px; }

/* Zeitleiste: Holzleiste mit fünf Jahreszahlen */
.timeline ol {
  list-style: none; margin: 0; padding: 10px 6px; display: flex; justify-content: space-between; position: relative;
  background: linear-gradient(180deg, var(--wood-light), var(--wood)); border: 1.5px solid #3a2515; border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 235, 200, 0.25), 0 2px 0 #2e1c0f;
}
.timeline ol::before { content: ''; position: absolute; left: 10%; right: 10%; top: 50%; border-top: 2px dashed rgba(246, 236, 212, 0.35); }
.timeline li { position: relative; flex: 1; text-align: center; }
.timeline a {
  display: inline-flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 2px; min-width: 44px; min-height: 44px;
  color: #f6ecd4; text-decoration: none; background: var(--wood); border-radius: 6px; position: relative;
}
.timeline b { font-size: 15px; letter-spacing: 0.02em; }
.timeline span { font-size: 11px; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.08em; }
.timeline a:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 2px; }

/* Bände */
.band { border-radius: 3px; overflow: hidden; scroll-margin-top: 16px; }
.band-art { border-bottom: 1.5px solid var(--ink-soft); line-height: 0; }
.band-art svg { width: 100%; height: auto; display: block; }
.band-body { padding: 16px 20px 20px; }
.band h2 { font-size: 26px; margin: 0 0 8px; line-height: 1.15; }
.band p { line-height: 1.5; margin: 0 0 10px; font-size: 17px; }
.band .draft { font-size: 14px; color: var(--copper); font-style: italic; }
.progress { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-soft); margin: 6px 0 0; min-height: 22px; }
.pips { display: inline-flex; gap: 4px; }
.pips i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink-soft); background: transparent; }
.pips i.on { background: var(--ore); border-color: #2e5d40; }

/* Links, die wie Knöpfe aussehen */
a.btn {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px;
  text-decoration: none; border-radius: 8px; font-weight: bold; letter-spacing: 0.02em;
}
a.btn.primary {
  color: #f6ecd4; background: linear-gradient(180deg, var(--wood-light), var(--wood));
  border: 1.5px solid #3a2515; box-shadow: inset 0 1px 0 rgba(255, 235, 200, 0.25), 0 2px 0 #2e1c0f;
}
a.btn.primary:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 235, 200, 0.25); }
a.btn:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }

/* Für Lehrkräfte */
.teachers { border-radius: 3px; padding: 4px 20px; }
.teachers summary { cursor: pointer; font-weight: bold; padding: 12px 0; min-height: 44px; display: flex; align-items: center; }
.teachers ul { margin: 0 0 8px; padding-left: 20px; line-height: 1.5; font-size: 16px; }
.teachers li { margin-bottom: 6px; }
.teachers .buttons { margin: 8px 0 16px; }

.hub-foot { text-align: center; color: rgba(239, 227, 198, 0.55); font-size: 13px; padding: 4px 0 8px; }

@media (prefers-reduced-motion: reduce) { a.btn.primary:active { transform: none; } }
.sammlung .overlay { position: fixed; z-index: 10; }
