.wiki{--common:#c3cad8;--uncommon:#56cc95;--rare:#4c9dff;--epic:#a970ff;--legendary:#f4b740;min-height:70vh;padding-top:28px;padding-bottom:64px}.wiki h1{font-family:var(--display);color:var(--gold-bright);text-shadow:none;overflow-wrap:anywhere;font-size:clamp(1.8rem,5vw,2.6rem);font-weight:700;line-height:1.1}.wiki h2{color:var(--gold);letter-spacing:.06em;text-transform:uppercase;font-size:1.15rem}.wiki-lede{max-width:44em;color:var(--muted);margin-top:10px}.wiki-note,.wiki-count,.wiki-empty{color:var(--muted);margin-top:10px;font-size:.92rem}.wiki-foot{color:var(--gold-dim);border-top:1px solid #2f5a964d;padding-top:20px;padding-bottom:32px;font-size:.85rem}.block{margin-top:36px}.block>h2+*{margin-top:14px}.block>.wiki-note+.chips{margin-top:12px}.shelves{background:var(--well);border-bottom:1px solid #2f5a9673}.shelves-row{scrollbar-width:none;justify-content:space-between;gap:2px;padding-top:8px;padding-bottom:8px;display:flex;overflow-x:auto}.shelves-row::-webkit-scrollbar{display:none}.shelves a{min-height:40px;color:var(--text);white-space:nowrap;border:1px solid #0000;border-radius:999px;flex:none;align-items:center;gap:5px;padding:4px 8px 4px 5px;font-size:.86rem;text-decoration:none;display:inline-flex}.shelves a:hover{border-color:var(--border);background:var(--panel-dark)}.shelves a[aria-current=page]{border-color:var(--gold);background:var(--panel-light);color:var(--gold-bright);font-weight:700}.shelves img{object-fit:contain;width:22px;height:22px;image-rendering:pixelated}@media (min-width:981px){.shelves{z-index:9;position:sticky;top:61px}}.rarity-common{--tone:var(--common)}.rarity-uncommon{--tone:var(--uncommon)}.rarity-rare{--tone:var(--rare)}.rarity-epic{--tone:var(--epic)}.rarity-legendary{--tone:var(--legendary)}.wiki h1[class*=rarity-]{color:var(--tone)}.crumbs{color:var(--muted);flex-wrap:wrap;gap:2px 0;margin-bottom:14px;font-size:.9rem;display:flex}.crumbs i{opacity:.6;margin:0 8px;font-style:normal}.crumbs a{color:var(--muted)}.crumbs a:hover{color:var(--gold-bright)}.crumbs b{color:var(--text);font-weight:400}.search{border:1px solid var(--border);background:var(--panel-dark);width:100%;max-width:560px;min-height:48px;color:var(--text);font:inherit;border-radius:8px;margin-top:22px;padding:0 16px}.search::placeholder{color:var(--muted)}.tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:28px;display:grid}.tile{border:1px solid var(--border);border-radius:var(--radius);background:var(--panel);color:var(--text);align-items:center;gap:14px;padding:16px;text-decoration:none;display:flex}.tile:hover{border-color:var(--gold);background:var(--panel-light)}.tile-art{background:var(--panel-dark);border:1px solid #2f5a96b3;border-radius:10px;flex:none;place-items:center;width:64px;height:64px;display:grid}.tile-art img{object-fit:contain;max-width:52px;max-height:52px;image-rendering:pixelated}.tile-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.tile b{font-family:var(--display);color:var(--gold-bright);font-size:1.25rem}.tile small{color:var(--muted);font-size:.9rem;line-height:1.35}.tile em{background:var(--panel-dark);color:var(--muted);font-variant-numeric:tabular-nums;border-radius:999px;flex:none;align-self:flex-start;padding:1px 9px;font-size:.8rem;font-style:normal}.chips{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px;display:grid}.chip{border:1px solid #2f5a96b3;border-left:3px solid var(--tone,var(--border));background:var(--panel);min-height:52px;color:var(--text);border-radius:8px;align-items:center;gap:10px;padding:8px 12px 8px 10px;text-decoration:none;display:flex}.chip:hover{background:var(--panel-light);border-color:var(--tone,var(--gold))}.chip>img{flex:none;width:32px;height:32px}.chip>span:last-child{flex-direction:column;min-width:0;display:flex}.chip b{color:var(--tone,var(--text));overflow-wrap:anywhere;font-size:.95rem;font-weight:600;line-height:1.25}.chip small{color:var(--muted);font-size:.8rem;line-height:1.3}.chip-portrait{flex:none;place-items:center;width:36px;height:36px;display:grid}.chip-portrait img{object-fit:contain;max-width:36px;max-height:36px;image-rendering:pixelated}.groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px;display:grid}.group-wide{grid-column:1/-1}.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.group-wide .cards{grid-template-columns:repeat(6,minmax(0,1fr))}.monster-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--panel);color:var(--text);text-align:center;flex-direction:column;align-items:center;gap:4px;padding:14px 12px;text-decoration:none;display:flex}.monster-card:hover{border-color:var(--gold);background:var(--panel-light)}.monster-card-art{place-items:end center;width:100%;height:110px;margin-bottom:6px;display:grid}.monster-card-art img{object-fit:contain;max-width:100%;max-height:110px;image-rendering:pixelated}.monster-card b{font-family:var(--display);line-height:1.25}.monster-card small,.entry-meta{color:var(--muted)}.monster-card small{font-size:.85rem}.monster-card em,.entry-meta em{color:var(--gold-bright);letter-spacing:.03em;white-space:nowrap;background:#e0b05429;border-radius:999px;margin-left:8px;padding:1px 8px;font-size:.78rem;font-style:normal;font-weight:700}.entry-head{flex-wrap:wrap;align-items:center;gap:16px 20px;display:flex}.entry-head>div:not(.level){flex:260px;min-width:0}.entry-art{border:1px solid var(--tone,var(--border));background:var(--panel-dark);border-radius:12px;flex:none;place-items:center;width:96px;height:96px;display:grid}.entry-art img{object-fit:contain;max-width:64px;max-height:64px}.entry-art-monster{width:150px;height:150px}.entry-art-monster img{object-fit:contain;max-width:134px;max-height:134px;image-rendering:pixelated}.entry-art-class{width:150px;height:120px}.entry-art-class img{object-fit:contain;max-width:134px;max-height:104px;image-rendering:pixelated}.entry-meta{margin-top:6px}.entry-text{max-width:44em;margin-top:22px;font-size:1.05rem}.stats{border:1px solid var(--border);border-radius:var(--radius);background:var(--panel-dark);grid-template-columns:repeat(3,1fr);max-width:560px;margin-top:24px;display:grid}.stats div{text-align:center;border-left:1px solid #2f5a9666;flex-direction:column-reverse;gap:2px;padding:14px 8px;display:flex}.stats div:first-child{border-left:0}.stats dd{font-family:var(--display);color:var(--gold-bright);font-variant-numeric:tabular-nums;font-size:clamp(1.2rem,4vw,1.7rem);font-weight:700}.stats dt{color:var(--muted);font-size:.82rem}.lines{flex-wrap:wrap;gap:8px;margin-top:20px;display:flex}.lines li{background:var(--panel);border:1px solid #2f5a96b3;border-radius:6px;padding:5px 12px;font-size:.95rem}.lines .line-stat{color:var(--success);align-items:center;gap:7px;font-weight:600;display:inline-flex}.lines .line-stat img{width:18px;height:18px;image-rendering:pixelated}.level{border:1px solid var(--border);border-radius:var(--radius);background:var(--panel-dark);grid-template-columns:auto auto 1fr;align-items:center;gap:4px 10px;width:320px;max-width:100%;margin-left:auto;padding:10px 14px;display:grid}.level label,.level-stars{display:contents}.level span{color:var(--muted);font-size:.8rem}.level label b{min-width:2.2em;font-family:var(--display);color:var(--gold-bright);font-variant-numeric:tabular-nums;font-size:1.05rem}.level input[type=range]{width:100%;min-width:0;accent-color:var(--gold)}.level-star-row{grid-column:2/-1;gap:2px;display:flex}.level-stars button{width:26px;height:26px;color:var(--border);cursor:pointer;background:0 0;border:0;padding:0;font-size:1.25rem;line-height:1}.level-stars button[aria-pressed=true]{color:var(--legendary)}.level p{color:var(--muted);grid-column:1/-1;font-size:.75rem}.star-lines{flex-direction:column;gap:6px;max-width:720px;display:flex}.star-lines li{background:var(--panel-dark);color:var(--muted);border:1px solid #2f5a9673;border-radius:8px;gap:14px;padding:8px 12px;display:flex}.star-lines b{width:5.2em;color:var(--border);letter-spacing:.08em;flex:none}.star-lines li[data-held=true]{background:var(--panel);color:var(--text);border-color:#f4b7408c}.star-lines li[data-held=true] b{color:var(--legendary)}.skill-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));gap:10px;display:grid}.skill-list>li{background:var(--panel);border:1px solid #2f5a96b3;border-radius:8px;gap:12px;padding:12px;display:flex}.skill-list>li>img,.skill-blank{background:var(--panel-dark);border:1px solid #2f5a96cc;border-radius:6px;flex:none;width:40px;height:40px}.skill-list>li>div{flex:1;min-width:0}.skill-list p{flex-wrap:wrap;gap:4px 6px;margin-top:6px;display:flex}.skill-list p span{background:var(--panel-dark);color:var(--muted);white-space:nowrap;border-radius:999px;padding:1px 8px;font-size:.8rem}.skill-list p span:first-child{color:var(--gold-bright)}.skill-list .skill-summary{color:var(--gold-bright);margin-top:6px;font-size:.85rem;font-style:italic;display:block}.skill-lines{color:var(--text);flex-direction:column;gap:4px;margin-top:8px;padding-left:16px;font-size:.88rem;line-height:1.45;list-style:outside;display:flex}.skill-lines li::marker{color:var(--gold-bright)}.skill-example{border-left:3px solid var(--rare);background:var(--panel-dark);border-radius:4px;margin-top:10px;padding:8px 10px;font-size:.82rem;line-height:1.45}.skill-example>span{color:var(--rare);letter-spacing:.08em;text-transform:uppercase;margin-bottom:2px;font-size:.7rem;font-weight:700;display:block}.skill-list .skill-example p{color:var(--muted);margin:2px 0 0;display:block}.skill-list .chips{grid-template-columns:1fr;margin-top:10px}.set-bonuses{flex-direction:column;gap:6px;margin-bottom:14px;display:flex}.set-bonuses li{flex-wrap:wrap;gap:4px 12px;display:flex}.set-bonuses b{color:var(--gold-bright);white-space:nowrap}.set-bonuses span{color:var(--success)}.chip>.chip-skill{border:1px solid #2f5a96cc;border-radius:6px}.class-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.class-tile{border:1px solid var(--border);border-radius:var(--radius);background:var(--panel);color:var(--text);flex-direction:column;gap:10px;padding:18px;text-decoration:none;display:flex}.class-tile-art{background:var(--panel-dark);border-radius:8px;place-items:end center;height:112px;padding-bottom:4px;display:grid}.class-tile-art img{object-fit:contain;max-width:100%;max-height:104px;image-rendering:pixelated}.class-tile:hover{border-color:var(--gold);background:var(--panel-light)}.class-tile b{font-family:var(--display);color:var(--gold-bright);font-size:1.25rem}.class-tile small{color:var(--muted);font-size:.9rem;line-height:1.4}.class-tile .roles>span{background:var(--panel-dark);color:var(--muted);border:1px solid #2f5a96b3;border-radius:999px;align-items:center;gap:5px;padding:2px 9px 2px 6px;font-size:.8rem;display:inline-flex}.class-tile-skills{grid-template-columns:repeat(5,minmax(0,32px));gap:6px;display:grid}.class-tile-skills img{aspect-ratio:1;background:var(--panel-dark);border:1px solid #2f5a96cc;border-radius:6px;width:100%;height:auto}.stats-five{grid-template-columns:repeat(5,1fr);max-width:600px}.recipes{flex-direction:column;gap:8px;display:flex}.recipes>li{background:var(--panel-dark);border:1px solid #2f5a9673;border-radius:10px;grid-template-columns:minmax(0,300px) minmax(0,1fr);align-items:start;gap:8px 16px;padding:8px;display:grid}.recipe-parts{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px;display:grid}.filters{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.filters button{background:var(--panel-dark);min-height:36px;color:var(--tone,var(--text));font:inherit;cursor:pointer;border:1px solid #2f5a96b3;border-radius:999px;padding:0 14px;font-size:.9rem}.filters button:hover{border-color:var(--tone,var(--gold))}.filters button[aria-pressed=true]{border-color:var(--tone,var(--gold));background:var(--panel-light);font-weight:700}@media (max-width:980px){.tiles,.class-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.recipes>li{grid-template-columns:1fr}}@media (max-width:640px){.tiles,.class-tiles{grid-template-columns:1fr}.stats-five{grid-template-columns:repeat(3,1fr)}.stats-five div:nth-child(4){border-left:0}.stats-five div:nth-child(n+4){border-top:1px solid #2f5a9666}.entry-head{align-items:flex-start;gap:14px}.groups{grid-template-columns:1fr}.group-wide .cards{grid-template-columns:repeat(2,1fr)}.entry-art{width:72px;height:72px}.level{width:100%}.entry-art-monster{width:110px;height:110px}.entry-art-monster img{max-width:96px;max-height:96px}.entry-art-class{width:120px;height:100px}.entry-art-class img{max-width:108px;max-height:88px}.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.monster-card{padding:10px 6px}.monster-card b{font-size:.85rem}}@media (max-width:980px) and (min-width:641px){.group-wide .cards{grid-template-columns:repeat(4,minmax(0,1fr))}}.rules-scroll{border:1px solid var(--border);border-radius:var(--radius);background:var(--panel-dark);margin-top:12px;overflow-x:auto}.rules{border-collapse:collapse;white-space:nowrap;width:100%;font-size:.95rem}.rules th,.rules td{text-align:right;border-top:1px solid #2f5a9666;padding:10px 14px}.rules th:first-child{text-align:left;color:var(--text);background:var(--panel-dark);font-weight:500;position:sticky;left:0}@media (max-width:640px){.rules{font-size:.88rem}.rules th,.rules td{padding:9px 10px}}.rules thead th{color:var(--tone,var(--gold-dim));letter-spacing:.08em;text-transform:uppercase;border-top:0;font-size:.8rem;font-weight:600}.rules thead th a{color:inherit}.rule-role{align-items:center;gap:8px;display:inline-flex}.rule-up{color:var(--success)}.rule-down{color:#f08a8a}.rule-none{color:var(--muted)}.rules-scroll+.wiki-note{margin-top:12px}.formulas{gap:14px;margin-top:14px;display:grid}.formula{border:1px solid var(--border);border-radius:var(--radius);background:var(--panel-dark);min-width:0;padding:14px 16px}.formula h3{color:var(--gold-bright);margin:0 0 8px;font-size:1rem}.formula-line{border-radius:calc(var(--radius) / 2);color:var(--text);white-space:normal;overflow-wrap:anywhere;background:#00000040;padding:8px 10px;font-size:.92rem;display:block}.formula .wiki-note{margin-top:8px}.formula .rules-scroll{background:0 0}.calc{border:1px dashed var(--border);border-radius:calc(var(--radius) / 2);background:#0000002e;margin-top:12px;padding:12px 14px}.calc-head{letter-spacing:.06em;text-transform:uppercase;color:var(--gold);margin-bottom:8px;font-size:.8rem}.calc-fields{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;display:grid}.calc-field{flex-direction:column;gap:4px;min-width:0;display:flex}.calc-label{color:var(--muted);font-size:.82rem}.calc-input{align-items:center;gap:6px;display:flex}.calc-input input{border:1px solid var(--border);border-radius:calc(var(--radius) / 2);width:100%;min-width:0;color:var(--text);font:inherit;background:#0000004d;padding:6px 8px}.calc-input input:focus{border-color:var(--gold);outline:none}.calc-suffix{color:var(--muted)}.calc-result{flex-wrap:wrap;gap:18px;margin-top:12px;display:flex}.calc-big{color:var(--gold-bright);font-size:1.4rem;font-weight:700;display:block}.calc-note{color:var(--muted);font-size:.82rem}.calc .rules-scroll{margin-top:12px}.calc>.calc-note{margin:8px 0 0}.skill-gif{background:var(--panel-dark);border-radius:6px;justify-content:center;margin:10px 0 0;padding:10px;display:flex}.skill-gif img{max-width:100%;height:auto;max-height:220px;image-rendering:pixelated}.summon+.summon{margin-top:32px}.block>.wiki-note+.summon{margin-top:16px}.summon h3{font-family:var(--display);font-size:1.4rem}.summon .stats,.summon .skill-list{margin-top:16px}.entry-art-pet{width:110px;height:110px}.entry-art-pet img{max-width:94px;max-height:94px}
