.dex-page{min-height:100vh;padding:132px 4% 72px;color:#fff;background:radial-gradient(circle at 82% 4%,rgba(112,118,255,.17),transparent 32%),#090b15}.dex-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:34px;width:min(1780px,100%);margin:auto}.dex-hero>div>a{display:inline-block;margin-bottom:28px;color:rgba(255,255,255,.64);font-size:11px;font-weight:800;text-decoration:none}.dex-hero>div>span{display:block;color:#8fe8dc;font-size:10px;font-weight:900;letter-spacing:.16em}.dex-hero h1{margin:7px 0 12px;font-size:clamp(55px,7vw,102px);line-height:.84;letter-spacing:-.065em}.dex-hero p{width:min(760px,100%);margin:0;color:rgba(255,255,255,.58);font-size:15px;line-height:1.65}.dex-hero aside{display:flex;flex-direction:column;min-width:270px;padding:21px;background:rgba(17,20,38,.84);border:1px solid rgba(143,232,220,.2);border-radius:16px}.dex-hero aside strong{font-size:34px}.dex-hero aside span{color:#8fe8dc;font-size:10px;font-weight:900;text-transform:uppercase}.dex-hero aside small{margin-top:9px;color:rgba(255,255,255,.4);line-height:1.45}.dex-toolbar{position:sticky;top:78px;z-index:8;display:flex;align-items:center;gap:14px;width:min(1780px,100%);margin:38px auto 16px;padding:10px;background:rgba(9,11,21,.94);border:1px solid rgba(255,255,255,.11);border-radius:14px;box-shadow:0 14px 35px rgba(0,0,0,.28);backdrop-filter:blur(18px)}.dex-toolbar label{display:flex;align-items:center;flex:1;gap:9px;min-width:220px;padding:0 13px;background:#060810;border:1px solid rgba(255,255,255,.1);border-radius:9px}.dex-toolbar input{width:100%;height:41px;color:#fff;background:none;border:0;outline:0}.dex-toolbar>div{display:flex;gap:6px;overflow-x:auto}.dex-toolbar button{padding:11px 14px;color:rgba(255,255,255,.58);font-size:10px;font-weight:800;white-space:nowrap;background:#111424;border:1px solid rgba(255,255,255,.08);border-radius:8px;cursor:pointer}.dex-toolbar button.is-active{color:#07131b;background:#8fe8dc}.dex-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:11px;width:min(1780px,100%);margin:auto}.dex-card{position:relative;min-width:0;overflow:hidden;background:linear-gradient(155deg,#292748 0 57%,#171a2d 57%);border:1px solid rgba(255,255,255,.13);border-radius:16px;box-shadow:0 10px 28px rgba(0,0,0,.2);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}.dex-card:nth-child(5n+2){background:linear-gradient(155deg,#443044 0 57%,#221927 57%)}.dex-card:nth-child(5n+3){background:linear-gradient(155deg,#253d4c 0 57%,#121f2a 57%)}.dex-card:nth-child(5n+4){background:linear-gradient(155deg,#3d3554 0 57%,#1b192b 57%)}.dex-card:nth-child(5n){background:linear-gradient(155deg,#294550 0 57%,#15252c 57%)}.dex-card:hover{z-index:2;transform:translateY(-5px);border-color:rgba(143,232,220,.55);box-shadow:0 18px 36px rgba(0,0,0,.34)}.dex-card.is-captured{border-color:rgba(105,235,174,.58);box-shadow:inset 0 0 0 1px rgba(105,235,174,.13),0 10px 28px rgba(0,0,0,.2)}.dex-card-link{display:flex;flex-direction:column;min-height:342px;color:inherit;text-decoration:none}.dex-card-link>header{display:flex;align-items:center;justify-content:space-between;gap:8px;height:31px;padding:0 11px;color:rgba(255,255,255,.7);background:rgba(4,6,14,.25)}.dex-card-link>header strong{font-size:14px;letter-spacing:.04em}.dex-complete-status{max-width:116px;overflow:hidden;color:rgba(255,255,255,.46);font-size:7px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.is-captured .dex-complete-status{color:#82efb1}.dex-card-portrait{position:relative;height:206px;overflow:hidden}.dex-card-portrait:after{position:absolute;right:-27px;bottom:12px;left:-8px;height:45px;background:linear-gradient(173deg,transparent 0 28%,rgba(7,9,20,.62) 29%);content:""}.dex-card-portrait img{position:relative;z-index:1;width:100%;height:100%;padding:4px 5px 0;object-fit:contain;filter:drop-shadow(0 13px 12px rgba(0,0,0,.3));transition:transform .25s ease}.dex-card:hover .dex-card-portrait img{transform:scale(1.055)}.dex-card-portrait b{position:absolute;z-index:0;right:-28px;bottom:27px;left:5px;overflow:hidden;color:rgba(7,8,18,.42);font-size:clamp(24px,2.2vw,34px);font-weight:950;line-height:.86;letter-spacing:-.035em;text-overflow:clip;white-space:nowrap;transform:rotate(-12deg);transform-origin:left bottom;pointer-events:none}.dex-form-strip{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;gap:5px;height:55px;margin-top:-5px;padding:5px 8px;background:rgba(7,9,18,.74);border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07)}.dex-form-strip span{width:43px;height:43px;overflow:hidden;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.13);border-radius:50%}.dex-form-strip img{width:100%;height:100%;padding:2px;object-fit:contain}.dex-card-link>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:68px;padding:11px 12px 12px;background:linear-gradient(180deg,rgba(7,9,18,.4),rgba(7,9,18,.8))}.dex-card-link>footer>div:first-child{min-width:0}.dex-card-link>footer strong{display:block;overflow:hidden;color:#fff;font-size:16px;font-weight:900;line-height:1.1;letter-spacing:-.015em;text-shadow:0 2px 8px rgba(0,0,0,.7);text-overflow:ellipsis;white-space:nowrap}.dex-card-link>footer small{display:block;margin-top:6px;color:#8fe8dc;font-size:8px;font-weight:900;letter-spacing:.08em}.dex-elements{display:flex;flex-shrink:0;gap:4px}.dex-elements i{display:grid;width:27px;height:27px;place-items:center;font-size:11px;font-style:normal;background:rgba(4,6,14,.56);border:1px solid currentColor;border-radius:50%}.is-fuego{color:#ff826f}.is-agua{color:#6bc8ff}.is-viento{color:#91e8d1}.is-electrico{color:#e6d36b}.is-tierra{color:#d6a778}.dex-caught{position:absolute;z-index:5;top:38px;right:8px}.dex-caught button{display:grid;width:30px;height:30px;padding:0;place-items:center;color:#fff;font-size:16px;font-weight:900;background:rgba(7,9,18,.72);border:1px solid rgba(255,255,255,.22);border-radius:50%;box-shadow:0 3px 12px rgba(0,0,0,.25);cursor:pointer;backdrop-filter:blur(8px)}.is-captured .dex-caught button{color:#092015;background:#82efb1;border-color:#b3ffcf}.dex-empty,.dex-source{width:min(1780px,100%);margin:20px auto 0;padding:25px;text-align:center;color:rgba(255,255,255,.48);background:#111426;border:1px dashed rgba(255,255,255,.12);border-radius:12px}.dex-source{margin-top:32px;padding:16px;font-size:10px;background:none}.dex-source a{color:#8fe8dc}
@media(max-width:1100px){.dex-page{padding-inline:3%}.dex-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))}.dex-toolbar{top:120px;flex-direction:column;align-items:stretch}}
@media(max-width:680px){.dex-page{padding:125px 12px 55px}.dex-hero{align-items:stretch;flex-direction:column}.dex-hero aside{min-width:0}.dex-toolbar{position:relative;top:auto;margin-top:28px}.dex-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dex-card-link{min-height:300px}.dex-card-portrait{height:170px}.dex-form-strip{height:49px}.dex-form-strip span{width:37px;height:37px}.dex-card-link>footer{min-height:62px;padding-inline:10px}.dex-card-link>footer strong{font-size:14px}.dex-card-portrait b{font-size:23px}.dex-complete-status{font-size:6px}}
@media(max-width:380px){.dex-card-link{min-height:282px}.dex-card-portrait{height:155px}.dex-elements{display:none}}

