/* lgw-* : Lust Goddess wiki (characters roster). Uses the lgd-* tokens from /styles.css. */
.lgw{max-width:var(--lgd-wrap,1100px);margin:0 auto;padding:8px 16px 24px;text-align:left}
.lgw-lead{color:var(--lgd-muted,#aaa6c6);line-height:1.6}
.lgw-lead b{color:var(--lgd-text,#ebe8f7)}
.lgw-filter{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end;margin:22px 0 10px;padding:14px;
  background:var(--lgd-panel,#141a33);border:1px solid var(--lgd-line,rgba(170,150,255,.14));border-radius:12px;
  position:sticky;top:55px;z-index:5}
.lgw-filter label{display:flex;flex-direction:column;gap:4px;font-size:.78em;color:var(--lgd-muted,#aaa6c6);
  text-transform:uppercase;letter-spacing:.6px}
.lgw-filter input,.lgw-filter select{background:var(--lgd-bg2,#0e1124);color:var(--lgd-text,#ebe8f7);
  border:1px solid var(--lgd-line,rgba(170,150,255,.2));border-radius:8px;padding:8px 10px;font-size:1rem;min-width:130px}
.lgw-filter input{min-width:190px}
.lgw-shown{margin-left:auto;color:var(--lgd-muted,#aaa6c6);font-size:.9em;align-self:center}
.lgw-toc{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 4px}
.lgw-toc a{padding:6px 12px;border-radius:999px;border:1px solid var(--lgd-line2,rgba(255,64,129,.38));
  color:var(--lgd-pink2,#ff79a8);text-decoration:none;font-size:.9em}
.lgw-sec{margin-top:30px}
.lgw-sec h2{font-family:var(--lgd-display);font-weight:400;letter-spacing:.4px;display:flex;align-items:baseline;gap:10px}
.lgw-count{font-size:.6em;color:var(--lgd-muted,#aaa6c6)}
.lgw-sec>p{color:var(--lgd-muted,#aaa6c6);line-height:1.6}
.lgw-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;margin-top:12px}
.lgw-card{background:var(--lgd-panel,#141a33);border:1px solid var(--lgd-line,rgba(170,150,255,.14));border-radius:12px;
  overflow:hidden;display:flex;flex-direction:column;border-top:3px solid #8a86a8}
.lgw-card[hidden]{display:none}
.lgw-common{border-top-color:#4caf50}.lgw-rare{border-top-color:#3d8bff}
.lgw-epic{border-top-color:#a463ff}.lgw-legendary{border-top-color:#f5b301}.lgw-cmd{border-top-color:#ff4081}
.lgw-sec,.lgw-card,.lgw-text h2,.lgw-text h3{scroll-margin-top:160px}
.lgw-card:target{outline:2px solid var(--lgd-pink,#ff4081);outline-offset:2px}
.lgw-empty{margin:18px 0;padding:16px;border-radius:12px;background:var(--lgd-panel,#141a33);color:var(--lgd-muted,#aaa6c6)}
.lgw-empty button,.lgw-fab{font:inherit;cursor:pointer;border-radius:999px;border:1px solid var(--lgd-line2,rgba(255,64,129,.38));background:var(--lgd-bg2,#0e1124);color:var(--lgd-pink2,#ff79a8);padding:8px 14px;margin-left:10px}
.lgw-fab{position:fixed;right:14px;bottom:16px;z-index:20;margin:0;box-shadow:0 6px 20px rgba(0,0,0,.45)}
.lgw-fab[hidden]{display:none}
.lgw-pic{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;background:#1b1f38}
.lgw-grey{filter:contrast(1.05)}
.lgw-nopic{background:repeating-linear-gradient(45deg,#1b1f38 0 10px,#171b31 10px 20px)}
.lgw-body{padding:10px 12px 12px;display:flex;flex-direction:column;gap:4px;flex:1}
.lgw-name{margin:0;font-family:var(--lgd-display);font-weight:400;font-size:1.12em;color:#fff;letter-spacing:.3px}
.lgw-meta{margin:0;font-size:.84em;color:var(--lgd-lilac,#cdbfff)}
.lgw-stat{margin:0;font-size:.84em;color:var(--lgd-muted,#aaa6c6)}
.lgw-stat b{color:var(--lgd-text,#ebe8f7)}
.lgw-lvl{color:var(--lgd-muted,#aaa6c6)}
.lgw-nw{white-space:nowrap}
.lgw-get{margin:2px 0 0;font-size:.8em;color:var(--lgd-cyan,#62e3ff)}
.lgw-ab{margin-top:auto;padding-top:4px;font-size:.84em}
.lgw-ab summary{cursor:pointer;color:var(--lgd-pink2,#ff79a8);padding:8px 0}
.lgw-ab ul{margin:6px 0 0;padding-left:16px;color:var(--lgd-text,#ebe8f7);line-height:1.45}
.lgw-ab li{margin-bottom:5px}
.lgw-k{font-weight:600;color:#ffd27a}
.lgw-news{margin:6px 0 0;font-size:.82em}
@media (max-width:900px){.lgw-filter{top:49px}}
@media (max-width:600px){
  .lgw-filter{position:static}
  .lgw-sec,.lgw-card,.lgw-text h2,.lgw-text h3{scroll-margin-top:60px}
  .lgw-lvl{display:none}
  .lgw-filter label{flex:1 1 44%}
  .lgw-filter input,.lgw-filter select{min-width:0;width:100%}
  .lgw-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .lgw-body{padding:8px 9px 10px}
}
.section .lgw{padding:0;max-width:none}
.lgw-text h2{font-family:var(--lgd-display);font-weight:400;letter-spacing:.3px;margin-top:30px}
.lgw-text h3{margin:20px 0 6px;color:var(--lgd-lilac,#cdbfff)}
.lgw-text p,.lgw-text li{line-height:1.65;color:var(--lgd-text,#ebe8f7)}
.lgw-facts{width:100%;border-collapse:collapse;margin:12px 0 18px;background:var(--lgd-panel,#141a33);border-radius:12px;overflow:hidden}
.lgw-facts th,.lgw-facts td{padding:9px 12px;border-bottom:1px solid var(--lgd-line,rgba(170,150,255,.14));text-align:left;vertical-align:top}
.lgw-facts th{color:var(--lgd-pink2,#ff79a8);font-weight:600;width:38%}
.lgw-tw{overflow-x:auto;margin:10px 0 16px}
.lgw-table{width:100%;border-collapse:collapse;background:var(--lgd-panel,#141a33);border-radius:12px;overflow:hidden;font-size:.95em}
.lgw-table th,.lgw-table td{padding:9px 12px;border-bottom:1px solid var(--lgd-line,rgba(170,150,255,.14));text-align:left;vertical-align:top}
.lgw-table th{color:var(--lgd-lilac,#cdbfff);font-weight:600}
.lgw-table td:first-child{white-space:nowrap;color:var(--lgd-pink2,#ff79a8)}
.lgw-cards3{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin:12px 0}
.lgw-sect{display:flex;flex-direction:column;gap:6px;padding:16px;border-radius:12px;background:var(--lgd-panel,#141a33);
  border:1px solid var(--lgd-line2,rgba(255,64,129,.38));text-decoration:none;color:var(--lgd-text,#ebe8f7)}
.lgw-sect b{font-family:var(--lgd-display);font-weight:400;font-size:1.15em;color:#fff}
.lgw-sect span{color:var(--lgd-muted,#aaa6c6);font-size:.92em;line-height:1.5}
@media (max-width:600px){.lgw-facts th{width:42%}}
