/* Work-ID 20261111-hud-map-team-7c3d (zenux, Trello 11-10 16:00 and 16:06). Behind `[ui] new_identity` (body.identity-v2) only.
   1. The strip over the map (place, coordinates, DIA / NOITE) is gone; the map starts right under the menu bar (hud_layout.js sets --vl-map-top for the identity). The Town Map button
      (the strip held it) floats on the map's top-right corner. The HUD side panels keep their boxes.
   2. The Equipe window (tela_01): the picture of every card inspects the Pokémon; GERENCIAR EQUIPE shows the reorder arrows (no old team screen behind it).
   Hover / focus / pressed only repaint (AGENTS.md absolute hover geometry): every control below keeps one box. */
@media screen and (min-width:901px){
 body.identity-v2.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar{top:calc((var(--vl-map-top) + 16px) / var(--hf-s))!important;height:36px!important;padding:0 18px 0 0!important;background:none!important;box-shadow:none!important;border:0!important;pointer-events:none!important;z-index:7!important}
 body.identity-v2.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar::after{display:none!important;content:none!important}
 body.identity-v2.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar :is(.location-copy,#coords,.hud-coordinate-icon,.hud-separator,.vl-sky){display:none!important}
 body.identity-v2.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar #atlas-button{pointer-events:auto!important;width:36px!important;height:34px!important;background-color:#07182add!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6l6-2 6 2 6-2v14l-6 2-6-2-6 2z M9 4v14 M15 6v14' fill='none' stroke='%23ffd45a' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-size:22px 22px!important;background-position:center!important;background-repeat:no-repeat!important;border:2px solid #f4c35a!important;border-radius:8px!important}
 body.identity-v2.map-vertical:not(.mobile-web) #game#game.game-shell.game-shell[id] .premium-location-bar #atlas-button:is(:hover,:focus-visible,.pad-focus){background-color:#0f3350!important;box-shadow:inset 0 0 0 2px #5fe3ff88!important;outline:0!important}
}
/* the Equipe window */
body.identity-v2:not(.mobile-web) #modal#modal#modal .idt-art{cursor:pointer}
body.identity-v2:not(.mobile-web) #modal#modal#modal .idt-art:focus-visible{outline:0;box-shadow:inset 0 0 0 2px #5fe3ff}
body.identity-v2:not(.mobile-web) #modal#modal#modal .idt-reorder{position:absolute;left:calc(50% - 41px);top:50px;z-index:3;display:flex;gap:8px}
body.identity-v2:not(.mobile-web) #modal#modal#modal .idt-move{box-sizing:border-box;width:36px;height:30px;min-width:0;padding:0;display:grid;place-items:center;border:1px solid var(--id-rim);border-radius:8px;background:#07182add;color:var(--id-ink);font:800 20px/1 var(--id-serif);cursor:pointer}
body.identity-v2:not(.mobile-web) #modal#modal#modal .idt-move:is(:hover:not(:disabled),:focus-visible){background:#0f3350;box-shadow:inset 0 0 0 2px #5fe3ff88;outline:0}
body.identity-v2:not(.mobile-web) #modal#modal#modal .idt-move:disabled{opacity:.4;cursor:default}
body.identity-v2:not(.mobile-web) #modal#modal#modal .idt-manage[aria-pressed="true"]{box-shadow:inset 0 0 0 2px #f4c35a}
/* 3. The Pokedex window (view dexlist, zenux 11-10 16:19 "a pokédex está bugada"). It is the mockup's own 1375 x 1144 picture (ui/dex/chrome.jpg) with the live parts drawn over it; the identity's body fill hid that picture and
      left the text floating on navy. pokedex_list.js now gives the window data-identity="off" (like the daily reward and the VIP sheet); here the picture is drawn by the body's ::before, turned from the old red to the
      identity's cyan, and the red of the selected row and of the search box follow. Layout and boxes are the sheet's own (ui/dex/dex-list.css); only colours here. */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="dexlist"][data-identity="off"],body.identity-v2:not(.mobile-web) #modal#modal[data-view="dexlist"][data-identity="off"] #modal-body{background:#040a14!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="dexlist"][data-identity="off"] #modal-body{position:relative}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="dexlist"][data-identity="off"] #modal-body::before{content:"";position:absolute;left:0;top:0;width:1375px;height:1144px;background:url("../../assets/ui/dex/chrome.jpg?v=1") 0 0/1375px 1144px no-repeat;filter:hue-rotate(200deg) saturate(1.2) brightness(1.08);pointer-events:none}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="dexlist"][data-identity="off"] .dxl .dxl-row{background:#050d18!important;box-shadow:inset 0 0 0 2px #17384f!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="dexlist"][data-identity="off"] .dxl .dxl-row:is(:hover,:focus-visible,.pad-focus){background:#08192b!important;box-shadow:inset 0 0 0 2px #2a8fb8!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="dexlist"][data-identity="off"] .dxl .dxl-row:is(.selected,[aria-selected="true"]){background:#0a2238!important;box-shadow:inset 0 0 0 3px #2aa7d6,0 0 14px #2aa7d666!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="dexlist"][data-identity="off"] .dxl .dxl-row:focus-visible{box-shadow:inset 0 0 0 3px #fff!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="dexlist"][data-identity="off"] .dxl .dxl-tools :is(input,select){background-color:#050d18!important;box-shadow:inset 0 0 0 1px #1d5a7a!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="dexlist"][data-identity="off"] .dxl .dxl-tools :is(input,select):is(:hover,:focus-visible){box-shadow:inset 0 0 0 2px #5fe3ff!important}
}
/* 4. The MENU window (view mainmenu: the phone-style menu of ui/menu/menu-mockup.css, zenux 11-10 16:28, menu_1.png). Same layout, same rows, same JS: only the palette changes to the identity's - navy fill, cyan lines, gold accents,
      the gold selected tab, magenta slashes - and the window is wide enough for the identity's banner (POKE SHADOWGARDEN / MENU, castle, cherry trees, the gold-ring X) to keep its title on one line. Hover / focus / selected repaint only. */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-view="mainmenu"]{width:min(35rem,96vw)!important;max-width:96vw!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-view="mainmenu"] #modal-body{border:0!important;border-image:none!important;padding:1.5px!important;background:linear-gradient(135deg,#25d0ff,#0a4a6a 40%,#1fb8f0)!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm{--mm-red:#19b8f0;--mm-red2:#5fe3ff;--mm-line:#10405f;--mm-panel:#071a2e;--mm-ink:#f2f7ff;--mm-mute:#8fb4d0;background:radial-gradient(120% 60% at 85% 12%,#0f3b5c66 0,#0000 60%),linear-gradient(180deg,#07192c,#040c18)}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm :is(.mm-rows,.mm-stats,.mm-trainer,.mm-shop,.mm-team,.mm-tabs){--l1:#25d0ff;--l2:#0b4562;--panel:linear-gradient(180deg,#09223a,#06142a)}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-rows{--panel:linear-gradient(180deg,#09223a,#06142a)}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-trainer{--panel:linear-gradient(90deg,#08304e,#06142a 72%)}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm :is(.mm-shop,.mm-team){--panel:linear-gradient(90deg,#08304e,#07182c)}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm :is(.mm-shop,.mm-team):hover{--l1:#8ff0ff;--panel:linear-gradient(90deg,#0b3a5e,#08213a)}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-tabs::after{box-shadow:inset 0 -2px 0 #25d0ff}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-cam{box-shadow:0 0 0 2px #0b2a44,0 0 0 3px #25d0ff}
 /* the groups' headings: gold, magenta slashes */
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-group-title{color:#f4c35a}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-group-title span{box-shadow:inset 0 -2px 0 #f4c35a}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-group-title::after{background:repeating-linear-gradient(115deg,#ff2fb4 0 2px,#0000 2px 5px)}
 /* the trainer: the gold BADGES pill, the magenta bar */
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-badge-pill{background:linear-gradient(90deg,#f6cf6a,#c98a2a);color:#2b1c04}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-badge-glyph{color:#2b1c04}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-badge-bar{background:#0b1830;box-shadow:inset 0 0 0 1px #12486a}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-badge-bar i{background:linear-gradient(90deg,#ff2fb4,#ff7ad0)}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-avatar{box-shadow:inset 0 0 0 3px #04101c,0 0 0 2px #f4c35a,0 0 0 4px #04101c,0 0 0 5px #25d0ff}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-medal{background:radial-gradient(circle at 35% 30%,#ff5b5b,#a40d1c 70%);box-shadow:inset 0 0 0 2px #04101c,0 0 0 2px #f4c35a,0 0 0 3px #04101c}
 /* the numbers strip: the red tone becomes magenta */
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-red{background:linear-gradient(145deg,#7a1060,#2c0524);color:#ff5ad0;box-shadow:inset 0 0 0 2px #d92fb0,0 0 0 1px #000a}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-shop .mm-tile{background:linear-gradient(145deg,#6e4b0e,#2b1b05);color:#ffc53d;box-shadow:inset 0 0 0 2px #f4c35a,0 0 0 1px #000a}
 /* the offers chip: gold */
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-offers{background:linear-gradient(90deg,#f6cf6a,#c98a2a);color:#2b1c04}
 /* the rows: gold-ringed icon tiles, cyan counters and chevrons */
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-row .mm-tile{background:linear-gradient(145deg,#0b2742,#06142a);box-shadow:inset 0 0 0 2px #f4c35a,0 0 0 1px #000a}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-pill{background:#06182d;box-shadow:inset 0 0 0 1px #25b8f0;color:#7fe9ff}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-chev{color:#cfe8f5}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-team .mm-chev{color:#f4c35a}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-team-art img{filter:grayscale(1) sepia(1) saturate(5) hue-rotate(150deg) brightness(.9)}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-row:hover{background:#0d2b48!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-row.selected{background:#0f3052!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-row:active{background:#14406a!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm :is(.mm-row,.mm-shop,.mm-team,.mm-tab,.mm-dot):focus-visible{outline:2px solid #5fe3ff!important}
 /* the bottom bar: cyan glyphs, the selected tab gold */
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-tab{color:#8fe7ff!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-tab[data-tab="dex"] .mm-tab-glyph{color:inherit}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-tab:hover{background:#0d2b48!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-tab.on{background:linear-gradient(180deg,#f6cf6a,#c98a2a)!important;color:#2b1c04!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-tab.on:hover{background:linear-gradient(180deg,#ffd878,#d89a35)!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-confirm{background:#06182d;box-shadow:inset 0 0 0 2px #25d0ff}
}
/* 5. No footer Pokéball (zenux 11-10 16:30): the winged Pokéball of the Rankings foot and the crest of the Wiki's scenery band are gone and the content takes their room; the Rankings' power-type chips lose the scroll bar that cut them. */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="rankings"]>#modal-body::after{content:none!important;display:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="rankings"] .rk-window{padding-bottom:22px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="rankings"] .rk-sub{scrollbar-width:none!important;scrollbar-color:transparent transparent!important;overflow-y:hidden!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="rankings"] .rk-sub::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="wiki"] .wk-pfoot{display:none!important}
}
/* the Menu list's scroll bar: the identity's (navy track, gold thumb, no end buttons) instead of the red one */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-view="mainmenu"] .mm-scroll{scrollbar-width:auto!important;scrollbar-color:auto!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-view="mainmenu"] .mm-scroll::-webkit-scrollbar{width:8px!important;background:#0a2236!important;border-radius:4px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-view="mainmenu"] .mm-scroll::-webkit-scrollbar-thumb{background:#f4a53a!important;border:0!important;border-image:none!important;border-radius:4px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-view="mainmenu"] .mm-scroll::-webkit-scrollbar-track{background:#0a2236!important;border:0!important;border-image:none!important;border-radius:4px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-view="mainmenu"] .mm-scroll::-webkit-scrollbar-button{display:none!important;width:0!important;height:0!important}
}
/* sweep 1 (Work-ID 20261111-identity-sweep1-5e2a), HUD tela_11. The status bar is tela_11's 61 px at the screen's factor (it was cut to 44); the menu strip ends where tela_11's does (92.4% of the width) so the gear and the X do not run to the edge; the Menu's rail is cyan. */
@media screen and (min-width:901px){
 body.identity-v2.map-vertical:not(.mobile-web) #game#game#game.game-shell.game-shell[id]:not(#mxa):not(#mxb) .premium-statusbar{height:var(--hf-status)!important;min-height:var(--hf-status)!important}
}
/* the Menu: a cyan rail (the list is #mm-scroll; only its rail is restyled) and lettering about 15% larger, closer to menu_1's proportion to the window */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-view="mainmenu"]{width:min(37rem,96vw)!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm{--mm-row-h:3.6rem}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-label{font-size:1.15rem}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-pill{font-size:.95rem;height:1.95rem}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-group-title{font-size:.95rem}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-name{font-size:1.75rem}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-id{font-size:.95rem}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-stat-top strong{font-size:1.12rem}
 body.identity-v2:not(.mobile-web) #modal#modal#modal[data-view="mainmenu"] .mm-stat small{font-size:clamp(8px,2.3cqw,11px)!important}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-tab{font-size:.82rem}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-shop-name{font-size:1.2rem}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-offers{font-size:.8rem}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-badge-pill{font-size:.95rem}
 body.identity-v2:not(.mobile-web) #modal#modal[data-view="mainmenu"] .mm .mm-team-copy strong{font-size:1.1rem}
}
:is(#uv-scrollbar-priority,.uv-scrollbar-layer) .uv-scrollbar-rail[aria-controls="mm-scroll"][data-axis]{background:#0a2236!important;border-radius:4px!important}
:is(#uv-scrollbar-priority,.uv-scrollbar-layer) .uv-scrollbar-rail[aria-controls="mm-scroll"][data-axis] .uv-scrollbar-track{border-image:none!important;border:0!important;background:#0a2236!important}
:is(#uv-scrollbar-priority,.uv-scrollbar-layer) .uv-scrollbar-rail[aria-controls="mm-scroll"][data-axis] .uv-scrollbar-thumb{border-image:none!important;border:0!important;background:linear-gradient(180deg,#f6cf6a,#c98a2a)!important;border-radius:4px!important}
:is(#uv-scrollbar-priority,.uv-scrollbar-layer) .uv-scrollbar-rail[aria-controls="mm-scroll"][data-axis] .uv-scrollbar-arrow{background-color:#0a2236!important;background-size:8px 8px!important;background-image:none!important;border-radius:4px!important}
:is(#uv-scrollbar-priority,.uv-scrollbar-layer) .uv-scrollbar-rail[aria-controls="mm-scroll"][data-axis="y"] .uv-scrollbar-arrow[data-dir="-1"]{background-image:url("../GameIcon/icons/chevron-up.png?v=8")!important}
:is(#uv-scrollbar-priority,.uv-scrollbar-layer) .uv-scrollbar-rail[aria-controls="mm-scroll"][data-axis="y"] .uv-scrollbar-arrow[data-dir="1"]{background-image:url("../GameIcon/icons/chevron-down.png?v=8")!important}
/* the toasts (Welcome, ...) sit inside the map area, never over the HUD panels (zenux 11-10, sweep 1 review) */
@media screen and (min-width:901px){
 body.identity-v2.map-vertical:not(.mobile-web) #toasts.toast-stack{left:calc(21.4vw + 24px)!important;right:auto!important;top:calc(var(--hud-s,1) * 58px + 24px)!important;width:min(26rem,48vw)!important}
}
/* sweep 1, round 2: the panels' frame is tela_11's own (ui/identity/hud_frame2.png, a 9-slice cut from its Perfil panel: bright cyan double line with glow, gold corner brackets); the radar's slots wear gold */
@media screen and (min-width:901px){
 body.identity-v2.map-vertical:not(.mobile-web) #game#game#game.game-shell.game-shell[id] :is(.trainer-card,.vl-radar,.party-panel,.hud-minimap-panel,.hud-missions-panel,#chat-panel)::after{border:12px solid transparent!important;border-image:url("../../assets/ui/identity/hud_frame2.png?v=3") 24 / 12px stretch!important;filter:brightness(1.35) saturate(1.15)}
 body.identity-v2.map-vertical:not(.mobile-web) #game#game#game.game-shell.game-shell[id] .premium-viewport::after{border:12px solid transparent!important;border-image:url("../../assets/ui/identity/hud_frame2.png?v=3") 24 / 12px stretch!important}
 body.identity-v2.map-vertical:not(.mobile-web) #game#game#game.game-shell.game-shell[id]:not(#mxa):not(#mxb) .radar-slot{background:#08192b!important;box-shadow:inset 0 0 0 1px #07121f,inset 0 0 0 2px #d9a441,inset 0 0 0 3px #3a2a0a,inset 0 0 9px #f4c35a55!important}
}
