.route-pokedex,
.route-pokedex-show {
    --dex-ink: #102b22;
    --dex-forest: #123c2e;
    --dex-deep: #08251d;
    --dex-muted: #657a72;
    --dex-cream: #f6f2e8;
    --dex-paper: #fffdf8;
    --dex-lime: #d9f75f;
    --dex-orange: #f56d48;
    --dex-line: rgba(16, 43, 34, .13);
    --dex-shadow: 0 22px 55px rgba(16, 43, 34, .1);
}

.dex { padding-top: 80px; color: var(--dex-ink); }
.dex-shell { width: min(1220px, calc(100% - 42px)); margin-inline: auto; }
.dex a { text-decoration: none !important; }
.dex h1, .dex h2, .dex h3, .dex p { margin-top: 0; }
.dex h1, .dex h2, .dex h3 { color: var(--dex-ink); }
.dex img { display: block; }
.dex-eyebrow, .dex-kicker { color: var(--dex-orange) !important; font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.dex-kicker { display: flex; align-items: center; gap: 9px; }
.dex-kicker > span { width: 19px; height: 2px; background: currentColor; }

.dex-button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 18px; padding: 0 23px; border: 0; border-radius: 50px; font-size: 12px; font-weight: 800; cursor: pointer; }
.dex-button span { font-size: 16px; }
.dex-button--lime { color: var(--dex-deep) !important; background: var(--dex-lime); box-shadow: 0 13px 28px rgba(184, 212, 57, .2); }
.dex-button--lime:hover { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(184, 212, 57, .3); }
.dex-button--dark { color: #fff !important; background: var(--dex-forest); }
.dex-button--dark:hover { background: var(--dex-deep); transform: translateY(-1px); }

/* Directory hero */
.dex-hero { position: relative; min-height: 570px; overflow: hidden; color: #fff; background: var(--dex-forest); }
.dex-hero::before { content: ""; position: absolute; inset: 0; opacity: .15; background-image: radial-gradient(rgba(255,255,255,.42) .7px, transparent .7px); background-size: 20px 20px; mask-image: linear-gradient(90deg, #000, transparent 75%); }
.dex-hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -130px; bottom: -360px; border: 1px solid rgba(217,247,95,.13); border-radius: 50%; box-shadow: 0 0 0 75px rgba(217,247,95,.025), 0 0 0 150px rgba(217,247,95,.018); }
.dex-hero__grid { position: relative; z-index: 1; display: grid; min-height: 570px; grid-template-columns: 1.05fr .95fr; align-items: center; }
.dex-hero__copy { max-width: 650px; padding: 80px 0 74px; }
.exotic-app .dex-hero__copy h1 { margin-bottom: 24px; color: #fff; font-size: clamp(48px, 6vw, 82px); line-height: .98; letter-spacing: -.065em; }
.dex-hero__copy h1 em { color: var(--dex-lime); font-style: normal; }
.dex-hero__lead { max-width: 570px; margin-bottom: 32px; color: rgba(255,255,255,.67) !important; font-size: 17px; line-height: 1.65; }
.dex-hero__visual { position: relative; display: grid; height: 520px; place-items: center; }
.dex-hero__visual::before { content: ""; position: absolute; width: 440px; height: 440px; background: radial-gradient(circle, rgba(217,247,95,.14), transparent 64%); }
.dex-hero__visual img { position: relative; z-index: 3; width: min(390px, 86%); height: min(390px, 86%); object-fit: contain; filter: drop-shadow(0 32px 28px rgba(4,20,15,.28)); image-rendering: auto; }
.dex-orbit { position: absolute; border: 1px solid rgba(217,247,95,.21); border-radius: 50%; }
.dex-orbit::after { content: ""; position: absolute; width: 8px; height: 8px; top: 12%; right: 16%; background: var(--dex-lime); border-radius: 50%; box-shadow: 0 0 18px var(--dex-lime); }
.dex-orbit--outer { width: 465px; height: 465px; }
.dex-orbit--inner { width: 345px; height: 345px; opacity: .65; transform: rotate(80deg); }
.dex-hero__number { position: absolute; z-index: 1; right: 2%; top: 16%; color: rgba(255,255,255,.06); font-family: Manrope,sans-serif; font-size: 92px; font-weight: 800; letter-spacing: -.08em; }
.dex-hero__label { position: absolute; z-index: 4; right: 0; bottom: 15%; display: flex; min-width: 145px; padding: 12px 18px; flex-direction: column; color: var(--dex-ink); background: var(--dex-paper); border-radius: 15px; box-shadow: 0 15px 40px rgba(0,0,0,.2); transform: rotate(-2deg); }
.dex-hero__label small { color: var(--dex-muted); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dex-hero__label strong { font-family: Manrope,sans-serif; font-size: 17px; }
.dex-spark { position: absolute; z-index: 2; color: var(--dex-lime); }
.dex-spark--one { left: 8%; top: 20%; font-size: 25px; }
.dex-spark--two { right: 7%; top: 43%; font-size: 14px; }

/* Search and directory */
.dex-browser { padding: 82px 0 96px; background: var(--dex-cream); scroll-margin-top: 70px; }
.dex-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.dex-section-heading h2, .dex-panel h2, .dex-guide h2 { margin-bottom: 0; font-size: clamp(31px, 4vw, 48px); letter-spacing: -.055em; }
.dex-section-heading > p { max-width: 420px; margin-bottom: 4px; color: var(--dex-muted); }
.dex-filters { display: flex; align-items: center; gap: 10px; padding: 11px; background: var(--dex-paper); border: 1px solid var(--dex-line); border-radius: 21px; box-shadow: 0 13px 35px rgba(16,43,34,.06); }
.dex-search { position: relative; display: flex; min-width: 240px; flex: 1; align-items: center; }
.dex-search svg { position: absolute; left: 15px; width: 20px; height: 20px; fill: none; stroke: var(--dex-muted); stroke-linecap: round; stroke-width: 1.8; }
.dex-search input, .dex-select select { width: 100%; height: 47px; color: var(--dex-ink); background: #f3f0e8; border: 1px solid transparent; border-radius: 12px; outline: 0; font: inherit; font-size: 13px; }
.dex-search input { padding: 0 16px 0 45px; }
.dex-select select { min-width: 160px; padding: 0 36px 0 14px; cursor: pointer; }
.dex-search input:focus, .dex-select select:focus { background: #fff; border-color: rgba(16,43,34,.35); box-shadow: 0 0 0 3px rgba(217,247,95,.35); }
.dex-filters .dex-button { min-height: 47px; padding-inline: 25px; }
.dex-clear { padding: 0 8px; color: var(--dex-muted) !important; font-size: 11px; font-weight: 800; }
.dex-results-bar { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 20px; }
.dex-results-bar p { margin: 0; color: var(--dex-muted); font-size: 12px; }
.dex-results-bar p strong { color: var(--dex-ink); font-size: 14px; }
.dex-results-bar > span { color: var(--dex-muted); font-size: 11px; }
.dex-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.dex-card { position: relative; overflow: hidden; color: var(--dex-ink) !important; background: var(--dex-paper); border: 1px solid var(--dex-line); border-radius: 22px; box-shadow: 0 1px 0 rgba(255,255,255,.8); }
.dex-card:hover { border-color: rgba(16,43,34,.25); box-shadow: var(--dex-shadow); transform: translateY(-5px); }
.dex-card__top { position: absolute; z-index: 4; inset: 17px 17px auto; display: flex; align-items: center; justify-content: space-between; }
.dex-number { color: var(--dex-muted); font-family: Manrope,sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.dex-card__arrow { display: grid; width: 31px; height: 31px; place-items: center; color: var(--dex-ink); background: rgba(255,255,255,.68); border: 1px solid rgba(16,43,34,.09); border-radius: 50%; opacity: .7; }
.dex-card:hover .dex-card__arrow { color: #fff; background: var(--dex-forest); opacity: 1; transform: rotate(8deg); }
.dex-card__art { position: relative; display: grid; height: 220px; place-items: center; overflow: hidden; background: var(--type-soft, #f0eee6); }
.dex-card__art::after { content: ""; position: absolute; inset: auto 0 0; height: 55%; background: linear-gradient(transparent, rgba(255,255,255,.28)); }
.dex-card__disc { position: absolute; width: 155px; height: 155px; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.11), 0 0 0 56px rgba(255,255,255,.07); }
.dex-card__art img { position: relative; z-index: 2; width: 168px; height: 168px; object-fit: contain; filter: drop-shadow(0 17px 12px rgba(16,43,34,.15)); transition: transform .3s ease; }
.dex-card:hover .dex-card__art img { transform: translateY(-5px) scale(1.06); }
.dex-card__body { padding: 19px 20px 18px; }
.dex-card__body h3 { margin-bottom: 10px; font-size: 18px; letter-spacing: -.035em; }
.dex-type-row { display: flex; flex-wrap: wrap; gap: 6px; }
.dex-type { display: inline-flex; min-height: 23px; align-items: center; padding: 0 10px; color: var(--type-text, #fff); background: var(--type, #718078); border-radius: 50px; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dex-card__stat { display: flex; align-items: center; justify-content: space-between; padding-top: 15px; border-top: 1px solid var(--dex-line); margin-top: 16px; color: var(--dex-muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.dex-card__stat strong { color: var(--dex-ink); font-size: 12px; }
.dex-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 38px; }
.dex-pagination a, .dex-pagination > span:first-child, .dex-pagination > span:last-child { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; color: var(--dex-ink) !important; background: var(--dex-paper); border: 1px solid var(--dex-line); border-radius: 50px; font-size: 11px; font-weight: 800; }
.dex-pagination a:last-child, .dex-pagination > span:last-child { justify-self: end; }
.dex-pagination .is-disabled { color: #9aaaa4 !important; opacity: .65; }
.dex-pagination > span:nth-child(2) { color: var(--dex-muted); font-size: 11px; }
.dex-pagination > span:nth-child(2) strong { color: var(--dex-ink); }
.dex-empty { padding: 70px 25px; text-align: center; background: var(--dex-paper); border: 1px dashed rgba(16,43,34,.24); border-radius: 24px; }
.dex-empty > span { display: block; margin-bottom: 12px; color: var(--dex-orange); font-size: 36px; }
.dex-empty h3 { margin-bottom: 8px; font-size: 24px; }
.dex-empty p { margin-bottom: 23px; }

.dex-guide { padding: 78px 0 86px; color: #fff; background: var(--dex-deep); }
.dex-guide__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.exotic-app .dex-guide h2 { color: #fff; }
.dex-guide__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.dex-guide__items article { position: relative; padding-top: 42px; border-top: 1px solid rgba(255,255,255,.17); }
.dex-guide__items article > span { position: absolute; top: 12px; color: var(--dex-lime); font-size: 9px; font-weight: 800; }
.exotic-app .dex-guide__items h3 { margin-bottom: 10px; color: #fff; font-size: 17px; }
.dex-guide__items p { margin: 0; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.7; }

/* Detail page */
.dex-detail { padding: 34px 0 90px; }
.dex-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 25px; color: var(--dex-muted); font-size: 10px; font-weight: 700; }
.dex-breadcrumb a { color: var(--dex-muted) !important; }
.dex-breadcrumb a:hover { color: var(--dex-orange) !important; }
.dex-breadcrumb span[aria-current] { color: var(--dex-ink); }
.dex-profile { display: grid; overflow: hidden; grid-template-columns: .92fr 1.08fr; background: var(--dex-forest); border-radius: 30px; box-shadow: 0 25px 65px rgba(16,43,34,.13); }
.dex-profile__art { position: relative; display: grid; min-height: 510px; place-items: center; overflow: hidden; background: var(--type-soft, #e9eadf); }
.dex-profile__art::before { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; box-shadow: 0 0 0 58px rgba(255,255,255,.08), 0 0 0 116px rgba(255,255,255,.04); }
.dex-profile__art img { position: relative; z-index: 2; width: min(430px, 88%); height: min(430px, 88%); object-fit: contain; filter: drop-shadow(0 28px 24px rgba(16,43,34,.19)); }
.dex-profile__id { position: absolute; z-index: 3; left: 25px; top: 23px; color: rgba(16,43,34,.7); font-family: Manrope,sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.dex-profile__copy { display: flex; padding: clamp(42px, 6vw, 78px); flex-direction: column; align-items: flex-start; justify-content: center; }
.exotic-app .dex-profile__copy h1 { margin-bottom: 17px; color: #fff; font-size: clamp(48px, 6vw, 76px); line-height: .98; letter-spacing: -.065em; }
.dex-type-row--large .dex-type { min-height: 29px; padding-inline: 13px; font-size: 9px; }
.dex-profile__intro { max-width: 590px; margin: 25px 0; color: rgba(255,255,255,.62) !important; font-size: 15px; line-height: 1.75; }
.dex-facts { display: grid; width: 100%; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0 0 30px; background: rgba(255,255,255,.12); }
.dex-facts div { padding: 14px 13px; background: var(--dex-forest); }
.dex-facts dt { color: rgba(255,255,255,.42); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dex-facts dd { margin: 4px 0 0; color: #fff; font-size: 12px; font-weight: 700; }
.dex-panel { padding: clamp(25px, 4vw, 42px); background: var(--dex-paper); border: 1px solid var(--dex-line); border-radius: 25px; box-shadow: 0 13px 40px rgba(16,43,34,.055); margin-top: 18px; }
.dex-panel__heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 29px; }
.dex-panel__heading h2 { font-size: clamp(27px, 3vw, 38px); }
.dex-panel__heading .dex-eyebrow { margin-bottom: 3px; }
.dex-total { color: var(--dex-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.dex-total strong { padding-left: 8px; color: var(--dex-ink); font-size: 21px; }
.dex-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px 35px; }
.dex-stat > div:first-child { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.dex-stat span { color: var(--dex-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.dex-stat strong { font-size: 14px; }
.dex-stat__track { height: 7px; overflow: hidden; background: #e8e8de; border-radius: 50px; }
.dex-stat__track > span { display: block; height: 100%; background: linear-gradient(90deg, var(--dex-orange), #f5a348); border-radius: inherit; }
.dex-detail-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; }
.dex-detail-grid .dex-panel { min-width: 0; }
.dex-count { display: grid; width: 34px; height: 34px; place-items: center; color: var(--dex-ink); background: var(--dex-lime); border-radius: 50%; font-size: 11px; font-weight: 800; }
.dex-evolution { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.dex-evolution > a { display: flex; padding: 20px; flex-direction: column; align-items: center; color: var(--dex-ink) !important; background: #f4f1e9; border-radius: 18px; font-weight: 800; }
.dex-evolution > a:hover { background: #edebdf; transform: translateY(-2px); }
.dex-evolution img { width: 125px; height: 125px; object-fit: contain; }
.dex-evolution__step { display: flex; max-width: 92px; flex-direction: column; align-items: center; gap: 5px; text-align: center; }
.dex-evolution__step > span { display: grid; width: 35px; height: 35px; place-items: center; color: var(--dex-ink); background: var(--dex-lime); border-radius: 50%; }
.dex-evolution__step small { color: var(--dex-muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.dex-location { display: grid; grid-template-columns: 63px 1fr auto; align-items: center; gap: 14px; padding: 10px; color: var(--dex-ink) !important; background: #f4f1e9; border-radius: 14px; }
.dex-location + .dex-location { margin-top: 9px; }
.dex-location:hover { background: #edebdf; transform: translateX(2px); }
.dex-location img { width: 63px; height: 54px; object-fit: cover; background: #ddd; border-radius: 10px; }
.dex-location span { display: flex; min-width: 0; flex-direction: column; }
.dex-location small { color: var(--dex-muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.dex-location strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.dex-location i { padding-right: 8px; font-style: normal; }
.dex-note { display: flex; min-height: 110px; align-items: center; gap: 18px; padding: 22px; color: var(--dex-muted); background: #f4f1e9; border-radius: 16px; }
.dex-note > span { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; color: var(--dex-orange); background: #fff; border-radius: 50%; }
.dex-note strong { display: block; color: var(--dex-ink); font-size: 13px; }
.dex-note p { margin: 3px 0 0; font-size: 11px; line-height: 1.55; }
.dex-table-wrap { overflow-x: auto; }
.dex-table { width: 100%; border-collapse: collapse; color: var(--dex-ink); }
.dex-table th { padding: 0 14px 13px; color: var(--dex-muted); border-bottom: 1px solid var(--dex-line); font-size: 9px; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.dex-table td { padding: 15px 14px; border-bottom: 1px solid rgba(16,43,34,.08); font-size: 12px; }
.dex-table tbody tr:hover { background: #f8f5ed; }
.dex-level { display: inline-grid; width: 31px; height: 31px; place-items: center; color: var(--dex-ink) !important; background: #e9ecdd; border-radius: 50%; font-size: 10px !important; }
.dex-panel__hint { max-width: 250px; margin-bottom: 0; color: var(--dex-muted); font-size: 10px; text-align: right; }
.dex-variants { display: grid; grid-template-columns: repeat(6, 1fr); gap: 11px; }
.dex-variant { padding: 15px 10px; text-align: center; background: #f4f1e9; border-radius: 17px; }
.dex-variant > div { display: grid; height: 105px; place-items: center; }
.dex-variant img { width: 98px; height: 98px; object-fit: contain; filter: drop-shadow(0 10px 8px rgba(16,43,34,.12)); }
.dex-variant h3 { margin: 10px 0 2px; font-size: 12px; }
.dex-variant p { margin: 0; color: var(--dex-muted); font-size: 8px; text-transform: uppercase; }
.dex-variant p strong { color: var(--dex-ink); }
.dex-species-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-top: 26px; }
.dex-species-nav > a:not(.dex-species-nav__all) { display: flex; flex-direction: column; color: var(--dex-ink) !important; }
.dex-species-nav > a:last-child { align-items: flex-end; text-align: right; }
.dex-species-nav small { color: var(--dex-muted); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dex-species-nav strong { font-size: 12px; }
.dex-species-nav__all { padding: 9px 17px; color: var(--dex-ink) !important; background: var(--dex-lime); border-radius: 50px; font-size: 10px; font-weight: 800; }

/* Type palette */
.type-normal { --type: #8c978c; --type-soft: #e8ebe2; }
.type-fire { --type: #e96642; --type-soft: #f7d9cc; }
.type-water { --type: #4f8ecb; --type-soft: #d5e6ed; }
.type-electric { --type: #e3b524; --type-soft: #f6e9ae; --type-text: #3d3512; }
.type-grass { --type: #5e9e58; --type-soft: #d8e8ca; }
.type-ice { --type: #70b6bd; --type-soft: #d6edef; --type-text: #14393c; }
.type-fight, .type-fighting { --type: #b94b40; --type-soft: #edd4ce; }
.type-poison { --type: #9653a2; --type-soft: #e6d7e9; }
.type-ground { --type: #bd8b52; --type-soft: #ecdec8; }
.type-flying { --type: #7f91c9; --type-soft: #dde2f0; }
.type-psychic { --type: #d86180; --type-soft: #f0d5dc; }
.type-bug { --type: #879c3a; --type-soft: #e2e7bf; }
.type-rock { --type: #9b8450; --type-soft: #e5dfcb; }
.type-ghost { --type: #655d91; --type-soft: #dedbea; }
.type-dragon { --type: #5f60b7; --type-soft: #dad9ef; }
.type-dark { --type: #5f5651; --type-soft: #dedbd7; }
.type-steel { --type: #718b91; --type-soft: #dce5e5; }
.type-fairy { --type: #ca78a6; --type-soft: #efdbe6; }
.type-curse { --type: #464148; --type-soft: #d9d5dc; }

@media (max-width: 1050px) {
    .dex-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .dex-hero__grid { grid-template-columns: 1.15fr .85fr; }
    .dex-hero__visual { transform: scale(.88); }
    .dex-profile { grid-template-columns: .85fr 1.15fr; }
    .dex-profile__art { min-height: 460px; }
    .dex-profile__copy { padding: 44px; }
    .dex-variants { grid-template-columns: repeat(4, 1fr); }
    .dex-guide__grid { gap: 45px; }
}

@media (max-width: 820px) {
    .dex { padding-top: 69px; }
    .dex-hero__grid { display: block; padding-top: 1px; }
    .dex-hero__copy { position: relative; z-index: 5; max-width: 620px; padding: 67px 0 20px; }
    .dex-hero__visual { height: 350px; transform: none; }
    .dex-hero__visual img { width: 300px; height: 300px; }
    .dex-orbit--outer { width: 340px; height: 340px; }.dex-orbit--inner { width: 260px; height: 260px; }
    .dex-hero__label { right: 8%; bottom: 10%; }
    .dex-section-heading { display: block; }
    .dex-section-heading > p { margin-top: 12px; }
    .dex-filters { flex-wrap: wrap; }
    .dex-search { flex: 1 0 calc(100% - 10px); }
    .dex-select { flex: 1; }.dex-select select { min-width: 0; }
    .dex-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .dex-guide__grid { grid-template-columns: 1fr; gap: 38px; }
    .dex-profile { grid-template-columns: 1fr; }
    .dex-profile__art { min-height: 430px; }
    .dex-detail-grid { grid-template-columns: 1fr; }
    .dex-stats { grid-template-columns: repeat(2, 1fr); }
    .dex-variants { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
    .dex-shell { width: min(100% - 26px, 1220px); }
    .dex-hero__copy h1 { font-size: 47px; }
    .dex-hero__lead { font-size: 14px; }
    .dex-hero__visual { height: 310px; }
    .dex-hero__visual img { width: 260px; height: 260px; }
    .dex-orbit--outer { width: 290px; height: 290px; }.dex-orbit--inner { width: 220px; height: 220px; }
    .dex-browser { padding: 57px 0 72px; }
    .dex-section-heading h2, .dex-guide h2 { font-size: 34px; }
    .dex-filters { display: grid; grid-template-columns: 1fr 1fr; }
    .dex-search { grid-column: 1 / -1; }
    .dex-filters .dex-button { grid-column: 1 / -1; }
    .dex-clear { grid-column: 1 / -1; padding-bottom: 7px; text-align: center; }
    .dex-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
    .dex-card__art { height: 166px; }
    .dex-card__art img { width: 125px; height: 125px; }
    .dex-card__disc { width: 115px; height: 115px; }
    .dex-card__body { padding: 15px 14px; }
    .dex-card__body h3 { font-size: 15px; }
    .dex-card__stat { display: none; }
    .dex-card__top { inset: 12px 12px auto; }
    .dex-card__arrow { width: 27px; height: 27px; }
    .dex-pagination { grid-template-columns: 1fr 1fr; }
    .dex-pagination > span:nth-child(2) { grid-area: 2 / 1 / 3 / 3; text-align: center; }
    .dex-guide__items { grid-template-columns: 1fr; gap: 25px; }
    .dex-profile__art { min-height: 340px; }
    .dex-profile__art img { width: 310px; height: 310px; }
    .dex-profile__copy { padding: 34px 24px 39px; }
    .dex-profile__copy h1 { font-size: 48px; }
    .dex-facts { grid-template-columns: 1fr; }
    .dex-panel { padding: 24px 17px; border-radius: 20px; }
    .dex-panel__heading { align-items: flex-start; }
    .dex-panel__hint { display: none; }
    .dex-stats { grid-template-columns: 1fr; gap: 17px; }
    .dex-evolution { gap: 8px; }
    .dex-evolution > a { padding: 12px 6px; font-size: 11px; }
    .dex-evolution img { width: 85px; height: 85px; }
    .dex-evolution__step small { font-size: 7px; }
    .dex-table thead { display: none; }
    .dex-table, .dex-table tbody, .dex-table tr, .dex-table td { display: block; width: 100%; }
    .dex-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 12px; border: 1px solid var(--dex-line); border-radius: 13px; margin-bottom: 8px; }
    .dex-table td { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 12px; padding: 6px; border: 0; }
    .dex-table td::before { content: attr(data-label); color: var(--dex-muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
    .dex-variants { grid-template-columns: repeat(2, 1fr); }
    .dex-species-nav { grid-template-columns: 1fr 1fr; }
    .dex-species-nav__all { grid-area: 2 / 1 / 3 / 3; justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
    .dex *, .dex *::before, .dex *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
