.dex .eyebrow { font-size: .85rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.dex .profile-title { padding: clamp(20px, 4vw, 34px); background: var(--wash); border: 1px solid #cbdacb; border-radius: 8px; }
.dex .profile-title h1 { margin-bottom: 8px; }
.dex .filters { display: grid; grid-template-columns: minmax(180px, 2fr) minmax(125px, 1fr) minmax(125px, 1fr) auto; align-items: end; gap: 12px; padding: clamp(14px, 3vw, 22px); margin-bottom: 20px; border: 1px solid #cbdacb; border-radius: 8px; background: var(--wash); }
.dex .table { margin-block: 10px 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.dex table { width: 100%; border-collapse: collapse; text-align: left; font-size: .94rem; }
.dex th, .dex td { border-bottom: 1px solid var(--line); padding: 10px clamp(8px, 2vw, 16px); }
.dex thead { background: #eaf1eb; }
.dex tbody tr:nth-child(even) { background: #f7faf7; }
.dex tbody tr:hover { background: var(--wash); }
.dex tbody tr:last-child > * { border-bottom: 0; }
.dex td:first-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.dex .pagination, .dex .varieties { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-block: 18px; }
.dex .pagination a, .dex .varieties a { border: 1px solid var(--line); background: white; padding: 6px 11px; border-radius: 5px; font-size: .9rem; text-decoration: none; }
.dex .pagination a:hover, .dex .varieties a:hover { border-color: var(--accent); }
.dex .varieties [aria-current="page"] { background: var(--wash); border-color: #9bb5a5; font-weight: 750; }
.dex .details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.dex .details section, .dex .evolution { padding: clamp(16px, 3vw, 25px); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.dex .details h2, .dex .evolution h2 { font-size: clamp(1.5rem,3vw,2rem); }
.dex .evolution { margin-block: 16px; }
.dex .stats, .dex .matchups { display: grid; grid-template-columns: max-content minmax(0,1fr); align-items: center; gap: 7px 14px; margin-block: 16px; padding: 0; font-size: .93rem; }
.dex dt { font-weight: 700; }
.dex dd { margin: 0; }
.dex .stats dd { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.dex meter { width: clamp(45px, 13vw, 140px); accent-color: var(--accent); }
.dex .details p { font-size: .88rem; }
.dex .details + p, .dex .evolution + p { margin-top: 18px; }
@media (max-width: 690px) { .dex .filters { grid-template-columns: repeat(2,minmax(0,1fr)); } .dex .details { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 360px) { .dex .filters { grid-template-columns: minmax(0,1fr); } .dex table { font-size: .82rem; } }
