/* The Town Map window (Work-ID 20261029-town-map-v2-*; zenux, mockup 33_2skjK7E, 2026-10-27: "exactly like the image"; Kanto, Johto, Hoenn and Sinnoh).
   The window is the mockup's 1470 x 1070 sheet (red frame, header with the logo, the "MAPA DE <REGION>" switcher and the close mark; the chart in a dark panel with a compass; the place panel under it: picture, name,
   sentence, services and VOAR PARA ESTA CIDADE; for a route the services' place holds its wild Pokémon). ui_scale.js multiplies it by --win-s (WINDOWS 'townmap-v2'); everything is written in mockup px inside a `zoom`.
   The DOM is app.js showTownMap's (the older class names and handlers are untouched; the modal's data-view is 'townmap-v2' so the earlier skins no longer apply).
   AGENTS.md "Absolute UI hover geometry": every control keeps ONE authored box in every state (hover / focus / selection repaint colour and an inset ring only). The chart is drawn at a whole number of art pixels (--tm-k). */
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"]{zoom:var(--win-s,1)!important;box-sizing:border-box!important;width:1470px!important;height:1070px!important;min-width:0!important;max-width:none!important;min-height:0!important;max-height:none!important;padding:0!important;margin:auto!important;
  border:0!important;border-image:none!important;border-radius:20px!important;overflow:hidden!important;background:#102338!important;box-shadow:0 0 0 2px #05101c,0 22px 64px #02060d!important;--tm-red:#c8352c;--tm-red-dark:#7a1d19;--tm-cream:#eceef5;--tm-navy:#0c1a2e;--tm-ink:#14233c;--tm-blue:#2f72dc}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"]::backdrop{background:#02060d88!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"]>.modal-header{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] #modal-body{position:absolute!important;left:0!important;top:0!important;width:1470px!important;height:1070px!important;max-height:none!important;margin:0!important;padding:0!important;overflow:hidden!important;background:transparent!important;border:0!important;border-image:none!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map{--p:1;position:absolute!important;left:0!important;top:0!important;display:block!important;box-sizing:border-box!important;width:1470px!important;height:1070px!important;margin:0!important;padding:0!important;gap:0!important;border:0!important;background:none!important;color:var(--tm-ink)!important;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif!important}
 /* the red frame and the dark sheet inside it */
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:20px;
  background:linear-gradient(180deg,#d9453a 0,#b6302a 30%,#8d211d 100%);box-shadow:inset 0 0 0 3px #f06a5c,inset 0 0 0 6px #7a1d19,inset 0 0 0 9px #c8352c}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map::after{content:"";position:absolute;left:18px;top:122px;width:1434px;height:926px;z-index:0;pointer-events:none;border-radius:10px;background:#0f2236;box-shadow:inset 0 0 0 2px #09141f}
 /* the header */
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-head{position:absolute;left:0;top:0;z-index:2;width:1470px;height:122px;margin:0;padding:0}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-logo{position:absolute;left:62px;top:22px;display:flex;align-items:center;gap:20px;height:84px;color:#fff}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-ball{display:block;flex:0 0 76px;width:76px;height:76px;border-radius:50%;border:4px solid #f3ece6;
  background:radial-gradient(circle at 50% 50%,#f4f6fb 0 14%,#10151f 15% 25%,transparent 26%),linear-gradient(180deg,#e0342d 0 46%,#10151f 46% 54%,#f4f6fb 54%);box-shadow:0 0 0 3px #7a1d19,0 4px 10px #0008}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-logo-text{display:flex;flex-direction:column;justify-content:center;line-height:1}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-logo-text b{font:700 32px/34px Arial,sans-serif;color:#fff;letter-spacing:.01em}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-logo-text em{font:italic 700 38px/38px Arial,sans-serif;color:#fff;letter-spacing:-.01em}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-logo-text em u{text-decoration:none;color:#ff9aa8}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-switch{position:absolute;left:525px;top:28px;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;width:415px;height:70px;padding:0 22px;
  border-radius:12px;background:linear-gradient(180deg,#0d2038,#091527);box-shadow:inset 0 0 0 3px #1c3354,inset 0 0 0 5px #070f1a,0 0 0 3px #7a1d19}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-switch-title{flex:1 1 auto;text-align:center;color:#fff;font:700 31px/1 Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-arrow{position:relative;flex:0 0 36px;width:36px;height:46px;margin:0;padding:0;border:0!important;border-image:none!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important;cursor:pointer}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-arrow::before{content:"";position:absolute;left:50%;top:50%;width:0;height:0;margin:-9px 0 0 -7px;border:9px solid transparent;border-right:0;border-left:13px solid #4d8cf0}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-arrow.prev::before{border-left:0;border-right:13px solid #4d8cf0;margin-left:-6px}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-arrow:is(:hover:not(:disabled),:focus-visible){background:#16335a!important;box-shadow:inset 0 0 0 2px #4d8cf0!important;outline:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-arrow:is(:hover:not(:disabled),:focus-visible)::before{border-left-color:#fff}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-arrow.prev:is(:hover:not(:disabled),:focus-visible)::before{border-left-color:transparent;border-right-color:#fff}
 /* the region tabs (the same buttons as ever) sit where the mockup draws its window dots */
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-tabs{position:absolute!important;left:958px!important;top:40px!important;display:flex!important;gap:6px!important;box-sizing:border-box!important;width:340px!important;height:46px!important;margin:0!important;padding:0!important;border:0!important;background:none!important;pointer-events:auto!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"]{position:relative!important;flex:1 1 0!important;box-sizing:border-box!important;width:auto!important;min-width:0!important;height:46px!important;margin:0!important;padding:0 2px!important;display:block!important;
  border:0!important;border-image:none!important;border-radius:8px!important;background:linear-gradient(180deg,#9a2620,#7a1d19)!important;box-shadow:inset 0 0 0 2px #5a1411!important;color:#ffd9d4!important;font:700 13px/46px Arial,sans-serif!important;letter-spacing:.06em!important;text-transform:uppercase!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"]::before,body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"]::after{content:none!important;display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"].selected,body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"][aria-selected="true"]{background:linear-gradient(180deg,#0d2038,#091527)!important;box-shadow:inset 0 0 0 2px #4d8cf0!important;color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"]:not(.selected):is(:hover:not(:disabled),:focus-visible){background:linear-gradient(180deg,#b3302a,#8d211d)!important;box-shadow:inset 0 0 0 2px #ffb3aa!important;color:#fff!important;outline:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"].selected:focus-visible{outline:none!important;box-shadow:inset 0 0 0 2px #fff!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"]:disabled,body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"].soon{opacity:.5!important;cursor:default!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-tab-soon{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-tabs .town-map-tab-lock{left:5px!important;right:auto!important;top:5px!important;font-size:11px!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-close{position:absolute;left:1378px;top:30px;display:grid;place-items:center;box-sizing:border-box;width:64px;height:66px;margin:0;padding:0;border:0!important;border-image:none!important;border-radius:10px!important;
  background:linear-gradient(180deg,#5a1411,#3f0d0b)!important;box-shadow:inset 0 0 0 3px #e8584c,inset 0 0 0 5px #3f0d0b,0 2px 6px #0007!important;cursor:pointer}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-close i{display:block;width:34px;height:34px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M5 5l24 24M29 5L5 29' stroke='%23ff4a3d' stroke-width='7' stroke-linecap='square'/%3E%3C/svg%3E") center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-close:is(:hover,:focus-visible){background:linear-gradient(180deg,#7a1d19,#5a1411)!important;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 5px #3f0d0b!important;outline:none!important}
 /* the notes (away from this region / locked region) sit on the chart's top-left corner */
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-notes{position:absolute!important;left:62px!important;top:150px!important;display:block!important;width:520px!important;margin:0!important;padding:0!important;pointer-events:none!important;z-index:6!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-notes>p{margin:0 0 4px!important;padding:5px 12px!important;border:1px solid #3a5a86!important;border-radius:6px!important;background:#0a1626e6!important;color:#e6efff!important;font:400 15px/20px Arial,sans-serif!important}
 /* the chart: a dark panel, the art centred at a whole number of art pixels */
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-frame{position:absolute!important;left:calc(735px - var(--tm-w,240px) * var(--tm-k,4) * .5px)!important;top:calc(467px - var(--tm-h,144px) * var(--tm-k,4) * .5px)!important;z-index:2!important;box-sizing:border-box!important;width:calc(var(--tm-w,240px) * var(--tm-k,4) * 1px)!important;height:calc(var(--tm-h,144px) * var(--tm-k,4) * 1px)!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:#0a1626!important;overflow:visible!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-frame>img{position:absolute!important;left:0!important;top:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;border:0!important;image-rendering:pixelated!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-compass{position:absolute;left:1322px;top:142px;z-index:5;width:94px;height:102px;border-radius:10px;background:linear-gradient(180deg,#0d2038,#091527);box-shadow:inset 0 0 0 3px #1c3354,inset 0 0 0 5px #070f1a,0 0 0 2px #06101c;pointer-events:none}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-compass i{position:absolute;left:12px;top:10px;width:70px;height:70px;border-radius:50%;border:3px solid #3b5f95;background:radial-gradient(circle,#1a3358 0 60%,#0e1f38 61%);
  clip-path:none}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-compass i::before{content:"";position:absolute;left:50%;top:7px;width:0;height:0;margin-left:-8px;border:8px solid transparent;border-top:0;border-bottom:22px solid #7fc2ff}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-compass i::after{content:"";position:absolute;left:50%;bottom:7px;width:0;height:0;margin-left:-8px;border:8px solid transparent;border-bottom:0;border-top:22px solid #e5eefc}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-compass b{position:absolute;left:0;right:0;bottom:6px;text-align:center;color:#d9e6ff;font:700 17px/1 Arial,sans-serif}
 /* the chart's labels, pins and cells */
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-label{box-sizing:border-box!important;height:auto!important;margin:0!important;padding:1px 8px 2px 6px!important;border:2px solid #44608a!important;border-radius:7px!important;background:linear-gradient(180deg,#10223b,#0a1626)!important;box-shadow:inset 0 0 0 1px #05101c,0 1px 3px #000a!important;color:#fff!important;font-family:"Courier New",ui-monospace,monospace!important;font-weight:700!important;text-shadow:none!important;text-transform:none!important;letter-spacing:0!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-label.town::before{content:"";display:inline-block;width:.95em;height:.95em;margin:0 .4em -.14em 0;border-radius:50%;background:radial-gradient(circle,#fff 0 14%,#10151f 15% 27%,transparent 28%),linear-gradient(180deg,#e0342d 0 46%,#10151f 46% 54%,#f4f6fb 54%);box-shadow:0 0 0 1px #05101c}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-label.route{padding:0 6px!important;border-color:#2a3f60!important;background:#0a1626d9!important;color:#cdd9ee!important;font-weight:400!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-label.inert{opacity:.8}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-label:is(:hover:not(:disabled),:focus-visible,.pad-focus,.active){background:linear-gradient(180deg,#1d3a64,#12294a)!important;border-color:#ffd24a!important;box-shadow:inset 0 0 0 1px #05101c,0 0 10px #ffd24a99!important;color:#fff!important;outline:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-icon{color:#ffd24a!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-back{display:none!important}
 /* the place panel */
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info{position:absolute!important;left:28px!important;top:822px!important;z-index:3!important;display:block!important;box-sizing:border-box!important;width:1414px!important;height:196px!important;margin:0!important;padding:0!important;border:0!important;border-radius:12px!important;
  background:linear-gradient(180deg,#f4f5fa,#e4e7f1)!important;box-shadow:inset 0 0 0 4px #c8352c,inset 0 0 0 7px #7a1d19,inset 0 0 0 9px #f4f5fa,0 0 0 3px #7a1d19!important;color:var(--tm-ink)!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info>.town-map-photo{position:absolute!important;left:32px!important;top:24px!important;display:block!important;box-sizing:border-box!important;width:264px!important;height:150px!important;margin:0!important;border:0!important;border-radius:5px!important;background-color:#9ec7e8!important;background-repeat:no-repeat!important;image-rendering:pixelated!important;box-shadow:0 0 0 3px #1d3b6e,0 0 0 5px #f4f5fa,0 0 0 7px #1d3b6e!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-text{position:absolute;left:330px;top:18px;width:450px;height:164px;display:block;overflow:hidden}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-text>strong{display:block;margin:0 0 8px;color:var(--tm-ink)!important;font:700 34px/38px "Courier New",ui-monospace,monospace!important;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-desc{margin:0;color:#4a5a78!important;font:400 19px/26px Arial,sans-serif!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .town-map-services-note{display:block;margin:8px 0 0;color:#7083a3!important;font:400 14px/18px Arial,sans-serif!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info::before{content:"";position:absolute;left:800px;top:24px;width:2px;height:150px;background:linear-gradient(180deg,transparent,#aab4c8,transparent)}
 /* services: two columns of icon + text */
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-services{position:absolute;left:830px;top:24px;width:560px;height:150px;margin:0;padding:0;list-style:none;columns:2;column-gap:60px;column-fill:auto}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-services li{display:flex;align-items:center;gap:14px;height:36px;margin:0 0 0;padding:0;break-inside:avoid;color:var(--tm-ink)!important;font:400 19px/36px Arial,sans-serif!important;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-services li:nth-child(5)::before{content:none}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-svc-icon{flex:0 0 32px;width:32px;height:32px;display:block;background:center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .svc-center .tm-svc-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='%23f4f6fb' stroke='%2310151f' stroke-width='3'/%3E%3Cpath d='M2 16a14 14 0 0 1 28 0z' fill='%23e0342d'/%3E%3Cpath d='M2 16h28' stroke='%2310151f' stroke-width='3'/%3E%3Ccircle cx='16' cy='16' r='5' fill='%23f4f6fb' stroke='%2310151f' stroke-width='3'/%3E%3C/svg%3E")}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .svc-mart .tm-svc-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M3 12l3-8h20l3 8z' fill='%232f72dc'/%3E%3Crect x='5' y='12' width='22' height='16' fill='%234f8df0'/%3E%3Crect x='13' y='18' width='6' height='10' fill='%2314233c'/%3E%3C/svg%3E")}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .svc-gym .tm-svc-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='2' y='11' width='4' height='10' rx='1' fill='%2314233c'/%3E%3Crect x='6' y='8' width='4' height='16' rx='1' fill='%2314233c'/%3E%3Crect x='10' y='14' width='12' height='4' fill='%2314233c'/%3E%3Crect x='22' y='8' width='4' height='16' rx='1' fill='%2314233c'/%3E%3Crect x='26' y='11' width='4' height='10' rx='1' fill='%2314233c'/%3E%3C/svg%3E")}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .svc-port .tm-svc-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M4 20h24l-4 8H8z' fill='%2314233c'/%3E%3Crect x='10' y='10' width='12' height='8' fill='%2314233c'/%3E%3Crect x='14' y='4' width='4' height='6' fill='%2314233c'/%3E%3Ccircle cx='13' cy='14' r='1.800' fill='%23eceef5'/%3E%3Ccircle cx='19' cy='14' r='1.800' fill='%23eceef5'/%3E%3C/svg%3E")}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .svc-auction .tm-svc-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M4 12l8-8 8 8-3 3-5-5-2 2 2 2-8 8-3-3 6-6-2-2z' fill='%2314233c'/%3E%3Crect x='12' y='26' width='16' height='3' rx='1' fill='%2314233c'/%3E%3Cpath d='M20 12l4-4 4 4-4 4z' fill='%2314233c'/%3E%3C/svg%3E")}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .svc-events .tm-svc-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 2l3.500 8.500L28 8l-4 8 7 4-9 2 1 9-7-6-7 6 1-9-9-2 7-4-4-8 8.500 2.500z' fill='%23f2b84b' stroke='%23c7842a' stroke-width='1.500' stroke-linejoin='round'/%3E%3C/svg%3E")}
 /* VOAR PARA ESTA CIDADE */
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info>button{position:absolute!important;left:1092px!important;top:116px!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:316px!important;height:60px!important;min-width:0!important;margin:0!important;padding:0 20px!important;gap:12px!important;
  border:0!important;border-image:none!important;border-radius:9px!important;background:linear-gradient(180deg,#3a82ee,#2358bd)!important;box-shadow:inset 0 0 0 2px #0f2f72,inset 0 0 0 4px #86b4f6,0 2px 4px #0006!important;color:#fff!important;font:700 17px/1.1 Arial,sans-serif!important;letter-spacing:.04em!important;text-transform:uppercase!important;text-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info>button::before{content:""!important;display:block!important;flex:0 0 28px;width:28px;height:28px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M30 3L2 14l9 4 3 10 4-6 7 5z' fill='%23fff'/%3E%3Cpath d='M11 18l16-14' stroke='%232358bd' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info>button:is(:hover:not(:disabled),:focus-visible,.pad-focus){background:linear-gradient(180deg,#4c92ff,#2f6cd8)!important;box-shadow:inset 0 0 0 2px #fff,inset 0 0 0 4px #86b4f6,0 2px 4px #0006!important;outline:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info>button:disabled{background:linear-gradient(180deg,#7d8aa3,#5d6a85)!important;box-shadow:inset 0 0 0 2px #3b465d,inset 0 0 0 4px #aeb8cc!important;color:#e5eaf3!important;cursor:default!important}
 /* a route: its wild Pokémon take the services' place */
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-side{position:absolute;left:820px;top:18px;width:572px;height:162px}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-enc{box-sizing:border-box;width:100%;height:100%;padding:4px 8px 4px 14px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 22px;align-content:start;scrollbar-width:thin!important;scrollbar-color:#2f72dc #dfe3ee;outline:none}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-enc::-webkit-scrollbar{display:block!important;width:8px;height:8px}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-enc::-webkit-scrollbar-thumb{background:#2f72dc;border-radius:4px}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-enc::-webkit-scrollbar-track{background:#dfe3ee;border-radius:4px}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-enc:focus-visible{box-shadow:inset 0 0 0 2px #2f72dc}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-enc .tm-method h4{margin:0 0 2px;color:#c8352c;font:700 14px/18px Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-enc ul{margin:0;padding:0;list-style:none}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-enc li{display:grid;grid-template-columns:30px minmax(0,1fr) auto auto;align-items:center;gap:6px;height:30px;color:var(--tm-ink);font:400 15px/30px Arial,sans-serif}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-enc li img{width:30px;height:30px;image-rendering:pixelated;object-fit:contain}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-enc .tm-sp{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-enc .tm-lv{color:#4a5a78;font-size:13px}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-enc .tm-pct{min-width:44px;text-align:right;color:#2358bd;font-weight:700;font-size:13px}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-enc .tm-none{margin:6px 0 0;color:#7083a3;font:400 16px/22px Arial,sans-serif;grid-column:1/-1}
 /* the hint under the panel */
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-hint{position:absolute!important;left:28px!important;top:1032px!important;z-index:3!important;display:block!important;width:1414px!important;height:26px!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:#ffd9d4!important;font:400 14px/26px Arial,sans-serif!important;letter-spacing:.04em!important;text-align:center!important;text-shadow:none!important}
}

/* ---- phones and narrow windows: the same blocks stack inside a scrolling window ---- */
@media screen and (max-width:900px){
 #modal#modal[data-view="townmap-v2"]{box-sizing:border-box!important;zoom:1!important;width:min(100vw,760px)!important;height:auto!important;max-height:100dvh!important;min-height:0!important;margin:auto!important;padding:0!important;border:0!important;border-image:none!important;border-radius:12px!important;overflow:hidden!important;background:#102338!important;box-shadow:none!important}
 #modal#modal[data-view="townmap-v2"]>.modal-header{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important}
 #modal#modal[data-view="townmap-v2"] #modal-body{position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:auto!important;max-height:100dvh!important;margin:0!important;padding:0!important;overflow:auto!important;background:transparent!important;border:0!important;border-image:none!important;box-shadow:none!important}
 #modal#modal[data-view="townmap-v2"] .town-map{position:relative!important;left:auto!important;top:auto!important;display:flex!important;flex-direction:column!important;width:100%!important;height:auto!important;margin:0!important;padding:0 0 8px!important;background:linear-gradient(180deg,#d9453a,#8d211d)!important;border:0!important;border-radius:12px!important;color:#14233c!important;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif!important}
 #modal#modal[data-view="townmap-v2"] .town-map::before,#modal#modal[data-view="townmap-v2"] .town-map::after{display:none!important}
 #modal#modal[data-view="townmap-v2"] .tm-head{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:auto;height:auto;margin:0;padding:8px 10px}
 #modal#modal[data-view="townmap-v2"] .tm-logo{position:static;display:flex;align-items:center;gap:8px;height:auto}
 #modal#modal[data-view="townmap-v2"] .tm-ball{flex:0 0 34px;width:34px;height:34px;border:2px solid #f3ece6;border-radius:50%;background:radial-gradient(circle at 50% 50%,#f4f6fb 0 14%,#10151f 15% 25%,transparent 26%),linear-gradient(180deg,#e0342d 0 46%,#10151f 46% 54%,#f4f6fb 54%)}
 #modal#modal[data-view="townmap-v2"] .tm-logo-text{display:flex;flex-direction:column;line-height:1;color:#fff}
 #modal#modal[data-view="townmap-v2"] .tm-logo-text b{font:700 14px/15px Arial,sans-serif;color:#fff}
 #modal#modal[data-view="townmap-v2"] .tm-logo-text em{font:italic 700 17px/17px Arial,sans-serif;color:#fff}
 #modal#modal[data-view="townmap-v2"] .tm-logo-text em u{text-decoration:none;color:#ff9aa8}
 #modal#modal[data-view="townmap-v2"] .tm-switch{position:static;order:3;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;flex:1 1 100%;width:auto;height:46px;padding:0 8px;border-radius:10px;background:#0d2038;box-shadow:inset 0 0 0 2px #1c3354,0 0 0 2px #7a1d19}
 #modal#modal[data-view="townmap-v2"] .tm-switch-title{flex:1 1 auto;text-align:center;color:#fff;font:700 18px/1 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
 #modal#modal[data-view="townmap-v2"] .tm-arrow{position:relative;flex:0 0 40px;width:40px;height:40px;margin:0;padding:0;border:0!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important}
 #modal#modal[data-view="townmap-v2"] .tm-arrow::before{content:"";position:absolute;left:50%;top:50%;width:0;height:0;margin:-8px 0 0 -6px;border:8px solid transparent;border-right:0;border-left:11px solid #4d8cf0}
 #modal#modal[data-view="townmap-v2"] .tm-arrow.prev::before{border-left:0;border-right:11px solid #4d8cf0}
 #modal#modal[data-view="townmap-v2"] .tm-arrow:is(:hover:not(:disabled),:focus-visible){background:#16335a!important;box-shadow:inset 0 0 0 2px #4d8cf0!important;outline:none!important}
 #modal#modal[data-view="townmap-v2"] .town-map-tabs{position:static!important;order:4;display:flex!important;gap:5px!important;flex:1 1 100%;width:auto!important;height:40px!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
 #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"]{position:relative!important;flex:1 1 0!important;width:auto!important;min-width:0!important;height:40px!important;margin:0!important;padding:0 2px!important;display:block!important;border:0!important;border-image:none!important;border-radius:8px!important;background:linear-gradient(180deg,#9a2620,#7a1d19)!important;box-shadow:inset 0 0 0 2px #5a1411!important;color:#ffd9d4!important;font:700 12px/40px Arial,sans-serif!important;letter-spacing:.05em!important;text-transform:uppercase!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important}
 #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"]::before,#modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"]::after{content:none!important;display:none!important}
 #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"].selected,#modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"][aria-selected="true"]{background:linear-gradient(180deg,#0d2038,#091527)!important;box-shadow:inset 0 0 0 2px #4d8cf0!important;color:#fff!important}
 #modal#modal[data-view="townmap-v2"] .town-map-tab-soon{display:none!important}
 #modal#modal[data-view="townmap-v2"] .tm-close{position:static;order:2;display:grid;place-items:center;box-sizing:border-box;width:44px;height:46px;margin:0 0 0 auto;padding:0;border:0!important;border-radius:9px!important;background:linear-gradient(180deg,#5a1411,#3f0d0b)!important;box-shadow:inset 0 0 0 2px #e8584c!important}
 #modal#modal[data-view="townmap-v2"] .tm-close i{display:block;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M5 5l24 24M29 5L5 29' stroke='%23ff4a3d' stroke-width='7' stroke-linecap='square'/%3E%3C/svg%3E") center/contain no-repeat}
 #modal#modal[data-view="townmap-v2"] .tm-compass{display:none}
 #modal#modal[data-view="townmap-v2"] .town-map-notes{position:static!important;display:block!important;width:auto!important;margin:0 10px!important;padding:0!important;pointer-events:none!important}
 #modal#modal[data-view="townmap-v2"] .town-map-notes>p{margin:0 0 4px!important;padding:5px 10px!important;border:1px solid #3a5a86!important;border-radius:6px!important;background:#0a1626!important;color:#e6efff!important;font:400 13px/18px Arial,sans-serif!important}
 #modal#modal[data-view="townmap-v2"] .town-map-frame{position:relative!important;left:auto!important;top:auto!important;box-sizing:border-box!important;width:calc(100% - 20px)!important;height:auto!important;max-width:none!important;aspect-ratio:var(--tm-w,192)/var(--tm-h,144);margin:6px 10px!important;padding:0!important;border:0!important;background:#0a1626!important;border-radius:6px!important}
 #modal#modal[data-view="townmap-v2"] .town-map-frame>img{position:absolute!important;left:0!important;top:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;image-rendering:pixelated!important}
 #modal#modal[data-view="townmap-v2"] .town-map-label{box-sizing:border-box!important;height:auto!important;margin:0!important;padding:0 5px!important;border:1px solid #44608a!important;border-radius:5px!important;background:#0a1626e6!important;color:#fff!important;font-family:"Courier New",ui-monospace,monospace!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important;text-shadow:none!important;box-shadow:none!important}
 #modal#modal[data-view="townmap-v2"] .town-map-label.active{border-color:#ffd24a!important;background:#1d3a64!important}
 #modal#modal[data-view="townmap-v2"] .town-map-back{display:none!important}
 #modal#modal[data-view="townmap-v2"] .town-map-info{position:relative!important;left:auto!important;top:auto!important;display:grid!important;grid-template-columns:96px minmax(0,1fr);gap:8px 12px;box-sizing:border-box!important;width:calc(100% - 20px)!important;height:auto!important;margin:0 10px!important;padding:12px!important;border:0!important;border-radius:10px!important;background:linear-gradient(180deg,#f4f5fa,#e4e7f1)!important;box-shadow:inset 0 0 0 3px #c8352c!important;color:#14233c!important}
 #modal#modal[data-view="townmap-v2"] .town-map-info>.town-map-photo{position:relative!important;left:auto!important;top:auto!important;display:block!important;width:96px!important;height:72px!important;margin:0!important;border:0!important;border-radius:4px!important;background-color:#9ec7e8!important;background-repeat:no-repeat!important;image-rendering:pixelated!important;box-shadow:0 0 0 2px #1d3b6e!important}
 #modal#modal[data-view="townmap-v2"] .town-map-info .tm-text{position:static;width:auto;height:auto;display:block}
 #modal#modal[data-view="townmap-v2"] .town-map-info .tm-text>strong{display:block;margin:0 0 4px;color:#14233c!important;font:700 20px/24px "Courier New",ui-monospace,monospace!important}
 #modal#modal[data-view="townmap-v2"] .town-map-info .tm-desc{margin:0;color:#4a5a78!important;font:400 14px/19px Arial,sans-serif!important}
 #modal#modal[data-view="townmap-v2"] .town-map-info .town-map-services-note{display:block;margin:6px 0 0;color:#7083a3!important;font:400 12px/16px Arial,sans-serif!important}
 #modal#modal[data-view="townmap-v2"] .town-map-info .tm-services{position:static;grid-column:1/-1;width:auto;height:auto;margin:0;padding:0;list-style:none;columns:2;column-gap:12px}
 #modal#modal[data-view="townmap-v2"] .town-map-info .tm-services li{display:flex;align-items:center;gap:8px;height:30px;margin:0;padding:0;color:#14233c!important;font:400 14px/30px Arial,sans-serif!important;white-space:nowrap}
 #modal#modal[data-view="townmap-v2"] .tm-svc-icon{flex:0 0 22px;width:22px;height:22px;display:block;background:center/contain no-repeat}
 #modal#modal[data-view="townmap-v2"] .town-map-info .tm-side{position:static;grid-column:1/-1;width:auto;height:auto;max-height:200px;overflow:auto}
 #modal#modal[data-view="townmap-v2"] .tm-enc{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:2px 0;outline:none}
 #modal#modal[data-view="townmap-v2"] .tm-enc .tm-method h4{margin:0 0 2px;color:#c8352c;font:700 12px/16px Arial,sans-serif;letter-spacing:.05em;text-transform:uppercase}
 #modal#modal[data-view="townmap-v2"] .tm-enc ul{margin:0;padding:0;list-style:none}
 #modal#modal[data-view="townmap-v2"] .tm-enc li{display:grid;grid-template-columns:26px minmax(0,1fr) auto auto;align-items:center;gap:6px;height:26px;color:#14233c;font:400 13px/26px Arial,sans-serif}
 #modal#modal[data-view="townmap-v2"] .tm-enc li img{width:26px;height:26px;image-rendering:pixelated;object-fit:contain}
 #modal#modal[data-view="townmap-v2"] .tm-enc .tm-sp{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}
 #modal#modal[data-view="townmap-v2"] .tm-enc .tm-lv{color:#4a5a78;font-size:12px}
 #modal#modal[data-view="townmap-v2"] .tm-enc .tm-pct{min-width:38px;text-align:right;color:#2358bd;font-weight:700;font-size:12px}
 #modal#modal[data-view="townmap-v2"] .tm-enc .tm-none{margin:4px 0 0;color:#7083a3;font:400 14px/20px Arial,sans-serif}
 #modal#modal[data-view="townmap-v2"] .town-map-info>button{position:relative!important;left:auto!important;top:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;grid-column:1/-1;box-sizing:border-box!important;width:100%!important;height:46px!important;min-width:0!important;margin:0!important;padding:0 14px!important;gap:10px!important;border:0!important;border-radius:8px!important;background:linear-gradient(180deg,#3a82ee,#2358bd)!important;box-shadow:inset 0 0 0 2px #0f2f72,inset 0 0 0 4px #86b4f6!important;color:#fff!important;font:700 14px/1.1 Arial,sans-serif!important;letter-spacing:.04em!important;text-transform:uppercase!important}
 #modal#modal[data-view="townmap-v2"] .town-map-info>button:disabled{background:linear-gradient(180deg,#7d8aa3,#5d6a85)!important;color:#e5eaf3!important}
 #modal#modal[data-view="townmap-v2"] .town-map-hint{position:static!important;display:block!important;width:auto!important;height:auto!important;margin:6px 10px 0!important;padding:0!important;color:#ffd9d4!important;font:400 12px/16px Arial,sans-serif!important;text-align:center!important}
}
/* mobile-web copy */
body.mobile-web #modal#modal[data-view="townmap-v2"]{box-sizing:border-box!important;zoom:1!important;width:min(100vw,760px)!important;height:auto!important;max-height:100dvh!important;min-height:0!important;margin:auto!important;padding:0!important;border:0!important;border-image:none!important;border-radius:12px!important;overflow:hidden!important;background:#102338!important;box-shadow:none!important}
body.mobile-web #modal#modal[data-view="townmap-v2"]>.modal-header{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] #modal-body{position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:auto!important;max-height:100dvh!important;margin:0!important;padding:0!important;overflow:auto!important;background:transparent!important;border:0!important;border-image:none!important;box-shadow:none!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map{position:relative!important;left:auto!important;top:auto!important;display:flex!important;flex-direction:column!important;width:100%!important;height:auto!important;margin:0!important;padding:0 0 8px!important;background:linear-gradient(180deg,#d9453a,#8d211d)!important;border:0!important;border-radius:12px!important;color:#14233c!important;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map::before,
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map::after{display:none!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-head{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:auto;height:auto;margin:0;padding:8px 10px}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-logo{position:static;display:flex;align-items:center;gap:8px;height:auto}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-ball{flex:0 0 34px;width:34px;height:34px;border:2px solid #f3ece6;border-radius:50%;background:radial-gradient(circle at 50% 50%,#f4f6fb 0 14%,#10151f 15% 25%,transparent 26%),linear-gradient(180deg,#e0342d 0 46%,#10151f 46% 54%,#f4f6fb 54%)}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-logo-text{display:flex;flex-direction:column;line-height:1;color:#fff}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-logo-text b{font:700 14px/15px Arial,sans-serif;color:#fff}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-logo-text em{font:italic 700 17px/17px Arial,sans-serif;color:#fff}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-logo-text em u{text-decoration:none;color:#ff9aa8}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-switch{position:static;order:3;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;flex:1 1 100%;width:auto;height:46px;padding:0 8px;border-radius:10px;background:#0d2038;box-shadow:inset 0 0 0 2px #1c3354,0 0 0 2px #7a1d19}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-switch-title{flex:1 1 auto;text-align:center;color:#fff;font:700 18px/1 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-arrow{position:relative;flex:0 0 40px;width:40px;height:40px;margin:0;padding:0;border:0!important;border-radius:6px!important;background:transparent!important;box-shadow:none!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-arrow::before{content:"";position:absolute;left:50%;top:50%;width:0;height:0;margin:-8px 0 0 -6px;border:8px solid transparent;border-right:0;border-left:11px solid #4d8cf0}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-arrow.prev::before{border-left:0;border-right:11px solid #4d8cf0}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-arrow:is(:hover:not(:disabled),:focus-visible){background:#16335a!important;box-shadow:inset 0 0 0 2px #4d8cf0!important;outline:none!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-tabs{position:static!important;order:4;display:flex!important;gap:5px!important;flex:1 1 100%;width:auto!important;height:40px!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"]{position:relative!important;flex:1 1 0!important;width:auto!important;min-width:0!important;height:40px!important;margin:0!important;padding:0 2px!important;display:block!important;border:0!important;border-image:none!important;border-radius:8px!important;background:linear-gradient(180deg,#9a2620,#7a1d19)!important;box-shadow:inset 0 0 0 2px #5a1411!important;color:#ffd9d4!important;font:700 12px/40px Arial,sans-serif!important;letter-spacing:.05em!important;text-transform:uppercase!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"]::before,
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"]::after{content:none!important;display:none!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"].selected,
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-tabs>button[role="tab"][aria-selected="true"]{background:linear-gradient(180deg,#0d2038,#091527)!important;box-shadow:inset 0 0 0 2px #4d8cf0!important;color:#fff!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-tab-soon{display:none!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-close{position:static;order:2;display:grid;place-items:center;box-sizing:border-box;width:44px;height:46px;margin:0 0 0 auto;padding:0;border:0!important;border-radius:9px!important;background:linear-gradient(180deg,#5a1411,#3f0d0b)!important;box-shadow:inset 0 0 0 2px #e8584c!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-close i{display:block;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M5 5l24 24M29 5L5 29' stroke='%23ff4a3d' stroke-width='7' stroke-linecap='square'/%3E%3C/svg%3E") center/contain no-repeat}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-compass{display:none}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-notes{position:static!important;display:block!important;width:auto!important;margin:0 10px!important;padding:0!important;pointer-events:none!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-notes>p{margin:0 0 4px!important;padding:5px 10px!important;border:1px solid #3a5a86!important;border-radius:6px!important;background:#0a1626!important;color:#e6efff!important;font:400 13px/18px Arial,sans-serif!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-frame{position:relative!important;left:auto!important;top:auto!important;box-sizing:border-box!important;width:calc(100% - 20px)!important;height:auto!important;max-width:none!important;aspect-ratio:var(--tm-w,192)/var(--tm-h,144);margin:6px 10px!important;padding:0!important;border:0!important;background:#0a1626!important;border-radius:6px!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-frame>img{position:absolute!important;left:0!important;top:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;image-rendering:pixelated!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-label{box-sizing:border-box!important;height:auto!important;margin:0!important;padding:0 5px!important;border:1px solid #44608a!important;border-radius:5px!important;background:#0a1626e6!important;color:#fff!important;font-family:"Courier New",ui-monospace,monospace!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important;text-shadow:none!important;box-shadow:none!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-label.active{border-color:#ffd24a!important;background:#1d3a64!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-back{display:none!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-info{position:relative!important;left:auto!important;top:auto!important;display:grid!important;grid-template-columns:96px minmax(0,1fr);gap:8px 12px;box-sizing:border-box!important;width:calc(100% - 20px)!important;height:auto!important;margin:0 10px!important;padding:12px!important;border:0!important;border-radius:10px!important;background:linear-gradient(180deg,#f4f5fa,#e4e7f1)!important;box-shadow:inset 0 0 0 3px #c8352c!important;color:#14233c!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-info>.town-map-photo{position:relative!important;left:auto!important;top:auto!important;display:block!important;width:96px!important;height:72px!important;margin:0!important;border:0!important;border-radius:4px!important;background-color:#9ec7e8!important;background-repeat:no-repeat!important;image-rendering:pixelated!important;box-shadow:0 0 0 2px #1d3b6e!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-info .tm-text{position:static;width:auto;height:auto;display:block}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-info .tm-text>strong{display:block;margin:0 0 4px;color:#14233c!important;font:700 20px/24px "Courier New",ui-monospace,monospace!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-info .tm-desc{margin:0;color:#4a5a78!important;font:400 14px/19px Arial,sans-serif!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-info .town-map-services-note{display:block;margin:6px 0 0;color:#7083a3!important;font:400 12px/16px Arial,sans-serif!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-info .tm-services{position:static;grid-column:1/-1;width:auto;height:auto;margin:0;padding:0;list-style:none;columns:2;column-gap:12px}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-info .tm-services li{display:flex;align-items:center;gap:8px;height:30px;margin:0;padding:0;color:#14233c!important;font:400 14px/30px Arial,sans-serif!important;white-space:nowrap}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-svc-icon{flex:0 0 22px;width:22px;height:22px;display:block;background:center/contain no-repeat}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-info .tm-side{position:static;grid-column:1/-1;width:auto;height:auto;max-height:200px;overflow:auto}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-enc{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:2px 0;outline:none}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-enc .tm-method h4{margin:0 0 2px;color:#c8352c;font:700 12px/16px Arial,sans-serif;letter-spacing:.05em;text-transform:uppercase}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-enc ul{margin:0;padding:0;list-style:none}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-enc li{display:grid;grid-template-columns:26px minmax(0,1fr) auto auto;align-items:center;gap:6px;height:26px;color:#14233c;font:400 13px/26px Arial,sans-serif}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-enc li img{width:26px;height:26px;image-rendering:pixelated;object-fit:contain}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-enc .tm-sp{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-enc .tm-lv{color:#4a5a78;font-size:12px}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-enc .tm-pct{min-width:38px;text-align:right;color:#2358bd;font-weight:700;font-size:12px}
body.mobile-web #modal#modal[data-view="townmap-v2"] .tm-enc .tm-none{margin:4px 0 0;color:#7083a3;font:400 14px/20px Arial,sans-serif}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-info>button{position:relative!important;left:auto!important;top:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;grid-column:1/-1;box-sizing:border-box!important;width:100%!important;height:46px!important;min-width:0!important;margin:0!important;padding:0 14px!important;gap:10px!important;border:0!important;border-radius:8px!important;background:linear-gradient(180deg,#3a82ee,#2358bd)!important;box-shadow:inset 0 0 0 2px #0f2f72,inset 0 0 0 4px #86b4f6!important;color:#fff!important;font:700 14px/1.1 Arial,sans-serif!important;letter-spacing:.04em!important;text-transform:uppercase!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-info>button:disabled{background:linear-gradient(180deg,#7d8aa3,#5d6a85)!important;color:#e5eaf3!important}
body.mobile-web #modal#modal[data-view="townmap-v2"] .town-map-hint{position:static!important;display:block!important;width:auto!important;height:auto!important;margin:6px 10px 0!important;padding:0!important;color:#ffd9d4!important;font:400 12px/16px Arial,sans-serif!important;text-align:center!important}
/* end mobile-web copy */

/* Work-ID 20261030-mockup-*; zenux, Trello 2026-10-30: "o mapa nao esta igual ao da imagem ... faca exatamente igual". The window's chrome is the mockup's OWN picture (ui/townmap/chrome.jpg: the red frame, the header with the logo and the
   window dots, the panel borders), with the live parts taken out of it; the live parts are drawn over it at the mockup's measured positions: the region title, the chart (Kanto: the mockup's own chart, kanto_mockup.jpg), the place
   panel's picture, name, sentence, services (the mockup's own icons) and the fly button (the mockup's own button, words drawn live). Controls keep their boxes in every state: hover / focus repaint an inset ring only (AGENTS.md). */
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map{background:#102338 url("../../assets/ui/townmap/chrome.jpg?v=1") 0 0/1470px 1070px no-repeat!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map::before,body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map::after{content:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-logo{opacity:0!important;pointer-events:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-switch{background:none!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-switch-title{font:700 28px/1 "Courier New",ui-monospace,monospace!important;letter-spacing:.04em!important;color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-arrow::before{opacity:0!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-arrow:is(:hover:not(:disabled),:focus-visible){background:#ffffff18!important;box-shadow:inset 0 0 0 2px #7fb2ff!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-close{background:none!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-close i{opacity:0!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-close:is(:hover,:focus-visible){background:#ffffff14!important;box-shadow:inset 0 0 0 3px #fff!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-tabs{visibility:hidden!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-hint{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-frame.painted .town-map-cursor,body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-frame.painted .town-map-here{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-frame.painted .town-map-hit{background:none!important;border:0!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-frame.painted .town-map-hit:is(:focus-visible,.pad-focus){box-shadow:inset 0 0 0 3px #ffd24a,0 0 12px #ffd24a99!important;outline:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-frame.painted .town-map-cell{background:none!important;border:0!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-frame.painted{top:130px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-frame.painted>img{image-rendering:auto!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-compass{background:url("../../assets/ui/townmap/compass.png") 0 0/96px 102px no-repeat!important;box-shadow:none!important;border:0!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-compass i,body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-compass b{display:none!important}
 /* the place panel */
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info{background:none!important;box-shadow:none!important;border-radius:0!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info>.town-map-photo{left:29px!important;top:24px!important;width:265px!important;height:153px!important;border:0!important;border-radius:6px!important;box-shadow:inset 0 0 0 2px #1a3578!important;background-repeat:no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-text{left:322px;top:16px;width:455px}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-text>strong{font:700 29px/40px "Courier New",ui-monospace,monospace!important;letter-spacing:-.05em!important;color:#101c34!important;margin:0 0 6px}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-desc{width:410px;margin-left:6px;color:#2b3547!important;font:400 18.5px/25.5px Arial,sans-serif!important;-webkit-line-clamp:4}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .town-map-services-note{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info::before{left:787px!important;top:20px!important;width:2px!important;height:155px!important;background:linear-gradient(180deg,#8d97ad,#6c7892 50%,#8d97ad)!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info::after{content:"";position:absolute;left:1083px;top:20px;width:2px;height:70px;background:linear-gradient(180deg,#8d97ad,#6c7892 50%,#8d97ad)}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info[data-kind="route"]::after{content:none}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-services{left:0!important;top:0!important;width:1414px!important;height:196px!important;columns:auto!important;pointer-events:none}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-services li{position:absolute!important;display:flex!important;align-items:center!important;gap:11px!important;height:48px!important;margin:0!important;color:#1d2a44!important;font:400 18.5px/48px Arial,sans-serif!important;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-services li:nth-child(1){left:812px;top:13px}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-services li:nth-child(2){left:812px;top:52px}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-services li:nth-child(3){left:812px;top:88px}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-services li:nth-child(4){left:812px;top:127px}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-services li:nth-child(5){left:1118px;top:14px;gap:14px!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-services li:nth-child(6){left:1118px;top:54px;gap:14px!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info .tm-services li:nth-child(5)::before{content:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .tm-svc-icon{flex:0 0 48px!important;width:48px!important;height:48px!important;background:center/48px 48px no-repeat!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .svc-center .tm-svc-icon{background-image:url("../../assets/ui/townmap/svc_center.png")!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .svc-mart .tm-svc-icon{background-image:url("../../assets/ui/townmap/svc_mart.png")!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .svc-gym .tm-svc-icon{background-image:url("../../assets/ui/townmap/svc_gym.png")!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .svc-port .tm-svc-icon{background-image:url("../../assets/ui/townmap/svc_port.png")!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .svc-auction .tm-svc-icon{background-image:url("../../assets/ui/townmap/svc_auction.png")!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .svc-events .tm-svc-icon{background-image:url("../../assets/ui/townmap/svc_events.png")!important}
 /* VOAR PARA ESTA CIDADE: the mockup's blue button, the words and the plane live */
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info>button{left:1072px!important;top:112px!important;width:319px!important;height:66px!important;gap:16px!important;padding:0 0 0 4px!important;border-radius:0!important;background:url("../../assets/ui/townmap/fly.png") 0 0/319px 66px no-repeat!important;box-shadow:none!important;font:400 17.5px/1.1 Arial,sans-serif!important;letter-spacing:.02em!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info>button:is(:hover:not(:disabled),:focus-visible,.pad-focus){background:url("../../assets/ui/townmap/fly.png") 0 0/319px 66px no-repeat!important;box-shadow:inset 0 0 0 3px #fff!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap-v2"] .town-map-info>button:disabled{background:url("../../assets/ui/townmap/fly.png") 0 0/319px 66px no-repeat!important;filter:grayscale(.85) brightness(.9);box-shadow:none!important;color:#e9edf5!important}
}