/* La búsqueda y los filtros permanecen en el flujo normal al recorrer la lista. */
.dex-toolbar{position:relative;top:auto}


/* Retrato limpio: el nombre completo ya se muestra en el pie. */
.dex-card-portrait b{display:none}

/* Las miniaturas permiten marcar cada forma de la colección. */
.dex-form-strip span[data-form-toggle]{position:relative;overflow:visible;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .18s ease}.dex-form-strip span[data-form-toggle]:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.42)}.dex-form-strip span[data-form-toggle]:focus-visible{outline:2px solid #fff;outline-offset:2px}.dex-form-strip span[data-form-toggle].is-collected{background:rgba(105,235,174,.16);border-color:#69ebae;box-shadow:0 0 0 2px rgba(105,235,174,.13),0 0 13px rgba(105,235,174,.24)}.dex-form-strip span[data-form-toggle].is-collected:after{position:absolute;right:-3px;bottom:-2px;display:grid;width:15px;height:15px;place-items:center;color:#082016;font-size:9px;font-weight:950;background:#82efb1;border:2px solid #101322;border-radius:50%;content:'✓'}.dex-form-strip span[data-form-toggle][data-loading]{opacity:.55;pointer-events:none}.dex-form-strip span[data-form-toggle] img{border-radius:50%}


/* Filtros de los nueve tipos de Aniimo. */
.dex-toolbar button{display:inline-flex;align-items:center;gap:6px;border-color:color-mix(in srgb,currentColor 42%,transparent)}
.dex-toolbar button i{font-size:10px;font-style:normal}
.dex-toolbar button small{font-size:8px;opacity:.7}
.dex-toolbar button.type-fuego{color:#ff766d}.dex-toolbar button.type-agua{color:#69b9ff}.dex-toolbar button.type-planta{color:#6ee2a0}.dex-toolbar button.type-electrico{color:#ffe05a}.dex-toolbar button.type-hielo{color:#75e3f4}.dex-toolbar button.type-tierra{color:#d2b18b}.dex-toolbar button.type-viento{color:#73dfd4}.dex-toolbar button.type-luz{color:#ffb341}.dex-toolbar button.type-oscuridad{color:#b47cff}
.dex-toolbar button.is-active{color:#07131b;border-color:#8fe8dc}.dex-toolbar button.is-active i{color:inherit}
.is-planta{color:#6ee2a0}.is-hielo{color:#75e3f4}.is-luz{color:#ffb341}.is-oscuridad{color:#b47cff}

.dex-toolbar>div{scrollbar-width:none}.dex-toolbar>div::-webkit-scrollbar{display:none}
.dex-hero .dex-collection-summary{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-width:390px}.dex-collection-summary>div{display:flex;flex-direction:column}.dex-collection-summary>div+div{padding-left:16px;border-left:1px solid rgba(143,232,220,.16)}.dex-collection-summary>small{grid-column:1/-1;margin-top:0}
.aniimo-type-icon{display:inline-block;flex:0 0 auto;width:18px;height:18px;background-image:url('../img/aniimo/type-icons.png');background-repeat:no-repeat;background-size:18px 162px}.aniimo-type-icon.type-planta{background-position:0 0}.aniimo-type-icon.type-fuego{background-position:0 -18px}.aniimo-type-icon.type-electrico{background-position:0 -36px}.aniimo-type-icon.type-tierra{background-position:0 -54px}.aniimo-type-icon.type-viento{background-position:0 -72px}.aniimo-type-icon.type-agua{background-position:0 -90px}.aniimo-type-icon.type-luz{background-position:0 -108px}.aniimo-type-icon.type-oscuridad{background-position:0 -126px}.aniimo-type-icon.type-hielo{background-position:0 -144px}.dex-toolbar button .aniimo-type-icon{margin-right:3px;vertical-align:middle}.dex-elements .aniimo-type-icon{display:grid;width:28px;height:28px;place-items:center;background-image:none;background-color:rgba(4,6,14,.56);border:1px solid currentColor;border-radius:50%}.dex-elements .aniimo-type-icon::before{display:block;width:18px;height:18px;background-image:url('../img/aniimo/type-icons.png');background-repeat:no-repeat;background-size:18px 162px;content:""}.dex-elements .aniimo-type-icon.type-planta::before{background-position:0 0}.dex-elements .aniimo-type-icon.type-fuego::before{background-position:0 -18px}.dex-elements .aniimo-type-icon.type-electrico::before{background-position:0 -36px}.dex-elements .aniimo-type-icon.type-tierra::before{background-position:0 -54px}.dex-elements .aniimo-type-icon.type-viento::before{background-position:0 -72px}.dex-elements .aniimo-type-icon.type-agua::before{background-position:0 -90px}.dex-elements .aniimo-type-icon.type-luz::before{background-position:0 -108px}.dex-elements .aniimo-type-icon.type-oscuridad::before{background-position:0 -126px}.dex-elements .aniimo-type-icon.type-hielo::before{background-position:0 -144px}
.dex-elements .type-fuego{color:#ff766d;background-color:rgba(255,118,109,.17);box-shadow:inset 0 0 10px rgba(255,118,109,.12)}.dex-elements .type-agua{color:#69b9ff;background-color:rgba(105,185,255,.17);box-shadow:inset 0 0 10px rgba(105,185,255,.12)}.dex-elements .type-planta{color:#6ee2a0;background-color:rgba(110,226,160,.17);box-shadow:inset 0 0 10px rgba(110,226,160,.12)}.dex-elements .type-electrico{color:#ffe05a;background-color:rgba(255,224,90,.17);box-shadow:inset 0 0 10px rgba(255,224,90,.12)}.dex-elements .type-hielo{color:#75e3f4;background-color:rgba(117,227,244,.17);box-shadow:inset 0 0 10px rgba(117,227,244,.12)}.dex-elements .type-tierra{color:#d2b18b;background-color:rgba(210,177,139,.17);box-shadow:inset 0 0 10px rgba(210,177,139,.12)}.dex-elements .type-viento{color:#73dfd4;background-color:rgba(115,223,212,.17);box-shadow:inset 0 0 10px rgba(115,223,212,.12)}.dex-elements .type-luz{color:#ffb341;background-color:rgba(255,179,65,.17);box-shadow:inset 0 0 10px rgba(255,179,65,.12)}.dex-elements .type-oscuridad{color:#b47cff;background-color:rgba(180,124,255,.17);box-shadow:inset 0 0 10px rgba(180,124,255,.12)}
@media(max-width:760px){.dex-hero{align-items:stretch;flex-direction:column}.dex-hero .dex-collection-summary{min-width:0;width:100%}}

/* Filtros y distintivos de rol */
.dex-toolbar>.dex-filter-panels{display:grid;flex:1.7;gap:8px;min-width:0;overflow:visible}
.dex-filter-panel{display:grid;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:8px;min-width:0}
.dex-filter-panel>span{color:rgba(255,255,255,.42);font-size:7px;font-weight:950;letter-spacing:.14em;text-align:right}
.dex-filter-panel>div{display:flex;gap:6px;min-width:0;overflow-x:auto;scrollbar-width:none}
.dex-filter-panel>div::-webkit-scrollbar{display:none}
.dex-toolbar [data-role-filter],.dex-toolbar [data-role-filter].role-dps,.dex-toolbar [data-role-filter].role-curacion,.dex-toolbar [data-role-filter].role-apoyo,.dex-toolbar [data-role-filter].role-ruptura,.dex-toolbar [data-role-filter].role-regeneracion{color:rgba(224,226,234,.68);background:#111421;border-color:rgba(210,213,224,.2)}
.dex-toolbar [data-role-filter]>img{flex:0 0 auto;width:13px;height:13px;object-fit:contain;opacity:.78}
.dex-toolbar [data-role-filter].is-active{color:#11131c;background:#bec1cb;border-color:#d9dbe2;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.dex-toolbar [data-role-filter].is-active>img{filter:brightness(.25);opacity:1}
.dex-toolbar [data-status-filter]{color:rgba(224,226,234,.68);background:#111421;border-color:rgba(210,213,224,.2)}
.dex-toolbar [data-status-filter].is-active{color:#11131c;background:#bec1cb;border-color:#d9dbe2;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.dex-card-link>header .dex-card-role{display:inline-flex;align-items:center;justify-content:center;gap:4px;max-width:96px;margin-left:auto;padding:4px 8px;overflow:hidden;color:rgba(255,255,255,.72);font-size:8px;font-weight:950;line-height:1;letter-spacing:.075em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.24);border-radius:999px}
.dex-card-link>header .dex-card-role>img,.dex-card-link>header .dex-card-role>svg{flex:0 0 auto;width:10px;height:10px;object-fit:contain}
.dex-card-link>header .dex-complete-status{margin-left:0}
.dex-card-link>footer small{margin-top:4px}
@media(max-width:1100px){.dex-toolbar>.dex-filter-panels{width:100%}}
@media(max-width:680px){.dex-filter-panel{grid-template-columns:1fr;gap:5px}.dex-filter-panel>span{text-align:left}.dex-card-link>header .dex-card-role{max-width:78px;padding:3px 6px;font-size:7px}}
.dex-hero-nav{display:flex;gap:18px;margin-bottom:28px}.dex-hero-nav a{color:rgba(255,255,255,.64);font-size:11px;font-weight:800;text-decoration:none}.dex-hero-nav a:last-child{color:#8fe8dc}.dex-hero-nav a:hover{color:#fff}

