/* APK 2.0.14 unit encyclopedia — styles scoped to this page. */
.unit-catalog-page{background:#f8f7fb!important;background-attachment:scroll!important;color:#312a40;min-height:100vh}
.unit-catalog-page .unit-catalog-shell{width:min(calc(100% - 32px),1180px);margin:0 auto;padding:92px 0 65px}
.unit-catalog-page .unit-catalog-breadcrumb{display:flex;align-items:center;gap:9px;margin-bottom:15px;color:#938aa6;font-size:12px}
.unit-catalog-page .unit-catalog-breadcrumb a{color:#6b3bc1;text-decoration:none}
.unit-catalog-page .unit-catalog-eyebrow{display:block;font-size:10px;font-weight:900;letter-spacing:.14em;color:#8862c5}
.unit-catalog-page .unit-catalog-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:226px;padding:34px 37px;border-radius:24px;background:linear-gradient(115deg,#28194d,#4b287f 62%,#7151ac);border:1px solid #5a4683;box-shadow:0 18px 50px rgba(53,24,91,.13);overflow:hidden}
.unit-catalog-page .unit-catalog-hero::after{content:"";position:absolute;width:380px;height:380px;border-radius:50%;right:-110px;top:-150px;background:rgba(255,255,255,.05);pointer-events:none}
.unit-catalog-page .unit-catalog-hero-text{position:relative;z-index:1;max-width:740px}
.unit-catalog-page .unit-catalog-hero .unit-catalog-eyebrow{color:#dabfff}
.unit-catalog-page .unit-catalog-hero h1{margin:11px 0 10px;font-size:clamp(26px,3.6vw,38px);color:#fff;font-weight:900;text-align:left;line-height:1.25;letter-spacing:-.04em}
.unit-catalog-page .unit-catalog-hero h1 em{color:#fbd0ff;font-style:normal}
.unit-catalog-page .unit-catalog-hero p{font-size:13px;color:#dcd3eb;line-height:1.75}
.unit-catalog-page .unit-catalog-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}
.unit-catalog-page .unit-catalog-tags span{font-size:11px;font-weight:800;padding:7px 10px;border-radius:99px;border:1px solid rgba(245,240,255,.18);color:#e9dff5;background:rgba(255,255,255,.08)}
.unit-catalog-page .unit-catalog-hero-art{position:relative;display:flex;align-items:center;justify-content:center;z-index:1;flex:none;padding:0 12px}
.unit-catalog-page .unit-catalog-hero-art img{width:93px;height:93px;object-fit:contain;background:#fff;border-radius:21px;border:3px solid #f5f0ff;transform:rotate(-10deg);box-shadow:0 12px 23px #1e0b3e70}
.unit-catalog-page .unit-catalog-hero-art img:nth-child(2){transform:translateY(-15px) rotate(8deg);z-index:1}
.unit-catalog-page .unit-catalog-hero-art img:nth-child(3){transform:rotate(15deg)}
.unit-catalog-page .unit-catalog-browser,.unit-catalog-page .unit-catalog-detail{margin-top:21px;padding:26px 28px;background:#fff;border:1px solid #e9e5f0;border-radius:20px;box-shadow:0 12px 32px #3d275210}
.unit-catalog-page .unit-catalog-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px}
.unit-catalog-page .unit-catalog-section-head h2{margin:6px 0;font-size:22px;font-weight:900;color:#29203b}
.unit-catalog-page .unit-catalog-section-head p{font-size:12px;color:#817990}
.unit-catalog-page .unit-catalog-search{display:flex;align-items:center;gap:9px;min-width:230px;width:min(100%,310px);padding:0 13px;border:1px solid #e2ddeb;border-radius:12px;background:#fcfbfe;color:#9b82ba}
.unit-catalog-page .unit-catalog-search input{min-width:0;flex:1;border:0;background:transparent;outline:0;padding:12px 0;font:inherit;font-size:12px;color:#332a43}
.unit-catalog-page .unit-catalog-search:focus-within{outline:2px solid #b89af8;outline-offset:1px}
.unit-catalog-page .unit-catalog-rarities{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 17px}
.unit-catalog-page .unit-catalog-tab{display:flex;align-items:center;gap:7px;min-height:41px;padding:9px 13px;background:#f9f7fc;border:1px solid #e9e5f1;border-radius:10px;font-size:12px;font-weight:850;color:#736780;cursor:pointer}
.unit-catalog-page .unit-catalog-tab span{color:#938ca3;font-size:10px}
.unit-catalog-page .unit-catalog-tab.is-active{color:#fff;background:#6834be;border-color:#6834be;box-shadow:0 6px 14px #7544b424}
.unit-catalog-page .unit-catalog-tab.is-active span{color:#e9dafa}
.unit-catalog-page .unit-catalog-tab:hover:not(.is-active){border-color:#c5adef;color:#6435ad}
.unit-catalog-page .unit-catalog-list-info{display:flex;justify-content:space-between;align-items:center;margin:0 0 13px;padding:12px 1px;border-top:1px solid #efeaf5}
.unit-catalog-page .unit-catalog-list-info strong{font-size:13px;color:#3b2a59}
.unit-catalog-page .unit-catalog-list-info span{font-size:12px;color:#927fa9}
.unit-catalog-page .unit-catalog-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.unit-catalog-page .unit-catalog-card{min-width:0;border:1px solid #ece8f1;border-radius:14px;background:#fdfcff;overflow:hidden;transition:border-color .12s,transform .12s,box-shadow .12s}
.unit-catalog-page .unit-catalog-card:hover{transform:translateY(-2px);border-color:#bca1e7;box-shadow:0 8px 20px #43276a16}
.unit-catalog-page .unit-catalog-card.is-selected{border-color:#7f48d2;box-shadow:0 0 0 2px #7c4ed22a}
.unit-catalog-page .unit-catalog-select{width:100%;min-height:134px;display:flex;align-items:center;gap:11px;padding:12px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.unit-catalog-page .unit-catalog-image{position:relative;display:grid;place-items:center;flex:none;width:70px;height:77px;background:#f4f0fa;border-radius:11px}
.unit-catalog-page .unit-catalog-image img{width:68px;height:68px;object-fit:contain}
.unit-catalog-page .unit-catalog-image span{position:absolute;top:4px;left:5px;color:#af9dcb;font-size:9px;font-weight:900}
.unit-catalog-page .unit-catalog-copy{display:flex;flex-direction:column;min-width:0;gap:7px}
.unit-catalog-page .unit-catalog-copy small{font-size:9px;font-weight:900;color:#875ac7}
.unit-catalog-page .unit-catalog-copy strong{font-size:13px;line-height:1.4;font-weight:900;overflow-wrap:anywhere}
.unit-catalog-page .unit-catalog-copy>span{font-size:10px;color:#9f95aa}
.unit-catalog-page .unit-catalog-empty{text-align:center;padding:35px;font-size:13px;color:#82758d}
.unit-catalog-page button:focus-visible,.unit-catalog-page a:focus-visible{outline:3px solid #ae87ea;outline-offset:3px}
.unit-catalog-page .unit-catalog-detail{scroll-margin-top:90px}
.unit-catalog-page .unit-catalog-detail-header{display:flex;align-items:center;gap:20px;padding:6px 0 23px;border-bottom:1px solid #eee9f5}
.unit-catalog-page .unit-catalog-detail-character{width:128px;height:128px;flex:none;object-fit:contain;border-radius:19px;background:#f6f1fd;border:1px solid #ece2f7}
.unit-catalog-page .unit-catalog-detail-copy{flex:1;min-width:0}
.unit-catalog-page .unit-catalog-detail-copy h2{margin:7px 0 5px;font-size:27px;color:#2f2247;font-weight:900}
.unit-catalog-page .unit-catalog-detail-copy p{font-size:12px;color:#82748f}
.unit-catalog-page .unit-catalog-stat-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
.unit-catalog-page .unit-catalog-stat-grid div{min-width:100px;display:flex;flex-direction:column;gap:5px;padding:9px 13px;border:1px solid #eee8f4;border-radius:10px;background:#faf8fd}
.unit-catalog-page .unit-catalog-stat-grid small{font-size:10px;color:#90839b}
.unit-catalog-page .unit-catalog-stat-grid strong{color:#4b2e76;font-size:14px;font-weight:850}
.unit-catalog-page .unit-catalog-share{align-self:flex-start;white-space:nowrap;margin-left:auto;padding:9px 12px;border-radius:10px;border:1px solid #e1d3f3;background:#f8f3ff;color:#6740ab;font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.unit-catalog-page .unit-catalog-detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}
.unit-catalog-page .unit-catalog-detail-section{min-width:0;padding:20px;border:1px solid #eee8f5;background:#fcfbfe;border-radius:16px}
.unit-catalog-page .unit-catalog-detail-section-head span{font-size:10px;font-weight:900;letter-spacing:.12em;color:#8960c0}
.unit-catalog-page .unit-catalog-detail-section-head h3{margin:5px 0 17px;color:#322344;font-size:17px;font-weight:900}
.unit-catalog-page .unit-catalog-level-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.unit-catalog-page .unit-catalog-level-list li{display:flex;align-items:flex-start;gap:12px;padding:12px;border:1px solid #e8e3ee;border-radius:10px;background:#fff;font-size:12px;color:#655c6d;line-height:1.6}
.unit-catalog-page .unit-catalog-level-list li strong{flex:none;color:#7440bd;background:#f2ecfc;border-radius:6px;padding:3px 7px;font-size:11px}
.unit-catalog-page .unit-catalog-skills{display:grid;grid-template-columns:1fr;gap:10px}
.unit-catalog-page .unit-catalog-skill{padding:15px;border:1px solid #e9e3f1;border-radius:11px;background:#fff}
.unit-catalog-page .unit-catalog-skill-top{display:flex;gap:7px;align-items:center;margin-bottom:7px}
.unit-catalog-page .unit-catalog-skill-top span,.unit-catalog-page .unit-catalog-skill-top small{font-size:10px;font-weight:800;color:#7b49b9;background:#f3ecff;border-radius:6px;padding:3px 8px}
.unit-catalog-page .unit-catalog-skill-top small{color:#92849d;background:#f7f5f9}
.unit-catalog-page .unit-catalog-skill>strong{display:block;margin-bottom:6px;font-size:14px;color:#352347}
.unit-catalog-page .unit-catalog-skill p{color:#70677b;font-size:12px;line-height:1.7}
.unit-catalog-page .unit-catalog-pending{color:#958ba0!important;font-size:11px!important}
.unit-catalog-page .unit-catalog-no-data{font-size:12px;color:#96899f;line-height:1.7}
.unit-catalog-page .unit-catalog-source-note{margin:18px 0 0;font-size:11px;line-height:1.7;color:#91879d}
.unit-catalog-page .unit-catalog-related{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.unit-catalog-page .unit-catalog-related a{display:inline-flex;align-items:center;gap:8px;padding:11px 14px;border-radius:10px;background:#fff;border:1px solid #eae4f1;color:#6242a0;font-size:12px;font-weight:850;text-decoration:none}
.unit-catalog-page .unit-catalog-related a:hover{background:#f5effe}
@media(max-width:1050px){.unit-catalog-page .unit-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.unit-catalog-page .unit-catalog-select{flex-direction:column;align-items:center;text-align:center;gap:8px}.unit-catalog-page .unit-catalog-copy{align-items:center}.unit-catalog-page .unit-catalog-image{width:84px;height:84px}.unit-catalog-page .unit-catalog-image img{width:78px;height:78px}}
@media(max-width:750px){.unit-catalog-page .unit-catalog-shell{width:min(calc(100% - 22px),620px);padding-top:80px}.unit-catalog-page .unit-catalog-hero{padding:27px 22px;min-height:0}.unit-catalog-page .unit-catalog-hero-art{display:none}.unit-catalog-page .unit-catalog-browser,.unit-catalog-page .unit-catalog-detail{padding:18px 14px}.unit-catalog-page .unit-catalog-section-head{flex-direction:column;align-items:stretch}.unit-catalog-page .unit-catalog-search{width:100%;max-width:none}.unit-catalog-page .unit-catalog-rarities{gap:6px}.unit-catalog-page .unit-catalog-tab{padding:9px 11px;flex:1;justify-content:center}.unit-catalog-page .unit-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.unit-catalog-page .unit-catalog-select{min-height:128px;padding:10px 5px}.unit-catalog-page .unit-catalog-copy strong{font-size:11px}.unit-catalog-page .unit-catalog-copy>span{font-size:9px}.unit-catalog-page .unit-catalog-detail-layout{grid-template-columns:1fr}.unit-catalog-page .unit-catalog-detail-header{flex-wrap:wrap;gap:13px}.unit-catalog-page .unit-catalog-detail-character{width:90px;height:90px}.unit-catalog-page .unit-catalog-share{order:3;margin-left:0}.unit-catalog-page .unit-catalog-stat-grid{gap:5px}.unit-catalog-page .unit-catalog-stat-grid div{min-width:80px;padding:8px}}
@media(max-width:390px){.unit-catalog-page .unit-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.unit-catalog-page .unit-catalog-copy>span{display:none}.unit-catalog-page .unit-catalog-detail-character{width:80px;height:80px}.unit-catalog-page .unit-catalog-detail-copy h2{font-size:22px}}

/* APK 2.0.14 crafting recipes and original Unity skill sprites. */
.unit-catalog-page .unit-catalog-recipe[hidden]{display:none!important}
.unit-catalog-page .unit-catalog-recipe{margin-top:19px;padding:20px;border:1px solid #e7dcf7;border-radius:15px;background:linear-gradient(135deg,#fbf9ff,#f7f3fe)}
.unit-catalog-page .unit-catalog-recipe-heading h3{font-size:17px;line-height:1.4;font-weight:900;margin:5px 0 13px;color:#352452}
.unit-catalog-page .unit-catalog-recipe-summary{display:flex;flex-wrap:wrap;align-items:center;gap:9px 12px;margin-bottom:13px}
.unit-catalog-page .unit-catalog-recipe-origin,.unit-catalog-page .unit-catalog-recipe-inherited{margin:0;flex:1 1 260px;color:#675b74;font-size:12px;line-height:1.6}
.unit-catalog-page .unit-catalog-recipe-origin strong{color:#50367e}
.unit-catalog-page .unit-catalog-recipe-inherited{color:#806c9a}
.unit-catalog-page .unit-catalog-recipe-price{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid #ded0ef;border-radius:8px;font-size:11px;font-weight:800;color:#633e99;background:#fff;white-space:nowrap}
.unit-catalog-page .unit-catalog-material-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px}
.unit-catalog-page .unit-catalog-material{display:flex;align-items:center;gap:11px;padding:9px 12px;border:1px solid #e9e2f1;border-radius:11px;background:#fff;min-width:0}
.unit-catalog-page .unit-catalog-material-art{display:grid;place-items:center;flex:none;width:55px;height:55px;border-radius:9px;background:#f3eefb;font-size:26px;color:#977bb8}
.unit-catalog-page .unit-catalog-material-art img{display:block;width:52px;height:52px;object-fit:contain;object-position:center}
.unit-catalog-page .unit-catalog-material>div:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:4px}
.unit-catalog-page .unit-catalog-material strong{font-size:12px;color:#3d3050;font-weight:850;overflow-wrap:anywhere}
.unit-catalog-page .unit-catalog-material small{font-size:10px;color:#968ca4}
.unit-catalog-page .unit-catalog-material-count{margin-left:auto;white-space:nowrap;font-size:15px;font-weight:900;color:#713ac1}
.unit-catalog-page .unit-catalog-skill-body{display:flex;align-items:flex-start;gap:12px;min-width:0}
.unit-catalog-page .unit-catalog-skill-body>div{min-width:0;flex:1}
.unit-catalog-page .unit-catalog-skill-body strong{display:block;margin-bottom:6px;color:#352347;font-size:14px;font-weight:900}
.unit-catalog-page .unit-catalog-skill-icon{display:block;flex:none;width:58px;height:58px;padding:3px;object-fit:contain;object-position:center;border:1px solid #eadff5;border-radius:11px;background:#f5f0fc}
@media(max-width:750px){
.unit-catalog-page .unit-catalog-recipe{padding:16px 13px}
.unit-catalog-page .unit-catalog-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.unit-catalog-page .unit-catalog-material{gap:6px;padding:8px}
.unit-catalog-page .unit-catalog-material-art{width:43px;height:43px}
.unit-catalog-page .unit-catalog-material-art img{width:41px;height:41px}
.unit-catalog-page .unit-catalog-material strong{font-size:11px}
.unit-catalog-page .unit-catalog-material-count{font-size:12px}
}
@media(max-width:440px){.unit-catalog-page .unit-catalog-material-grid{grid-template-columns:1fr}}
/* Direct navigation from craft materials and evolution prerequisites. */
.unit-catalog-page .unit-catalog-material-link{
  color:inherit;text-decoration:none;cursor:pointer;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.unit-catalog-page .unit-catalog-material-link:hover{
  border-color:#a78bfa;background:#fdfaff;box-shadow:0 3px 12px #7c3aed12;
}
.unit-catalog-page .unit-catalog-material-link:focus-visible,
.unit-catalog-page .unit-catalog-recipe-text-link:focus-visible{
  outline:3px solid #a78bfa;outline-offset:2px;
}
.unit-catalog-page .unit-catalog-material-link .unit-catalog-material-arrow{
  flex:none;font-size:13px;font-weight:900;color:#7c3aed;
}
.unit-catalog-page .unit-catalog-recipe-text-link{
  color:#6d28d9;font-weight:850;text-decoration:underline;text-underline-offset:3px;
}
.unit-catalog-page .unit-catalog-recipe-text-link:hover{color:#4c1d95}
@media(prefers-reduced-motion:reduce){
  .unit-catalog-page .unit-catalog-material-link{transition:none}
}
