/* The chat's link menus, the Pokémon chip and the Pokémon card in the gothic theme (Work-ID 20261019-chat-links-93f2; zenux, Trello "Chat": "o clique no Pokémon abre uma caixinha com as informações",
   "estilizado no tema gótico"). The popover above the chat box becomes a red-framed menu (categories, then a list with icons), a linked Pokémon in a line is a gold-ringed chip, and its card is a red-framed
   panel 300 px wide at 1x, zoomed by the shared factor --ui-s of ui_scale.js, with the sprite, name, gender, shiny star, level, types, nature, ability, held item, moves and the stat / IV / EV table. Desktop only:
   the phone keeps ui/chat/chat-links.css (a bottom sheet). AGENTS.md "Absolute UI hover geometry": every row, chip and the close box keep their authored box in idle, hover, focus and pressed; a state only
   repaints a colour or an inset shadow. */
@media screen and (min-width:901px){
 /* ---- the link popover (it replaces the older PNG frames of ui/audit/uv-sidebar.css, so its selectors repeat that sheet's full path) ---------------------------------------------------- */
 body:not(.mobile-web) #game .premium-right-rail .premium-chat-panel #chat-link-panel:not([hidden]){border:0!important;border-image:none!important;border-radius:3px;padding:8px!important;background:var(--sg-gems),linear-gradient(180deg,#141a2af8,#101522fa)!important;box-shadow:var(--sg-frame-soft),0 10px 26px #0d111cbb!important;max-height:calc(100% - 52px)!important}
 body:not(.mobile-web) #game .premium-right-rail .premium-chat-panel #chat-link-panel .chat-popover-title{flex:1 1 auto;height:auto;min-height:22px;border:0!important;border-image:none!important;background:none!important;padding:0!important;color:var(--sg-gold)!important;font:700 13px/22px Arial,sans-serif!important;letter-spacing:.06em!important;text-transform:uppercase}
 body:not(.mobile-web) #game #chat-link-panel :is(.chat-link-back,.chat-link-cat,.chat-link-item){border:0!important;border-image:none!important;border-radius:3px!important;background:linear-gradient(180deg,#151c2c,#111724)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #28324a!important;color:var(--sg-text)!important;font:700 12px/16px Arial,sans-serif!important}
 body:not(.mobile-web) #game .premium-right-rail .premium-chat-panel #chat-link-panel .chat-link-item{border:0!important;border-image:none!important;background:linear-gradient(180deg,#151c2c,#111724)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #28324a!important;color:var(--sg-text)!important;font:700 12px/16px Arial,sans-serif!important}
 body:not(.mobile-web) #game .premium-right-rail .premium-chat-panel #chat-link-panel .chat-link-item:is(:hover:not(:disabled),:focus-visible,:active){border-image:none!important;background:linear-gradient(180deg,#1c253c,#141b2b)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold-lo),inset 0 0 10px #f3c96b30!important;color:var(--sg-gold-hi)!important;outline:none!important}
 body:not(.mobile-web) #game #chat-link-panel :is(.chat-link-back,.chat-link-cat):is(:hover:not(:disabled),:focus-visible,:active){background:linear-gradient(180deg,#1c253c,#141b2b)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold-lo),inset 0 0 10px #f3c96b30!important;color:var(--sg-gold-hi)!important;outline:none}
 body:not(.mobile-web) #game #chat-link-panel .chat-link-cat{height:38px}
 body:not(.mobile-web) #game #chat-link-panel .chat-link-cat-icon{color:var(--sg-gold);font-size:14px}
 body:not(.mobile-web) #game #chat-link-panel .chat-link-cat-count{min-width:24px;padding:0 6px;border-radius:9px;background:#1a2337;box-shadow:inset 0 0 0 1px #5c3639;color:var(--sg-gold-hi);text-align:center}
 body:not(.mobile-web) #game #chat-link-panel .chat-link-search{border:0!important;border-image:none!important;border-radius:3px;background:#06030a!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #1f273a;color:var(--sg-text)!important;font:400 12px/17px Arial,sans-serif}
 body:not(.mobile-web) #game #chat-link-panel .chat-link-search:focus{box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold-lo);outline:none}
 body:not(.mobile-web) #game #chat-link-panel .chat-link-item-meta{color:var(--sg-gold);font-weight:700}
 body:not(.mobile-web) #game #chat-link-panel .mini-note{color:var(--sg-muted)!important}
 /* ---- the chip of a linked Pokémon (and the item chip beside it) ---------------------------------------------------------------------------------------------------------------------- */
 body:not(.mobile-web) #game #chat-messages .chat-mon-chip{border:0!important;border-image:none!important;border-radius:3px!important;background:linear-gradient(180deg,#1b2439,#141b2b)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold-lo)!important;color:var(--sg-gold-hi)!important;font:700 12px/15px Arial,sans-serif!important}
 body:not(.mobile-web) #game #chat-messages .chat-mon-chip:is(:hover,:focus-visible,.open){background:linear-gradient(180deg,#212c46,#171f31)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold),inset 0 0 10px #f3c96b40!important;outline:none}
 body:not(.mobile-web) #game #chat-messages .chat-mon-level{color:var(--sg-gold)!important}
 /* ---- the card ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
 body:not(.mobile-web) #game .chat-mon-card{zoom:var(--ui-s,1);width:300px;padding:12px;border:0;border-radius:4px;background:var(--sg-gems),radial-gradient(ellipse at 50% 0,#1a2338 0,#111724 62%,#060205 100%);box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #6b3f43,inset 0 0 0 4px #1a2337,inset 0 0 0 5px #5c3639,inset 0 0 22px #6b3f4355,0 0 18px #6b3f4355,0 14px 40px #0d111c;color:var(--sg-text)}
 body:not(.mobile-web) #game .chat-mon-card .cmc-head{grid-template-columns:76px minmax(0,1fr) 22px;gap:10px;padding-bottom:10px;border-bottom:1px solid #1f273a}
 body:not(.mobile-web) #game .chat-mon-card .cmc-art{background:linear-gradient(180deg,#171f32,#111724);box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #28324a}
 body:not(.mobile-web) #game .chat-mon-card .cmc-name{color:#fff;font:700 17px/22px Arial,sans-serif}
 body:not(.mobile-web) #game .chat-mon-card .cmc-level{color:var(--sg-gold);font:700 13px/16px Arial,sans-serif}
 body:not(.mobile-web) #game .chat-mon-card .cmc-type{border-radius:2px;box-shadow:inset 0 0 0 1px #0d111c99}
 body:not(.mobile-web) #game .chat-mon-card .cmc-close{border:0;border-radius:2px;background:#141a2a;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #60383c;color:#fff}
 body:not(.mobile-web) #game .chat-mon-card .cmc-close:is(:hover,:focus-visible){background:#1b2439;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #cf7666,inset 0 0 8px #c44c4588;outline:none}
 body:not(.mobile-web) #game .chat-mon-card .cmc-facts dt,body:not(.mobile-web) #game .chat-mon-card .cmc-section{color:var(--sg-gold)}
 body:not(.mobile-web) #game .chat-mon-card .cmc-section{padding-top:8px;border-top:1px solid #202b44}
 body:not(.mobile-web) #game .chat-mon-card .cmc-move{border-radius:2px;background:linear-gradient(180deg,#151c2c,#111724);box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #202b44}
 body:not(.mobile-web) #game .chat-mon-card .cmc-stats tbody tr:nth-child(odd){background:#141a2a}
 body:not(.mobile-web) #game .chat-mon-card .cmc-foot{color:var(--sg-muted)}
}
