/* Work-ID 20261111-identity-maps-4d7a (zenux 11-10, "Novo visual dos mapas": maps_siUtXWh/map_1..4.jpeg). The Town Map under the identity: data-identity="map", data-win-mode="identity-map", data-region=<kanto|johto|hoenn|sinnoh>; the view stays
   townmap-v2 so the chart's pins, cursor and hit boxes keep their rules. The sheet is the free area (ui_scale WINDOWS identity-map: the width decides the zoom). Layout in the sheet's 1x px:
   the banner (the region's night scene with its legendary, cut from the image, the title plate drawn live), the REGIOES sidebar (only the four live regions: the tabs the game already lists), the chart in the identity's frame with the
   compass, and the place panel (the place, the wild Pokemon of the area, the gold VOAR PARA CA). Only paint and placement; every control keeps its box in every state (AGENTS.md hover geometry). */
@media screen and (min-width:901px){
 /* the dialog and its body: the full free area, the body zoomed by the sheet's factor */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"][data-view="townmap-v2"]{zoom:1!important;width:var(--win-wpx,1250px)!important;height:var(--win-hpx,840px)!important;margin:auto!important;border:1px solid #1f6f90!important;border-radius:14px!important;
  background:linear-gradient(180deg,#0b1d31 0%,#07121f 55%,#061019 100%)!important;box-shadow:0 0 0 2px #05101c,0 0 30px #0a8fbf55,0 22px 64px #02060d!important;overflow:hidden!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"][data-view="townmap-v2"] #modal-body{zoom:var(--win-s,1)!important;position:absolute!important;left:0!important;top:0!important;width:calc(var(--win-wpx,1250px) / var(--win-s,1))!important;height:calc(var(--win-hpx,840px) / var(--win-s,1))!important;overflow:hidden!important;background:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map{zoom:1!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;container-type:size;--tm-ink:#e8f2fb;color:#e8f2fb!important;background:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map::after{display:none!important}
 /* the banner: the region's night scene of the image, the plate over it */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map::before{content:""!important;position:absolute!important;inset:0 0 auto 0!important;height:128px!important;border-radius:0!important;box-shadow:inset 0 -2px 0 #1f6f90!important;background:url("../../assets/ui/identity/mp_banner_kanto.jpg?v=1") center/cover no-repeat,#07121f!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"][data-region="johto"] .town-map::before{background-image:url("../../assets/ui/identity/mp_banner_johto.jpg?v=1")!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"][data-region="hoenn"] .town-map::before{background-image:url("../../assets/ui/identity/mp_banner_hoenn.jpg?v=1")!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"][data-region="sinnoh"] .town-map::before{background-image:url("../../assets/ui/identity/mp_banner_sinnoh.jpg?v=1")!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .tm-head{display:contents!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .tm-logo{display:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .tm-switch{position:absolute!important;left:50%!important;top:36px!important;z-index:6;width:440px!important;height:70px!important;margin:0 0 0 -220px!important;padding:0 !important;display:grid!important;place-items:center;border:2px solid #f4c35a!important;border-radius:12px!important;background:linear-gradient(180deg,#0a2540,#06141f)!important;box-shadow:inset 0 0 0 1px #5a3d0c,0 0 18px #f4c35a66!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .tm-switch::before{content:"POKÉ SHADOWGARDEN";position:absolute;left:0;right:0;top:6px;text-align:center;color:#e8f2fb;font:700 13px/1 Arial,sans-serif;letter-spacing:.3em}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .tm-arrow{display:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .tm-switch-title{position:static!important;margin:14px 0 0!important;color:#ffd978!important;-webkit-text-fill-color:#ffd978!important;font:800 36px/1 Georgia,"Times New Roman",serif!important;letter-spacing:.04em;text-transform:uppercase;text-shadow:0 2px 0 #3a2705,0 0 14px #f4c35a66!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .tm-close{position:absolute!important;right:16px!important;left:auto!important;top:14px!important;z-index:7;width:50px!important;height:50px!important;margin:0!important;display:grid!important;place-items:center;border:2px solid #f4c35a!important;border-radius:50%!important;background:linear-gradient(180deg,#1b2a3a,#0c1826)!important;box-shadow:0 0 10px #f4c35a66!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .tm-close i{filter:none}
 /* the sidebar: REGIOES and the four regions the game lists */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-tabs{position:absolute!important;left:16px!important;top:146px!important;z-index:5;width:166px!important;height:auto!important;display:flex!important;flex-direction:column!important;gap:12px!important;padding:0!important;margin:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-tabs::before{content:"REGIÕES";display:flex;align-items:center;justify-content:center;height:46px;border:1px solid #1f6f90;border-radius:12px;background:linear-gradient(180deg,#0b2036,#07121f);color:#ffd978;font:800 20px/1 Arial,sans-serif;letter-spacing:.05em}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-tabs>button{position:relative;flex:0 0 auto;width:100%!important;height:48px!important;min-width:0!important;margin:0!important;padding:0 14px 0 52px!important;display:flex!important;align-items:center;justify-content:flex-start;border:1px solid #1f6f90!important;border-radius:24px!important;background:linear-gradient(180deg,#0f2b44,#071626)!important;color:#fff!important;font:800 17px/1 Arial,sans-serif!important;letter-spacing:.04em;text-transform:uppercase;box-shadow:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-tabs>button::before{content:"";position:absolute;left:8px;top:7px;width:32px;height:32px;border-radius:50%;background:radial-gradient(circle at 50% 50%,#f3f0ea 0 12%,#111724 13% 20%,#0000 21%),linear-gradient(180deg,#8f6af0 0 46%,#111724 46% 54%,#eef4ff 54%);box-shadow:0 0 0 2px #0d111c}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-tabs>button[aria-selected="true"]{border-color:#f4c35a!important;background:linear-gradient(180deg,#3a2f12,#17202a)!important;box-shadow:inset 0 0 0 1px #f4c35a,0 0 14px #f4a53a88!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-tabs>button:is(:hover:not([aria-selected="true"]),:focus-visible){box-shadow:inset 0 0 0 2px #5fe3ff88!important;outline:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-notes{position:static!important;display:block}
 /* the chart: the identity's frame, centred in the room, the compass on its corner */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame{position:absolute!important;left:196px!important;right:12px!important;top:142px!important;bottom:auto!important;width:min(calc(100cqw - 208px),calc((100cqh - 296px) * var(--tm-w,240) / var(--tm-h,144)))!important;height:auto!important;aspect-ratio:var(--tm-w,240) / var(--tm-h,144);margin:0 auto!important;max-width:none!important;border:0!important;border-radius:10px!important;background:#06101c!important;box-shadow:0 0 0 2px #1f6f90,0 0 18px #0a8fbf66!important;z-index:2!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame::after{content:"";position:absolute;inset:-12px;pointer-events:none;border:12px solid transparent;border-image:url("../../assets/ui/identity/hud_frame2.png?v=3") 24 / 12px stretch;z-index:9}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .tm-compass{display:block!important;position:absolute!important;right:36px!important;left:auto!important;top:162px!important;z-index:8;width:80px!important;height:84px!important;border:0!important;border-radius:50%!important;background:url("../../assets/ui/identity/mp_compass.png?v=1") center/cover no-repeat!important;box-shadow:0 0 12px #0a8fbf88!important;opacity:.95}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .tm-compass>*{display:none!important}
 /* the place panel */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-info{position:absolute!important;left:196px!important;right:12px!important;top:auto!important;bottom:100px!important;z-index:4;height:104px!important;width:auto!important;margin:0!important;padding:0 18px!important;display:flex!important;align-items:center;gap:20px;border:1px solid #1f6f90!important;border-radius:14px!important;background:linear-gradient(180deg,#0b2036,#07121f)!important;box-shadow:0 0 14px #0a8fbf44,inset 0 0 0 1px #07182a!important;color:#fff!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-text{position:static!important;flex:0 0 300px;width:auto!important;height:auto!important;display:grid!important;gap:6px;overflow:hidden}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-text>strong{color:#ffd978!important;font:800 24px/1.1 Georgia,serif!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-near,body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-side,body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .town-map-services{position:static!important;flex:1 1 auto;min-width:0;display:flex!important;flex-wrap:wrap;align-items:center;gap:6px;max-height:90px;overflow:hidden;color:#fff!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-near::before{content:attr(aria-label);flex:0 0 100%;color:#cfe4f5;font:700 14px/1 Arial,sans-serif}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-info>button.primary{position:static!important;flex:0 0 230px;width:230px!important;height:60px!important;margin:0!important;border:2px solid #f4c35a!important;border-radius:14px!important;background:linear-gradient(180deg,#f6cf6a,#c98a2a)!important;color:#2b1c04!important;font:900 22px/1 Arial,sans-serif!important;letter-spacing:.04em;text-transform:uppercase;box-shadow:inset 0 0 0 1px #fff3cf88,0 0 14px #f4c35a88!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-info>button.primary:disabled{filter:saturate(.35) brightness(.7);box-shadow:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-info>button.primary:is(:hover:not(:disabled),:focus-visible){filter:brightness(1.12);outline:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal[data-identity="map"] .town-map-hint{display:none!important}
}
/* round 2: the older sheets' hidden tabs / square buttons / left-aligned title */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-tabs>button[role="tab"]{visibility:visible!important;opacity:1!important;height:48px!important;min-height:48px!important;max-height:none!important;aspect-ratio:auto!important;overflow:visible!important;padding:0 14px 0 52px!important;font:800 17px/1 Arial,sans-serif!important;display:flex!important;align-items:center!important;text-align:left;color:#fff!important;border:1px solid #1f6f90!important;border-radius:24px!important;background:linear-gradient(180deg,#0f2b44,#071626)!important;flex:0 0 auto!important;width:100%!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-tabs>button[role="tab"]::before{content:""!important;display:block!important;position:absolute!important;left:8px!important;top:7px!important;width:32px!important;height:32px!important;border-radius:50%!important;background:radial-gradient(circle at 50% 50%,#f3f0ea 0 12%,#111724 13% 20%,#0000 21%),linear-gradient(180deg,#8f6af0 0 46%,#111724 46% 54%,#eef4ff 54%)!important;box-shadow:0 0 0 2px #0d111c!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-tabs>button[role="tab"][aria-selected="true"]{border-color:#f4c35a!important;background:linear-gradient(180deg,#3a2f12,#17202a)!important;box-shadow:inset 0 0 0 1px #f4c35a,0 0 14px #f4a53a88!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-tabs>button[role="tab"][aria-selected="true"][aria-selected="true"]::before{background:radial-gradient(circle at 50% 50%,#f3f0ea 0 12%,#111724 13% 20%,#0000 21%),linear-gradient(180deg,#f4c35a 0 46%,#111724 46% 54%,#eef4ff 54%)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info>button.primary{aspect-ratio:auto!important;height:60px!important;min-height:0!important;max-height:60px!important;width:230px!important;display:flex!important;align-items:center;justify-content:center}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info{flex-wrap:nowrap!important;overflow:hidden!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .tm-switch .tm-switch-title{width:100%!important;text-align:center!important;display:block!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .tm-close i{display:block!important;width:22px!important;height:22px!important;background:linear-gradient(45deg,#0000 42%,#ffd978 42% 58%,#0000 58%),linear-gradient(-45deg,#0000 42%,#ffd978 42% 58%,#0000 58%)!important;opacity:1!important;mask:none!important;-webkit-mask:none!important}
}
/* round 3: the place panel's pieces and the chart centred in its room */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame{--fw:min(calc(100cqw - 208px),calc((100cqh - 296px) * var(--tm-w,240) / var(--tm-h,144)));width:var(--fw)!important;margin-top:calc((100cqh - 296px - var(--fw) * var(--tm-h,144) / var(--tm-w,240)) / 2)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info{height:104px!important;min-height:0!important;max-height:104px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-text{flex:0 0 290px!important;width:290px!important;height:auto!important;display:flex!important;flex-direction:column!important;justify-content:center;gap:8px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-text>strong{display:block!important;height:auto!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-chip{display:inline-flex!important;align-items:center;gap:8px;align-self:flex-start;width:auto!important;height:26px!important;padding:0 14px!important;border:1px solid #f4c35a!important;border-radius:13px!important;background:linear-gradient(180deg,#3a2f12,#17202a)!important;color:#ffe9a8!important;font:800 13px/1 Arial,sans-serif!important;letter-spacing:.04em}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-chip i{display:block!important;width:12px!important;height:12px!important;border-radius:50%;background:#f4c35a}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-chip>span{display:block!important;width:auto!important;height:auto!important;color:#ffe9a8!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .town-map-services-note{display:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-near{display:flex!important;flex-wrap:wrap!important;align-content:center;gap:4px 6px!important;width:auto!important;height:auto!important;min-height:0!important;max-height:90px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-near .tm-near-mon{display:grid!important;place-items:center;width:42px!important;height:42px!important;flex:0 0 42px!important;margin:0!important;border:0!important;background:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-near .tm-near-img{display:block!important;width:40px!important;height:40px!important;background-size:contain;background-repeat:no-repeat;background-position:center;image-rendering:pixelated}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-near::before{flex:0 0 100%;display:block;margin:0 0 2px;color:#cfe4f5;font:700 14px/1 Arial,sans-serif}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-tabs::before{display:flex!important;visibility:visible!important}
}
/* round 4: the older sheets' square boxes in the place panel, a narrow sidebar header */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info :is(.tm-text,.tm-near,.tm-side,.town-map-services){aspect-ratio:auto!important;height:auto!important;min-height:0!important;align-self:center!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-tabs::before{width:166px!important;box-sizing:border-box!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-tabs{width:166px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-notes{display:none!important}
}
/* round 5: the place panel is a row */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info{flex-direction:row!important;grid-template-columns:none!important;flex-wrap:nowrap!important}
}
/* round 6: the wild Pokemon icons are two 32 px frames, the place panel is a little taller, the title is centred */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-near .tm-near-img{background-size:200% 100%!important;background-position:0 0!important;width:36px!important;height:36px!important;image-rendering:pixelated}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-near .tm-near-mon{width:38px!important;height:38px!important;flex-basis:38px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info{height:124px!important;max-height:124px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info .tm-near{max-height:112px!important;flex:1 1 0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-info>button.primary{flex:0 0 218px!important;width:218px!important;font-size:19px!important;margin-right:2px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame{--fw:min(calc(100cqw - 208px),calc((100cqh - 318px) * var(--tm-w,240) / var(--tm-h,144)));margin-top:calc((100cqh - 318px - var(--fw) * var(--tm-h,144) / var(--tm-w,240)) / 2)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .tm-switch .tm-switch-title{justify-self:center!important;text-align:center!important;padding:0!important;margin:16px 0 0!important}
}
/* round 7: the live title, centred in its plate whatever the older sheets say */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .tm-switch .tm-switch-title{position:absolute!important;left:0!important;right:0!important;top:28px!important;width:auto!important;margin:0!important;padding:0!important;text-align:center!important;transform:none!important;display:block!important}
}
/* round 8: the chart's room is what the place panel and the foot band leave */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame{--fw:min(calc(100cqw - 208px),calc((100cqh - 384px) * var(--tm-w,240) / var(--tm-h,144)));width:var(--fw)!important;margin-top:calc((100cqh - 384px - var(--fw) * var(--tm-h,144) / var(--tm-w,240)) / 2)!important}
}
/* Work-ID 20261111-identity-islands-6d2a: zenux's painted islands (island_<region>.jpg). His plates stay where they match the game's names (the buttons over them are invisible, the selected one glows); the other places are drawn pins:
   town = Poke Ball marker + plate, plate = plate only, route = a blue dot whose plate shows on hover / selection. Paint only: no pin changes its box in any state (AGENTS.md hover geometry). */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-hit:not(.town-map-pin).active{border-radius:.9em!important;box-shadow:inset 0 0 0 .2em #ffd24a,0 0 .9em #ffd24acc!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-pin{position:absolute!important;width:0!important;height:0!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:visible!important;z-index:5;cursor:pointer;font-size:1em}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-pin>.tm-pin-mark{position:absolute;display:block;left:-.95em;top:-.95em;width:1.9em;height:1.9em;box-sizing:border-box;border-radius:50%;border:.13em solid #0d111c;background:radial-gradient(circle at 50% 50%,#f3f0ea 0 15%,#111724 16% 27%,transparent 28%),linear-gradient(180deg,#e0453f 0 45%,#111724 45% 55%,#eef4ff 55%);box-shadow:0 0 .6em #000b}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-pin.kind-route>.tm-pin-mark{left:-.55em;top:-.55em;width:1.1em;height:1.1em;border:.16em solid #fff;background:#35b6f0;box-shadow:0 0 .5em #000b,0 0 .5em #35b6f0aa}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-pin.kind-plate>.tm-pin-mark{display:none}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-pin>.tm-pin-name{position:absolute;display:block;white-space:nowrap;box-sizing:border-box;padding:.3em .85em;border:.1em solid #47b9d9;border-radius:.9em;background:linear-gradient(180deg,#0a1b2e,#04080f);color:#fff;font:800 1em/1.15 Arial,Helvetica,sans-serif;text-transform:none!important;letter-spacing:0!important;text-shadow:0 .08em .1em #000;box-shadow:0 0 .55em #000b}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-pin.side-b>.tm-pin-name{left:0;top:1.15em;transform:translateX(-50%)}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-pin.side-t>.tm-pin-name{left:0;bottom:1.15em;transform:translateX(-50%)}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-pin.side-tl>.tm-pin-name{right:-.4em;bottom:1.15em}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-pin.side-r>.tm-pin-name{left:1.2em;top:0;transform:translateY(-50%)}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-pin.side-l>.tm-pin-name{right:1.2em;top:0;transform:translateY(-50%)}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-pin.kind-plate>.tm-pin-name{left:0;top:0;right:auto;bottom:auto;transform:translate(-50%,-50%)}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-pin.kind-route>.tm-pin-name{opacity:0;pointer-events:none;z-index:6}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-pin.kind-route:is(:hover,:focus-visible,.active)>.tm-pin-name{opacity:1}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-pin:is(.active,:focus-visible)>.tm-pin-name{border-color:#ffd24a;color:#ffe9a8;box-shadow:0 0 .9em #ffd24acc}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-pin:is(.active,:focus-visible)>.tm-pin-mark{box-shadow:0 0 0 .2em #ffd24a,0 0 1em #ffd24a}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal[data-identity="map"] .town-map-frame.painted .town-map-pin:focus-visible{outline:0!important}
}
