/* =========================================================================
   ANLEITUNGEN ZUR VERWENDUNG (Renés Auftrag 07.10.2026)
   =========================================================================
   Der Text einer Anleitung (features/guides/item-guides.js), gleich im
   Hinweisfenster der Login-Belohnung und auf der eigenen Anleitungsseite.
   Präfix `an-`.
   ========================================================================= */

.an-text {
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1.6;
}

.an-text__titel {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.an-text__abschnitt {
  margin: 0.9rem 0 0.3rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
}

.an-text__absatz {
  margin: 0 0 0.5rem;
}

.an-text__schritte,
.an-text__punkte {
  margin: 0 0 0.4rem;
  padding-left: 1.3rem;
}

.an-text__schritte li,
.an-text__punkte li {
  margin: 0 0 0.3rem;
}

.an-text__schritte li::marker {
  color: var(--gold);
  font-weight: 700;
}

.an-text__punkte li::marker {
  color: var(--gold-deep);
}

/* Die eigene Anleitungsseite: etwas größer, schmale Lesespalte, mittig. */
.an {
  max-width: 46rem;
  margin: 0 auto;
}

.an .an-text {
  font-size: 0.95rem;
}

.an-gegenstaende {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.an-gegenstaende a {
  color: var(--gold);
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
}

.an-gegenstaende a:hover,
.an-gegenstaende a:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.an-liste {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.an-liste a {
  display: block;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(to bottom, var(--glass-top), var(--glass-bottom));
  box-shadow:
    inset 0 0 0 1px rgb(232 195 122 / 22%),
    inset 0 1px 0 rgb(255 255 255 / 6%);
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow 0.3s ease;
}

.an-liste a:hover,
.an-liste a:focus-visible {
  box-shadow:
    inset 0 0 0 1px rgb(232 195 122 / 48%),
    0 6px 22px -10px rgb(232 195 122 / 45%);
}

.an-liste strong {
  display: block;
  font-family: var(--font-display);
  color: var(--gold-bright);
}

.an-liste span {
  color: var(--ink-dim);
  font-size: 0.85rem;
}

/* Der Link zur Anleitung unter dem Spieltext der Datenbank (db.js, gegenstand-seite.mjs). */
.db__anleitung {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
}

.db__anleitung a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.db__anleitung a:hover,
.db__anleitung a:focus-visible {
  color: var(--gold-bright);
  border-color: var(--gold);
}
