[data-astro-cid-lerju5hz][hidden]{display:none!important}.filter-count[data-astro-cid-lerju5hz]{background:var(--primary);color:var(--background);border-radius:999px;min-width:1.5rem;height:1.5rem;display:inline-flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;padding:0 .3rem}.checkbox-label[data-astro-cid-lerju5hz].checked,.checkbox-label[data-astro-cid-lerju5hz]:has(input:checked){background:var(--subclass-feature-bg);color:var(--text);border-color:var(--primary)}.results-summary[data-astro-cid-lerju5hz],.filter-footer[data-astro-cid-lerju5hz]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem}.results-summary[data-astro-cid-lerju5hz]{margin-bottom:1rem;font-size:.9rem}.results-summary[data-astro-cid-lerju5hz] p[data-astro-cid-lerju5hz]{margin:0}.filter-footer[data-astro-cid-lerju5hz]{padding-top:1rem;border-top:1px solid var(--card-border)}.reset-button[data-astro-cid-lerju5hz]{min-height:44px;padding:.5rem .75rem;background:var(--card-bg);color:var(--primary);border:1px solid var(--card-border);border-radius:.5rem;font:inherit;cursor:pointer}.reset-button[data-astro-cid-lerju5hz]:disabled{opacity:.5;cursor:default}.reset-button[data-astro-cid-lerju5hz]:not(:disabled):hover{background:var(--nav-hover-bg)}.empty-state[data-astro-cid-lerju5hz]{padding:1.5rem;background:var(--card-bg);border:1px solid var(--card-border);border-radius:.5rem;text-align:center}.filter-button[data-astro-cid-lerju5hz]:focus-visible,.close-button[data-astro-cid-lerju5hz]:focus-visible,.reset-button[data-astro-cid-lerju5hz]:focus-visible,.subclass-toggle[data-astro-cid-lerju5hz]:focus-visible,.checkbox-label[data-astro-cid-lerju5hz]:has(input:focus-visible),.search-input[data-astro-cid-lerju5hz]:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.spell-history-fab[data-astro-cid-lerju5hz]{position:fixed;bottom:1.25rem;right:1rem;z-index:1001;width:2.75rem;height:2.75rem;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--card-border);border-radius:999px;background:var(--card-bg);color:var(--text);box-shadow:var(--card-shadow);font-size:1.25rem;cursor:pointer}.spell-history-overlay[data-astro-cid-lerju5hz]{position:fixed;inset:0;z-index:999;background:#00000073}#random-spell-widget[data-astro-cid-lerju5hz]{position:fixed;bottom:1rem;right:0;width:min(320px,calc(100vw - 1rem));max-height:calc(100vh - 6.5rem);max-height:calc(100dvh - 6.5rem);overflow-y:auto;overscroll-behavior:contain;z-index:1000;background:var(--card-bg);border:1px solid var(--card-border);border-right:none;padding:1rem;border-radius:.75rem 0 0 .75rem;box-shadow:var(--card-shadow);display:flex;flex-direction:column;gap:.85rem;align-items:stretch;transform:translate(0);transition:transform .22s ease,visibility .22s}#random-spell-widget[data-astro-cid-lerju5hz].is-collapsed{transform:translate(105%);visibility:hidden}.spell-history-head[data-astro-cid-lerju5hz]{display:flex;align-items:center;justify-content:space-between;gap:.5rem}#spell-history-title[data-astro-cid-lerju5hz]{margin:0;font-size:1rem;font-weight:700;color:var(--primary)}.spell-history-close[data-astro-cid-lerju5hz]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:2rem;height:2rem;border:1px solid var(--card-border);border-radius:999px;background:var(--background);color:var(--text);cursor:pointer}#random-history-empty[data-astro-cid-lerju5hz]{margin:0;font-size:.9rem;line-height:1.5}.spell-history-fab[data-astro-cid-lerju5hz]:focus-visible,.spell-history-close[data-astro-cid-lerju5hz]:focus-visible,#random-btn[data-astro-cid-lerju5hz]:focus-visible,#random-history[data-astro-cid-lerju5hz] a:focus-visible{outline:2px solid var(--primary);outline-offset:3px}#random-btn[data-astro-cid-lerju5hz]{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex!important;align-items:center;justify-content:flex-start;gap:.6rem;width:100%;padding:.6rem .8rem;background:linear-gradient(135deg,#667eea,#764ba2)!important;color:#fff!important;border:1px solid rgba(0,0,0,.08);border-radius:.5rem;box-shadow:0 6px 18px #0000001f;font-weight:700;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease;text-align:left;font-family:inherit;font-size:1rem}#random-btn[data-astro-cid-lerju5hz]:hover{transform:translateY(-2px);box-shadow:0 10px 26px #00000029;filter:brightness(1.1)}#random-btn[data-astro-cid-lerju5hz]:active{transform:translateY(0);box-shadow:0 6px 14px #0000001f}#random-btn[data-astro-cid-lerju5hz] .filter-icon[data-astro-cid-lerju5hz]{display:inline-flex;align-items:center;justify-content:center;width:1.6rem;height:1.6rem;font-size:1.1rem;background:#fff3;border-radius:.35rem}#random-spell-widget[data-astro-cid-lerju5hz] #random-history[data-astro-cid-lerju5hz]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.25rem;overflow-y:auto;max-height:220px;width:100%}#random-spell-widget[data-astro-cid-lerju5hz] #random-history[data-astro-cid-lerju5hz] li{width:100%}#random-spell-widget[data-astro-cid-lerju5hz] #random-history[data-astro-cid-lerju5hz] a{display:block;padding:.4rem .6rem;background:var(--card-bg);border:1px solid var(--card-border);border-radius:6px;color:var(--text);text-decoration:none;font-size:.95rem;width:100%;text-align:left;transition:background .2s ease}#random-spell-widget[data-astro-cid-lerju5hz] #random-history[data-astro-cid-lerju5hz] a:hover{background:var(--nav-hover-bg);border-color:var(--primary)}#random-history[data-astro-cid-lerju5hz] .history-item{will-change:transform,opacity}#random-history[data-astro-cid-lerju5hz] .history-item.enter{animation:fadeIn .28s ease-out forwards}#random-history[data-astro-cid-lerju5hz] .history-item.exit{animation:fadeOut .28s ease-out forwards}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@media (prefers-reduced-motion: reduce){#random-spell-widget[data-astro-cid-lerju5hz]{transition:none}#random-history[data-astro-cid-lerju5hz] .history-item{animation:none}}.content[data-astro-cid-lerju5hz]{max-width:1400px;width:100%;min-width:0;margin:0 auto}.spells-container[data-astro-cid-lerju5hz]{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:2rem;margin-top:2rem;align-items:start}.spells-list[data-astro-cid-lerju5hz]{min-width:0}.search-controls[data-astro-cid-lerju5hz]{display:flex;gap:1rem;margin-bottom:1rem}.search-input[data-astro-cid-lerju5hz]{flex:1;min-width:0;padding:.75rem;border:1px solid var(--card-border);border-radius:.5rem;background:var(--card-bg);color:var(--text)}.filter-button[data-astro-cid-lerju5hz]{padding:.75rem 1rem;background:var(--card-bg);border:1px solid var(--card-border);border-radius:.5rem;color:var(--text);cursor:pointer;display:flex;align-items:center;gap:.5rem;font:inherit;min-height:44px}.filter-button[data-astro-cid-lerju5hz].has-filters{border-color:var(--primary)}.filter-icon[data-astro-cid-lerju5hz]{font-size:1.2rem}.filter-popup[data-astro-cid-lerju5hz]{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:none;background:transparent;color:var(--text)}.filter-popup[data-astro-cid-lerju5hz]::backdrop{background:#0009}.filter-content[data-astro-cid-lerju5hz]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:var(--card-bg);padding:2rem;border-radius:.5rem;box-sizing:border-box;width:min(640px,calc(100% - 2rem));max-height:90vh;max-height:90dvh;overflow-y:auto;overscroll-behavior:contain}.filter-header[data-astro-cid-lerju5hz]{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.close-button[data-astro-cid-lerju5hz]{background:none;border:none;font-size:1.5rem;color:var(--text);cursor:pointer;padding:.5rem}.filter-section[data-astro-cid-lerju5hz]{margin-bottom:1.5rem}.filter-section[data-astro-cid-lerju5hz]:last-child{margin-bottom:0}.checkbox-group[data-astro-cid-lerju5hz]{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.5rem}.filter-hint[data-astro-cid-lerju5hz]{margin:.5rem 0 .75rem;font-size:.9rem;line-height:1.5}.subclass-filters[data-astro-cid-lerju5hz]{display:grid;gap:.75rem}.subclass-class[data-astro-cid-lerju5hz]{border:1px solid var(--card-border);border-radius:.75rem;background:var(--card-bg)}.subclass-class[data-astro-cid-lerju5hz][open],.subclass-class[data-astro-cid-lerju5hz].has-selection{border-color:var(--primary)}.subclass-toggle[data-astro-cid-lerju5hz]{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:48px;padding:.75rem 1rem;border-radius:.75rem;background:var(--background);cursor:pointer;color:var(--text);list-style:none;font:inherit;font-weight:600}.subclass-toggle[data-astro-cid-lerju5hz]::-webkit-details-marker{display:none}.subclass-toggle[data-astro-cid-lerju5hz]:hover{background:var(--nav-hover-bg)}.subclass-name[data-astro-cid-lerju5hz]{flex:1}.subclass-count[data-astro-cid-lerju5hz],.subclass-selected[data-astro-cid-lerju5hz]{padding:.2rem .5rem;border-radius:999px;font-size:.8rem;font-weight:500;background:var(--card-bg);white-space:nowrap}.subclass-selected[data-astro-cid-lerju5hz]{color:var(--subclass-feature-title);background:var(--subclass-feature-bg)}.subclass-toggle[data-astro-cid-lerju5hz]:after{content:"";width:.45rem;height:.45rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .15s ease;flex-shrink:0}.subclass-class[data-astro-cid-lerju5hz][open]>.subclass-toggle[data-astro-cid-lerju5hz]:after{transform:rotate(225deg)}.subclass-list[data-astro-cid-lerju5hz]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:.75rem;gap:.625rem;border-top:1px solid var(--card-border)}.subclass-list[data-astro-cid-lerju5hz] .checkbox-label[data-astro-cid-lerju5hz]{display:flex;align-items:center;justify-content:flex-start;min-width:0;min-height:44px;padding:.625rem .75rem;border-radius:.5rem;overflow-wrap:anywhere}.checkbox-label[data-astro-cid-lerju5hz]:hover{border-color:var(--primary)}.checkbox-label[data-astro-cid-lerju5hz] input[data-astro-cid-lerju5hz]{flex-shrink:0}.checkbox-label[data-astro-cid-lerju5hz]{display:flex;align-items:center;gap:.5rem;cursor:pointer;background:var(--card-bg);border:1px solid var(--card-border);border-radius:.5rem;padding:.5rem 1rem;min-width:120px;justify-content:center;transition:border-color .2s,background .2s;accent-color:var(--primary)}.spells-grid[data-astro-cid-lerju5hz]{display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto;border:1px solid var(--card-border);border-radius:.5rem}.spells-grid[data-astro-cid-lerju5hz]:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.table-scroll-hint[data-astro-cid-lerju5hz]{margin-bottom:.5rem;font-size:.85rem;line-height:1.5}.spells-table[data-astro-cid-lerju5hz]{width:100%;min-width:56rem;border-collapse:collapse;background:var(--card-bg)}.spells-table[data-astro-cid-lerju5hz] thead[data-astro-cid-lerju5hz]{background:var(--background)}.spells-table[data-astro-cid-lerju5hz] th[data-astro-cid-lerju5hz],.spells-table[data-astro-cid-lerju5hz] td[data-astro-cid-lerju5hz]{padding:.6rem .75rem;text-align:left;border-bottom:1px solid var(--card-border);vertical-align:middle;font-size:.95rem}.spells-table[data-astro-cid-lerju5hz] th[data-astro-cid-lerju5hz].sortable{cursor:pointer;user-select:none;white-space:nowrap}.sort-icon[data-astro-cid-lerju5hz]{display:inline-block}.spells-table[data-astro-cid-lerju5hz] td[data-astro-cid-lerju5hz].col-name{width:12rem;min-width:10rem;overflow-wrap:anywhere}.spells-table[data-astro-cid-lerju5hz] td[data-astro-cid-lerju5hz].col-casting{min-width:12rem;white-space:normal;overflow-wrap:anywhere}.spells-table[data-astro-cid-lerju5hz] td[data-astro-cid-lerju5hz].col-range{min-width:8rem}.spells-table[data-astro-cid-lerju5hz] tbody[data-astro-cid-lerju5hz] tr[data-astro-cid-lerju5hz]:hover{background:var(--nav-hover-bg)}.spells-table[data-astro-cid-lerju5hz] .name-en[data-astro-cid-lerju5hz]{font-size:.8rem;opacity:.7;margin-top:.25rem}.spells-table[data-astro-cid-lerju5hz] td[data-astro-cid-lerju5hz].col-school{white-space:nowrap;background:transparent!important;border-left:none!important;padding-left:.5rem}.school-label[data-astro-cid-lerju5hz]{display:inline-block;padding:.15rem .25rem;font-weight:600;mix-blend-mode:normal!important;-webkit-text-fill-color:currentColor!important;color-adjust:exact!important;forced-color-adjust:none!important}.school-label[data-astro-cid-lerju5hz].school-ограждение{color:#007c91!important}.school-label[data-astro-cid-lerju5hz].school-вызов{color:#c56a00!important}.school-label[data-astro-cid-lerju5hz].school-прорицание{color:#2e7d32!important}.school-label[data-astro-cid-lerju5hz].school-очарование{color:#b0124a!important}.school-label[data-astro-cid-lerju5hz].school-воплощение{color:#6a1b9a!important}.school-label[data-astro-cid-lerju5hz].school-иллюзия{color:#1565c0!important}.school-label[data-astro-cid-lerju5hz].school-некромантия{color:#4e342e!important}.school-label[data-astro-cid-lerju5hz].school-преобразование{color:#f9a825!important}.school-label[data-astro-cid-lerju5hz],.school-label[data-astro-cid-lerju5hz] [data-astro-cid-lerju5hz]{-webkit-text-fill-color:inherit!important}.spells-table[data-astro-cid-lerju5hz] td[data-astro-cid-lerju5hz].col-level,.spells-table[data-astro-cid-lerju5hz] td[data-astro-cid-lerju5hz].col-conc{text-align:center;width:8%;white-space:nowrap}.spells-table[data-astro-cid-lerju5hz] td[data-astro-cid-lerju5hz].col-source{width:14%;white-space:nowrap}.spell-details[data-astro-cid-lerju5hz]{position:-webkit-sticky;position:sticky;top:5rem;align-self:start;min-width:0;width:100%;max-width:100%;max-height:calc(100vh - 7rem);overflow-y:auto;background:var(--card-bg);padding:1.5rem;border-radius:.5rem;border:1px solid var(--card-border);overflow-wrap:anywhere}.spell-description-container[data-astro-cid-lerju5hz]{margin:1.5rem 0}.spell-description[data-astro-cid-lerju5hz]{line-height:1.6}.spell-sources[data-astro-cid-lerju5hz]{margin-top:2rem;padding:1.5rem;background:var(--background);border-radius:.5rem;border:1px solid var(--card-border)}.spell-sources[data-astro-cid-lerju5hz] h3[data-astro-cid-lerju5hz]{color:var(--primary);margin-bottom:1rem;font-size:1.2rem;padding-bottom:.5rem;border-bottom:1px solid var(--card-border)}.spell-sources[data-astro-cid-lerju5hz] p[data-astro-cid-lerju5hz]{margin-bottom:.5rem;padding-left:.5rem;border-left:3px solid var(--primary)}.spell-sources[data-astro-cid-lerju5hz] p[data-astro-cid-lerju5hz]:last-child{margin-bottom:0}.spell-description[data-astro-cid-lerju5hz] p{margin-bottom:1rem}.spell-description[data-astro-cid-lerju5hz] p:last-child{margin-bottom:0}.spell-description[data-astro-cid-lerju5hz] ul,.spell-description[data-astro-cid-lerju5hz] ol{margin:1rem 0;padding-left:1.5rem}.spell-description[data-astro-cid-lerju5hz] li{margin-bottom:.5rem}.spell-description[data-astro-cid-lerju5hz] table{width:100%;margin:1rem 0;border-collapse:collapse}.spell-description[data-astro-cid-lerju5hz] th,.spell-description[data-astro-cid-lerju5hz] td{padding:.5rem;border:1px solid var(--card-border);text-align:left}.spell-description[data-astro-cid-lerju5hz] th{background:var(--card-bg)}.scroll-to-top[data-astro-cid-lerju5hz]{position:fixed;right:1rem;bottom:5rem;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;background:var(--card-bg);border:1px solid var(--card-border);color:var(--text);cursor:pointer;box-shadow:0 6px 14px #0000002e;opacity:0;transform:translateY(8px);transition:opacity .18s ease,transform .18s ease;z-index:998}.scroll-to-top[data-astro-cid-lerju5hz].visible{opacity:1;transform:none}@media (max-width: 1024px){.spell-history-fab[data-astro-cid-lerju5hz]{top:5.25rem;right:.75rem;bottom:auto}#random-spell-widget[data-astro-cid-lerju5hz]{top:5rem;bottom:auto;max-height:calc(100vh - 6rem);max-height:calc(100dvh - 6rem)}.scroll-to-top[data-astro-cid-lerju5hz]{bottom:1.25rem}.spells-container[data-astro-cid-lerju5hz]{grid-template-columns:minmax(0,1fr)}.spell-details[data-astro-cid-lerju5hz]{position:static;top:auto;align-self:stretch;max-height:none;margin-top:1rem}.spells-container[data-astro-cid-lerju5hz]{gap:1rem}.spells-table[data-astro-cid-lerju5hz] th[data-astro-cid-lerju5hz]:first-child,.spells-table[data-astro-cid-lerju5hz] td[data-astro-cid-lerju5hz].col-name{position:sticky;left:0;z-index:1;background:var(--card-bg);box-shadow:2px 0 0 var(--card-border)}.spells-table[data-astro-cid-lerju5hz] th[data-astro-cid-lerju5hz]:first-child{background:var(--background)}.spells-table[data-astro-cid-lerju5hz] tbody[data-astro-cid-lerju5hz] tr[data-astro-cid-lerju5hz]:hover td[data-astro-cid-lerju5hz].col-name{background:var(--nav-hover-bg)}}@media (max-width: 768px){.search-controls[data-astro-cid-lerju5hz]{flex-direction:column;align-items:stretch}.filter-button[data-astro-cid-lerju5hz]{width:100%;justify-content:center}.filter-content[data-astro-cid-lerju5hz]{padding:1rem}.spells-table[data-astro-cid-lerju5hz] th[data-astro-cid-lerju5hz],.spells-table[data-astro-cid-lerju5hz] td[data-astro-cid-lerju5hz]{padding:.45rem .5rem;font-size:.92rem}.checkbox-group[data-astro-cid-lerju5hz]{gap:.5rem}.checkbox-label[data-astro-cid-lerju5hz]{min-width:0;padding:.4rem .6rem;font-size:.9rem}}@media (max-width: 480px){.content[data-astro-cid-lerju5hz]{padding:0 .75rem}.spells-table[data-astro-cid-lerju5hz] th[data-astro-cid-lerju5hz],.spells-table[data-astro-cid-lerju5hz] td[data-astro-cid-lerju5hz]{padding:.35rem .45rem;font-size:.88rem}.filter-content[data-astro-cid-lerju5hz]{padding:.75rem}.filter-header[data-astro-cid-lerju5hz] h3[data-astro-cid-lerju5hz]{font-size:1rem}.spell-details[data-astro-cid-lerju5hz]{padding:1rem}.subclass-list[data-astro-cid-lerju5hz]{grid-template-columns:1fr}.subclass-toggle[data-astro-cid-lerju5hz]{padding:.75rem;gap:.5rem}.subclass-toggle[data-astro-cid-lerju5hz]:has(.subclass-selected:not([hidden])) .subclass-count[data-astro-cid-lerju5hz]{display:none}}
