/* Pilzlexikon lebendig (inc/lexikon_live.php, 17.11.2026) */
.lxl { margin: 0 0 1.6rem; display: grid; gap: 1.2rem; }
.lxl__h { font-size: 1.2rem; margin: 0 0 .6rem; }
.lxl__danger { padding: 1rem 1.1rem; border-radius: 18px; background: linear-gradient(135deg, #2a1512, #3b1d18); color: #fff; }
.lxl__danger .lxl__h { color: #ffb4a8; }
.lxl__strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 220px); gap: .7rem; overflow-x: auto; padding-bottom: .4rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.lxl__dk { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; border: 1px solid rgba(255,140,120,.25); transition: transform .25s; }
.lxl__dk:hover { transform: translateY(-3px); color: #fff; }
.lxl__dk img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; max-width: none; }
.lxl__dk span { padding: .55rem .65rem .7rem; } .lxl__dk b { display: block; } .lxl__dk small { display: block; font-size: .78rem; opacity: .8; line-height: 1.35; margin-top: .2rem; }
.lxl__cmp { padding: 1rem 1.1rem 1.1rem; border-radius: 18px; background: #f7f4ed; border: 1px solid #e6e1d4; }
.lxl__pick { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .4rem; margin-bottom: .7rem; scrollbar-width: thin; }
.lxl__pb { flex: 0 0 auto; border: 1px solid #d8d2c2; background: #fff; border-radius: 999px; padding: .32rem .8rem; font-size: .85rem; cursor: pointer; color: #1b241f; }
.lxl__pb i { opacity: .45; font-style: normal; }
.lxl__pb.is-on { background: #14291f; color: #fff; border-color: #14291f; }
.lxl__stage { display: grid; grid-template-columns: 1fr auto 1fr; gap: .7rem; align-items: center; }
.lxl__f { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: #e9e4d6; box-shadow: 0 10px 24px -14px rgba(0,0,0,.45); }
.lxl__f img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; max-width: none; transition: transform 1.2s ease; }
.lxl__f figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem .8rem .55rem; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; }
.lxl__f figcaption b { display: block; font-size: 1.05rem; } .lxl__f figcaption span { font-size: .8rem; opacity: .9; }
.lxl__f--g { outline: 3px solid #7fb069; outline-offset: -3px; }
.lxl__f--b { outline: 3px solid #e08a3c; outline-offset: -3px; } .lxl__f--toedlich { outline-color: #c0392b; } .lxl__f--toedlich figcaption span { color: #ffb4a8; font-weight: 700; }
.lxl__vs { font-family: var(--font-display, Lora, serif); font-size: 1.2rem; color: #6a6a60; }
@media (prefers-reduced-motion: no-preference) {
  .lxl__stage.is-in .lxl__f--g { animation: lxlL .5s ease both; } .lxl__stage.is-in .lxl__f--b { animation: lxlR .5s ease both; }
  .lxl__stage.is-look .lxl__f img { transform: scale(1.08); }
}
@keyframes lxlL { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes lxlR { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.lxl__info { margin-top: .9rem; }
.lxl__info.is-hidden { display: none; }
.lxl__diff, .lxl__wh, .lxl__marks li { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .lxl__info .lxl__diff, .lxl__info .lxl__wh, .lxl__info .lxl__marks li { opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; }
  .lxl__info .is-on { opacity: 1 !important; transform: none !important; }
}
.lxl__diff { margin: 0 0 .5rem; padding: .6rem .8rem; background: #fff; border-radius: 12px; border-left: 4px solid #e8b04a; line-height: 1.5; }
.lxl__wh { margin: .4rem 0 .3rem; font-weight: 600; }
.lxl__marks { margin: 0; padding-left: 1.2rem; } .lxl__marks li { margin: .25rem 0; line-height: 1.45; }
.lxl__acts { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .9rem; }
.lxl__next { border: 1px solid #d8d2c2; background: #fff; border-radius: 999px; padding: .45rem .9rem; cursor: pointer; }
.lxl__open { margin-left: auto; color: #3d6b54; }
@media (max-width: 560px) { .lxl__stage { grid-template-columns: 1fr 1fr; } .lxl__vs { display: none; } .lxl__f figcaption b { font-size: .9rem; } }
[data-bs-theme=dark] .lxl__cmp { background: #1d2721; border-color: #34403a; } [data-bs-theme=dark] .lxl__pb, [data-bs-theme=dark] .lxl__next { background: #232f28; color: #e9f0e6; border-color: #34403a; } [data-bs-theme=dark] .lxl__diff { background: #232f28; }
.lxl { grid-template-columns: minmax(0, 1fr); } .lxl > * { min-width: 0; }
.lxl__stage { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
@media (max-width: 560px) { .lxl__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.lxl__f img { height: auto; }
