/* Work-ID 20261113-identity-card-5e1b — the TRAINER CARD (Menu > CARTAO) under zenux's new identity ("Tela do Cartao esta toda bugada e desfigurada").
   social.js drawCard() draws the same card (same data, same buttons) and, under body.identity-v2 on desktop, gives the modal data-identity="card", data-win-mode="identity-card" and its own view name `card-id`, so the older
   sheet (card-new.css: its 1672 x 941 red sheet over ui/tcard/chrome.jpg, keyed on data-view="tcard") never reaches it; the frame, banner header (the title, the subtitle and the gold X) are the shared rules of identity.css.
   No identity picture of the card exists: it is built in the family's language (navy plates with a cyan rim, gold headings, the Diario's badge cards). The sheet is 1250 x 820 (ui_scale key identity-card, about 75% of the screen,
   centred); everything below is in that sheet's px (the body is zoomed by --win-s). Every panel is a grid area of ONE grid, so nothing can overlap and nothing is positioned by hand.
   Hover geometry (AGENTS.md): every control keeps ONE authored box in idle, hover, pressed, selected, focus and pad focus; a state repaints a colour or an inset ring only. Desktop only (the phone keeps card-new.css). */
@media screen and (min-width:901px){
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"]{--ic-rim:#2a86a8;--ic-rim2:#1c5a78;--ic-gold:#f4c35a;--ic-ink:#f2f7fd;--ic-ink2:#c9d9e8;--ic-mute:#8fb3cc}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"]>#modal-body{padding:0!important;overflow:hidden!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] #modal-title{font-size:42px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .idt-sub{max-width:940px!important;font-size:13.5px!important;line-height:1.3!important;white-space:nowrap!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx,body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx *{box-sizing:border-box!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx{position:relative!important;display:grid!important;width:100%!important;height:100%!important;margin:0!important;padding:14px 24px 38px!important;gap:10px!important;border:0!important;background:none!important;color:var(--ic-ink)!important;overflow:hidden!important;
  font:400 15px/1.25 Arial,Helvetica,sans-serif!important;letter-spacing:0!important;text-transform:none!important;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr) 392px!important;grid-template-rows:70px 138px 110px 112px minmax(0,1fr)!important;
  grid-template-areas:"head head head" "badges badges info" "hl hl info" "team team info" "dex rank stats"!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx.tcx-public{grid-template-columns:minmax(0,1fr) 440px!important;grid-template-rows:70px 214px 128px minmax(0,1fr)!important;grid-template-areas:"head head" "badges info" "dex info" "rank info"!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx::before,body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx::after{content:none!important;display:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx :is(h2,h3,p,section,header,div){margin:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-head{grid-area:head!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-badges{grid-area:badges!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-highlights{grid-area:hl!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-team{grid-area:team!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-bottom,body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-col{display:contents!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-pokedex{grid-area:dex!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-ranked{grid-area:rank!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-info{grid-area:info!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-stats{grid-area:stats!important}
 /* the plates */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-head,body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-panel{position:relative!important;display:flex!important;min-width:0!important;min-height:0!important;margin:0!important;border:1px solid var(--ic-rim)!important;border-radius:12px!important;background:linear-gradient(180deg,#0b2036,#08162a)!important;box-shadow:inset 0 0 0 1px #06101c,inset 0 0 18px #2a86a81c!important;overflow:hidden!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-panel{flex-direction:column!important;gap:6px!important;padding:8px 14px 8px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-ph{display:flex!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important;height:26px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-ball{display:block!important;flex:0 0 auto!important;width:18px!important;height:18px!important;border-radius:50%!important;background:radial-gradient(circle at 50% 50%,#0a1a2d 0 28%,var(--ic-gold) 30% 44%,#0a1a2d 46% 54%,#2a86a8 56% 100%)!important;box-shadow:0 0 8px #f4c35a55!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-ball.dim{background:radial-gradient(circle at 50% 50%,#0a1a2d 0 34%,#1c5a78 36% 100%)!important;box-shadow:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-ph h3{margin:0!important;color:var(--ic-gold)!important;font:800 19px/24px Arial,Helvetica,sans-serif!important;letter-spacing:.05em!important;text-transform:uppercase!important;text-shadow:0 2px 0 #3d2706!important;white-space:nowrap!important;-webkit-text-fill-color:currentColor!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-rule{flex:1 1 auto!important;height:0!important;border-top:2px dotted var(--ic-rim2)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-count{color:var(--ic-gold)!important;font:800 18px/1 Arial,Helvetica,sans-serif!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-none{color:var(--ic-mute)!important;font:400 15px/1.4 Arial,Helvetica,sans-serif!important}
 /* the header plate */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-head{align-items:center!important;gap:16px!important;padding:0 14px 0 12px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-who{display:flex!important;align-items:center!important;gap:14px!important;flex:1 1 auto!important;min-width:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-avatar{display:grid!important;place-items:center!important;flex:0 0 auto!important;width:58px!important;height:58px!important;overflow:hidden!important;border-radius:10px!important;background:#06101c!important;box-shadow:inset 0 0 0 2px var(--ic-gold)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-avatar :is(canvas,img,svg){max-width:100%!important;max-height:100%!important;image-rendering:pixelated!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-ident{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-name{display:block!important;margin:0!important;color:var(--ic-ink)!important;font:800 28px/30px Arial,Helvetica,sans-serif!important;letter-spacing:.04em!important;text-transform:uppercase!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-meta{display:flex!important;align-items:center!important;gap:10px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-lv{display:inline-block!important;height:22px!important;padding:0 12px!important;border-radius:11px!important;background:linear-gradient(180deg,#f4c35a,#c98a2a)!important;color:#1a1405!important;font:800 14px/22px Arial,Helvetica,sans-serif!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-money{display:inline-flex!important;align-items:center!important;gap:6px!important;color:var(--ic-gold)!important;font:800 18px/22px Arial,Helvetica,sans-serif!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-coin{display:block!important;width:18px!important;height:18px!important;border-radius:50%!important;background:radial-gradient(circle at 50% 50%,#7a4f10 0 30%,transparent 32%),linear-gradient(180deg,#fff0bd,#f4c35a 55%,#c98a2a)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-online{display:inline-block!important;height:22px!important;padding:0 12px!important;border-radius:11px!important;border:1px solid var(--ic-rim2)!important;background:#08182b!important;color:var(--ic-mute)!important;font:700 12px/20px Arial,Helvetica,sans-serif!important;letter-spacing:.04em!important;text-transform:uppercase!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-online.on{border-color:#2ee59d!important;color:#2ee59d!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-stars{color:var(--ic-gold)!important;font:800 15px/22px Arial,Helvetica,sans-serif!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-tid{flex:0 0 auto!important;padding-left:16px!important;border-left:2px solid var(--ic-rim2)!important;color:var(--ic-ink2)!important;font:800 20px/1 Arial,Helvetica,sans-serif!important;letter-spacing:.08em!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-banner,body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-close{display:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-head-end{display:flex!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-back{height:34px!important;min-height:0!important;padding:0 16px!important;border:1px solid var(--ic-rim)!important;border-radius:10px!important;background:linear-gradient(180deg,#0f2d47,#091a2c)!important;box-shadow:inset 0 0 0 1px #06101c!important;color:var(--ic-ink)!important;font:700 14px/32px Arial,sans-serif!important;text-transform:uppercase!important;letter-spacing:.04em!important;transition:none!important}
 /* the badges: a tab per region, then the hexes of that region */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-badges{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:26px minmax(0,1fr)!important;gap:6px 12px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-badges>.tcx-ph{grid-column:1!important;grid-row:1!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-badges>.tcx-hexes,body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-badges>.tcx-none{grid-column:1 / -1!important;grid-row:2!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-tabs{display:flex!important;align-items:center!important;gap:8px!important;grid-column:2!important;grid-row:1!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-tab{height:26px!important;min-height:0!important;margin:0!important;padding:0 12px!important;border:1px solid var(--ic-rim)!important;border-radius:9px!important;background:linear-gradient(180deg,#0f2d47,#091a2c)!important;box-shadow:inset 0 0 0 1px #06101c!important;color:var(--ic-ink2)!important;font:700 12px/24px Arial,Helvetica,sans-serif!important;letter-spacing:.03em!important;text-transform:uppercase!important;white-space:nowrap!important;transition:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-tab.active{border-color:var(--ic-gold)!important;background:linear-gradient(180deg,#3a2f12,#17202a)!important;box-shadow:inset 0 0 0 1px var(--ic-gold),inset 0 0 10px #f4c35a40!important;color:#fff3cf!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] :is(.tcx-tab,.tcx-back,.tcx-title-link):is(:hover:not(:disabled),:focus-visible,.pad-focus){border-color:#5fe3ff!important;background:linear-gradient(180deg,#143a5c,#0c2a45)!important;box-shadow:inset 0 0 0 1px #5fe3ff88!important;outline:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-tab.active:is(:hover,:focus-visible,.pad-focus){border-color:var(--ic-gold)!important;background:linear-gradient(180deg,#3a2f12,#17202a)!important;box-shadow:inset 0 0 0 1px var(--ic-gold),inset 0 0 10px #f4c35a40!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hexes{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:8px!important;align-items:start!important;min-height:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hex{display:flex!important;flex-direction:column!important;align-items:center!important;gap:4px!important;min-width:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hex-frame{display:block!important;width:60px!important;height:66px!important;padding:3px!important;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)!important;background:#1c5a78!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hex.earned .tcx-hex-frame{background:linear-gradient(180deg,#f4c35a,#b8832a)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hex-frame .tc-hex-in{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)!important;background:radial-gradient(circle at 50% 40%,#12395a,#08182b)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hex-frame :is(img,i){width:46px!important;height:46px!important;max-width:none!important;object-fit:contain!important;image-rendering:pixelated!important;filter:grayscale(1) brightness(.62) contrast(.9)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hex.earned .tcx-hex-frame :is(img,i){filter:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hex-frame i{display:grid!important;place-items:center!important;font-size:22px!important;color:var(--ic-mute)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-pill{display:block!important;max-width:100%!important;height:20px!important;padding:0 10px!important;border-radius:10px!important;border:1px solid var(--ic-rim2)!important;background:#08182b!important;color:var(--ic-mute)!important;font:700 11px/18px Arial,Helvetica,sans-serif!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hex.earned .tcx-pill{border-color:var(--ic-gold)!important;color:var(--ic-ink)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx.tcx-public .tcx-hex-frame{width:76px!important;height:84px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx.tcx-public .tcx-hex-frame :is(img,i){width:58px!important;height:58px!important}
 /* the Pokemon tiles */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hl{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;min-height:0!important;flex:1 1 auto!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hl-tile{display:flex!important;flex-direction:column!important;gap:0!important;min-width:0!important;min-height:0!important;padding:4px 12px 4px!important;border-radius:8px!important;border:1px solid var(--ic-rim2)!important;background:linear-gradient(180deg,#0e2a44,#08182b)!important;overflow:hidden!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hl-label{display:block!important;flex:0 0 auto!important;color:var(--ic-gold)!important;font:800 12px/16px Arial,Helvetica,sans-serif!important;letter-spacing:.1em!important;text-transform:uppercase!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-mon{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;min-height:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-mon-art{display:grid!important;place-items:center!important;flex:0 0 auto!important;width:56px!important;height:56px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-mon-art :is(img,canvas){width:56px!important;height:56px!important;object-fit:contain!important;image-rendering:pixelated!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-mon-text{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important;flex:1 1 auto!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-mon-name{display:block!important;margin:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:var(--ic-ink)!important;font:800 17px/20px Arial,Helvetica,sans-serif!important;letter-spacing:.03em!important;text-transform:uppercase!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-mon-lv{display:block!important;color:var(--ic-gold)!important;font:700 14px/16px Arial,Helvetica,sans-serif!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-mon.empty{gap:10px!important;padding:0 4px!important;color:var(--ic-mute)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-mon.empty .tcx-mon-name{color:var(--ic-mute)!important;font-weight:400!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-mon.shiny .tcx-mon-name{color:var(--ic-gold)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-slots{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;min-height:0!important;flex:1 1 auto!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-slot{display:flex!important;min-width:0!important;min-height:0!important;padding:4px 8px!important;border-radius:8px!important;border:1px solid var(--ic-rim2)!important;background:linear-gradient(180deg,#0e2a44,#08182b)!important;overflow:hidden!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-slot .tcx-mon{flex-wrap:wrap!important;gap:0 6px!important;align-content:center!important;width:100%!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-slot .tcx-mon-art{width:44px!important;height:44px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-slot .tcx-mon-art :is(img,canvas){width:44px!important;height:44px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-slot .tcx-mon-name{font-size:13px!important;line-height:16px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-slot .tcx-mon-lv{font-size:12px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-slot .tcx-mon.empty{flex-wrap:nowrap!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hp{display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 100%!important;margin-top:2px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hp-bar{flex:1 1 auto!important;height:8px!important;border-radius:4px!important;background:#06101c!important;box-shadow:inset 0 0 0 1px var(--ic-rim2)!important;overflow:hidden!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hp-bar i{display:block!important;height:100%!important;border-radius:4px!important;background:#2ee59d!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hp-bar.mid i{background:var(--ic-gold)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hp-bar.low i{background:#ee5a64!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hp small{color:var(--ic-mute)!important;font:700 11px/1 Arial,Helvetica,sans-serif!important;white-space:nowrap!important}
 /* Pokedex, ranked, information, statistics */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-pokedex{gap:8px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-dex{display:flex!important;flex-direction:column!important;gap:5px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-dex-line{display:flex!important;justify-content:space-between!important;align-items:baseline!important;font:800 16px/18px Arial,Helvetica,sans-serif!important;color:var(--ic-ink)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-dex-line span{color:var(--ic-ink2)!important;font-weight:400!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-bar{height:12px!important;border-radius:6px!important;background:#06101c!important;box-shadow:inset 0 0 0 1px var(--ic-rim2)!important;overflow:hidden!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-bar i{display:block!important;height:100%!important;border-radius:6px!important;background:linear-gradient(90deg,#2a86a8,#5fe3ff)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] [data-dex="caught"] .tcx-bar i{background:linear-gradient(90deg,#1fa77a,#2ee59d)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-rank{display:flex!important;align-items:baseline!important;gap:10px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-tier{color:var(--ic-gold)!important;font:800 20px/24px Arial,Helvetica,sans-serif!important;text-transform:uppercase!important;letter-spacing:.05em!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-rank small{color:var(--ic-mute)!important;font:400 13px/1 Arial,Helvetica,sans-serif!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-rank-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-rs{display:flex!important;flex-direction:column!important;align-items:center!important;gap:3px!important;padding:5px 3px!important;border-radius:8px!important;border:1px solid var(--ic-rim2)!important;background:linear-gradient(180deg,#0e2a44,#08182b)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-rs small{color:var(--ic-mute)!important;font:700 10px/12px Arial,Helvetica,sans-serif!important;text-transform:uppercase!important;white-space:nowrap!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-rs b{color:var(--ic-ink)!important;font:800 17px/20px Arial,Helvetica,sans-serif!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] :is(.tcx-info,.tcx-stats){gap:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] :is(.tcx-info,.tcx-stats)>.tcx-ph{margin-bottom:6px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-row{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;flex:1 1 0!important;min-height:0!important;padding:0 4px!important;border-bottom:1px solid #12304a!important;font:400 14px/18px Arial,Helvetica,sans-serif!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-row>span{color:var(--ic-mute)!important;white-space:nowrap!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-row>b{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;min-width:0!important;color:var(--ic-ink)!important;font-weight:700!important;text-align:right!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-gold{color:var(--ic-gold)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-chip{display:inline-block!important;height:20px!important;padding:0 9px!important;border-radius:10px!important;border:1px solid var(--ic-gold)!important;background:#08182b!important;color:var(--ic-gold)!important;font:700 12px/18px Arial,Helvetica,sans-serif!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-title-link{display:inline-block!important;max-width:100%!important;height:22px!important;min-height:0!important;margin:0!important;padding:0 10px!important;border:1px solid var(--ic-rim2)!important;border-radius:11px!important;background:#08182b!important;color:var(--ic-ink)!important;font:700 12px/20px Arial,Helvetica,sans-serif!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;transition:none!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] button.tcx-title-link{border-color:var(--ic-gold)!important;color:var(--ic-gold)!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-title-link.empty{color:var(--ic-mute)!important}
 /* the highlight tiles keep the label over the picture's row; the team slot is a 2 x 2 grid (picture | name and level, HP under) */
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hl-tile .tcx-mon-art{width:40px!important;height:40px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hl-tile .tcx-mon-art :is(img,canvas){width:40px!important;height:40px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hl-tile .tcx-mon-name{font-size:16px!important;line-height:18px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-slot{padding:4px 6px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-slot .tcx-mon:not(.empty){display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:2px 6px!important;align-content:center!important;align-items:center!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-slot .tcx-mon:not(.empty) .tcx-mon-art{grid-column:1!important;grid-row:1!important;width:38px!important;height:38px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-slot .tcx-mon:not(.empty) .tcx-mon-art :is(img,canvas){width:38px!important;height:38px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-slot .tcx-mon:not(.empty) .tcx-mon-text{grid-column:2!important;grid-row:1!important;gap:1px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-slot .tcx-mon:not(.empty) .tcx-hp{grid-column:1 / -1!important;grid-row:2!important;margin:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-slot .tcx-mon-name{font-size:12px!important;line-height:15px!important;letter-spacing:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-rs small{overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;letter-spacing:0!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hl-tile{padding:2px 12px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-hl-label{line-height:14px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-slot .tcx-mon:not(.empty) .tcx-mon-name{text-transform:none!important;font-size:13px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] #modal-title{font-size:34px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-rs{padding:5px 1px!important}
 body.identity-v2:not(.mobile-web) #modal#modal#modal#modal#modal#modal#modal[data-identity="card"] .tcx-rs small{font-size:9px!important;letter-spacing:-.02em!important}
}
