.data-directory-heading{display:flex;align-items:center;gap:14px;margin:2px 0 20px}.data-directory-heading h2{margin:0;font-size:21px;font-weight:500}.data-directory{width:100%}#dataLibraryView{padding:22px 30px}
.data-picture{display:inline-block;width:24px;height:24px;object-fit:contain;object-position:center;flex-shrink:0;vertical-align:middle;clip-path:none;border-radius:0}.data-picture.is-large{width:48px;height:54px}.data-picture.is-star{width:14px;height:14px}.data-stars{display:inline-flex;gap:3px;align-items:center;white-space:nowrap}.data-stars small{font-size:10px;color:#8293a1}
.data-library-dialog{box-sizing:border-box;width:min(820px,95vw);max-width:95vw;height:fit-content;max-height:90dvh;padding:0;border:0;border-radius:0;overflow:hidden;color:#253746;background:#fff;box-shadow:0 12px 45px #0003}.data-library-dialog::backdrop{background:#12263488}.data-library-dialog.is-pve{width:min(1180px,96vw);height:min(860px,92dvh);max-height:92dvh}.data-library-dialog.is-pet-skills{width:min(1020px,95vw)}.data-library-dialog.is-suits{width:min(660px,95vw)}
.data-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid #e8edf2;min-height:44px}.data-dialog-header strong{font-size:16px;font-weight:500}.data-dialog-header button{font-size:23px;line-height:1;padding:0 3px}.data-dialog-body{box-sizing:border-box;padding:8px 12px;max-height:calc(90dvh - 47px);overflow:auto}.is-pve .data-dialog-body{height:calc(100% - 47px);max-height:calc(92dvh - 47px)}
.data-text-button{border:0;border-radius:0;background:none;color:#1678b7;cursor:pointer;padding:4px 7px;font:inherit;font-size:12px}.data-text-button:disabled{opacity:.3;cursor:default}.data-directory-link:focus-visible,.data-icon-choice:focus-visible,.data-boss-cell:focus-visible,.data-text-button:focus-visible{outline:2px solid #1682bc;outline-offset:1px}
.data-controls{display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px;padding:2px 0 8px;margin-bottom:6px;border-bottom:1px solid #edf1f5;font-size:12px}.data-select,.data-level-input{box-sizing:border-box;border:0;border-bottom:1px solid #c5d0d8;border-radius:0;background:none;color:inherit;padding:4px 3px;font:inherit;max-width:100%;height:27px}.data-level-input{width:65px}.data-select{min-width:52px}.data-range-total{display:flex;gap:10px;flex-wrap:wrap;margin-left:auto}.data-amount{display:inline-flex;align-items:center;gap:3px;white-space:nowrap;font-variant-numeric:tabular-nums}.data-amount .data-picture{width:20px;height:20px}
.data-table-scroll{width:100%;max-width:100%;overflow:auto}.data-table{width:100%;border-collapse:collapse;border-spacing:0;table-layout:auto}.data-library-dialog .data-table :is(th,td){padding:5px 7px;font-size:12px;line-height:1.35;background:none;border-bottom:1px solid #edf1f5;vertical-align:middle}.data-library-dialog .data-table th{font-weight:400;color:#738696;text-align:center;white-space:nowrap;border-bottom-color:#c6d2db}.data-library-dialog .data-table td{white-space:pre-line}.data-library-dialog .data-table td:first-child{white-space:nowrap}.data-table :is(strong,b){font-weight:500}
.data-attributes{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:3px 13px;padding:2px 0;font-size:12px}.data-attribute{display:flex;align-items:baseline;justify-content:space-between;gap:7px;color:#718391}.data-attribute>span{white-space:nowrap}.data-attribute strong{font-weight:500;color:#273c4d;min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:right;font-variant-numeric:tabular-nums}.data-table .data-attributes{min-width:130px;grid-template-columns:1fr;gap:2px;padding:0}
.data-cost-table{max-width:750px;margin:0 auto}.data-cost-table :is(th,td){white-space:nowrap!important}.data-crystal-table{max-width:550px;margin:auto}.data-crystal-table th:first-child{width:65px}.data-crystal-table td:first-child .data-picture{width:30px;height:30px}.data-crystal-table .data-attributes{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))}
.data-quality-filter{display:flex;gap:8px;align-items:center;border-bottom:1px solid #e8edf2;padding-bottom:4px;margin-bottom:2px}.data-quality-button{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:#748693;font:inherit;font-size:13px;min-width:32px;padding:4px 8px;cursor:pointer}.data-quality-button[aria-pressed=true]{border-bottom-color:#1682bc;color:#1682bc}.data-icon-strip{display:flex;align-items:center;gap:6px;max-width:100%;overflow:auto;padding:4px 0 7px;margin-bottom:4px;scrollbar-width:thin}.data-icon-choice{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;padding:4px;cursor:pointer;flex-shrink:0}.data-icon-choice img{width:36px;height:36px}.data-icon-choice[aria-pressed=true]{border-bottom-color:#1682bc} .data-pet-skills-table{table-layout:fixed;min-width:0}.data-pet-skills-table th:nth-child(1){width:26%}.data-pet-skills-table th:nth-child(2){width:74%}.data-pet-skills-table td:first-child{white-space:normal!important}.data-pet-skills-table .data-skill-description{font-size:12px;line-height:1.4;margin:0}.data-star-table td:last-child{max-width:380px}
.data-saints-table{table-layout:fixed;min-width:620px}.data-saints-table th:first-child{width:52px}.data-saints-table td:first-child .data-picture{width:36px;height:36px}.data-saints-table td{padding-top:5px!important;padding-bottom:5px!important}.data-saint-skill{display:grid;gap:3px}.data-saint-skill strong{font-size:12px;font-weight:500}.data-saint-values{color:#708694;font-size:11px;font-variant-numeric:tabular-nums;line-height:1.4}.data-suits-table{max-width:630px;min-width:470px;margin:auto}.data-suits-table th:first-child{width:38px}.data-suits-table th:nth-child(2){width:110px}.data-suit-items{display:flex;gap:5px;align-items:center}.data-suit-items .data-picture{width:28px;height:28px}
.data-boss-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:4px;align-content:start}.data-boss-cell{display:grid;place-items:center;gap:1px;min-width:0;padding:3px 1px;border:1px solid #edf1f5;border-radius:0;background:#fff;color:#6a8090;cursor:pointer;font-size:10px;font-variant-numeric:tabular-nums;line-height:1.2}.data-boss-cell .data-picture{width:38px;height:40px;max-width:100%;object-fit:contain;object-position:center}.data-boss-cell:hover{border-color:#93bad5;background:#f6fbff}.data-boss-cell[aria-pressed=true]{border-color:#1682bc}.data-detail-heading{display:flex;align-items:center;gap:12px;font-size:15px;margin:0 0 8px;padding:3px 0;border-bottom:1px solid #edf1f5}.data-detail-heading strong{font-weight:500}.data-monster-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px}.data-monster-panels.is-mainline{display:block}.data-monster{padding:6px 0;border-bottom:1px solid #e8edf2;min-width:0}.data-monster-heading{display:flex;align-items:center;gap:9px;font-size:12px;margin-bottom:4px}.data-monster .data-attributes{grid-template-columns:repeat(2,minmax(0,1fr))}.is-mainline .data-monster .data-attributes{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.data-boss-skills{margin-top:7px}.data-skill{padding:4px 0}.data-skill>strong{font-size:12px;font-weight:500}.data-skill-description{font-size:12px;line-height:1.45;margin:2px 0;color:#657987;white-space:pre-line}.data-monster-panels:not(.is-mainline) .data-boss-skills{font-size:11px}
.data-pagination{display:flex;align-items:center;justify-content:center;gap:13px;margin-top:6px;color:#8394a0;font-size:11px}.data-loading,.data-error,.data-empty{padding:18px 0;text-align:center;color:#78909f;font-size:12px}.data-selection-body{min-width:0}
@media(max-width:760px){#dataLibraryView{padding:18px}.data-directory.script-group-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}.data-directory-heading{margin-bottom:12px}.data-library-dialog,.data-library-dialog.is-pet-skills,.data-library-dialog.is-suits{width:96vw;max-width:96vw;max-height:94dvh}.data-library-dialog.is-pve{width:98vw;max-width:98vw;height:95dvh;max-height:95dvh}.data-dialog-header{padding:9px 10px;min-height:42px}.data-dialog-header strong{font-size:15px}.data-dialog-body{padding:6px 8px;max-height:calc(94dvh - 45px)}.is-pve .data-dialog-body{height:calc(100% - 45px);max-height:calc(95dvh - 45px)}.data-controls{gap:4px 7px}.data-range-total{margin-left:0;width:100%;padding-top:3px}.data-pve-controls .data-level-input{width:49px}.data-pve-controls .data-select{max-width:110px}.data-boss-grid{grid-template-columns:repeat(auto-fill,minmax(45px,1fr));gap:3px}.data-boss-cell .data-picture{width:35px;height:38px}.data-monster-panels{display:block}.data-monster .data-attributes,.is-mainline .data-monster .data-attributes{grid-template-columns:repeat(2,minmax(0,1fr))}.data-library-dialog .data-table :is(th,td){font-size:12px;padding:4px 5px}.data-icon-choice img{width:32px;height:32px}.mode-switch:has(#dataNavigation:not([hidden])){grid-template-columns:repeat(7,minmax(0,1fr))}.mode-switch #saltNavigation>span:last-child{white-space:nowrap}}
.data-boss-grid.is-small{grid-template-columns:repeat(auto-fit,minmax(72px,1fr))}.data-boss-grid.is-small .data-boss-cell .data-picture{width:52px;height:54px}.data-boss-grid.is-small .data-boss-cell{padding:5px 3px;font-size:12px}.data-saints-table td{padding-top:2px!important;padding-bottom:2px!important}.data-saints-table td:first-child .data-picture{width:26px;height:26px}.data-saint-skill{gap:1px;line-height:1.2}.data-saint-values{line-height:1.2}

.data-library-dialog.is-crystal-attrs{width:min(600px,95vw)}.data-crystal-table .data-attributes,.data-suits-table .data-attributes{display:flex;flex-wrap:wrap;gap:3px 14px}.data-crystal-table .data-attribute,.data-suits-table .data-attribute{justify-content:flex-start;gap:5px}

.data-star-table{max-width:450px;margin:auto}.data-star-table td:last-child{max-width:none}

.data-upgrade-paths{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:2px 12px;vertical-align:middle}.data-upgrade-paths>span{white-space:normal;line-height:1.3}

.data-library-dialog.is-simple-costs{width:min(540px,95vw)}.data-star-table td{padding:3px 7px!important}.data-star-table .data-amount .data-picture{width:16px;height:16px}.data-amount{vertical-align:middle;line-height:1}

.data-library-dialog.is-pve.is-pve-detail{height:fit-content}.is-pve.is-pve-detail .data-dialog-body{height:auto}

.data-library-dialog .data-table :is(th,td){text-align:center}.data-table thead{background:#f4f7fa}.data-table tbody tr:nth-child(even){background:#fbfcfe}.data-table tbody tr:hover{background:#f1f7fc}.data-table .data-attribute{justify-content:center}.data-table .data-attribute strong{text-align:center}.data-table .data-attributes,.data-suit-items{justify-content:center}.data-table .data-amount{justify-content:center}.data-pet-skills-table td{padding:8px 10px!important}.data-pet-effect{display:grid;gap:5px}.data-pet-unlock{font-size:11px;color:#718594;line-height:1.4}.data-pet-unlock>.data-upgrade-paths{color:#507188}.data-pet-skills-table td:first-child{font-weight:500;color:#33536c}.data-star-table{max-width:510px}.data-star-table .data-stars{gap:1px}.data-star-table .is-star{width:12px;height:12px}.data-boss-cell.is-special-boss{background:#e7f3ff;border-color:#c5dff4}.data-boss-cell.is-special-boss:hover{background:#d9ebff;border-color:#8fbadd}.data-boss-grid.is-genie{grid-template-columns:repeat(auto-fill,minmax(76px,1fr))}.data-boss-grid.is-genie .data-boss-cell{aspect-ratio:1;padding:3px;box-sizing:border-box}
@media(max-width:760px){.data-pet-skills-table th:nth-child(1){width:25%}.data-pet-skills-table th:nth-child(2){width:75%}.data-pet-skills-table td{padding:6px 5px!important}.data-pet-skills-table td:first-child{font-size:11px}.data-star-table .is-star{width:10px;height:10px}.data-star-table .data-stars{gap:0}}

/* Unified monster card: identity, basic values, special attributes, skills. */
.data-monster-panels.is-mainline{display:grid;grid-template-columns:minmax(0,1fr);max-width:800px;margin:0 auto}
.data-monster{padding:12px 14px;border:1px solid #e2eaf1;background:#fff;box-shadow:0 2px 8px #20394d06}
.data-monster-heading{gap:12px;margin:0 0 12px}.data-monster-heading .is-large{width:60px;height:64px}.data-monster-identity{display:grid;gap:4px}.data-monster-identity>strong{font-size:17px;font-weight:600;color:#274963}.data-monster-identity>span{font-size:11px;color:#8295a4}
.data-base-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#f3f7fb;padding:10px 0;margin-bottom:12px}.data-base-stat{display:grid;gap:3px;text-align:center;border-right:1px solid #dee7f0;min-width:0}.data-base-stat:last-child{border:0}.data-base-stat>span{font-size:11px;color:#7b8e9e}.data-base-stat>strong{font-size:18px;font-weight:600;letter-spacing:-.3px;color:#2b516e;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.data-card-section-title{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:#365a74;margin:0 0 7px}.data-card-section-title::before{content:'';width:3px;height:11px;background:#71a7cf}.data-extra-stats{padding-bottom:10px;border-bottom:1px solid #e7eef4}.data-monster .data-attributes{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 24px}.is-mainline .data-monster .data-attributes{grid-template-columns:repeat(3,minmax(0,1fr))}.data-monster .data-attribute{font-size:11px}.data-monster .data-attribute>strong{font-size:12px;color:#42637b}.data-boss-skills{margin-top:12px}.data-boss-skills .data-skill{padding:7px 0;border-bottom:1px solid #edf2f6}.data-boss-skills .data-skill:last-child{border:0;padding-bottom:0}.data-skill-heading{display:flex;gap:8px;align-items:baseline}.data-skill-kind{font-size:10px;color:#8799a7}.data-skill-heading>strong{font-size:13px;font-weight:600;color:#385d77}.data-boss-skills .data-skill-description{margin:4px 0 0;font-size:12px;line-height:1.6;color:#657d8f}.data-monster-panels:not(.is-mainline) .data-base-stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:8px}.data-monster-panels:not(.is-mainline) .data-base-stat:nth-child(2){border:0}.data-monster-panels:not(.is-mainline) .data-base-stat>strong{font-size:16px}
@media(max-width:760px){.data-monster{padding:10px}.data-monster-heading .is-large{width:52px;height:58px}.data-monster-heading{margin-bottom:10px}.data-base-stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:9px;padding:9px 0}.data-base-stat:nth-child(2){border:0}.data-base-stat>strong{font-size:17px}.is-mainline .data-monster .data-attributes,.data-monster .data-attributes{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 16px}.data-monster-panels{display:grid;grid-template-columns:minmax(0,1fr)}.data-monster-identity>strong{font-size:16px}}
.data-library-dialog.is-pve.is-pve-detail{width:min(860px,95vw)}
