/* The Pokemon inspection (mockup 04), the Wiki (16) and the Region map (08), laid out exactly like the mockups (Work-ID 20261018-reskin-c-redo-*; zenux: "do exactly like the images"), and the `sgx-*` header they
   share with the Pokedex. The first block is the paint of the windows' parts (frames, buttons, rows: the first version of batch C); the blocks after it re-lay the windows out as the mockups and win by order.
   The Bag, Pokedex, inspection and Wiki are drawn at --sgz (a zoom by the window's height, sgx block): zenux found the first redo too big. AGENTS.md "Absolute UI hover geometry": states repaint (colour, inset
   shadow); box, padding, border and font stay. */
@media screen and (min-width:901px){
 /* ---- the inspection ------------------------------------------------------------------------------------------------------------------------------------------------ */
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] #modal-body{padding:12px 16px!important;background:radial-gradient(ellipse at 50% 100%,#1f2942 0,#131928 48%,#060205 100%)!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] :is(.info-head,.info-namecard,.info-portrait,.info-item,.info-group,.info-panel){
  border:0!important;border-image:none!important;border-radius:4px!important;background:var(--sg-gems-quiet),var(--sg-surface)!important;box-shadow:var(--sg-frame-card)!important;
 }
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-title{color:var(--sg-gold-hi)!important;font-weight:700!important;letter-spacing:.14em!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-tab{
  border:0!important;border-image:none!important;border-radius:3px!important;background:linear-gradient(180deg,#171f32,#111724)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #29344d!important;
 }
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-tab:is(:hover:not(:disabled),:focus-visible,.pad-focus){background:linear-gradient(180deg,#212c46,#141b2a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold-lo)!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-tab.selected{background:linear-gradient(180deg,#ac363a,#1f2a42)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #d28071,inset 0 -3px 0 var(--sg-gold),0 0 12px #c44c4555!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-name{color:#fff!important;font-weight:700!important;letter-spacing:.04em!important;text-transform:uppercase!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-group-title,body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-label,body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-addon-heading{
  border:0!important;border-image:none!important;background:transparent!important;box-shadow:0 1px 0 #1f273a!important;color:var(--sg-gold-hi)!important;font-weight:700!important;letter-spacing:.12em!important;
 }
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] :is(.info-table>*,.info-stat,.info-box,.info-move,.info-move-detail,.info-ability,.info-ev-line,.info-pool-line,.info-skill-foot>*){
  border-color:#1f273a!important;border-image:none!important;background-color:#111724!important;color:var(--sg-text)!important;
 }
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-item-body strong{color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] #modal-body button:not(.info-tab){
  border:0!important;border-image:none!important;border-radius:3px!important;background:linear-gradient(180deg,#171f32,#111724)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #af373a!important;color:var(--sg-text)!important;font-weight:700!important;letter-spacing:.06em!important;
 }
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] #modal-body button:not(.info-tab):is(:hover:not(:disabled),:focus-visible,.pad-focus){background:linear-gradient(180deg,#212c46,#141b2a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold),0 0 10px #f3c96b44!important;color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] #modal-body button:disabled{opacity:.55!important}

 /* ---- the Wiki --------------------------------------------------------------------------------------------------------------------------------------------------------- */
 body:not(.mobile-web) #modal#modal[data-view="help"] #modal-body{padding:14px 18px!important;background:radial-gradient(ellipse at 50% 100%,#1f2942 0,#131928 48%,#060205 100%)!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-search-wrap{border:0!important;border-image:none!important;border-radius:4px!important;background:var(--sg-surface)!important;box-shadow:var(--sg-frame-soft)!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-search{border:0!important;border-image:none!important;background:transparent!important;box-shadow:none!important;color:var(--sg-text)!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] :is(.wk-back,.wk-tab,.wk-chip,.wk-more,.wk-toggle){
  border:0!important;border-image:none!important;border-radius:3px!important;background:linear-gradient(180deg,#171f32,#111724)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #29344d!important;color:var(--sg-text)!important;font-weight:700!important;letter-spacing:.08em!important;
 }
 body:not(.mobile-web) #modal#modal[data-view="help"] :is(.wk-back,.wk-tab,.wk-chip,.wk-more,.wk-toggle):is(:hover:not(:disabled),:focus-visible,.pad-focus){background:linear-gradient(180deg,#212c46,#141b2a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold-lo)!important;color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] :is(.wk-tab,.wk-chip).selected{background:linear-gradient(180deg,#ac363a,#1f2a42)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold),0 0 12px #c44c4555!important;color:var(--sg-gold-hi)!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-row{
  border:0!important;border-image:none!important;border-radius:3px!important;background:linear-gradient(180deg,#161d2e,#09040a)!important;box-shadow:var(--sg-frame-soft)!important;color:var(--sg-text)!important;
 }
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-row:is(:hover:not(:disabled),:focus-visible,.pad-focus){background:linear-gradient(180deg,#1b2439,#121826)!important;box-shadow:var(--sg-frame)!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] :is(.wk-body,.wk-list){border:0!important;border-image:none!important;background:transparent!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .help-grid>div,body:not(.mobile-web) #modal#modal[data-view="help"] .wk-card{
  border:0!important;border-image:none!important;border-radius:4px!important;background:var(--sg-gems-quiet),var(--sg-surface)!important;box-shadow:var(--sg-frame-card)!important;color:var(--sg-text)!important;
 }
 body:not(.mobile-web) #modal#modal[data-view="help"] .help-grid h3{color:var(--sg-gold-hi)!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-name strong{color:#fff!important;letter-spacing:.04em!important}

 /* ---- the Region map --------------------------------------------------------------------------------------------------------------------------------------------- */
 body:not(.mobile-web) #modal#modal[data-view="townmap"] #modal-body{padding:14px 18px!important;background:radial-gradient(ellipse at 50% 100%,#1f2942 0,#131928 48%,#060205 100%)!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-tabs>button{
  border:0!important;border-image:none!important;border-radius:3px!important;background:linear-gradient(180deg,#171f32,#111724)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #29344d!important;color:var(--sg-text)!important;font-weight:700!important;letter-spacing:.08em!important;
 }
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-tabs>button:is(:hover:not(:disabled),:focus-visible,.pad-focus){background:linear-gradient(180deg,#212c46,#141b2a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold-lo)!important;color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-tabs>button.selected{background:linear-gradient(180deg,#ac363a,#1f2a42)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold),0 0 12px #c44c4555!important;color:var(--sg-gold-hi)!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-frame{border:0!important;border-image:none!important;border-radius:4px!important;box-shadow:var(--sg-frame-card)!important;background:#050205!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-label{
  border:0!important;border-image:none!important;border-radius:3px!important;background:linear-gradient(180deg,#171f32,#111724)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #5c3639!important;color:var(--sg-text)!important;
 }
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-label:is(:hover:not(:disabled),:focus-visible,.pad-focus,.active){background:linear-gradient(180deg,#ac363a,#1f2a42)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold),0 0 10px #f3c96b55!important;color:var(--sg-gold-hi)!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info{border:0!important;border-image:none!important;border-radius:4px!important;background:var(--sg-gems-quiet),var(--sg-surface)!important;box-shadow:var(--sg-frame-card)!important;color:var(--sg-text)!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info>strong{color:var(--sg-gold-hi)!important;font:700 24px/30px Georgia,"Times New Roman",serif!important;letter-spacing:.04em!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info button{
  border:0!important;border-image:none!important;border-radius:4px!important;background:linear-gradient(180deg,#bc3d3b,#222b40)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold),0 0 14px #c44c4566!important;color:#fff!important;font-weight:700!important;letter-spacing:.1em!important;text-transform:uppercase!important;
 }
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info button:is(:hover:not(:disabled),:focus-visible,.pad-focus){background:linear-gradient(180deg,#c44c45,#ac363a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold-hi),0 0 18px #cf766699!important}
}

/* ---- the header the redone windows draw inside their sheet (sheet_head.js): emblem, a small line, the title, an icon; the window's own header is hidden by each window's own rules ---- */
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal:is([data-view="ai"][data-ai-mode="arena"],[data-view="bag"],[data-view="dex"],[data-view="pokemon"],[data-view="help"],[data-view="townmap"]) :is(.sgx-head,.sgx-close){box-sizing:border-box}
 body:not(.mobile-web) #modal#modal:is([data-view="ai"][data-ai-mode="arena"],[data-view="bag"],[data-view="dex"],[data-view="pokemon"],[data-view="help"],[data-view="townmap"]) .sgx-head{display:flex!important;align-items:center;gap:18px;height:112px;margin:0 -22px;padding:0 120px 0 22px;min-width:0;
  background:var(--sg-emblem) 22px 12px/84px 94px no-repeat,linear-gradient(90deg,#111724 calc(100% - 700px),#11172400 calc(100% - 360px)),var(--sg-head-art) right center/700px 100% no-repeat,linear-gradient(180deg,#182134,#111724);box-shadow:inset 0 -2px 0 #5c3639}
 body:not(.mobile-web) #modal#modal:is([data-view="ai"][data-ai-mode="arena"],[data-view="bag"],[data-view="dex"],[data-view="pokemon"],[data-view="help"],[data-view="townmap"]) .sgx-emblem{flex:0 0 96px;height:90px}
 body:not(.mobile-web) #modal#modal:is([data-view="ai"][data-ai-mode="arena"],[data-view="bag"],[data-view="dex"],[data-view="pokemon"],[data-view="help"],[data-view="townmap"]) .sgx-icon{flex:0 0 64px;height:64px;background:var(--sgx-ic) center/contain no-repeat}
 body:not(.mobile-web) #modal#modal:is([data-view="ai"][data-ai-mode="arena"],[data-view="bag"],[data-view="dex"],[data-view="pokemon"],[data-view="help"],[data-view="townmap"]) .sgx-icon-dex{--sgx-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='2' width='16' height='20' rx='2' fill='%23c8901f'/%3E%3Crect x='6' y='4' width='12' height='16' rx='1' fill='%23140509'/%3E%3Ccircle cx='12' cy='12' r='4.2' fill='%23f6ece8'/%3E%3Cpath d='M7.8 12a4.2 4.2 0 0 1 8.4 0z' fill='%23d4172f'/%3E%3Ccircle cx='12' cy='12' r='1.4' fill='%23140509'/%3E%3C/svg%3E")}
 body:not(.mobile-web) #modal#modal:is([data-view="ai"][data-ai-mode="arena"],[data-view="bag"],[data-view="dex"],[data-view="pokemon"],[data-view="help"],[data-view="townmap"]) .sgx-titles{display:grid;gap:0;min-width:0}
 body:not(.mobile-web) #modal#modal:is([data-view="ai"][data-ai-mode="arena"],[data-view="bag"],[data-view="dex"],[data-view="pokemon"],[data-view="help"],[data-view="townmap"]) .sgx-eyebrow{color:#e8c47a;font:700 15px/20px Arial,sans-serif;letter-spacing:.24em;text-transform:uppercase}
 body:not(.mobile-web) #modal#modal:is([data-view="ai"][data-ai-mode="arena"],[data-view="bag"],[data-view="dex"],[data-view="pokemon"],[data-view="help"],[data-view="townmap"]) .sgx-title{color:#f6e3b4;font:700 54px/58px Georgia,"Times New Roman",serif;letter-spacing:.02em;text-transform:uppercase;text-shadow:0 3px 0 #1e2840,0 0 16px #73444855;white-space:nowrap}
 body:not(.mobile-web) #modal#modal:is([data-view="ai"][data-ai-mode="arena"],[data-view="bag"],[data-view="dex"],[data-view="pokemon"],[data-view="help"],[data-view="townmap"]) .sgx-close{display:grid!important;place-items:center;position:absolute;right:30px;top:24px;z-index:5;width:66px;height:66px;padding:0!important;border:0!important;border-radius:4px!important;background:linear-gradient(180deg,#1a2338,#111724)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 3px #6c3f43,0 0 14px #673c4055!important;color:#ce7363!important;font:900 34px/1 Arial,sans-serif!important}
 body:not(.mobile-web) #modal#modal:is([data-view="ai"][data-ai-mode="arena"],[data-view="bag"],[data-view="dex"],[data-view="pokemon"],[data-view="help"],[data-view="townmap"]) .sgx-close:is(:hover,:focus-visible,.pad-focus){background:linear-gradient(180deg,#232e4a,#141a2a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 3px var(--sg-gold),0 0 16px #f3c96b55!important;color:#fff!important}
}
/* the scale of the four dense windows (Bag, Pokedex, inspection, Wiki): one zoom, by the window's height (zenux: "zoom muito proximo": the first version drew them at 1.25x of what fits one screen) */
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal:is([data-view="ai"][data-ai-mode="arena"],[data-view="bag"],[data-view="dex"],[data-view="pokemon"],[data-view="townmap"]){--sgz:.85}
}
@media screen and (min-width:901px) and (max-height:953px){ body:not(.mobile-web) #modal#modal:is([data-view="ai"][data-ai-mode="arena"],[data-view="bag"],[data-view="dex"],[data-view="pokemon"],[data-view="townmap"]){--sgz:.8} }
@media screen and (min-width:901px) and (max-height:889px){ body:not(.mobile-web) #modal#modal:is([data-view="ai"][data-ai-mode="arena"],[data-view="bag"],[data-view="dex"],[data-view="pokemon"],[data-view="townmap"]){--sgz:.75} }
@media screen and (min-width:901px) and (max-height:829px){ body:not(.mobile-web) #modal#modal:is([data-view="ai"][data-ai-mode="arena"],[data-view="bag"],[data-view="dex"],[data-view="pokemon"],[data-view="townmap"]){--sgz:.7} }
@media screen and (min-width:901px) and (max-height:769px){ body:not(.mobile-web) #modal#modal:is([data-view="ai"][data-ai-mode="arena"],[data-view="bag"],[data-view="dex"],[data-view="pokemon"],[data-view="townmap"]){--sgz:.66} }
@media screen and (min-width:901px) and (max-height:719px){ body:not(.mobile-web) #modal#modal:is([data-view="ai"][data-ai-mode="arena"],[data-view="bag"],[data-view="dex"],[data-view="pokemon"],[data-view="townmap"]){--sgz:.6} }

/* ---- the Pokemon inspection (mockup 04-inspecao-pokemon): the window's own header is hidden and the sheet draws its own (sgx-*); three columns: the Pokemon (name card, portrait with the red arrows, ADDON, ITEM), the
   seven tabs over the page, INFORMACOES DO TREINADOR; the commands of the footer as one row of big buttons. The IVs / EVs page is the mockup's: the two tiles, the six rows (icon, name, value over its bar, IV, EV, +). ---- */
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="pokemon"]{--ic-heart:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21C4 14 3 9 3 7a4.5 4.5 0 0 1 9-1 4.5 4.5 0 0 1 9 1c0 2-1 7-9 14z'/%3E%3C/svg%3E");
  --ic-sword:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19L19 5M14 5h5v5M5 19l-2 2M7 13l4 4'/%3E%3C/svg%3E");
  --ic-shield:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-4 8-8 9-4-1-8-4-8-9V6z'/%3E%3C/svg%3E");
  --ic-spark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2 6 6 2-6 2-2 6-2-6-6-2 6-2z'/%3E%3C/svg%3E");
  --ic-bolt:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L5 14h6l-1 8 8-12h-6z'/%3E%3C/svg%3E");
  --ic-people:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.4'/%3E%3Ccircle cx='17' cy='9' r='2.6'/%3E%3Cpath d='M2 20c0-4 3-6 7-6s7 2 7 6M16 14c3 0 6 1 6 5'/%3E%3C/svg%3E");
  --ic-info:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M12 11v6M12 7v1.5' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --ic-star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 7 7 .6-5.3 4.7 1.6 7.2L12 17.8 5.7 21.5l1.6-7.2L2 9.6 9 9z' fill='%23000'/%3E%3C/svg%3E");
  --ic-lock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
  width:min(1660px,98vw)!important;height:min(940px,calc(100dvh - 14px))!important;max-height:none!important;--shutdown-window-width:min(1660px,98vw);--shutdown-window-height:min(940px,calc(100dvh - 14px))}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"]>.modal-header{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] #modal-body{height:100%!important;padding:0!important;overflow:hidden!important;background:radial-gradient(ellipse at 50% 100%,#1a2337 0,#111724 52%,#040104 100%)!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .pokemon-info{position:relative;display:grid!important;grid-template-columns:392px minmax(0,1fr) 352px!important;grid-template-rows:auto 60px minmax(0,1fr) auto!important;gap:12px 14px!important;zoom:var(--sgz,.85);height:calc(100% / var(--sgz,.85))!important;max-width:none!important;padding:0 22px 14px!important;box-sizing:border-box;color:var(--sg-text)}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .pokemon-info>.sgx-head{grid-column:1 / -1;grid-row:1}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-head{display:contents!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-title{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-grid{display:contents!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-tabs{grid-column:2 / 4;grid-row:2;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important;align-self:stretch;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-tab{position:relative;box-sizing:border-box!important;display:flex!important;align-items:center;justify-content:center;gap:7px;flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;height:100%!important;min-height:0!important;max-height:none!important;padding:0 8px!important;overflow:hidden;border-radius:4px!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-tab-art{display:block!important;flex:0 0 24px;width:24px!important;height:24px!important;object-fit:contain;image-rendering:pixelated}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-tab-label{display:block!important;min-width:0;color:#fff;font:700 15px/20px Arial,sans-serif;letter-spacing:0;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-tab.selected .info-tab-label{color:#ffe5a8}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-tab-dot{right:8px;top:8px}
 /* the left column */
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-side{grid-column:1;grid-row:2 / 4;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:12px!important;min-height:0;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:visible}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-namecard{padding:12px 16px!important;min-width:0}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-name-row{display:flex!important;align-items:center;gap:12px;flex-wrap:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-name-row .bag-icon{width:48px!important;height:48px!important;min-width:48px;border-radius:50%!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 3px #d9a233!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-name{flex:0 1 auto;min-width:0;color:#fff!important;font:700 30px/34px Arial,sans-serif!important;letter-spacing:.02em!important;text-transform:uppercase!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-shiny{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-shiny-badge{display:inline-grid!important;place-items:center;height:30px;margin-left:8px;padding:0 14px;border-radius:15px;background:#2a1a5a;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #7a60d8;color:#fff;font:700 14px/18px Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-rename{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-gender{font-size:20px}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-level-row{display:flex!important;align-items:center;justify-content:space-between;margin-top:6px}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-level{color:#fff;font:400 26px/30px Arial,sans-serif}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-level b{font-weight:400}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-steps{display:flex;gap:8px}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-step{width:42px;height:34px;padding:0!important;font-size:18px!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-portrait{display:grid!important;grid-template-rows:minmax(0,1fr) auto auto;min-height:0;padding:12px!important;overflow:hidden}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-addon-stage{position:relative;display:grid;place-items:center;min-height:0;background:radial-gradient(circle at 50% 54%,#202a43 0,#141b2b 60%,#0d111c00 61%),repeating-conic-gradient(from 0deg at 50% 54%,#232c41 0 2deg,#0d111c00 2deg 12deg)}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-pokemon-art{position:relative;height:86%!important;width:auto!important;max-width:86%!important;max-height:none!important;aspect-ratio:116/96;object-fit:contain;image-rendering:pixelated}
 /* feature:inspect-fit (Work-ID 20261019-inspect-fit-2a78): the portrait is cropped to its real bounds (portrait_fit.js: object-view-box) and scaled to fill the stage, centred, never bottom-anchored or overflowing */
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-addon-stage>img.info-pokemon-art.partner-sprite{position:absolute!important;inset:5% 5% 5% 5%!important;width:90%!important;height:90%!important;max-width:none!important;max-height:none!important;margin:auto!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center center!important;image-rendering:pixelated!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-addon-heading{position:absolute!important;left:0;bottom:-2px;top:auto!important;color:#fff!important;font:700 17px/20px Arial,sans-serif!important;letter-spacing:.04em!important;text-transform:uppercase}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-addon-arrow{position:absolute!important;top:50%!important;width:48px!important;height:52px!important;margin-top:-26px;padding:0!important;font-size:22px!important;color:#ce7363!important;background:linear-gradient(180deg,#1a2338,#111724)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 3px #6c3f43!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-addon-prev{left:2px!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-addon-next{right:2px!important;left:auto!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-addon-caption{display:flex!important;align-items:center;gap:10px;margin-top:22px;padding:10px 14px;border-radius:4px;background:#111724;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #202b44;color:#ece9e3;font:400 16px/20px Arial,sans-serif;text-align:center}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-addon-label{flex:1;text-align:center}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-addon-use-row{display:grid;margin-top:8px}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-addon-action{height:40px!important;font:700 17px/20px Arial,sans-serif!important;letter-spacing:.05em!important;text-transform:uppercase!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-item{padding:12px 16px!important;min-width:0}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-item>.info-label{display:block;margin-bottom:6px;color:#fff!important;font:700 17px/20px Arial,sans-serif!important;letter-spacing:.04em!important;text-transform:uppercase;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-item-body{display:grid!important;grid-template-columns:70px minmax(0,1fr);gap:14px;align-items:center;padding:10px;border-radius:4px;background:#111724;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #202b44}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-item-body strong{display:block;color:#fff!important;font:700 22px/26px Arial,sans-serif!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-item-body p{margin:2px 0 0;color:var(--sg-muted);font:400 15px/19px Arial,sans-serif}
 /* the page and the trainer panel */
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-main{grid-column:2;grid-row:3;min-height:0;min-width:0;display:block!important;padding:12px!important;border:0!important;border-radius:5px!important;background:var(--sg-gems-quiet),var(--sg-surface)!important;box-shadow:var(--sg-frame-card)!important;overflow:hidden}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-panel{height:100%;min-height:0;overflow:hidden;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-panel-skills:not(.hidden){display:grid!important;grid-template-rows:auto minmax(0,1fr) auto;gap:10px}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-panel-skills .info-stats{min-height:0}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-panel.hidden{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-trainer-side{grid-column:3;grid-row:3;display:grid!important;grid-template-rows:auto repeat(5,minmax(0,1fr));gap:0;min-height:0;padding:0!important;border-radius:5px;background:var(--sg-gems-quiet),var(--sg-surface);box-shadow:var(--sg-frame-card);overflow:hidden}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-trainer-title{display:flex;align-items:center;height:62px;padding:0 20px;color:#ece9e3;font:700 19px/22px Arial,sans-serif;letter-spacing:.03em;text-transform:uppercase;border-bottom:1px solid #202b44}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-trainer-row{position:relative;display:grid;align-content:center;gap:2px;padding:0 20px 0 74px;border-bottom:1px solid #1b243a;min-width:0}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-trainer-row::before{content:"";position:absolute;left:20px;top:50%;width:36px;height:36px;margin-top:-18px;background:#b9a7ac;-webkit-mask:var(--ti) center/contain no-repeat;mask:var(--ti) center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-trainer-row.trainer{--ti:var(--ic-people)}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-trainer-row.id{--ti:var(--ic-info)}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-trainer-row.nature{--ti:var(--ic-spark)}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-trainer-row.ability{--ti:var(--ic-shield)}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-trainer-row.friend{--ti:var(--ic-heart);border-bottom:0}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-trainer-row small{color:#d8c4c8;font:400 15px/18px Arial,sans-serif;letter-spacing:.02em;text-transform:uppercase}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-trainer-row>span,body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-trainer-row .nature-line{color:#fff;font:400 22px/26px Arial,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-trainer-row.nature .nature-effect{display:block;font-size:14px;line-height:18px}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-trainer-row.friend>span{position:absolute;right:20px;top:18px;font-size:20px}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-friend-bar{height:12px;margin-top:6px;border-radius:6px;background:#131928;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #202b44;overflow:hidden}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-friend-bar>i{display:block;height:100%;background:linear-gradient(90deg,#c44c45,#d38375)}
 /* the IVs / EVs page */
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-tiles{display:grid!important;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:12px}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-tile{position:relative;display:grid;align-content:center;gap:2px;height:92px;padding:0 20px 0 100px;border-radius:5px;background:var(--sg-gems-quiet),var(--sg-surface);box-shadow:var(--sg-frame-card)}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-tile::before{content:"";position:absolute;left:22px;top:50%;width:58px;height:58px;margin-top:-29px;clip-path:polygon(25% 3%,75% 3%,100% 50%,75% 97%,25% 97%,0 50%);background:#d9a233;box-shadow:inset 0 0 0 4px #161d2f}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-tile.ev::before{background:#c8901f}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-tile strong{color:#fff;font:700 34px/38px Arial,sans-serif}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-tile strong b{font-weight:700}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-tile small{color:#e8c47a;font:400 17px/20px Arial,sans-serif}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-stats{display:grid!important;grid-template-rows:repeat(6,minmax(0,1fr));gap:0;padding:0!important;border:0!important;background:none!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #5c3639;border-radius:5px;overflow:hidden}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-stat{display:grid!important;grid-template-columns:62px 180px minmax(0,1fr) 112px 112px 96px;grid-template-rows:auto auto;grid-template-areas:"ic name val iv ev btn" "ic name bar iv ev btn";align-items:center;column-gap:12px;min-height:0;padding:0 14px 0 12px!important;border:0!important;border-top:1px solid #1b243a!important;border-image:none!important;border-radius:0!important;background:linear-gradient(180deg,#121927,#07040a)!important;box-shadow:none!important;color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-stat:first-child{border-top:0!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-stat::before{content:"";grid-area:ic;width:46px;height:46px;border-radius:50%;background:#131928;box-shadow:inset 0 0 0 2px var(--sc,#33e883);-webkit-mask:none;mask:none}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-stat::after{content:"";grid-area:ic;justify-self:center;align-self:center;width:24px;height:24px;background:var(--sc,#33e883);-webkit-mask:var(--si) center/contain no-repeat;mask:var(--si) center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-stat:nth-child(1){--sc:#33e883;--si:var(--ic-heart)}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-stat:nth-child(2){--sc:#ffb13a;--si:var(--ic-sword)}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-stat:nth-child(3){--sc:#ffd13a;--si:var(--ic-shield)}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-stat:nth-child(4){--sc:#5ab0ff;--si:var(--ic-spark)}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-stat:nth-child(5){--sc:#a45fe6;--si:var(--ic-shield)}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-stat:nth-child(6){--sc:#ff6ac0;--si:var(--ic-bolt)}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-stat-name{grid-area:name;color:#fff!important;font:700 20px/24px Arial,sans-serif!important;letter-spacing:.02em!important;text-transform:uppercase!important;background:none!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-stat-value{grid-area:val;color:#fff!important;font:400 22px/26px Arial,sans-serif!important;align-self:end}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-statbar{grid-area:bar;display:block!important;height:12px;border-radius:6px;background:#131928;box-shadow:inset 0 0 0 1px #0d111c;overflow:hidden;align-self:start;margin-top:4px}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-statbar>i{display:block;height:100%;border-radius:6px;background:var(--sc)}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-stat-train{display:contents!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-iv,body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-ev{display:grid!important;place-items:center;height:48px;border-radius:5px;background:#08040a!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #1f273a!important;color:#fff!important;font:400 20px/24px Arial,sans-serif!important;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-iv{grid-area:iv}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-ev{grid-area:ev}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-ev-track,body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-hp{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-train-buttons{grid-area:btn;display:flex!important;gap:8px;justify-content:center}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-minus.idle{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-plus,body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-minus{width:48px!important;height:48px!important;padding:0!important;font:400 28px/1 Arial,sans-serif!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-plus{color:#fff!important;background:linear-gradient(180deg,#1a2338,#111724)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 3px #6c3f43!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-skill-foot{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:6px 18px;padding:4px 6px 0!important;border:0!important;background:none!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-skill-foot>*{min-width:0;margin:0!important;font-size:14px!important;line-height:18px!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-skill-foot .mini-note{grid-column:1 / -1;text-align:center}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-skill-foot .info-reset,body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-skill-foot .info-confirm-actions{height:34px!important;min-height:34px!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-skill-foot .info-confirm{grid-column:1 / -1}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-pool-caps{display:none!important}
 /* the other pages keep their tables, in the same frame */
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-ability-card{display:grid;gap:6px;padding:26px 30px;border-radius:5px;background:linear-gradient(180deg,#121927,#07040a);box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #1f273a}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-ability-card strong{color:#ffd982;font:700 34px/40px Georgia,"Times New Roman",serif}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-evo-list{display:grid;gap:10px}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-evo-line{display:flex;align-items:center;gap:18px;padding:10px 18px;border-radius:5px;background:linear-gradient(180deg,#121927,#07040a);box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #1f273a;color:#fff}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-evo-line img{width:84px;height:84px;object-fit:contain;image-rendering:pixelated}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-evo-line strong{font:700 24px/28px Arial,sans-serif}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-empty{display:grid;place-items:center;gap:6px;min-height:200px;color:var(--sg-muted)}
 /* the footer: one row of big buttons */
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-foot{grid-column:1 / -1;grid-row:4;flex:none!important;height:auto!important;max-height:none!important;display:flex!important;align-items:stretch;gap:14px;min-height:0;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-foot-actions{flex:1 1 100%!important;width:100%!important;max-width:none!important;min-width:0!important;position:static!important;grid-column:auto!important;grid-row:auto!important;margin:0!important;display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(0,260px);justify-content:start;gap:14px;padding:0!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-foot-actions>:last-child{order:-1}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-foot-actions button,body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-foot-actions .command-button{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;width:100%!important;max-width:none!important;height:100px!important;min-height:100px!important;padding:0 10px 14px!important;border:0!important;border-image:none!important;border-radius:4px!important;background:var(--sg-gems),linear-gradient(180deg,#161d2e,#09040a)!important;box-shadow:var(--sg-frame)!important;color:#fff!important;font:700 17px/20px Arial,sans-serif!important;letter-spacing:.02em!important;text-transform:uppercase!important;white-space:normal;text-align:center}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-foot-actions button::before{content:"";width:40px;height:40px;background:#f0b020;-webkit-mask:var(--fi,var(--ic-star)) center/contain no-repeat;mask:var(--fi,var(--ic-star)) center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-foot-actions button:last-child{--fi:var(--ic-people)}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-foot-actions button:is(:hover:not(:disabled),:focus-visible,.pad-focus){background:var(--sg-gems),linear-gradient(180deg,#1c253c,#121826)!important;box-shadow:var(--sg-frame),inset 0 0 0 3px var(--sg-gold)!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-foot-actions button:disabled,body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-foot-actions .is-disabled{opacity:.5!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-evo{flex:1.4;display:flex;align-items:center;gap:14px;padding:8px 16px;border-radius:5px;background:var(--sg-gems-quiet),var(--sg-surface);box-shadow:var(--sg-frame-card)}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-evo img{width:70px;height:70px;object-fit:contain;image-rendering:pixelated}
}
@media screen and (min-width:901px){
 /* the summary, memo and moves pages: bigger type in the same frame */
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-panel :is(.info-label,.info-value,.info-facts dt,.info-facts dd,.info-group-title){font-size:17px!important;line-height:22px!important}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-panel .info-row{min-height:44px}
 body:not(.mobile-web) #modal#modal[data-view="pokemon"] .info-panel .info-box strong{font-size:22px!important}
}

/* ---- the Wiki (mockup 16-wiki), redone exactly: the window's own header is hidden and the sheet draws its own (sgx-*: emblem, POKE SHADOWGARDEN, WIKI, a Pokedex shortcut and the close button); a left rail; the
   search bar and Voltar; six tabs with their icons; the region and type chips with their round icons; the count bar; the rows (sprite, number, name and region line, the type pills, the gold pills, a chevron). ---- */
@media screen and (min-width:901px){
 /* The Wiki is a dialog in its mockup (16-wiki: 1141 x 653 at 1x): its size is that times the shared UI factor (ui_scale.js: --win-s, --win-wpx, --win-hpx; Work-ID 20261019-ui-scale-7ff3) and its content is drawn at
    .585 of that factor (the sheet below is laid out on a canvas 1953 px wide: 1141 / 1953). */
 body:not(.mobile-web) #modal#modal[data-view="help"]{--sgz:calc(.585 * var(--win-s,1))!important}
 body:not(.mobile-web) #modal#modal[data-view="help"]{--ic-ball:radial-gradient(circle at 50% 50%,#f3f0ea 0 9%,#111724 10% 16%,#0d111c00 17%),linear-gradient(180deg,#c44c45 0 46%,#111724 46% 54%,#f3f0ea 54%);
  width:var(--win-wpx,1141px)!important;height:var(--win-hpx,653px)!important;max-height:none!important;--shutdown-window-width:var(--win-wpx,1141px);--shutdown-window-height:var(--win-hpx,653px)}
 body:not(.mobile-web) #modal#modal[data-view="help"]>.modal-header{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] #modal-body{height:100%!important;max-height:none!important;padding:0!important;overflow:hidden!important;background:radial-gradient(ellipse at 50% 100%,#1a2337 0,#111724 52%,#040104 100%)!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-root{position:relative;display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;grid-template-rows:112px 56px 56px minmax(0,1fr)!important;gap:12px 0!important;zoom:var(--sgz,.85);height:calc((var(--win-hpx,653px) - 26px) / var(--sgz,.85))!important;padding:0 28px 18px 0!important;box-sizing:border-box;overflow:hidden}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-root>.sgx-head{grid-column:1 / -1;grid-row:1;margin:0;padding-left:30px}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-root::before{content:"";grid-column:1;grid-row:2 / 5;justify-self:center;align-self:stretch;width:64px;margin:0 0 0 0;background:radial-gradient(circle at 50% 34px,#c44c45 0 6px,#111724 7px 13px,#c44c45 14px 18px,#111724 19px 23px,#f3f0ea 24px 29px,#0d111c00 30px),linear-gradient(180deg,#0d111c00 0,#0d111c00 100%);border-radius:30px;box-shadow:inset 0 0 0 2px #202b44}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-top{grid-column:2;grid-row:2;display:grid!important;grid-template-columns:minmax(0,1fr) 200px;gap:16px;align-items:center}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-search-wrap{height:56px!important;padding:0 18px!important;gap:14px!important;border:0!important;border-radius:4px!important;background:#08040a!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #29344d!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-search-wrap .wk-ico{width:30px!important;height:30px!important;filter:brightness(2)}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-search{height:100%!important;color:#fff!important;font:400 19px/24px Arial,sans-serif!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-top .wk-back{width:200px!important;min-width:200px!important;max-width:200px!important;height:56px!important;flex:none!important;font:700 19px/24px Arial,sans-serif!important;letter-spacing:.04em!important;text-transform:uppercase!important;border:0!important;border-image:none!important;border-radius:4px!important;background:linear-gradient(180deg,#171f32,#111724)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #d9a233!important;color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-top .wk-back:is(:hover:not(:disabled),:focus-visible,.pad-focus){background:linear-gradient(180deg,#212c46,#141b2a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold-hi),0 0 12px #f3c96b55!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-tabs{grid-column:2;grid-row:3;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important;align-items:stretch}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-tabs .wk-tab{display:flex!important;align-items:center;justify-content:center;gap:14px;height:100%!important;padding:0 10px!important;border:0!important;border-image:none!important;border-radius:4px!important;background:linear-gradient(180deg,#171f32,#111724)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #5c3639!important;color:#fff!important;font:700 19px/24px Arial,sans-serif!important;letter-spacing:.04em!important;text-transform:uppercase!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-tabs .wk-tab .wk-tab-ico{width:34px!important;height:34px!important;filter:brightness(1.6) saturate(1.2)}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-tabs .wk-tab:is(:hover:not(:disabled),:focus-visible,.pad-focus){background:linear-gradient(180deg,#212c46,#141b2a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #d28071!important;color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-tabs .wk-tab.selected{background:linear-gradient(180deg,#242d42,#192135)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 3px #f3c96b,0 0 14px #f3c96b66!important;color:#ffe5a8!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-body{grid-column:2;grid-row:4;max-height:none!important;min-height:0!important;padding:0!important;overflow:hidden auto!important}
 /* the tabs with chips: chips fixed, the list scrolls inside its frame */
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-body>div:has(>.wk-chips){display:flex;flex-direction:column;height:100%;min-height:0;gap:10px}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-body>div:has(>.wk-chips)>.wk-list{flex:1 1 auto;min-height:0;overflow:auto;padding:8px 10px 8px 8px!important;border-radius:5px;background:var(--sg-gems-quiet),var(--sg-surface);box-shadow:var(--sg-frame-card)}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-body>div:has(>.wk-chips)>:is(.wk-count,.wk-note,.wk-more){flex:none}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chips{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin:0!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chips .wk-chip{position:relative;display:flex!important;align-items:center;gap:10px;height:42px!important;min-width:0!important;max-width:none!important;padding:0 16px 0 12px!important;border:0!important;border-image:none!important;border-radius:4px!important;background:linear-gradient(180deg,#161d2e,#08040a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #252e44!important;color:#fff!important;font:700 14px/18px Arial,sans-serif!important;letter-spacing:.03em!important;text-transform:uppercase!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chips .wk-chip::before{content:"";flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:var(--tc,var(--ic-ball));box-shadow:inset 0 0 0 2px #0d111c88,0 0 0 2px #0d111c}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chips .wk-chip[data-region]::before{background:var(--ic-ball)}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chips .wk-chip:is(:hover:not(:disabled),:focus-visible,.pad-focus){background:linear-gradient(180deg,#1c253c,#121826)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #c85c51!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chips .wk-chip.selected{background:linear-gradient(180deg,#1f2942,#141b2b)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 3px #f3c96b,0 0 14px #f3c96b66!important;color:#ffe5a8!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-count{display:flex;align-items:center;gap:12px;height:44px;margin:0!important;padding:0 18px!important;border-radius:4px;background:linear-gradient(180deg,#141a2a,#08040a);box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #202b44;color:#ece9e3!important;font:400 16px/20px Arial,sans-serif!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-count::before{content:"";flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:var(--ic-ball);box-shadow:0 0 0 2px #0d111c,0 0 0 3px #5c3639}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-count .wk-short{display:none}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-count .wk-long{display:inline!important}
 /* the rows */
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-list{gap:8px!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-list .wk-row{height:64px!important;min-height:64px!important;max-height:64px!important;padding:0 16px 0 10px!important;gap:16px!important;border:0!important;border-image:none!important;border-radius:4px!important;background:linear-gradient(180deg,#151c2c,#07040a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #1f273a!important;color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-list .wk-row:is(:hover:not(:disabled),:focus-visible,.pad-focus){background:linear-gradient(180deg,#182033,#111724)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #c85c51,0 0 12px #c44c4555!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-row .wk-art{width:52px!important;height:52px!important;border-radius:4px!important;background:none!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-row .wk-sprite{width:52px!important;height:52px!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-row .wk-name strong{color:#fff!important;font:700 19px/22px Arial,sans-serif!important;letter-spacing:.02em;text-transform:uppercase}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-row .wk-name small{color:#d8c4c8!important;font:400 14px/18px Arial,sans-serif!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-row .wk-meta{color:#ffd982!important;font:700 16px/20px Arial,sans-serif!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-species{grid-template-columns:56px 84px minmax(180px,1.2fr) minmax(0,1fr) minmax(0,1fr) 36px!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-species .wk-name small{display:none}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-species .wk-art{order:-2}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-species .wk-no{order:-1}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-species .wk-no{display:block!important;color:#ffd982;font:700 19px/22px Arial,sans-serif}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-species .wk-sub{display:block!important;color:#d8c4c8;font:400 14px/18px Arial,sans-serif;font-style:normal}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-species .wk-types{justify-content:flex-start!important;gap:10px!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-species .wk-types .type-chip{display:inline-flex;align-items:center;height:32px;padding:0 16px!important;border-radius:16px!important;font:700 14px/18px Arial,sans-serif!important;text-transform:uppercase;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #ffffff55}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-species .wk-types2{display:flex!important;align-items:center;justify-content:flex-end;gap:10px}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-ball{display:block;width:30px;height:30px;border-radius:50%;background:var(--ic-ball);box-shadow:0 0 0 2px #0d111c,0 0 0 3px #5c3639}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill{display:inline-flex;align-items:center;height:30px;padding:0 14px;border-radius:15px;background:#111724;box-shadow:inset 0 0 0 2px #d9a233;color:var(--ptc,#ffe5a8);font:700 13px/16px Arial,sans-serif;text-transform:uppercase}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-0{color:#ffe5a8}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-go{display:block!important;color:#fff;font:400 30px/1 Arial,sans-serif;font-style:normal;text-align:center}
 /* the other tabs' cards and pages keep their layout, in the same frames */
 body:not(.mobile-web) #modal#modal[data-view="help"] .help-grid>div,body:not(.mobile-web) #modal#modal[data-view="help"] .wk-sec{border:0!important;border-image:none!important;border-radius:5px!important;background:var(--sg-gems-quiet),var(--sg-surface)!important;box-shadow:var(--sg-frame-card)!important}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-guide,body:not(.mobile-web) #modal#modal[data-view="help"] .wk-page,body:not(.mobile-web) #modal#modal[data-view="help"] .wk-list:not(.wk-body>div:has(>.wk-chips)>.wk-list){padding-right:6px}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-page h2,body:not(.mobile-web) #modal#modal[data-view="help"] .help-grid h3,body:not(.mobile-web) #modal#modal[data-view="help"] .wk-sec h3{color:#f6e3b4!important}
}
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="0"]{--tc:#8a8a70}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="1"]{--tc:#ba534e}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="2"]{--tc:#8b7fd9}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="3"]{--tc:#9a4a9a}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="4"]{--tc:#c7a24a}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="5"]{--tc:#a88d3a}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="6"]{--tc:#8fa321}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="7"]{--tc:#6a5a9a}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="8"]{--tc:#8e8ea8}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="9"]{--tc:#5f7a86}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="10"]{--tc:#e0702a}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="11"]{--tc:#4c82e0}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="12"]{--tc:#5aa83a}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="13"]{--tc:#d9b21a}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="14"]{--tc:#cc7162}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="15"]{--tc:#6cc6c6}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="16"]{--tc:#6a44e0}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="17"]{--tc:#6a5444}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-chip[data-type="18"]{--tc:#e087c8}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-1{--ptc:#d48577}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-2{--ptc:#b3a8ff}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-3{--ptc:#d98ad9}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-4{--ptc:#e6c76a}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-5{--ptc:#d0b24f}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-6{--ptc:#b7cf4a}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-7{--ptc:#a08fe0}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-8{--ptc:#c0c0d8}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-9{--ptc:#8fb0bd}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-10{--ptc:#ff9a50}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-11{--ptc:#78a8ff}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-12{--ptc:#86e060}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-13{--ptc:#ffd83a}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-14{--ptc:#ff80b0}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-15{--ptc:#8fe6e6}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-16{--ptc:#9a7cff}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-17{--ptc:#a58a74}
 body:not(.mobile-web) #modal#modal[data-view="help"] .wk-pill.type-18{--ptc:#ffb0e8}
}

/* ---- the Region map (mockup 08-mapa-da-regiao), redone exactly: the window's own header is hidden and the sheet draws its own (sgx-*); the region tabs as one row of big tabs; the chart in its ornate frame on the
   left; the place panel on the right (the place's name in gold, its line, the red FLY button with its Poke Ball); the Poke Ball emblem at the foot and the key hints in their frame. The chart's own code places the
   labels and cells and picks the chart's scale: only the frames around it change here. ---- */
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="townmap"]{--ic-ball:radial-gradient(circle at 50% 50%,#f3f0ea 0 9%,#111724 10% 16%,#0d111c00 17%),linear-gradient(180deg,#c44c45 0 46%,#111724 46% 54%,#f3f0ea 54%);
  width:min(1660px,98vw)!important;height:min(940px,calc(100dvh - 14px))!important;max-height:none!important;--shutdown-window-width:min(1660px,98vw);--shutdown-window-height:min(940px,calc(100dvh - 14px))}
 body:not(.mobile-web) #modal#modal[data-view="townmap"]>.modal-header{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] #modal-body{height:100%!important;max-height:none!important;padding:0!important;overflow:hidden!important;background:radial-gradient(ellipse at 50% 100%,#1a2337 0,#111724 52%,#040104 100%)!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map.side{position:relative;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;grid-template-rows:112px 62px minmax(0,1fr) 60px!important;gap:14px 22px!important;height:100%!important;width:100%!important;max-width:none!important;padding:0 26px 8px!important;box-sizing:border-box;align-content:start}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map.side>.sgx-head{grid-column:1 / -1;grid-row:1;margin:0 -26px}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-tabs{grid-column:1 / -1;grid-row:2;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(0,1fr))!important;gap:14px!important;align-items:stretch}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-tabs>button{position:relative;display:flex!important;align-items:center;justify-content:center;gap:12px;height:62px!important;min-height:62px!important;max-height:none!important;min-width:0;padding:0 12px!important;border:0!important;border-image:none!important;border-radius:4px!important;background:linear-gradient(180deg,#171f32,#111724)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #29344d!important;color:#fff!important;font:700 19px/24px Arial,sans-serif!important;letter-spacing:.03em!important;text-transform:uppercase!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-tabs>button::before{content:"";flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:var(--ic-ball);box-shadow:0 0 0 2px #0d111c,0 0 0 3px #af373a}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-tabs>button:is(:hover:not(:disabled),:focus-visible,.pad-focus){background:linear-gradient(180deg,#212c46,#141b2a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #d28071!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-tabs>button.selected{background:linear-gradient(180deg,#ac363a,#1f2a42)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 3px #f3c96b,0 0 16px #c44c4588!important;color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-tabs>button.soon{opacity:.55}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-tabs .town-map-notes{display:none}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-frame{grid-column:1;grid-row:3;align-self:start;justify-self:start;margin:0!important;padding:6px;border:0!important;border-image:none!important;border-radius:5px!important;background:#050205!important;box-shadow:var(--sg-frame-card)!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info{grid-column:2;grid-row:3;align-self:stretch;display:flex!important;flex-direction:column;gap:16px!important;min-height:0!important;height:auto!important;padding:28px 26px 26px!important;border:0!important;border-image:none!important;border-radius:5px!important;background:var(--sg-gems-quiet),var(--sg-surface)!important;box-shadow:var(--sg-frame-card)!important;overflow:hidden}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info>strong{display:block;color:#f6e3b4!important;font:700 40px/46px Georgia,"Times New Roman",serif!important;letter-spacing:.02em!important;text-align:center;text-shadow:0 2px 0 #0d111c;border-bottom:1px solid #202b44;padding-bottom:12px}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info>small{color:#ece9e3!important;font:400 19px/28px Arial,sans-serif!important;text-align:center}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info .town-map-services{color:#e8c47a;font:400 19px/26px Arial,sans-serif;text-align:center}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info button{display:flex!important;align-items:center;justify-content:center;gap:16px;height:84px!important;min-height:84px!important;margin-top:auto!important;padding:0 22px!important;border:0!important;border-image:none!important;border-radius:4px!important;background:linear-gradient(180deg,#c44c45,#2b3650 55%,#1e2639)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 3px #f3c96b,0 0 18px #c44c4577!important;color:#fff!important;font:700 28px/34px Arial,sans-serif!important;letter-spacing:.04em!important;text-transform:uppercase!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info button::before{content:"";flex:0 0 52px;width:52px;height:52px;border-radius:50%;background:var(--ic-ball);box-shadow:0 0 0 3px #0d111c,0 0 0 5px #f3c96b}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info button:is(:hover:not(:disabled),:focus-visible,.pad-focus){background:linear-gradient(180deg,#c96054,#b1383a 55%,#232c42)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 3px var(--sg-gold-hi),0 0 22px #f3c96b77!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info button:disabled{opacity:.55}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-hint{grid-column:2;grid-row:4;justify-self:end;align-self:center;display:flex;align-items:center;height:48px;margin:0!important;padding:0 22px 0 52px!important;position:relative;border-radius:4px;background:linear-gradient(180deg,#141a2a,#08040a);box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #5c3639;color:#ece9e3!important;font:400 18px/22px Arial,sans-serif!important;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-hint::before{content:"";position:absolute;left:16px;top:50%;width:26px;height:26px;margin-top:-13px;background:#e8c47a;clip-path:polygon(35% 0,65% 0,65% 35%,100% 35%,100% 65%,65% 65%,65% 100%,35% 100%,35% 65%,0 65%,0 35%,35% 35%)}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map.side::after{content:"";grid-column:1;grid-row:4;justify-self:center;align-self:center;width:62px;height:62px;border-radius:50%;background:var(--ic-ball);box-shadow:0 0 0 3px #0d111c,0 0 0 5px #5c3639,0 0 18px #673c4066}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-frame .town-map-label{border-radius:3px!important}
}
@media screen and (min-width:901px) and (max-height:820px){
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map.side{grid-template-rows:84px 46px minmax(0,1fr) 44px!important;gap:8px 16px!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-tabs>button{height:46px!important;min-height:46px!important;font-size:15px!important;gap:8px}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-tabs>button::before{flex-basis:22px;width:22px;height:22px}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info{padding:16px 18px!important;gap:10px!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info>strong{font-size:28px!important;line-height:32px!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info>small,body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info .town-map-services{font-size:15px!important;line-height:21px!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info button{height:60px!important;min-height:60px!important;font-size:20px!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-info button::before{flex-basis:38px;width:38px;height:38px}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map-hint{height:36px;font-size:14px!important}
 body:not(.mobile-web) #modal#modal[data-view="townmap"] .town-map.side::after{width:40px;height:40px}
}
