/* Kompendium als Wiki, Labor, Rezeptbuch (Grafik-Werkstatt 06.11.2026, Auftrag #197).
   Ergänzt stil.css; nutzt nur dessen Farben (--nacht, --gold …). Keine Inline-Stile nötig (CSP style-src 'self'),
   kein JavaScript (script-src 'none'): Aufklappen über <details>, Hover-Kette der Rezept-Tafel über :has().
   Farben der Kräuter, Essenzen, Tränke und Schuppen stehen am Ende als Klassen .f-<id> (setzen --f). */

/* ---------- Seitenvorlage: Kopf, Brotkrumen, Seitennavigation, weiter/zurück ---------- */
.wiki-kopf { padding: clamp(22px, 4vw, 44px) 0 6px; }
.brotkrumen { font-size: .88rem; color: var(--leise); margin-bottom: 14px; }
.brotkrumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.brotkrumen li + li::before { content: "›"; margin: 0 .55em; color: var(--gold-tief); }
.brotkrumen a { color: var(--leise); text-decoration: none; }
.brotkrumen a:hover { color: var(--gold); }
.brotkrumen [aria-current] { color: var(--text); }
.wiki-kopf-innen { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.wiki-kopf h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); margin-bottom: .3em; }
.wiki-kopf .einleitung { margin-bottom: .4em; }
.wiki-kopf-bild { width: 168px; height: 168px; border-radius: 50%; object-fit: contain; padding: 18px;
    background: radial-gradient(circle at 50% 55%, rgba(243, 210, 122, .18), rgba(61, 139, 146, .10) 55%, transparent 72%), #0c0f14;
    border: 1px solid var(--linie); }
.wiki-kopf .breitbild { grid-column: 1 / -1; margin: 6px 0 0; }
.wiki-kopf .breitbild img { width: 100%; border-radius: var(--radius); border: 1px solid var(--linie); box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }

