.wiki-workspace{--ws-bg:#13191e;--ws-panel:#1b242c;--ws-border:#34434d;--ws-ink:#edf1f2;--ws-muted:#acb9c0;--bg:var(--ws-bg);--panel:var(--ws-panel);--ink:var(--ws-ink);--text:var(--ws-ink);--muted:var(--ws-muted);--line:var(--ws-border);--blue:var(--ws-accent);--mint:var(--ws-accent);--accent:var(--ws-accent);--paper:var(--ws-bg);color-scheme:dark;background:var(--ws-bg);color:var(--ws-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.6}
.wiki-workspace *{box-sizing:border-box}.wiki-workspace a{color:var(--ws-accent);text-underline-offset:3px}.wiki-workspace :focus-visible{outline:2px solid var(--ws-accent);outline-offset:4px}
.wiki-workspace .ws-header{position:sticky;top:0;z-index:30;min-height:72px;display:flex;align-items:center;gap:18px;padding:12px 28px;background:#17212a;border-bottom:1px solid var(--ws-border);box-shadow:0 2px 8px #0003}
.wiki-workspace .ws-header a{text-decoration:none;color:var(--ws-ink)}.ws-network{display:flex;align-items:center;padding-right:18px;border-right:1px solid var(--ws-border)}.ws-game{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700;line-height:1.25}.ws-game img{object-fit:contain;image-rendering:auto}.ws-game small{display:block;font-size:11px;font-weight:450;color:var(--ws-muted);margin-top:4px;letter-spacing:.02em}
.wiki-workspace .ws-search-open{display:flex;align-items:center;gap:10px;margin-left:auto;min-width:320px;background:#10191f;border:1px solid #52626d;color:var(--ws-muted);padding:8px 12px;font-size:13px;text-align:left}.ws-search-open svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.ws-search-open kbd{margin-left:auto;border:1px solid var(--ws-border);padding:0 6px;border-radius:3px;color:var(--ws-muted)}.wiki-workspace .ws-menu-toggle{display:none}
.wiki-workspace .ws-sidebar{position:fixed;inset:73px auto 0 0;width:232px;overflow:auto;background:#161f26;border-right:1px solid var(--ws-border);padding:22px 16px;z-index:25}.ws-sidebar nav{display:block}.ws-sidebar section{margin:0 0 22px}.ws-sidebar h2{margin:18px 12px 7px;color:var(--ws-muted);font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.08em}.ws-sidebar a{display:block;padding:6px 12px;font-size:13px;color:#c6d1d7!important;text-decoration:none;border-left:2px solid transparent;border-radius:0 4px 4px 0}.ws-sidebar a:hover{background:#25323c;color:var(--ws-ink)!important;text-decoration:none}.ws-sidebar a[aria-current=page]{background:#293740;border-left-color:var(--ws-accent);color:var(--ws-accent)!important}.ws-sidebar .ws-overview{font-weight:650;margin-bottom:14px}.ws-sidebar-bottom{border-top:1px solid var(--ws-border);padding-top:8px}
.wiki-workspace main{max-width:1660px;width:calc(100% - 232px);margin:0 0 0 232px;padding:28px 36px 64px;min-height:calc(100vh - 200px)}.wiki-workspace footer{margin-left:232px;border-color:var(--ws-border);background:#141c23;padding:20px 36px;color:var(--ws-muted);font-size:12px}.wiki-workspace main>h1{font-size:30px;line-height:1.3;margin:0 0 12px;letter-spacing:-.025em}.wiki-workspace main h2{font-size:20px;line-height:1.35;margin-top:30px}.wiki-workspace h3{font-size:16px}.wiki-workspace p{max-width:95ch}.wiki-workspace .crumb{font-size:12px;color:var(--ws-muted);margin-top:0}.wiki-workspace .source{font-size:12px;color:var(--ws-muted)}
.ws-page-sections{display:flex;flex-wrap:wrap;gap:5px 16px;border-bottom:1px solid var(--ws-border);padding:0 0 12px;margin-bottom:20px;font-size:12px}.ws-page-sections span{color:var(--ws-muted)}.ws-page-sections a{white-space:normal}
.wiki-workspace .table-wrap{background:var(--ws-panel);border:1px solid var(--ws-border);border-radius:4px;overflow:auto}.wiki-workspace table{font-size:14px;width:100%;border-collapse:collapse;line-height:1.5}.wiki-workspace thead{background:#23313b;color:#d2dde3}.wiki-workspace th{font-size:12px;font-weight:600;text-transform:none;color:#c6d2da;white-space:normal}.wiki-workspace td,.wiki-workspace th{padding:13px 16px;border-bottom:1px solid var(--ws-border);vertical-align:top}.wiki-workspace tbody tr:hover{background:#26323b}.wiki-workspace td:first-child{min-width:220px}.wiki-workspace td small,.wiki-workspace td .sub{display:block;font-size:12px;color:var(--ws-muted);margin-top:3px}.wiki-workspace .identity{gap:12px}.wiki-workspace .identity img{width:44px;height:44px;object-fit:contain;flex-shrink:0}.wiki-workspace .identity a{font-weight:650}.wiki-workspace .icon{background:#111920;border-radius:4px;display:flex;align-items:center;justify-content:center;min-width:46px;min-height:46px}.wiki-workspace .icon img{max-width:42px;max-height:42px;object-fit:contain}
.wiki-workspace input,.wiki-workspace select,.wiki-workspace textarea{background:#101920;color:var(--ws-ink);border:1px solid #53656e;border-radius:4px;min-height:40px;font-size:14px;max-width:100%;padding:8px 10px}.wiki-workspace button{background:#293e49;color:var(--ws-ink);border:1px solid #576b75;border-radius:4px;font-size:13px;padding:8px 12px;min-height:36px}.wiki-workspace button:hover{background:#365160}.wiki-workspace button:disabled{opacity:.5;cursor:default}.wiki-workspace label{font-size:13px;color:#c4d0d7}.wiki-workspace input[type=checkbox]{min-height:0;accent-color:var(--ws-accent);width:16px;height:16px}.wiki-workspace .filters,.wiki-workspace .controls{padding:16px;margin:16px 0 20px;background:#1b2730;border:1px solid var(--ws-border);border-radius:4px;gap:16px}.wiki-workspace .filters input[type=search]{min-width:220px}.wiki-workspace .tools,.wiki-workspace .split,.wiki-workspace .planner-layout{gap:28px}.wiki-workspace .tool,.wiki-workspace .results,.wiki-workspace .result,.wiki-workspace .record{background:#1b2831;border-color:var(--ws-border)}.wiki-workspace .result{border-left:3px solid var(--ws-accent)}.wiki-workspace .tools a{color:var(--ws-accent)}.wiki-workspace .count,.wiki-workspace .sub,.wiki-workspace .muted{color:var(--ws-muted)}
.ws-row-actions{display:flex;align-items:center;gap:16px;margin-top:8px}.wiki-workspace .ws-row-actions button{border:0;background:none;font-size:11px;padding:0;min-height:24px;color:var(--ws-accent);text-decoration:underline;text-underline-offset:3px}.ws-row-actions label{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--ws-muted)}.ws-row-actions label input{margin:0}.ws-row-actions label span{display:inline!important;font-size:11px!important;margin:0!important}
.wiki-workspace .ws-dialog{color:var(--ws-ink);background:#17232c;border:1px solid #5d7481;border-radius:7px;padding:24px;width:min(900px,calc(100vw - 36px));max-width:none;max-height:85vh;margin:auto;box-shadow:0 24px 80px #0009}.ws-dialog::backdrop{background:#030a10b3}.ws-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.wiki-workspace .ws-dialog-head h2{font-size:22px;margin:0}.wiki-workspace .ws-dialog-head button{font-size:24px;line-height:1;width:36px;height:36px;padding:0;flex-shrink:0}.ws-query-label{display:block;margin-bottom:6px}.ws-dialog #ws-search-query{width:100%}.ws-search-dialog{width:min(760px,calc(100vw - 36px))!important}.ws-search-dialog ol{list-style:none;margin:0;padding:0}.ws-search-dialog li{border-top:1px solid var(--ws-border)}.ws-search-dialog li a{display:flex;align-items:center;gap:14px;padding:12px 4px;color:var(--ws-ink);text-decoration:none}.ws-search-dialog li a:hover,.ws-search-dialog li a:focus{background:#2a3a44}.ws-search-dialog li img{width:42px;height:42px;object-fit:contain}.ws-search-dialog li strong{display:block;color:var(--ws-accent);font-size:15px}.ws-search-dialog li small{display:block;color:var(--ws-muted);font-size:12px}.ws-search-dialog li p{font-size:12px;color:#d2dde2;line-height:1.45;margin:3px 0 0;white-space:pre-line}.ws-search-families{display:flex;gap:6px 20px;flex-wrap:wrap;font-size:12px;padding-top:16px;border-top:1px solid var(--ws-border);margin-top:16px}
.ws-record-identity{display:flex;gap:18px;align-items:center;margin-bottom:20px}.ws-record-identity img{width:76px;height:76px;object-fit:contain;background:#0e1820;border-radius:5px;padding:7px}.ws-record-identity p{margin:0;font-size:12px;color:var(--ws-muted)}.ws-record-identity a{font-size:12px}.ws-record-facts{margin:0;border-top:1px solid var(--ws-border)}.ws-record-facts>div{display:grid;grid-template-columns:160px minmax(0,1fr);border-bottom:1px solid var(--ws-border);gap:20px;padding:14px 0}.ws-record-facts dt{font-weight:600;color:var(--ws-muted);padding:0;border:0;text-align:left}.ws-record-facts dd{margin:0;padding:0;border:0;text-align:left;overflow-wrap:anywhere;max-height:none}.ws-record-facts dd p{margin:0}.ws-record-facts dd .identity img,.ws-record-facts .ws-row-actions{display:none}.ws-record-facts dd ul{margin:0;padding-left:20px}.ws-record-facts dd details{border:0;margin:0;padding:0}.ws-record-facts dd summary{font-size:13px}.ws-record-facts dd small,.ws-record-facts dd .sub{display:block;color:var(--ws-muted);font-size:12px}
.ws-compare-bar{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:14px;border:1px solid #6b8490;border-radius:6px;background:#243643;color:var(--ws-ink);padding:12px 18px;box-shadow:0 4px 24px #0009;z-index:40;max-width:calc(100vw - 24px)}.ws-compare-bar[hidden]{display:none}.ws-compare-bar span{white-space:nowrap}.ws-comparison{overflow:auto}.ws-comparison table{table-layout:fixed}.ws-comparison th{font-size:13px;color:var(--ws-accent)}.ws-comparison th:first-child{width:150px}.ws-comparison th,.ws-comparison td{min-width:180px}.ws-comparison td img{max-width:40px;max-height:40px}.ws-comparison .ws-row-actions{display:none}.ws-comparison input,.ws-comparison button{display:none}
.wiki-workspace .ws-home-tools{display:flex;flex-wrap:wrap;gap:0 24px;border-top:1px solid var(--ws-border);border-bottom:1px solid var(--ws-border);padding:14px 0;margin:16px 0 24px}.ws-home-tools a{font-size:13px;font-weight:600}.ws-home-note{font-size:13px;color:var(--ws-muted)}.wiki-workspace .skip:focus{z-index:100;top:8px;left:8px;padding:10px;background:var(--ws-bg)}
.wiki-workspace main [id]{scroll-margin-top:92px}.wiki-workspace .ws-attack-value{font-size:12px;margin:8px 0;line-height:1.5}.wiki-workspace th{background:#23313b}.wiki-workspace th button{background:transparent;color:inherit;padding:0;min-height:24px}.wiki-workspace .ws-row-actions label{flex-direction:row;align-items:center}
.wiki-workspace .table-wrap{max-height:calc(100dvh - 170px)}.wiki-workspace .table-wrap thead th,.ws-comparison thead th{position:sticky;top:0;z-index:2;box-shadow:0 1px 0 var(--ws-border)}.ws-comparison{max-height:60vh}
@media(min-width:1892px){.wiki-workspace main{margin-right:auto;margin-left:232px;width:calc(100% - 232px)}}
@media(max-width:1100px){.wiki-workspace .ws-sidebar{width:200px;padding:16px 10px}.wiki-workspace main{width:calc(100% - 200px);margin-left:200px;padding:24px}.wiki-workspace footer{margin-left:200px}.wiki-workspace .ws-search-open{min-width:260px}.wiki-workspace td,.wiki-workspace th{padding:12px}.wiki-workspace .record-layout{gap:24px;grid-template-columns:minmax(0,1fr)}}
@media(max-width:800px){.wiki-workspace .ws-header{padding:12px 16px;gap:12px;min-height:68px}.ws-network{padding-right:12px}.ws-network img{width:23px;height:23px}.ws-game{font-size:17px;gap:8px}.ws-game img{width:26px;height:26px}.ws-game small{font-size:10px}.wiki-workspace .ws-search-open{min-width:0;width:38px;padding:9px}.ws-search-open span,.ws-search-open kbd{display:none}.wiki-workspace .ws-menu-toggle{display:block;padding:8px 10px}.wiki-workspace .ws-sidebar{display:none;inset:68px 0 auto 0;width:100%;max-height:calc(100dvh - 68px);box-shadow:0 12px 22px #0008}.wiki-workspace .ws-sidebar[data-open]{display:block}.ws-sidebar nav{columns:2}.ws-sidebar section{break-inside:avoid}.wiki-workspace main{margin:0;width:100%;padding:24px 18px 50px}.wiki-workspace footer{margin-left:0;padding:20px 18px}.wiki-workspace main>h1{font-size:25px}.wiki-workspace .record-layout,.wiki-workspace .tools,.wiki-workspace .split{grid-template-columns:1fr}.ws-dialog .ws-record-facts>div{grid-template-columns:125px minmax(0,1fr);gap:14px}.ws-compare-bar{gap:8px;font-size:12px;padding:10px}.ws-compare-bar button{font-size:11px;padding:7px}.wiki-workspace .filters,.wiki-workspace .controls{padding:12px;gap:12px}.ws-page-sections{font-size:11px;gap:6px 14px}}
@media(max-width:440px){.wiki-workspace .ws-header{gap:8px;padding:10px 12px}.ws-network{display:none}.ws-game{font-size:16px}.ws-game small{max-width:170px;font-size:9px}.wiki-workspace .ws-menu-toggle{font-size:12px}.wiki-workspace .ws-dialog{padding:18px;width:calc(100vw - 20px)}.ws-record-facts>div{grid-template-columns:1fr!important;gap:4px!important}.wiki-workspace .ws-dialog-head h2{font-size:19px}.ws-sidebar nav{columns:1}.wiki-workspace td:first-child{min-width:180px}.wiki-workspace table{font-size:13px}.wiki-workspace td,.wiki-workspace th{padding:10px}.wiki-workspace main{padding:20px 14px 48px}.wiki-workspace .filters input[type=search]{min-width:0}.ws-record-identity img{width:56px;height:56px}.ws-compare-bar{flex-wrap:wrap;justify-content:center;width:calc(100vw - 24px)}}
html{background:#13191e;color-scheme:dark}.wiki-workspace{margin:0;min-height:100dvh}.wiki-workspace summary{color:var(--ws-accent)}
.ws-comparison th small{display:block;font-size:11px;color:var(--ws-muted);font-weight:400}.ws-comparison th img{display:block;object-fit:contain;width:42px;height:42px;margin-bottom:6px}
.wiki-workspace small{color:var(--ws-muted)}.wiki-workspace .met,.wiki-workspace .unmet{color:var(--ws-ink);font-weight:650}
@media(prefers-reduced-motion:reduce){.wiki-workspace *{scroll-behavior:auto!important}}
