/* The POKEDEX as a list (Work-ID 20261023-redesign-s1-cb81; zenux's mockup 28_nmZDjew_1 in the Poke ShadowGarden palette). Window view `dexlist` (pokedex_list.js): its own view name, so none of the card-grid
   sheets of the older Pokedex (mx/dex.css, gothic-bag.css...) reach it. Surfaces are the palette's navy, lines are quiet navy, red is on what can be pressed or is selected (the sort arrows, the exit, the selected
   row), gold on the title and headings, green and red only in the Poke Ball marks.
   Desktop: the window is the 1375 x 1000 sheet of WINDOWS.dexlist (ui_scale.js multiplies it by --win-s; everything inside is written in px at 1x inside a `zoom` of that factor). Phone: the window's own
   header carries the title and the close, the body scrolls, the list is a fixed-height box.
   Absolute hover geometry (AGENTS.md): a control keeps ONE authored box in every state; hover / focus / selected / pad focus change only colours and an inset line. */
#modal#modal[data-view="dexlist"]{--dx-bg:var(--color-bg,#0b0f14);--dx-panel:var(--color-panel,#171d2b);--dx-panel-2:var(--color-panel-secondary,#202a3b);--dx-line:var(--sg-line,#232d44);--dx-line-hi:var(--sg-line-hi,#2a3550);
 --dx-red:var(--color-primary,#d94a55);--dx-gold:var(--color-gold,#f0c66a);--dx-text:var(--color-text,#f1eee8);--dx-muted:var(--color-text-muted,#aab7c7);
 --dx-ball-red:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='22' fill='%23f1eee8' stroke='%230a0e18' stroke-width='3'/%3E%3Cpath d='M2 24a22 22 0 0 1 44 0z' fill='%23d94a55'/%3E%3Cpath d='M2 24h44' stroke='%230a0e18' stroke-width='3'/%3E%3Ccircle cx='24' cy='24' r='7' fill='%23f1eee8' stroke='%230a0e18' stroke-width='3'/%3E%3C/svg%3E");
 --dx-ball-grey:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='22' fill='%23566074' stroke='%230a0e18' stroke-width='3'/%3E%3Cpath d='M2 24a22 22 0 0 1 44 0z' fill='%23707b90'/%3E%3Cpath d='M2 24h44' stroke='%230a0e18' stroke-width='3'/%3E%3Ccircle cx='24' cy='24' r='7' fill='%23a9b4c5' stroke='%230a0e18' stroke-width='3'/%3E%3C/svg%3E");
 --dx-ball-dark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='22' fill='%23131928' stroke='%232a3550' stroke-width='3'/%3E%3Cpath d='M2 24h44' stroke='%232a3550' stroke-width='3'/%3E%3Ccircle cx='24' cy='24' r='7' fill='%23131928' stroke='%232a3550' stroke-width='3'/%3E%3C/svg%3E");
 --dx-eye:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='22' fill='%23131928' stroke='%23f0c66a' stroke-width='3'/%3E%3Cpath d='M7 24c5-8 11-12 17-12s12 4 17 12c-5 8-11 12-17 12S12 32 7 24z' fill='none' stroke='%23f0c66a' stroke-width='3'/%3E%3Ccircle cx='24' cy='24' r='6' fill='%23f0c66a'/%3E%3C/svg%3E");
 --dx-book:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M6 8h15c2 0 3 1 3 3v29c0-2-1-3-3-3H6zM42 8H27c-2 0-3 1-3 3v29c0-2 1-3 3-3h15z' fill='none' stroke='%23f0c66a' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M11 16h8M11 22h8M11 28h8M29 16h8M29 22h8M29 28h8' stroke='%23f0c66a' stroke-width='2.4'/%3E%3C/svg%3E")}
#modal#modal[data-view="dexlist"] .dxl,#modal#modal[data-view="dexlist"] .dxl *{box-sizing:border-box}
#modal#modal[data-view="dexlist"] .dxl{position:relative;display:grid;color:var(--dx-text);font:400 22px/1.3 Arial,Helvetica,sans-serif;letter-spacing:0;text-transform:none}
#modal#modal[data-view="dexlist"] .dxl :is(h2,h3,p,section,header,div){margin:0}
#modal#modal[data-view="dexlist"] .dxl :is(button,input,select){font:inherit;color:inherit;text-shadow:none;letter-spacing:inherit;text-transform:none}
#modal#modal[data-view="dexlist"] .dxl button{margin:0;min-width:0;min-height:0;cursor:pointer;transition:none!important}
/* ---- the Poke Ball marks -------------------------------------------------------------------------------------------------------------------------------- */
#modal#modal[data-view="dexlist"] .dxl .dxl-ico{display:block;flex:0 0 auto;width:40px;height:40px;background:var(--dx-ball-dark) center/contain no-repeat;image-rendering:auto}
#modal#modal[data-view="dexlist"] .dxl .dxl-ico.caught{background-image:var(--dx-ball-red)}
#modal#modal[data-view="dexlist"] .dxl .dxl-ico.seen{background-image:var(--dx-ball-grey)}
#modal#modal[data-view="dexlist"] .dxl .dxl-ico.unseen{background-image:var(--dx-ball-dark)}
#modal#modal[data-view="dexlist"] .dxl .dxl-ico.seen-eye{background-image:var(--dx-eye)}
#modal#modal[data-view="dexlist"] .dxl .dxl-row.caught .dxl-ico{background-image:var(--dx-ball-red)}
#modal#modal[data-view="dexlist"] .dxl .dxl-row.seen .dxl-ico{background-image:var(--dx-ball-grey)}
/* the global field / button skins (border-image corners, picture backgrounds) stay out of the list window */
#modal#modal[data-view="dexlist"] .dxl :is(input,select,button){border-image:none!important;background-image:none!important;-webkit-appearance:none;appearance:none}
#modal#modal[data-view="dexlist"] .dxl select{background-image:linear-gradient(45deg,transparent 50%,var(--dx-muted) 50%),linear-gradient(135deg,var(--dx-muted) 50%,transparent 50%)!important;background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%!important;background-size:6px 6px!important;background-repeat:no-repeat!important;padding-right:34px!important}
/* ---- the panels ------------------------------------------------------------------------------------------------------------------------------------------ */
#modal#modal[data-view="dexlist"] .dxl :is(.dxl-head,.dxl-bar,.dxl-left,.dxl-right,.dxl-desc){border:0;border-radius:10px;background:linear-gradient(180deg,var(--dx-panel),#121826);box-shadow:inset 0 0 0 1px var(--dx-line-hi),inset 0 0 0 2px #0a0e18}
/* header: the Poke Ball, the title, the sort order and the exit */
#modal#modal[data-view="dexlist"] .dxl .dxl-head{display:flex;align-items:center;gap:20px;padding:0 20px 0 24px}
#modal#modal[data-view="dexlist"] .dxl .dxl-head-ball{width:56px;height:56px}
#modal#modal[data-view="dexlist"] .dxl .dxl-title{color:var(--dx-gold);font:700 44px/1 Arial,Helvetica,sans-serif;letter-spacing:.04em;text-transform:uppercase;text-shadow:0 2px 0 #0a0e18}
#modal#modal[data-view="dexlist"] .dxl .dxl-order{display:flex;align-items:center;gap:10px;margin-left:auto;padding:0 12px 0 20px;height:56px;border-radius:8px;background:#101624;box-shadow:inset 0 0 0 1px var(--dx-line)}
#modal#modal[data-view="dexlist"] .dxl .dxl-order-name{color:var(--dx-muted);font:700 22px/1 Arial,Helvetica,sans-serif;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;min-width:170px}
#modal#modal[data-view="dexlist"] .dxl .dxl-arrow{width:46px;height:44px;padding:0!important;border:0!important;border-radius:6px;background:#1a2132!important;box-shadow:inset 0 0 0 2px var(--dx-red)!important;color:var(--dx-text)!important;font:700 30px/40px Arial,Helvetica,sans-serif!important;text-align:center}
#modal#modal[data-view="dexlist"] .dxl .dxl-exit{display:flex;align-items:center;justify-content:space-between;gap:14px;width:176px;height:56px;padding:0 16px 0 22px!important;border:0!important;border-radius:8px;background:#1a2132!important;box-shadow:inset 0 0 0 2px var(--dx-red)!important;color:var(--dx-text)!important;font:700 24px/1 Arial,Helvetica,sans-serif!important;letter-spacing:.08em;text-transform:uppercase}
#modal#modal[data-view="dexlist"] .dxl .dxl-exit b{color:var(--dx-red);font:700 28px/1 Arial,Helvetica,sans-serif!important}
#modal#modal[data-view="dexlist"] .dxl :is(.dxl-arrow,.dxl-exit):is(:hover,:focus-visible,.pad-focus){background:#2a1e29!important;box-shadow:inset 0 0 0 2px #ee6a74!important;outline:0}
/* the selected Pokemon's bar */
#modal#modal[data-view="dexlist"] .dxl .dxl-bar{display:flex;align-items:center;gap:22px;padding:0 28px 0 24px}
#modal#modal[data-view="dexlist"] .dxl .dxl-bar .dxl-ico{width:56px;height:56px}
#modal#modal[data-view="dexlist"] .dxl .dxl-bar-no{font:700 36px/1 Arial,Helvetica,sans-serif;letter-spacing:.04em;white-space:nowrap}
#modal#modal[data-view="dexlist"] .dxl .dxl-bar-sep{align-self:center;width:2px;height:48px;background:var(--dx-line-hi)}
#modal#modal[data-view="dexlist"] .dxl .dxl-bar-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 36px/1.1 Arial,Helvetica,sans-serif;letter-spacing:.05em;text-transform:uppercase}
#modal#modal[data-view="dexlist"] .dxl .dxl-stat{display:flex;align-items:center;gap:14px;flex:0 0 auto;padding-left:26px;border-left:2px solid var(--dx-line-hi);height:48px}
#modal#modal[data-view="dexlist"] .dxl .dxl-stat>span{display:flex;flex-direction:column;justify-content:center}
#modal#modal[data-view="dexlist"] .dxl .dxl-stat small{color:var(--dx-muted);font:700 17px/1.1 Arial,Helvetica,sans-serif;letter-spacing:.1em;text-transform:uppercase}
#modal#modal[data-view="dexlist"] .dxl .dxl-stat strong{font:700 34px/1.1 Arial,Helvetica,sans-serif}
/* the list */
#modal#modal[data-view="dexlist"] .dxl .dxl-main{display:grid;grid-template-columns:660px 1fr;gap:16px;min-height:0}
#modal#modal[data-view="dexlist"] .dxl .dxl-left{display:flex;flex-direction:column;gap:8px;min-height:0;padding:14px 12px 12px 14px}
#modal#modal[data-view="dexlist"] .dxl .dxl-tools{display:flex;gap:10px;flex:0 0 auto}
#modal#modal[data-view="dexlist"] .dxl .dxl-tools :is(input,select){height:46px;margin:0;padding:0 14px;border:0!important;border-radius:8px;background-color:#101624!important;box-shadow:inset 0 0 0 1px var(--dx-line-hi);color:var(--dx-text)!important;font:400 19px/46px Arial,Helvetica,sans-serif!important}
#modal#modal[data-view="dexlist"] .dxl .dxl-tools input{flex:1 1 auto;min-width:0}
#modal#modal[data-view="dexlist"] .dxl .dxl-tools select{flex:0 0 270px;width:270px}
#modal#modal[data-view="dexlist"] .dxl .dxl-tools select option{background:#141b2b;color:var(--dx-text)}
#modal#modal[data-view="dexlist"] .dxl .dxl-tools :is(input,select):is(:hover,:focus-visible){box-shadow:inset 0 0 0 2px var(--dx-gold);outline:0}
#modal#modal[data-view="dexlist"] .dxl .dxl-count{flex:0 0 auto;color:var(--dx-muted);font:400 16px/20px Arial,Helvetica,sans-serif}
#modal#modal[data-view="dexlist"] .dxl .dxl-rows{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 8px 0 0;scrollbar-width:thin;scrollbar-color:var(--dx-line-hi) #0e131e;outline:0}
#modal#modal[data-view="dexlist"] .dxl .dxl-rows::-webkit-scrollbar{width:14px}
#modal#modal[data-view="dexlist"] .dxl .dxl-rows::-webkit-scrollbar-track{background:#0e131e;border-radius:7px}
#modal#modal[data-view="dexlist"] .dxl .dxl-rows::-webkit-scrollbar-thumb{background:var(--dx-line-hi);border-radius:7px;border:2px solid #0e131e}
#modal#modal[data-view="dexlist"] .dxl .dxl-row{display:grid;grid-template-columns:56px 150px 1fr 24px;align-items:center;width:100%;height:64px;margin:0 0 8px!important;padding:0 14px!important;border:0!important;border-radius:8px;background:#131928!important;box-shadow:inset 0 0 0 1px var(--dx-line);color:var(--dx-text)!important;font:400 26px/1 Arial,Helvetica,sans-serif;letter-spacing:.05em;text-align:left;text-transform:uppercase;content-visibility:auto;contain-intrinsic-size:64px}
#modal#modal[data-view="dexlist"] .dxl .dxl-row .dxl-ico{width:40px;height:40px}
#modal#modal[data-view="dexlist"] .dxl .dxl-row .dxl-no{color:var(--dx-muted);font-variant-numeric:tabular-nums}
#modal#modal[data-view="dexlist"] .dxl .dxl-row .dxl-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}
#modal#modal[data-view="dexlist"] .dxl .dxl-row .dxl-go{display:none;width:0;height:0;border-style:solid;border-width:10px 0 10px 16px;border-color:transparent transparent transparent var(--dx-red)}
#modal#modal[data-view="dexlist"] .dxl .dxl-row.unseen{opacity:.6}
#modal#modal[data-view="dexlist"] .dxl .dxl-row.seen .dxl-name{color:var(--dx-muted)}
#modal#modal[data-view="dexlist"] .dxl .dxl-row:is(:hover,:focus-visible,.pad-focus){background:#1a2132!important;box-shadow:inset 0 0 0 1px #3a4768;outline:0}
#modal#modal[data-view="dexlist"] .dxl .dxl-row:is(.selected,[aria-selected="true"]){background:#241e2c!important;box-shadow:inset 0 0 0 2px var(--dx-red)}
#modal#modal[data-view="dexlist"] .dxl .dxl-row:is(.selected,[aria-selected="true"]) .dxl-go{display:block}
#modal#modal[data-view="dexlist"] .dxl .dxl-row:focus-visible{box-shadow:inset 0 0 0 2px var(--dx-gold)}
#modal#modal[data-view="dexlist"] .dxl .dxl-empty{padding:30px 10px;color:var(--dx-muted);font:400 20px/1.4 Arial,Helvetica,sans-serif;text-align:center}
/* the selected Pokemon: the picture on its radar ring, the type chips, the category */
#modal#modal[data-view="dexlist"] .dxl .dxl-right{display:grid;grid-template-rows:1fr auto;gap:12px;min-height:0;padding:14px}
#modal#modal[data-view="dexlist"] .dxl .dxl-showcase{display:grid;grid-template-columns:1fr 220px;gap:14px;min-height:0}
#modal#modal[data-view="dexlist"] .dxl .dxl-stage{position:relative;display:grid;place-items:center;width:100%;height:100%;min-height:0;padding:0!important;border:0!important;border-radius:8px;background:radial-gradient(ellipse at 50% 50%,#1c2236 0,#121826 70%)!important;box-shadow:inset 0 0 0 1px var(--dx-line)!important;overflow:hidden}
#modal#modal[data-view="dexlist"] .dxl .dxl-ring{position:absolute;left:50%;top:50%;width:330px;height:330px;margin:-165px 0 0 -165px;border-radius:50%;background:radial-gradient(circle,#d94a5526 0,#d94a5512 58%,transparent 59%);box-shadow:inset 0 0 0 2px #d94a5566;pointer-events:none}
#modal#modal[data-view="dexlist"] .dxl .dxl-ring::after{content:"";position:absolute;left:50%;top:50%;width:230px;height:230px;margin:-115px 0 0 -115px;border-radius:50%;box-shadow:inset 0 0 0 1px #d94a5544}
#modal#modal[data-view="dexlist"] .dxl .dxl-stage:is(:hover,:focus-visible,.pad-focus){box-shadow:inset 0 0 0 2px var(--dx-gold)!important;outline:0}
#modal#modal[data-view="dexlist"] .dxl .dxl-sprite{position:relative;display:block;width:288px;height:288px;max-width:none;object-fit:contain;image-rendering:pixelated;border:0;background:none}
#modal#modal[data-view="dexlist"] .dxl .dxl-stage[data-status="seen"] .dxl-sprite{opacity:.82}
#modal#modal[data-view="dexlist"] .dxl .dxl-stage[data-status="unseen"] .dxl-sprite{filter:brightness(0);opacity:.55}
#modal#modal[data-view="dexlist"] .dxl .dxl-side{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:8px;background:#101624;box-shadow:inset 0 0 0 1px var(--dx-line);min-height:0;overflow:auto}
#modal#modal[data-view="dexlist"] .dxl .dxl-chips{display:flex;flex-direction:column;gap:10px}
#modal#modal[data-view="dexlist"] .dxl .dxl-chip{display:block;width:100%;height:52px;padding:0 10px;border:0;border-radius:8px;box-shadow:inset 0 0 0 2px #0a0e1888;color:#fff;font:700 22px/52px Arial,Helvetica,sans-serif!important;letter-spacing:.06em;text-align:center;text-transform:uppercase;text-shadow:0 1px 0 #0a0e18aa;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#modal#modal[data-view="dexlist"] .dxl .dxl-name-big{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#modal#modal[data-view="dexlist"] .dxl .dxl-category{height:64px;padding:0 16px;border-radius:8px;background:#101624;box-shadow:inset 0 0 0 1px var(--dx-line-hi);color:var(--dx-text);font:400 28px/64px Arial,Helvetica,sans-serif;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#modal#modal[data-view="dexlist"] .dxl .dxl-category[hidden]{display:block;visibility:hidden}
#modal#modal[data-view="dexlist"] .dxl .dxl-level{display:flex;align-items:center;gap:8px;color:var(--dx-muted);font:700 16px/1 Arial,Helvetica,sans-serif;letter-spacing:.08em;text-transform:uppercase}
#modal#modal[data-view="dexlist"] .dxl .dxl-level input{flex:1 1 auto;min-width:0;height:40px;padding:0 8px;border:0;border-radius:6px;background:#0b0f14!important;box-shadow:inset 0 0 0 1px var(--dx-line-hi);color:var(--dx-text)!important;font:700 20px/40px Arial,Helvetica,sans-serif!important;text-align:center}
#modal#modal[data-view="dexlist"] .dxl :is(.dxl-dup,.dxl-shiny){height:44px;padding:0 8px!important;border:0!important;border-radius:6px;background:#1a2132!important;box-shadow:inset 0 0 0 2px var(--dx-red)!important;color:var(--dx-text)!important;font:700 18px/44px Arial,Helvetica,sans-serif!important;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
#modal#modal[data-view="dexlist"] .dxl .dxl-shiny{box-shadow:inset 0 0 0 2px var(--dx-gold)!important;color:var(--dx-gold)!important}
#modal#modal[data-view="dexlist"] .dxl :is(.dxl-dup,.dxl-shiny):is(:hover:not(:disabled),:focus-visible,.pad-focus){background:#2a2433!important;outline:0}
#modal#modal[data-view="dexlist"] .dxl :is(.dxl-dup,.dxl-shiny):disabled{opacity:.45;cursor:default}
/* the description */
#modal#modal[data-view="dexlist"] .dxl .dxl-desc{display:flex;flex-direction:column;gap:10px;padding:16px 28px 18px 24px;overflow:hidden;background:linear-gradient(180deg,var(--dx-panel),#121826)}
#modal#modal[data-view="dexlist"] .dxl .dxl-desc>header{display:flex;align-items:center;gap:16px;flex:0 0 auto}
#modal#modal[data-view="dexlist"] .dxl .dxl-book{display:block;width:44px;height:44px;background:var(--dx-book) center/contain no-repeat}
#modal#modal[data-view="dexlist"] .dxl .dxl-desc h3{color:var(--dx-gold);font:700 28px/1 Arial,Helvetica,sans-serif;letter-spacing:.06em;text-transform:uppercase}
#modal#modal[data-view="dexlist"] .dxl .dxl-entry{flex:1 1 auto;min-height:0;overflow:auto;padding:4px 4px 0 6px;color:var(--dx-text);font:400 27px/1.6 Arial,Helvetica,sans-serif}
#modal#modal[data-view="dexlist"] .dxl .dxl-entry.locked{color:var(--dx-muted);font-style:italic}
#modal#modal[data-view="dexlist"] .dxl.empty .dxl-sprite{visibility:hidden}
/* ---- desktop: the window is the 1375 x 1000 sheet ---------------------------------------------------------------------------------------------------------------- */
@media screen and (min-width:901px){
body:not(.mobile-web) #modal#modal[data-view="dexlist"]{--s:var(--win-s,1);width:calc(1375px * var(--s))!important;height:calc(1000px * var(--s))!important;max-width:none!important;max-height:none!important;padding:0!important;border:0!important;border-radius:calc(10px * var(--s))!important;background:var(--dx-bg)!important;box-shadow:0 0 0 1px var(--dx-line-hi),0 18px 60px #05080d!important;overflow:hidden!important}
body:not(.mobile-web) #modal#modal[data-view="dexlist"]>.modal-header{display:none!important}
body:not(.mobile-web) #modal#modal[data-view="dexlist"] #modal-body{position:absolute!important;left:0!important;top:0!important;display:block!important;zoom:var(--s)!important;width:1375px!important;height:1000px!important;max-height:none!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important}
body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl{width:1375px;height:1000px;grid-template-rows:84px 84px minmax(0,1fr) 224px;gap:14px;padding:16px 18px}
}
/* ---- phone: the window's own header, a scrolling body, one column ------------------------------------------------------------------------------------------------ */
body.mobile-web #modal#modal[data-view="dexlist"] #modal-body{padding:8px!important;background:var(--dx-bg)!important}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl{grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:10px;font-size:16px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-head{padding:0 10px;gap:10px;height:56px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl :is(.dxl-head-ball,.dxl-title,.dxl-exit){display:none}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-order{margin:0 auto;height:42px;padding:0 8px 0 12px;gap:8px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-order-name{min-width:0;font-size:15px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-arrow{width:44px;height:36px;font-size:24px;line-height:32px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-bar{flex-wrap:wrap;gap:8px 12px;padding:8px 12px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-bar .dxl-ico{width:34px;height:34px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-bar-no{font-size:20px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-bar-sep{height:28px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-bar-name{flex:1 1 120px;font-size:20px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-stat{padding-left:10px;gap:8px;height:36px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-stat small{font-size:11px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-stat strong{font-size:20px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-main{grid-template-columns:minmax(0,1fr);gap:10px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-left{height:min(44dvh,340px);padding:8px 6px 8px 8px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-tools{flex-wrap:wrap}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-tools :is(input,select){height:38px;font-size:15px;line-height:38px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-tools select{flex:1 1 140px;width:auto}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-row{grid-template-columns:40px 84px 1fr 16px;height:48px;padding:0 10px!important;font-size:17px;contain-intrinsic-size:48px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-row .dxl-ico{width:30px;height:30px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-right{padding:8px;gap:8px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-showcase{grid-template-columns:minmax(0,1fr) 120px;gap:8px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-stage{height:200px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-ring{width:170px;height:170px;margin:-85px 0 0 -85px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-ring::after{width:118px;height:118px;margin:-59px 0 0 -59px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-sprite{width:160px;height:160px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-side{padding:8px;gap:6px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-chip{height:34px;font-size:13px;line-height:34px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-category{height:44px;font-size:18px;line-height:44px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-desc{padding:10px 12px;gap:6px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-desc h3{font-size:18px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-book{width:28px;height:28px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-entry{font-size:16px;overflow:visible}
/* a phone held sideways (about 400 px of height): the list and the selected Pokemon sit side by side, so both are in view */
@media (orientation:landscape) and (max-height:560px){
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-head{height:48px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-left{height:236px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-right{height:236px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-stage{height:100%}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-showcase{grid-template-columns:minmax(0,1fr) 104px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-sprite{width:112px;height:112px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-ring{width:124px;height:124px;margin:-62px 0 0 -62px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-ring::after{width:84px;height:84px;margin:-42px 0 0 -42px}
body.mobile-web #modal#modal[data-view="dexlist"] .dxl .dxl-category{height:36px;font-size:15px;line-height:36px}
}

/* Work-ID 20261030-mockup-exact-0efe; zenux, Trello 2026-10-30: "faca exatamente igual ao enviado". The Pokedex is the mockup's own 1375 x 1144 picture (ui/dex/chrome.jpg: the red frames of the header, the bar, the list, the picture's panel with its ring, the chips' and the category's panels,
   the DESCRICAO panel, the sort arrows' and the exit's frames, the VISTOS / CAPTURADOS marks) with the live parts taken out; the live parts (order, number and name, counts, search and filter, the rows and their scrollbar, the picture, the chips, the category, the entry) are drawn over it at the
   mockup's measured boxes. The search and the filter (not in the mockup) sit in the header's empty middle. A control keeps its box in every state: hover / focus / selected draw colour and an inset line only (AGENTS.md). */
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="dexlist"]{height:calc(1144px * var(--s))!important;background:#050507!important;border-radius:0!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] #modal-body{height:1144px!important;background:#050507 url("../../assets/ui/dex/chrome.jpg?v=1") 0 0/1375px 1144px no-repeat!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl{display:block!important;position:relative!important;width:1375px!important;height:1144px!important;padding:0!important;gap:0!important;grid-template-rows:none!important;font-family:Bahnschrift,"Segoe UI",Arial,sans-serif!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl :is(.dxl-head,.dxl-bar,.dxl-main,.dxl-left,.dxl-right,.dxl-desc,.dxl-showcase,.dxl-side,.dxl-order,.dxl-stat,.dxl-stat>span,.dxl-tools,.dxl-desc>header){display:contents!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl :is(.dxl-head,.dxl-bar,.dxl-left,.dxl-right,.dxl-desc){background:none!important;box-shadow:none!important;border:0!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl :is(.dxl-head-ball,.dxl-title,.dxl-bar>.dxl-ico,.dxl-bar-sep,.dxl-stat .dxl-ico,.dxl-stat small,.dxl-ring,.dxl-name-big,.dxl-book,.dxl-desc h3){display:none!important}
 /* the header */
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-order-name{position:absolute!important;left:838px!important;top:54px!important;display:block!important;width:170px!important;min-width:0!important;margin:0!important;color:#f0cf7a!important;font:500 24px/38px Bahnschrift,"Segoe UI",Arial,sans-serif!important;letter-spacing:.04em!important;white-space:nowrap!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-arrow{position:absolute!important;top:49px!important;display:block!important;width:47px!important;height:47px!important;margin:0!important;padding:0!important;border:0!important;border-radius:5px!important;background:none!important;box-shadow:none!important;color:transparent!important;font-size:0!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-arrow[data-focus="dex-order-prev"]{left:1024px!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-arrow[data-focus="dex-order-next"]{left:1076px!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-exit{position:absolute!important;left:1180px!important;top:49px!important;display:block!important;width:158px!important;height:47px!important;margin:0!important;padding:0!important;border:0!important;border-radius:5px!important;background:none!important;box-shadow:none!important;color:transparent!important;font-size:0!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-exit>*{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl :is(.dxl-arrow,.dxl-exit):is(:hover,:focus-visible,.pad-focus){background:#ffffff12!important;box-shadow:inset 0 0 0 3px #fff!important;outline:0!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-tools input{position:absolute!important;left:440px!important;top:56px!important;width:172px!important;height:36px!important;margin:0!important;padding:0 10px!important;border:0!important;border-radius:4px!important;background:#0a0d14!important;box-shadow:inset 0 0 0 1px #5a1a20!important;color:#e8e2d0!important;font:400 15px/36px Bahnschrift,"Segoe UI",Arial,sans-serif!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-tools select{position:absolute!important;left:620px!important;top:56px!important;width:176px!important;height:36px!important;flex:none!important;margin:0!important;padding:0 24px 0 10px!important;border:0!important;border-radius:4px!important;background-color:#0a0d14!important;box-shadow:inset 0 0 0 1px #5a1a20!important;color:#e8e2d0!important;font:400 15px/36px Bahnschrift,"Segoe UI",Arial,sans-serif!important;background-position:calc(100% - 16px) 50%,calc(100% - 10px) 50%!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-tools :is(input,select):is(:hover,:focus-visible){box-shadow:inset 0 0 0 2px #ee3b45!important;outline:0!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-count{position:absolute!important;left:440px!important;top:96px!important;width:356px!important;margin:0!important;color:#a8798a!important;font:400 13px/16px Bahnschrift,"Segoe UI",Arial,sans-serif!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 /* the selected Pokemon's bar */
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-bar-no{position:absolute!important;left:154px!important;top:178px!important;display:block!important;width:140px!important;color:#f3d98e!important;font:500 33px/44px Bahnschrift,"Segoe UI",Arial,sans-serif!important;letter-spacing:.03em!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-bar-name{position:absolute!important;left:346px!important;top:176px!important;display:block!important;width:370px!important;color:#f3d98e!important;font:700 35px/48px Bahnschrift,"Segoe UI",Arial,sans-serif!important;letter-spacing:.04em!important;text-transform:uppercase!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-stat strong{position:absolute!important;display:block!important;width:110px!important;margin:0!important;color:#f3d98e!important;font:700 33px/38px Bahnschrift,"Segoe UI",Arial,sans-serif!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-stat:nth-of-type(1) strong{left:889px!important;top:195px!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-stat:nth-of-type(2) strong{left:1173px!important;top:195px!important}
 /* the list */
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-rows{position:absolute!important;left:40px!important;top:292px!important;width:614px!important;height:488px!important;margin:0!important;padding:4px 0 0 0!important;overflow-y:auto!important;overflow-x:hidden!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-row{grid-template-columns:50px 189px 1fr 44px!important;width:602px!important;height:72px!important;margin:0 0 8px 2px!important;padding:0 0 0 26px!important;border-radius:7px!important;background:#06070b!important;box-shadow:inset 0 0 0 2px #23252d!important;color:#c9d2e3!important;font:500 28px/1 Bahnschrift,"Segoe UI",Arial,sans-serif!important;letter-spacing:.03em!important;text-transform:uppercase!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-row .dxl-ico{width:52px!important;height:52px!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-row .dxl-no{padding-left:44px!important;color:#c9d2e3!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-row .dxl-name{color:#c9d2e3!important;font-weight:500!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-row:is(:hover,:focus-visible,.pad-focus){background:#14090c!important;box-shadow:inset 0 0 0 2px #7a2a30!important;outline:0!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-row:is(.selected,[aria-selected="true"]){background:#1c0a0d!important;box-shadow:inset 0 0 0 3px #f02a34,0 0 14px #f02a3466!important;color:#f3d98e!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-row:is(.selected,[aria-selected="true"]) :is(.dxl-no,.dxl-name){color:#f3d98e!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-row:focus-visible{box-shadow:inset 0 0 0 3px #fff!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-row .dxl-go{border-width:11px 0 11px 17px!important;border-color:transparent transparent transparent #f3d98e!important}
 /* the picture, the chips and the category */
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-stage{position:absolute!important;left:787px!important;top:317px!important;display:block!important;width:300px!important;height:300px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:none!important;box-shadow:none!important;overflow:visible!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-stage:is(:hover,:focus-visible,.pad-focus){box-shadow:inset 0 0 0 3px #fff!important;outline:0!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-sprite{position:absolute!important;left:20px!important;top:20px!important;width:260px!important;height:260px!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-chips{position:absolute!important;left:1160px!important;top:360px!important;display:flex!important;flex-direction:column!important;gap:19px!important;width:158px!important;margin:0!important;padding:0!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-chip{width:158px!important;height:58px!important;border-radius:6px!important;box-shadow:inset 0 0 0 3px #ffffff44!important;font:700 21px/58px Bahnschrift,"Segoe UI",Arial,sans-serif!important;letter-spacing:.05em!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-category{position:absolute!important;left:748px!important;top:648px!important;display:block!important;width:576px!important;height:54px!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:#f0f0f5!important;font:500 27px/54px Arial,Helvetica,sans-serif!important;letter-spacing:.01em!important;text-align:center!important;text-transform:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-entry{position:absolute!important;left:104px!important;top:920px!important;display:block!important;width:1010px!important;height:140px!important;margin:0!important;padding:0!important;overflow:hidden!important;color:#f4eee2!important;font:400 26px/44px Consolas,"Lucida Console","DejaVu Sans Mono",monospace!important;letter-spacing:0!important}
}
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="dexlist"] .dxl .dxl-sprite{left:-45px!important;top:-20px!important;width:390px!important;height:390px!important}
}
