/*
 * Talent-Liste im Akkordeon-Stil (wie Spezies/Klassen, Waldemaster-Design).
 * Praefix wm-wft-, Wurzel #wftApp.
 */
.wm-wft-app{ margin: 0 auto; max-width: var(--wsc-content-width, 1000px); }
.wm-wft-subrow{ display:flex; justify-content:space-between; align-items:flex-end; gap:12px; flex-wrap:wrap; margin-bottom:10px; }
.wm-wft-sub{ font-size: 12.5px; color: var(--wm-muted); max-width: 680px; }
.wm-wft-count{ font-size: 12px; font-weight: 700; color: var(--wm-teal); white-space: nowrap; }

.wm-wft-filters{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom: 12px; }
.wm-wft-field{ display:flex; flex-direction:column; gap:4px; }
.wm-wft-field-grow{ flex:1 1 260px; max-width: 340px; }
.wm-wft-flabel{ font-size: 11px; font-weight:700; letter-spacing:.4px; color: var(--wm-muted); text-transform: uppercase; }
.wm-wft-search, .wm-wft-select{ font-family:inherit; font-size:14px; padding:7px 10px; border:1px solid var(--wm-divider); border-radius:6px; background:#fff; }

.wm-wft-list{ display:flex; flex-direction:column; gap:8px; }
.wm-wft-item{ border:1px solid var(--wm-divider); border-radius:8px; background:#fff; overflow:hidden; }
.wm-wft-head{ display:flex; align-items:center; gap:12px; padding:10px 14px; cursor:pointer; }
.wm-wft-head:hover{ background: var(--wm-panel, #f7f4ec); }
.wm-wft-name{ flex:1 1 auto; min-width:0; }
.wm-wft-name-title{ font-family:Georgia,serif; font-weight:700; font-size:16px; color:var(--wm-teal); }
.wm-wft-name-sub{ font-size:12px; color:var(--wm-muted); }
.wm-wft-toggle{ flex:0 0 auto; width:30px; height:30px; border:1px solid var(--wm-divider); background:#fff; border-radius:50%; font-size:18px; line-height:1; color:var(--wm-teal); cursor:pointer; display:inline-flex; align-items:center; justify-content:center; padding:0; font-family:inherit; }

.wm-wft-item .wm-wft-body{ display:none; }
.wm-wft-item.is-open .wm-wft-body{ display:block; padding:6px 18px 18px; border-top:1px solid var(--wm-divider); }

.wm-wft-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:10px 0 8px; }
.wm-wft-cat{ font-size:11px; font-weight:700; color:#fff; border-radius:4px; padding:2px 8px; background:var(--wm-teal); }
.wm-wft-cat--origin{ background:#5a7d5a; }
.wm-wft-cat--general{ background:#4a6b8a; }
.wm-wft-cat--fighting-style{ background:#a5642f; }
.wm-wft-cat--epic-boon{ background:#7a4a8a; }
.wm-wft-prereq{ font-size:12.5px; font-style:italic; color:var(--wm-muted); }
.wm-wft-text{ font-size:15px; line-height:1.55; }
.wm-wft-text p{ margin:6px 0; }

.wm-wft-source{ margin-top:14px; font-size:11px; color:var(--wm-muted); text-align:right; }
.wm-wft-nores{ padding:20px; text-align:center; color:var(--wm-muted); }

/* Offener Eintrag deutlich hervorheben (Muster wie Zauber-/Item-Liste). */
.wm-wft-item{ transition:box-shadow .15s ease, border-color .15s ease; }
.wm-wft-item.is-open{ border-color:var(--wm-teal); box-shadow:0 1px 6px rgba(12,133,123,.12); }
.wm-wft-item.is-open .wm-wft-head{ background:var(--wm-panel,#f7f4ec); }