.wiki { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; padding-bottom: 20px; }
.wiki-navi { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; font-size: .94rem;
    background: linear-gradient(180deg, var(--nacht-2), #121720); border: 1px solid var(--linie); border-radius: var(--radius); padding: 14px 10px 16px; }
.wiki-navi-mobil { display: none; }
.wiki-navi .suchfeld { margin: 0 4px 12px; }
.wiki-navi .suchfeld input { width: 100%; }
.wiki-navi ul { list-style: none; margin: 0; padding: 0; }
.wiki-navi > nav > ul > li { margin-top: 8px; }
.wiki-navi > nav > ul > li > a, .wiki-navi > nav > ul > li > span { display: block; font-family: var(--serif); font-weight: 700; color: var(--gold); padding: 4px 8px; text-decoration: none; border-radius: 8px; }
.wiki-navi ul ul { margin: 2px 0 4px 10px; border-left: 1px solid var(--linie); }
.wiki-navi ul ul a { display: block; padding: 3px 10px; color: #cfc8b6; text-decoration: none; border-radius: 0 8px 8px 0; }
.wiki-navi ul ul ul a { font-size: .9rem; color: var(--leise); }
.wiki-navi a:hover { background: var(--nacht-3); color: var(--gold); }
.wiki-navi a[aria-current="page"] { background: rgba(243, 210, 122, .12); color: #fff1c2; box-shadow: inset 3px 0 0 var(--gold); }

.wiki-inhalt { min-width: 0; }
.wiki-inhalt > section { padding: 8px 0 26px; }
.wiki-inhalt > section + section { border-top: 1px solid var(--linie); padding-top: 26px; }
.wiki-inhalt h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.wiki-inhalt p { max-width: 46em; }
.inhaltsliste { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.inhaltsliste a { padding: 5px 13px; border: 1px solid var(--linie); border-radius: 999px; text-decoration: none; font-size: .9rem; background: var(--nacht-2); }

.weiter { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 10px; }
.weiter a { display: block; padding: 14px 18px; border: 1px solid var(--linie); border-radius: var(--radius); text-decoration: none;
    background: linear-gradient(180deg, var(--nacht-2), #121720); }
.weiter a:hover { border-color: var(--gold-tief); }
.weiter span { display: block; font-size: .82rem; color: var(--leise); text-transform: uppercase; letter-spacing: .12em; }
.weiter b { font-family: var(--serif); font-size: 1.15rem; color: var(--gold); }
.weiter .nach { text-align: right; grid-column: 2; }

/* Kompendium-Start: große Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.kachel-bereich { display: flex; flex-direction: column; text-decoration: none; color: var(--text);
    background: linear-gradient(180deg, var(--nacht-2), #121720); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, transform .15s; }
.kachel-bereich:hover { border-color: var(--gold-tief); transform: translateY(-2px); color: var(--text); }
.kachel-bereich img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #0c0f14; border-bottom: 1px solid var(--linie); }
.kachel-bereich img.zeichnung { object-fit: contain; padding: 18px;
    background: radial-gradient(ellipse at 50% 60%, rgba(243, 210, 122, .16), rgba(61, 139, 146, .10) 45%, transparent 75%), #0c0f14; }
.kachel-bereich h2 { font-size: 1.35rem; margin: 14px 18px 4px; }
.kachel-bereich p { margin: 0 18px 10px; font-size: .93rem; color: #cfc8b6; }
.kachel-bereich ul { list-style: none; margin: auto 0 0; padding: 10px 18px 14px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--linie); }
.kachel-bereich li { font-size: .8rem; padding: 2px 9px; border-radius: 999px; background: var(--nacht-3); color: var(--leise); }
.kachel-bereich .neu { color: #231a08; background: var(--gold); }

/* ---------- Labor ---------- */
.kette { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px; counter-reset: kette; }
.kette li { position: relative; background: linear-gradient(180deg, var(--nacht-2), #121720); border: 1px solid var(--linie); border-radius: var(--radius); padding: 0 0 12px; text-align: center; }
.kette li + li::before { content: "➜"; position: absolute; left: -26px; top: 64px; color: var(--gold); font-size: 1.3rem; }
.kette img { width: 100%; height: 128px; object-fit: contain; padding: 12px;
    background: radial-gradient(ellipse at 50% 60%, rgba(243, 210, 122, .16), transparent 70%), #0c0f14; border-bottom: 1px solid var(--linie); border-radius: var(--radius) var(--radius) 0 0; }
.kette b { display: block; font-family: var(--serif); color: var(--gold); font-size: 1.05rem; margin: 10px 8px 2px; }
.kette span { display: block; font-size: .86rem; color: #cfc8b6; padding: 0 10px; line-height: 1.45; }

.zustaende { display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0 18px; }
.zustaende figure { margin: 0; text-align: center; width: 150px; }
.zustaende img { width: 150px; height: 150px; border-radius: var(--radius); border: 1px solid var(--linie);
    background: radial-gradient(ellipse at 50% 60%, rgba(243, 210, 122, .14), transparent 70%), #0c0f14; }
.zustaende figcaption { font-family: var(--serif); color: var(--gold); font-size: .95rem; margin-top: 4px; }

.zahlenzeile { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 16px; }
.zahlenzeile div { flex: 1 1 150px; padding: 10px 14px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--nacht-2); }
.zahlenzeile b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--gold); line-height: 1.1; }
.zahlenzeile span { font-size: .86rem; color: var(--leise); }

.tabelle-rahmen { overflow-x: auto; margin: 8px 0 14px; }
.liste-tabelle { border-collapse: collapse; min-width: 420px; }
.liste-tabelle th, .liste-tabelle td { padding: 7px 16px 7px 0; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: middle; }
.liste-tabelle th { font-weight: 600; font-size: .86rem; color: var(--leise); }
.liste-tabelle img { width: 40px; height: 40px; display: inline-block; vertical-align: middle; margin-right: 8px; }

/* Rezept-Tafel: Kräuter -> Essenzen -> Tränke, Linien als SVG, Hover-Kette nur mit CSS */
.kettentafel-rahmen { overflow-x: auto; margin: 10px 0 8px; border: 1px solid var(--linie); border-radius: var(--radius); background: #0c0f13; padding: 14px 16px 18px; }
.kettentafel { position: relative; width: 826px; }
.kettentafel > svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.kettentafel path { fill: none; stroke: var(--f); stroke-width: 2; opacity: .38; transition: opacity .15s; }
.kettentafel .spalte { position: absolute; top: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--leise); }
.knoten { position: absolute; height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 4px; font-size: .9rem;
    background: var(--nacht-2); border: 1px solid var(--linie); border-left: 4px solid var(--f); border-radius: 8px; color: var(--text);
    text-decoration: none; white-space: nowrap; transition: opacity .15s, background .15s; outline: none; }
.knoten img { width: 30px; height: 30px; flex: none; }
.knoten:hover { background: var(--nacht-3); color: #fff1c2; }
.knoten.trank { font-family: var(--serif); font-weight: 700; color: var(--gold); }
/* Festheften per Klick ohne JavaScript: unsichtbare Radioknöpfe, je Element die Labels „wählen“ und „lösen“ (Florian 06.11.) */
.kettentafel input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.knoten label { position: absolute; inset: 0; border-radius: 8px; cursor: pointer; }
.knoten label.loesen { display: none; }
.knoten img, .knoten > span { position: relative; pointer-events: none; }
.knoten .zum-rezept { position: relative; z-index: 2; margin-left: auto; padding: 0 4px 2px 10px; font-size: 1.35rem; line-height: 1; color: var(--gold); text-decoration: none; }
.knoten .zum-rezept:hover { color: #fff1c2; }
.kettentafel:has(#tw-0:checked):has(.knoten:hover) .knoten { opacity: .2; }
.kettentafel:has(#tw-0:checked):has(.knoten:hover) path { opacity: .06; }
.wahl:checked ~ .knoten { opacity: .2; }
.wahl:checked ~ svg path { opacity: .06; }
.kettentafel-hinweis { font-size: .88rem; color: var(--leise); margin: 0 0 4px; }

/* Mischung: drei Essenzen + Splitter (+ Schuppe) = Trank */
.mischung { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 16px; }
.mischung figure { margin: 0; width: 112px; text-align: center; font-size: .82rem; color: #cfc8b6; line-height: 1.3; }
.mischung img { width: 96px; height: 96px; margin: 0 auto 4px; border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 210, 122, .14), transparent 70%); }
.mischung .zeichen { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); }
.mischung .wahlweise img { opacity: .9; outline: 2px dashed var(--linie); outline-offset: -2px; }
.mischung .ziel { width: 140px; }
.mischung .ziel img { width: 128px; height: 128px; }

.schuppen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 12px 0 14px; }
.schuppe { text-align: center; padding: 0 0 12px; border-top: 3px solid var(--f); }
.schuppe img { width: 100%; height: 130px; object-fit: contain; padding: 12px; background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--f) 22%, transparent), transparent 70%), #0c0f14; border-bottom: 1px solid var(--linie); }
.schuppe h3 { font-size: 1.05rem; margin: 10px 10px 2px; }
.schuppe p { font-size: .86rem; color: #cfc8b6; margin: 0 10px; }
.schuppe p.herkunft { color: var(--leise); }
.umwandeln { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 14px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--nacht-2); font-size: .95rem; }
.umwandeln span { display: inline-flex; align-items: center; gap: 4px; }
.umwandeln img { width: 34px; height: 34px; }

/* ---------- Rezeptbuch ---------- */
.trankkarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.trankkarte { display: flex; flex-direction: column; text-decoration: none; color: var(--text); text-align: center; border-top: 3px solid var(--f); padding-bottom: 12px; }
.trankkarte:hover { border-color: var(--gold-tief); color: var(--text); }
.trankkarte img { width: 100%; height: 150px; object-fit: contain; padding: 14px;
    background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--f) 26%, transparent), transparent 68%), #0c0f14; border-bottom: 1px solid var(--linie); }
.trankkarte h2 { font-size: 1.2rem; margin: 12px 12px 2px; }
.trankkarte p { font-size: .88rem; color: #cfc8b6; margin: 0 12px 8px; }
.punkte { display: flex; justify-content: center; gap: 6px; }
.punkte i { width: 14px; height: 14px; border-radius: 50%; background: var(--f); box-shadow: 0 0 0 2px #0c0f14, 0 0 0 3px var(--linie); }

.stufentabelle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 8px 0 18px; }
.stufentabelle div { padding: 10px 12px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--nacht-2); text-align: center; }
.stufentabelle b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--gold); line-height: 1; }
.stufentabelle span { font-size: .9rem; }

.essenzkarten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 10px 0 16px; }
.essenzkarte { border-top: 3px solid var(--f); padding: 0 0 8px; }
.essenzkarte .kopfzeile { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--linie);
    background: radial-gradient(ellipse at 15% 50%, color-mix(in srgb, var(--f) 22%, transparent), transparent 60%); }
.essenzkarte .kopfzeile img { width: 64px; height: 64px; }
.essenzkarte h3 { font-size: 1.05rem; margin: 0; line-height: 1.25; }
.essenzkarte h3 small { display: block; font-family: var(--sans); font-weight: 400; font-size: .8rem; color: var(--leise); }
.zutatenliste { list-style: none; margin: 0; padding: 4px 14px; }
.zutatenliste li { display: flex; align-items: center; gap: 10px; padding: 5px 0; border-bottom: 1px solid rgba(42, 51, 66, .6); font-size: .95rem; }
.zutatenliste li:last-child { border-bottom: 0; }
.zutatenliste img { width: 36px; height: 36px; }
.zutatenliste .menge { margin-left: auto; font-family: var(--serif); font-weight: 700; color: var(--gold); font-size: 1.05rem; }
.summenkasten { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; padding: 16px 18px; border: 1px solid var(--gold-tief);
    border-radius: var(--radius); background: linear-gradient(180deg, rgba(243, 210, 122, .07), rgba(243, 210, 122, .02)); margin: 6px 0 18px; }
.summenkasten h3 { font-size: 1.05rem; margin-bottom: .4em; }

@media (max-width: 980px) {
    .kette { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .kette li:nth-child(4)::before { display: none; }
    .essenzkarten { grid-template-columns: minmax(0, 1fr); }
    .schuppen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .wiki { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .wiki-navi { display: none; }
    .wiki-navi-mobil { display: block; background: linear-gradient(180deg, var(--nacht-2), #121720); border: 1px solid var(--linie); border-radius: var(--radius); }
    .wiki-navi-mobil summary { cursor: pointer; padding: 12px 16px; font-family: var(--serif); font-weight: 700; color: var(--gold); list-style: none; }
    .wiki-navi-mobil summary::-webkit-details-marker { display: none; }
    .wiki-navi-mobil summary::after { content: "▾"; float: right; color: var(--gold-tief); }
    .wiki-navi-mobil[open] summary::after { content: "▴"; }
    .wiki-navi-mobil .wiki-navi { display: block; position: static; max-height: none; border: 0; background: none; padding: 0 10px 12px; }
    .wiki-kopf-innen { grid-template-columns: minmax(0, 1fr); }
    .wiki-kopf-bild { width: 120px; height: 120px; padding: 12px; order: -1; }
    .summenkasten { grid-template-columns: minmax(0, 1fr); }
    .stufentabelle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .kette { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .kette li::before { display: none; }
    .kette li + li::before { display: block; content: "⬇"; left: 50%; top: -24px; transform: translateX(-50%); }
    .kette img { height: 110px; }
    .weiter { grid-template-columns: 1fr; }
    .weiter .nach { grid-column: 1; }
    .schuppen { grid-template-columns: 1fr 1fr; gap: 10px; }
    .mischung figure { width: 84px; }
    .mischung img { width: 72px; height: 72px; }
}


/* ---------- Rezept-Tafel: Positionen und Hover-Kette (erzeugt) ---------- */
.kettentafel { height: 800px; }
.kettentafel .spalte-k { left: 0px; } .kettentafel .spalte-e { left: 245px; } .kettentafel .spalte-t { left: 570px; }
.pos-k-drachenminze { left: 0px; top: 30px; width: 190px; }
.pos-k-glutwurz { left: 0px; top: 152px; width: 190px; }
.pos-k-mondsalbei { left: 0px; top: 274px; width: 190px; }
.pos-k-nebelfarn { left: 0px; top: 396px; width: 190px; }
.pos-k-schattenbeere { left: 0px; top: 518px; width: 190px; }
.pos-k-eisenkraut { left: 0px; top: 640px; width: 190px; }
.pos-k-taublume { left: 0px; top: 762px; width: 190px; }
.pos-e-tau { left: 245px; top: 30px; width: 220px; }
.pos-e-bernstein { left: 245px; top: 76px; width: 220px; }
.pos-e-lind { left: 245px; top: 122px; width: 220px; }
.pos-e-glut { left: 245px; top: 184px; width: 220px; }
.pos-e-blut { left: 245px; top: 230px; width: 220px; }
.pos-e-magenta { left: 245px; top: 276px; width: 220px; }
.pos-e-mond { left: 245px; top: 338px; width: 220px; }
.pos-e-schatten { left: 245px; top: 384px; width: 220px; }
.pos-e-tiefblau { left: 245px; top: 430px; width: 220px; }
.pos-e-gruen { left: 245px; top: 492px; width: 220px; }
.pos-e-nebel { left: 245px; top: 538px; width: 220px; }
.pos-e-rose { left: 245px; top: 584px; width: 220px; }
.pos-e-eisen { left: 245px; top: 646px; width: 220px; }
.pos-e-tuerkis { left: 245px; top: 692px; width: 220px; }
.pos-e-perle { left: 245px; top: 738px; width: 220px; }
.pos-t-beute { left: 570px; top: 76px; width: 256px; }
.pos-t-raserei { left: 570px; top: 230px; width: 256px; }
.pos-t-sicht { left: 570px; top: 384px; width: 256px; }
.pos-t-leben { left: 570px; top: 538px; width: 256px; }
.pos-t-muskel { left: 570px; top: 692px; width: 256px; }
/* Zeigen mit der Maus: nur solange nichts festgeheftet ist */
.kettentafel:has(#tw-0:checked):has(.pos-k-drachenminze:hover) .gk-drachenminze { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-k-glutwurz:hover) .gk-glutwurz { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-k-mondsalbei:hover) .gk-mondsalbei { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-k-nebelfarn:hover) .gk-nebelfarn { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-k-schattenbeere:hover) .gk-schattenbeere { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-k-eisenkraut:hover) .gk-eisenkraut { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-k-taublume:hover) .gk-taublume { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-e-tau:hover) .ge-tau { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-e-bernstein:hover) .ge-bernstein { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-e-lind:hover) .ge-lind { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-e-glut:hover) .ge-glut { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-e-blut:hover) .ge-blut { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-e-magenta:hover) .ge-magenta { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-e-mond:hover) .ge-mond { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-e-schatten:hover) .ge-schatten { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-e-tiefblau:hover) .ge-tiefblau { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-e-gruen:hover) .ge-gruen { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-e-nebel:hover) .ge-nebel { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-e-rose:hover) .ge-rose { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-e-eisen:hover) .ge-eisen { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-e-tuerkis:hover) .ge-tuerkis { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-e-perle:hover) .ge-perle { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-t-beute:hover) .g-beute { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-t-raserei:hover) .g-raserei { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-t-sicht:hover) .g-sicht { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-t-leben:hover) .g-leben { opacity: 1; }
.kettentafel:has(#tw-0:checked):has(.pos-t-muskel:hover) .g-muskel { opacity: 1; }
/* Festgeheftet: Pfad bleibt, „lösen“ liegt über dem gewählten Element */
#tw-k-drachenminze:checked ~ .gk-drachenminze, #tw-k-drachenminze:checked ~ svg .gk-drachenminze { opacity: 1; }
#tw-k-drachenminze:checked ~ .pos-k-drachenminze { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-k-drachenminze:checked ~ .pos-k-drachenminze .waehlen { display: none; } #tw-k-drachenminze:checked ~ .pos-k-drachenminze .loesen { display: block; }
#tw-k-drachenminze:focus-visible ~ .pos-k-drachenminze { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-k-glutwurz:checked ~ .gk-glutwurz, #tw-k-glutwurz:checked ~ svg .gk-glutwurz { opacity: 1; }
#tw-k-glutwurz:checked ~ .pos-k-glutwurz { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-k-glutwurz:checked ~ .pos-k-glutwurz .waehlen { display: none; } #tw-k-glutwurz:checked ~ .pos-k-glutwurz .loesen { display: block; }
#tw-k-glutwurz:focus-visible ~ .pos-k-glutwurz { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-k-mondsalbei:checked ~ .gk-mondsalbei, #tw-k-mondsalbei:checked ~ svg .gk-mondsalbei { opacity: 1; }
#tw-k-mondsalbei:checked ~ .pos-k-mondsalbei { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-k-mondsalbei:checked ~ .pos-k-mondsalbei .waehlen { display: none; } #tw-k-mondsalbei:checked ~ .pos-k-mondsalbei .loesen { display: block; }
#tw-k-mondsalbei:focus-visible ~ .pos-k-mondsalbei { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-k-nebelfarn:checked ~ .gk-nebelfarn, #tw-k-nebelfarn:checked ~ svg .gk-nebelfarn { opacity: 1; }
#tw-k-nebelfarn:checked ~ .pos-k-nebelfarn { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-k-nebelfarn:checked ~ .pos-k-nebelfarn .waehlen { display: none; } #tw-k-nebelfarn:checked ~ .pos-k-nebelfarn .loesen { display: block; }
#tw-k-nebelfarn:focus-visible ~ .pos-k-nebelfarn { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-k-schattenbeere:checked ~ .gk-schattenbeere, #tw-k-schattenbeere:checked ~ svg .gk-schattenbeere { opacity: 1; }
#tw-k-schattenbeere:checked ~ .pos-k-schattenbeere { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-k-schattenbeere:checked ~ .pos-k-schattenbeere .waehlen { display: none; } #tw-k-schattenbeere:checked ~ .pos-k-schattenbeere .loesen { display: block; }
#tw-k-schattenbeere:focus-visible ~ .pos-k-schattenbeere { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-k-eisenkraut:checked ~ .gk-eisenkraut, #tw-k-eisenkraut:checked ~ svg .gk-eisenkraut { opacity: 1; }
#tw-k-eisenkraut:checked ~ .pos-k-eisenkraut { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-k-eisenkraut:checked ~ .pos-k-eisenkraut .waehlen { display: none; } #tw-k-eisenkraut:checked ~ .pos-k-eisenkraut .loesen { display: block; }
#tw-k-eisenkraut:focus-visible ~ .pos-k-eisenkraut { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-k-taublume:checked ~ .gk-taublume, #tw-k-taublume:checked ~ svg .gk-taublume { opacity: 1; }
#tw-k-taublume:checked ~ .pos-k-taublume { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-k-taublume:checked ~ .pos-k-taublume .waehlen { display: none; } #tw-k-taublume:checked ~ .pos-k-taublume .loesen { display: block; }
#tw-k-taublume:focus-visible ~ .pos-k-taublume { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-e-tau:checked ~ .ge-tau, #tw-e-tau:checked ~ svg .ge-tau { opacity: 1; }
#tw-e-tau:checked ~ .pos-e-tau { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-e-tau:checked ~ .pos-e-tau .waehlen { display: none; } #tw-e-tau:checked ~ .pos-e-tau .loesen { display: block; }
#tw-e-tau:focus-visible ~ .pos-e-tau { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-e-bernstein:checked ~ .ge-bernstein, #tw-e-bernstein:checked ~ svg .ge-bernstein { opacity: 1; }
#tw-e-bernstein:checked ~ .pos-e-bernstein { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-e-bernstein:checked ~ .pos-e-bernstein .waehlen { display: none; } #tw-e-bernstein:checked ~ .pos-e-bernstein .loesen { display: block; }
#tw-e-bernstein:focus-visible ~ .pos-e-bernstein { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-e-lind:checked ~ .ge-lind, #tw-e-lind:checked ~ svg .ge-lind { opacity: 1; }
#tw-e-lind:checked ~ .pos-e-lind { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-e-lind:checked ~ .pos-e-lind .waehlen { display: none; } #tw-e-lind:checked ~ .pos-e-lind .loesen { display: block; }
#tw-e-lind:focus-visible ~ .pos-e-lind { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-e-glut:checked ~ .ge-glut, #tw-e-glut:checked ~ svg .ge-glut { opacity: 1; }
#tw-e-glut:checked ~ .pos-e-glut { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-e-glut:checked ~ .pos-e-glut .waehlen { display: none; } #tw-e-glut:checked ~ .pos-e-glut .loesen { display: block; }
#tw-e-glut:focus-visible ~ .pos-e-glut { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-e-blut:checked ~ .ge-blut, #tw-e-blut:checked ~ svg .ge-blut { opacity: 1; }
#tw-e-blut:checked ~ .pos-e-blut { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-e-blut:checked ~ .pos-e-blut .waehlen { display: none; } #tw-e-blut:checked ~ .pos-e-blut .loesen { display: block; }
#tw-e-blut:focus-visible ~ .pos-e-blut { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-e-magenta:checked ~ .ge-magenta, #tw-e-magenta:checked ~ svg .ge-magenta { opacity: 1; }
#tw-e-magenta:checked ~ .pos-e-magenta { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-e-magenta:checked ~ .pos-e-magenta .waehlen { display: none; } #tw-e-magenta:checked ~ .pos-e-magenta .loesen { display: block; }
#tw-e-magenta:focus-visible ~ .pos-e-magenta { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-e-mond:checked ~ .ge-mond, #tw-e-mond:checked ~ svg .ge-mond { opacity: 1; }
#tw-e-mond:checked ~ .pos-e-mond { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-e-mond:checked ~ .pos-e-mond .waehlen { display: none; } #tw-e-mond:checked ~ .pos-e-mond .loesen { display: block; }
#tw-e-mond:focus-visible ~ .pos-e-mond { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-e-schatten:checked ~ .ge-schatten, #tw-e-schatten:checked ~ svg .ge-schatten { opacity: 1; }
#tw-e-schatten:checked ~ .pos-e-schatten { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-e-schatten:checked ~ .pos-e-schatten .waehlen { display: none; } #tw-e-schatten:checked ~ .pos-e-schatten .loesen { display: block; }
#tw-e-schatten:focus-visible ~ .pos-e-schatten { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-e-tiefblau:checked ~ .ge-tiefblau, #tw-e-tiefblau:checked ~ svg .ge-tiefblau { opacity: 1; }
#tw-e-tiefblau:checked ~ .pos-e-tiefblau { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-e-tiefblau:checked ~ .pos-e-tiefblau .waehlen { display: none; } #tw-e-tiefblau:checked ~ .pos-e-tiefblau .loesen { display: block; }
#tw-e-tiefblau:focus-visible ~ .pos-e-tiefblau { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-e-gruen:checked ~ .ge-gruen, #tw-e-gruen:checked ~ svg .ge-gruen { opacity: 1; }
#tw-e-gruen:checked ~ .pos-e-gruen { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-e-gruen:checked ~ .pos-e-gruen .waehlen { display: none; } #tw-e-gruen:checked ~ .pos-e-gruen .loesen { display: block; }
#tw-e-gruen:focus-visible ~ .pos-e-gruen { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-e-nebel:checked ~ .ge-nebel, #tw-e-nebel:checked ~ svg .ge-nebel { opacity: 1; }
#tw-e-nebel:checked ~ .pos-e-nebel { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-e-nebel:checked ~ .pos-e-nebel .waehlen { display: none; } #tw-e-nebel:checked ~ .pos-e-nebel .loesen { display: block; }
#tw-e-nebel:focus-visible ~ .pos-e-nebel { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-e-rose:checked ~ .ge-rose, #tw-e-rose:checked ~ svg .ge-rose { opacity: 1; }
#tw-e-rose:checked ~ .pos-e-rose { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-e-rose:checked ~ .pos-e-rose .waehlen { display: none; } #tw-e-rose:checked ~ .pos-e-rose .loesen { display: block; }
#tw-e-rose:focus-visible ~ .pos-e-rose { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-e-eisen:checked ~ .ge-eisen, #tw-e-eisen:checked ~ svg .ge-eisen { opacity: 1; }
#tw-e-eisen:checked ~ .pos-e-eisen { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-e-eisen:checked ~ .pos-e-eisen .waehlen { display: none; } #tw-e-eisen:checked ~ .pos-e-eisen .loesen { display: block; }
#tw-e-eisen:focus-visible ~ .pos-e-eisen { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-e-tuerkis:checked ~ .ge-tuerkis, #tw-e-tuerkis:checked ~ svg .ge-tuerkis { opacity: 1; }
#tw-e-tuerkis:checked ~ .pos-e-tuerkis { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-e-tuerkis:checked ~ .pos-e-tuerkis .waehlen { display: none; } #tw-e-tuerkis:checked ~ .pos-e-tuerkis .loesen { display: block; }
#tw-e-tuerkis:focus-visible ~ .pos-e-tuerkis { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-e-perle:checked ~ .ge-perle, #tw-e-perle:checked ~ svg .ge-perle { opacity: 1; }
#tw-e-perle:checked ~ .pos-e-perle { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-e-perle:checked ~ .pos-e-perle .waehlen { display: none; } #tw-e-perle:checked ~ .pos-e-perle .loesen { display: block; }
#tw-e-perle:focus-visible ~ .pos-e-perle { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-t-beute:checked ~ .g-beute, #tw-t-beute:checked ~ svg .g-beute { opacity: 1; }
#tw-t-beute:checked ~ .pos-t-beute { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-t-beute:checked ~ .pos-t-beute .waehlen { display: none; } #tw-t-beute:checked ~ .pos-t-beute .loesen { display: block; }
#tw-t-beute:focus-visible ~ .pos-t-beute { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-t-raserei:checked ~ .g-raserei, #tw-t-raserei:checked ~ svg .g-raserei { opacity: 1; }
#tw-t-raserei:checked ~ .pos-t-raserei { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-t-raserei:checked ~ .pos-t-raserei .waehlen { display: none; } #tw-t-raserei:checked ~ .pos-t-raserei .loesen { display: block; }
#tw-t-raserei:focus-visible ~ .pos-t-raserei { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-t-sicht:checked ~ .g-sicht, #tw-t-sicht:checked ~ svg .g-sicht { opacity: 1; }
#tw-t-sicht:checked ~ .pos-t-sicht { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-t-sicht:checked ~ .pos-t-sicht .waehlen { display: none; } #tw-t-sicht:checked ~ .pos-t-sicht .loesen { display: block; }
#tw-t-sicht:focus-visible ~ .pos-t-sicht { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-t-leben:checked ~ .g-leben, #tw-t-leben:checked ~ svg .g-leben { opacity: 1; }
#tw-t-leben:checked ~ .pos-t-leben { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-t-leben:checked ~ .pos-t-leben .waehlen { display: none; } #tw-t-leben:checked ~ .pos-t-leben .loesen { display: block; }
#tw-t-leben:focus-visible ~ .pos-t-leben { outline: 3px solid var(--gold); outline-offset: 2px; }
#tw-t-muskel:checked ~ .g-muskel, #tw-t-muskel:checked ~ svg .g-muskel { opacity: 1; }
#tw-t-muskel:checked ~ .pos-t-muskel { background: var(--nacht-3); box-shadow: 0 0 0 2px var(--gold); color: #fff1c2; }
#tw-t-muskel:checked ~ .pos-t-muskel .waehlen { display: none; } #tw-t-muskel:checked ~ .pos-t-muskel .loesen { display: block; }
#tw-t-muskel:focus-visible ~ .pos-t-muskel { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Farben (aus den Spielkatalogen) ---------- */
.f-k-drachenminze { --f: #3f9a5a; }
.f-k-glutwurz { --f: #c8502a; }
.f-k-mondsalbei { --f: #8fa8c8; }
.f-k-nebelfarn { --f: #5f8f6f; }
.f-k-schattenbeere { --f: #4a2c6a; }
.f-k-eisenkraut { --f: #6a7a8a; }
.f-k-taublume { --f: #e8c84a; }
.f-tau { --f: #e8c84a; }
.f-bernstein { --f: #c8862a; }
.f-lind { --f: #9ac82a; }
.f-glut { --f: #e0602a; }
.f-blut { --f: #c02a3a; }
.f-magenta { --f: #b02ac0; }
.f-mond { --f: #8fb0d8; }
.f-schatten { --f: #6a3a9a; }
.f-tiefblau { --f: #2a5ad0; }
.f-gruen { --f: #3fae5a; }
.f-nebel { --f: #6fa080; }
.f-rose { --f: #e070b0; }
.f-eisen { --f: #7a8a9a; }
.f-tuerkis { --f: #2ab8b0; }
.f-perle { --f: #e4ded2; }
.f-t-beute { --f: #e8a818; }
.f-t-raserei { --f: #d8282a; }
.f-t-sicht { --f: #6a4ae8; }
.f-t-leben { --f: #2ec060; }
.f-t-muskel { --f: #1fa8b8; }
.f-t-cocktail { --f: #c84ad8; }
.f-s-gruen { --f: #5fd068; }
.f-s-blau { --f: #4a9be8; }
.f-s-lila { --f: #a86ae0; }
.f-s-orange { --f: #f0a030; }
