/* The TRAINER CARD (Work-ID 20261023-redesign-s1-cb81; zenux's mockup 28_UWrgA28_1 in the Poke ShadowGarden palette). Window view `tcard` (social.js drawCard): its own view name, so the sheets of the earlier card
   (mx/card.css...) do not reach it. Navy surfaces and quiet navy lines; red only on what can be pressed (the close, the title link, a region tab); gold on the level, the money, headings' counts and the region;
   green / amber / red only in HP bars. A badge not earned yet is greyed (an icon, not the world); an earned one has the gold rim.
   Desktop: the window is the 1672 x 941 sheet of WINDOWS.tcard (ui_scale.js multiplies it by --win-s; everything inside is written in px at 1x inside a `zoom` of that factor). Phone: the window's own header carries
   the title and the close, the body scrolls, one column. A control keeps ONE authored box in every state (AGENTS.md absolute hover geometry): hover / focus / selected change colours and an inset line only. */
#modal#modal[data-view="tcard"]{--tx-bg:var(--color-bg,#0b0f14);--tx-line:var(--sg-line,#232d44);--tx-line-hi:var(--sg-line-hi,#2a3550);--tx-red:var(--color-primary,#d94a55);--tx-gold:var(--color-gold,#f0c66a);
 --tx-text:var(--color-text,#f1eee8);--tx-muted:var(--color-text-muted,#aab7c7);--tx-ok:var(--color-success,#35c77a);--tx-info:var(--color-info,#48b9e8);--tx-teal:var(--color-teal,#35cfa4);
 --tx-ball:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='22' fill='%23f1eee8' stroke='%230a0e18' stroke-width='3'/%3E%3Cpath d='M2 24a22 22 0 0 1 44 0z' fill='%23d94a55'/%3E%3Cpath d='M2 24h44' stroke='%230a0e18' stroke-width='3'/%3E%3Ccircle cx='24' cy='24' r='7' fill='%23f1eee8' stroke='%230a0e18' stroke-width='3'/%3E%3C/svg%3E");
 --tx-ball-dim:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='22' fill='%23131928' stroke='%232a3550' stroke-width='3'/%3E%3Cpath d='M2 24h44' stroke='%232a3550' stroke-width='3'/%3E%3Ccircle cx='24' cy='24' r='7' fill='%23131928' stroke='%232a3550' stroke-width='3'/%3E%3C/svg%3E");
 --tx-coin:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='21' fill='%23f0c66a' stroke='%239a6a1c' stroke-width='3'/%3E%3Ccircle cx='24' cy='24' r='13' fill='none' stroke='%239a6a1c' stroke-width='3'/%3E%3C/svg%3E")}
#modal#modal[data-view="tcard"] .tcx,#modal#modal[data-view="tcard"] .tcx *{box-sizing:border-box}
#modal#modal[data-view="tcard"] .tcx{position:relative;display:grid;color:var(--tx-text);font:400 20px/1.25 Arial,Helvetica,sans-serif;letter-spacing:0;text-transform:none}
#modal#modal[data-view="tcard"] .tcx :is(h2,h3,p,section,header,div){margin:0}
#modal#modal[data-view="tcard"] .tcx :is(button){font:inherit;color:inherit;text-shadow:none;letter-spacing:inherit;text-transform:none;margin:0;min-width:0;min-height:0;cursor:pointer;transition:none!important;border-image:none!important;background-image:none!important}
#modal#modal[data-view="tcard"] .tcx :is(.tcx-head,.tcx-panel){border:0;border-radius:10px;background:linear-gradient(180deg,#171d2b,#121826);box-shadow:inset 0 0 0 1px var(--tx-line-hi),inset 0 0 0 2px #0a0e18}
#modal#modal[data-view="tcard"] .tcx .tcx-ball{display:block;flex:0 0 auto;width:34px;height:34px;background:var(--tx-ball) center/contain no-repeat}
#modal#modal[data-view="tcard"] .tcx .tcx-ball.dim{background-image:var(--tx-ball-dim)}
/* header */
#modal#modal[data-view="tcard"] .tcx .tcx-head{display:flex;align-items:center;gap:18px;padding:0 14px 0 14px}
#modal#modal[data-view="tcard"] .tcx .tcx-who{display:flex;align-items:center;gap:18px;flex:0 0 auto}
#modal#modal[data-view="tcard"] .tcx .tcx-avatar{display:grid;place-items:center;width:74px;height:74px;overflow:hidden;border-radius:8px;background:#0e131e;box-shadow:inset 0 0 0 1px var(--tx-line-hi)}
#modal#modal[data-view="tcard"] .tcx .tcx-avatar :is(canvas,img,svg){max-width:100%;max-height:100%;image-rendering:pixelated}
#modal#modal[data-view="tcard"] .tcx .tcx-ident{display:flex;flex-direction:column;gap:6px}
#modal#modal[data-view="tcard"] .tcx .tcx-name{font:700 36px/1 Arial,Helvetica,sans-serif!important;letter-spacing:.03em;text-transform:uppercase;color:var(--tx-text)}
#modal#modal[data-view="tcard"] .tcx .tcx-meta{display:flex;align-items:center;gap:12px}
#modal#modal[data-view="tcard"] .tcx .tcx-lv{display:inline-block;height:28px;padding:0 14px;border-radius:14px;background:var(--tx-gold);color:#1a1405;font:700 18px/28px Arial,Helvetica,sans-serif}
#modal#modal[data-view="tcard"] .tcx .tcx-money{display:inline-flex;align-items:center;gap:8px;color:var(--tx-gold);font:700 24px/28px Arial,Helvetica,sans-serif}
#modal#modal[data-view="tcard"] .tcx .tcx-coin{display:block;width:28px;height:28px;background:var(--tx-coin) center/contain no-repeat}
#modal#modal[data-view="tcard"] .tcx .tcx-online{height:28px;padding:0 12px;border-radius:14px;background:#101624;box-shadow:inset 0 0 0 1px var(--tx-line-hi);color:var(--tx-muted);font:700 15px/28px Arial,Helvetica,sans-serif;letter-spacing:.06em;text-transform:uppercase}
#modal#modal[data-view="tcard"] .tcx .tcx-online.on{color:var(--tx-ok);box-shadow:inset 0 0 0 1px #35c77a88}
#modal#modal[data-view="tcard"] .tcx .tcx-stars{color:var(--tx-gold);font:700 18px/28px Arial,Helvetica,sans-serif}
#modal#modal[data-view="tcard"] .tcx .tcx-tid{align-self:flex-end;padding-bottom:12px;color:var(--tx-muted);font:700 20px/1 Arial,Helvetica,sans-serif;letter-spacing:.06em;border-left:2px solid var(--tx-line-hi);padding-left:18px;margin-left:6px;height:50px;display:flex;align-items:center;align-self:center;padding-bottom:0}
#modal#modal[data-view="tcard"] .tcx .tcx-banner{display:flex;align-items:center;justify-content:center;gap:16px;flex:1 1 auto;min-width:0;height:62px;border-radius:8px;background:#101624;box-shadow:inset 0 0 0 1px var(--tx-line-hi)}
#modal#modal[data-view="tcard"] .tcx .tcx-banner h2{color:var(--tx-text);font:700 40px/1 Arial,Helvetica,sans-serif;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}
#modal#modal[data-view="tcard"] .tcx .tcx-banner small{display:none}
#modal#modal[data-view="tcard"] .tcx .tcx-head-end{display:flex;align-items:center;gap:10px;flex:0 0 auto}
#modal#modal[data-view="tcard"] .tcx .tcx-close{width:62px;height:62px;padding:0!important;border:0!important;border-radius:8px;background:#1a2132!important;box-shadow:inset 0 0 0 2px var(--tx-red)!important;color:var(--tx-red)!important;font:700 32px/62px Arial,Helvetica,sans-serif!important;text-align:center}
#modal#modal[data-view="tcard"] .tcx .tcx-back{height:50px;padding:0 16px!important;border:0!important;border-radius:8px;background:#1a2132!important;box-shadow:inset 0 0 0 2px var(--tx-red)!important;color:var(--tx-text)!important;font:700 18px/50px Arial,Helvetica,sans-serif!important;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
#modal#modal[data-view="tcard"] .tcx :is(.tcx-close,.tcx-back,.tcx-tab,.tcx-title-link):is(:hover:not(:disabled),:focus-visible,.pad-focus){background:#2a1e29!important;box-shadow:inset 0 0 0 2px #ee6a74!important;outline:0}
/* panels */
#modal#modal[data-view="tcard"] .tcx .tcx-panel{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0;padding:10px 18px 12px}
#modal#modal[data-view="tcard"] .tcx .tcx-ph{display:flex;align-items:center;gap:12px;flex:0 0 auto}
#modal#modal[data-view="tcard"] .tcx .tcx-ph h3{color:var(--tx-text);font:700 26px/1 Arial,Helvetica,sans-serif;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}
#modal#modal[data-view="tcard"] .tcx .tcx-rule{flex:1 1 auto;height:0;border-top:2px dotted var(--tx-line-hi);opacity:.9}
#modal#modal[data-view="tcard"] .tcx .tcx-count{color:var(--tx-gold);font:700 22px/1 Arial,Helvetica,sans-serif}
#modal#modal[data-view="tcard"] .tcx .tcx-none{color:var(--tx-muted);font:400 20px/1.4 Arial,Helvetica,sans-serif}
/* badges */
#modal#modal[data-view="tcard"] .tcx .tcx-badges{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto minmax(0,1fr);gap:4px 14px}
#modal#modal[data-view="tcard"] .tcx .tcx-badges>.tcx-hexes,#modal#modal[data-view="tcard"] .tcx .tcx-badges>.tcx-none{grid-column:1 / -1}
#modal#modal[data-view="tcard"] .tcx .tcx-tabs{display:flex;align-items:center;gap:8px;grid-column:2;grid-row:1}
#modal#modal[data-view="tcard"] .tcx .tcx-tab{height:34px;padding:0 14px!important;border:0!important;border-radius:6px;background:#131928!important;box-shadow:inset 0 0 0 1px var(--tx-line-hi)!important;color:var(--tx-muted)!important;font:700 16px/34px Arial,Helvetica,sans-serif!important;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}
#modal#modal[data-view="tcard"] .tcx .tcx-tab.active{background:#241e2c!important;box-shadow:inset 0 0 0 2px var(--tx-red)!important;color:var(--tx-text)!important}
#modal#modal[data-view="tcard"] .tcx .tcx-hexes{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;align-items:start;min-height:0}
#modal#modal[data-view="tcard"] .tcx .tcx-hex{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
#modal#modal[data-view="tcard"] .tcx .tcx-hex-frame{display:block;width:96px;height:106px;padding:3px;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:#2a3550}
#modal#modal[data-view="tcard"] .tcx .tcx-hex.earned .tcx-hex-frame{background:var(--tx-gold)}
#modal#modal[data-view="tcard"] .tcx .tcx-hex-frame .tc-hex-in{display:grid;place-items:center;width:100%;height:100%;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:radial-gradient(circle at 50% 40%,#202a3b,#101624)}
#modal#modal[data-view="tcard"] .tcx .tcx-hex-frame :is(img,i){width:80px;height:80px;max-width:none;object-fit:contain;image-rendering:pixelated;filter:grayscale(1) brightness(.62) contrast(.9)}
#modal#modal[data-view="tcard"] .tcx .tcx-hex.earned .tcx-hex-frame :is(img,i){filter:none}
#modal#modal[data-view="tcard"] .tcx .tcx-hex-frame i{display:grid;place-items:center;font-size:34px;color:var(--tx-muted)}
#modal#modal[data-view="tcard"] .tcx .tcx-pill{display:block;max-width:100%;height:26px;padding:0 14px;border-radius:13px;background:#101624;box-shadow:inset 0 0 0 1px var(--tx-line-hi);color:var(--tx-muted);font:700 16px/26px Arial,Helvetica,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#modal#modal[data-view="tcard"] .tcx .tcx-hex.earned .tcx-pill{color:var(--tx-text)}
/* highlights and the team */
#modal#modal[data-view="tcard"] .tcx .tcx-hl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-height:0;flex:1 1 auto}
#modal#modal[data-view="tcard"] .tcx .tcx-hl-tile{display:flex;flex-direction:column;gap:2px;min-width:0;padding:6px 14px 8px;border-radius:8px;background:#101624;box-shadow:inset 0 0 0 1px var(--tx-line-hi)}
#modal#modal[data-view="tcard"] .tcx .tcx-hl-label{color:var(--tx-gold);font:700 17px/1.2 Arial,Helvetica,sans-serif;letter-spacing:.08em;text-transform:uppercase}
#modal#modal[data-view="tcard"] .tcx .tcx-mon{display:flex;align-items:center;gap:12px;min-width:0}
#modal#modal[data-view="tcard"] .tcx .tcx-mon-art{display:grid;place-items:center;flex:0 0 auto;width:72px;height:72px}
#modal#modal[data-view="tcard"] .tcx .tcx-mon-art img{width:72px;height:72px;object-fit:contain;image-rendering:pixelated}
#modal#modal[data-view="tcard"] .tcx .tcx-mon-text{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 auto}
#modal#modal[data-view="tcard"] .tcx .tcx-mon-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 26px/1.1 Arial,Helvetica,sans-serif;letter-spacing:.03em;text-transform:uppercase}
#modal#modal[data-view="tcard"] .tcx .tcx-mon-lv{color:var(--tx-gold);font:700 20px/1 Arial,Helvetica,sans-serif}
#modal#modal[data-view="tcard"] .tcx .tcx-mon.empty{color:var(--tx-muted);gap:14px;padding:0 6px}
#modal#modal[data-view="tcard"] .tcx .tcx-mon.empty .tcx-mon-name{font-weight:400}
#modal#modal[data-view="tcard"] .tcx .tcx-mon.shiny .tcx-mon-name{color:var(--tx-gold)}
#modal#modal[data-view="tcard"] .tcx .tcx-slots{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;min-height:0;flex:1 1 auto}
#modal#modal[data-view="tcard"] .tcx .tcx-slot{display:flex;min-width:0;padding:6px 10px;border-radius:8px;background:#101624;box-shadow:inset 0 0 0 1px var(--tx-line-hi)}
#modal#modal[data-view="tcard"] .tcx .tcx-slot .tcx-mon{flex-wrap:wrap;gap:0 8px;align-content:center;width:100%}
#modal#modal[data-view="tcard"] .tcx .tcx-slot .tcx-mon-art{width:56px;height:56px}
#modal#modal[data-view="tcard"] .tcx .tcx-slot .tcx-mon-art img{width:56px;height:56px}
#modal#modal[data-view="tcard"] .tcx .tcx-slot .tcx-mon-name{font-size:17px}
#modal#modal[data-view="tcard"] .tcx .tcx-slot .tcx-mon-lv{font-size:16px}
#modal#modal[data-view="tcard"] .tcx .tcx-hp{display:flex;align-items:center;gap:8px;flex:0 0 100%;margin-top:2px}
#modal#modal[data-view="tcard"] .tcx .tcx-hp-bar{flex:1 1 auto;height:9px;border-radius:5px;background:#0b0f14;box-shadow:inset 0 0 0 1px var(--tx-line);overflow:hidden}
#modal#modal[data-view="tcard"] .tcx .tcx-hp-bar i{display:block;height:100%;border-radius:5px;background:var(--tx-ok)}
#modal#modal[data-view="tcard"] .tcx .tcx-hp-bar.mid i{background:var(--tx-gold)}
#modal#modal[data-view="tcard"] .tcx .tcx-hp-bar.low i{background:var(--tx-red)}
#modal#modal[data-view="tcard"] .tcx .tcx-hp small{color:var(--tx-muted);font:700 15px/1 Arial,Helvetica,sans-serif;white-space:nowrap}
/* the three blocks at the bottom */
#modal#modal[data-view="tcard"] .tcx .tcx-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:10px;min-height:0}
#modal#modal[data-view="tcard"] .tcx.tcx-own .tcx-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr)}
#modal#modal[data-view="tcard"] .tcx .tcx-col{display:flex;flex-direction:column;gap:10px;min-width:0;min-height:0}
#modal#modal[data-view="tcard"] .tcx .tcx-col>.tcx-ranked{flex:1 1 auto}
#modal#modal[data-view="tcard"] .tcx .tcx-dex{display:flex;flex-direction:column;gap:6px;padding:2px 0 4px}
#modal#modal[data-view="tcard"] .tcx .tcx-dex-line{display:flex;justify-content:space-between;align-items:baseline;font:700 22px/1.1 Arial,Helvetica,sans-serif}
#modal#modal[data-view="tcard"] .tcx .tcx-dex-line span{color:var(--tx-muted);font-weight:400}
#modal#modal[data-view="tcard"] .tcx .tcx-bar{height:12px;border-radius:6px;background:#0b0f14;box-shadow:inset 0 0 0 1px var(--tx-line-hi);overflow:hidden}
#modal#modal[data-view="tcard"] .tcx .tcx-bar i{display:block;height:100%;border-radius:6px;background:var(--tx-info)}
#modal#modal[data-view="tcard"] .tcx [data-dex="caught"] .tcx-bar i{background:var(--tx-teal)}
#modal#modal[data-view="tcard"] .tcx .tcx-rank{display:flex;align-items:baseline;gap:12px}
#modal#modal[data-view="tcard"] .tcx .tcx-tier{color:var(--tx-gold);font:700 26px/1 Arial,Helvetica,sans-serif;text-transform:uppercase;letter-spacing:.05em}
#modal#modal[data-view="tcard"] .tcx .tcx-rank small{color:var(--tx-muted);font:400 16px/1 Arial,Helvetica,sans-serif}
#modal#modal[data-view="tcard"] .tcx .tcx-rank-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#modal#modal[data-view="tcard"] .tcx .tcx-rs{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 4px;border-radius:6px;background:#101624;box-shadow:inset 0 0 0 1px var(--tx-line)}
#modal#modal[data-view="tcard"] .tcx .tcx-rs small{color:var(--tx-muted);font:700 11px/1 Arial,Helvetica,sans-serif;letter-spacing:0;text-transform:uppercase;white-space:nowrap}
#modal#modal[data-view="tcard"] .tcx .tcx-rs b{font:700 22px/1 Arial,Helvetica,sans-serif}
#modal#modal[data-view="tcard"] .tcx :is(.tcx-info,.tcx-stats){gap:0}
#modal#modal[data-view="tcard"] .tcx :is(.tcx-info,.tcx-stats)>.tcx-ph{margin-bottom:8px}
#modal#modal[data-view="tcard"] .tcx .tcx-mon.big .tcx-mon-art{width:62px;height:62px}
#modal#modal[data-view="tcard"] .tcx .tcx-mon.big .tcx-mon-art img{width:62px;height:62px}
#modal#modal[data-view="tcard"] .tcx .tcx-row{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:23px;padding:0 4px;border-bottom:1px solid #1a2336;font:400 18px/22px Arial,Helvetica,sans-serif}
#modal#modal[data-view="tcard"] .tcx .tcx-row>span{color:var(--tx-muted);white-space:nowrap}
#modal#modal[data-view="tcard"] .tcx .tcx-row>b{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;font-weight:700;color:var(--tx-text);text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#modal#modal[data-view="tcard"] .tcx .tcx-gold{color:var(--tx-gold)}
#modal#modal[data-view="tcard"] .tcx .tcx-chip{display:inline-block;height:22px;padding:0 10px;border-radius:11px;background:#101624;box-shadow:inset 0 0 0 1px #f0c66a88;color:var(--tx-gold);font:700 14px/22px Arial,Helvetica,sans-serif}
#modal#modal[data-view="tcard"] .tcx .tcx-title-link{display:inline-block;max-width:100%;height:22px;padding:0 10px!important;border:0!important;border-radius:11px;background:#101624!important;box-shadow:inset 0 0 0 1px var(--tx-line-hi)!important;color:var(--tx-text)!important;font:700 14px/22px Arial,Helvetica,sans-serif!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#modal#modal[data-view="tcard"] .tcx button.tcx-title-link{box-shadow:inset 0 0 0 1px var(--tx-red)!important}
#modal#modal[data-view="tcard"] .tcx .tcx-title-link.empty{color:var(--tx-muted)!important}
/* ---- desktop: the window is the 1672 x 941 sheet --------------------------------------------------------------------------------------------------------------- */
@media screen and (min-width:901px){
body:not(.mobile-web) #modal#modal[data-view="tcard"]{--s:var(--win-s,1);width:calc(1672px * var(--s))!important;height:calc(941px * var(--s))!important;max-width:none!important;max-height:none!important;padding:0!important;border:0!important;border-radius:calc(10px * var(--s))!important;background:var(--tx-bg)!important;box-shadow:0 0 0 1px var(--tx-line-hi),0 18px 60px #05080d!important;overflow:hidden!important}
body:not(.mobile-web) #modal#modal[data-view="tcard"]>.modal-header{display:none!important}
body:not(.mobile-web) #modal#modal[data-view="tcard"] #modal-body{position:absolute!important;left:0!important;top:0!important;display:block!important;zoom:var(--s)!important;width:1672px!important;height:941px!important;max-height:none!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important}
body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx{width:1672px;height:941px;padding:12px 14px;gap:10px;grid-template-rows:92px 196px minmax(0,1fr)}
body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx.tcx-own{grid-template-rows:92px 190px 150px 138px minmax(0,1fr)}
}
/* ---- phone: the window's own header, a scrolling body, one column ----------------------------------------------------------------------------------------------- */
body.mobile-web #modal#modal[data-view="tcard"] #modal-body{padding:8px!important;background:var(--tx-bg)!important}
body.mobile-web #modal#modal[data-view="tcard"] .tcx{grid-template-columns:minmax(0,1fr);gap:10px;font-size:15px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-head{flex-wrap:wrap;gap:8px 10px;padding:10px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-who{flex:1 1 100%;gap:10px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-avatar{width:56px;height:56px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-name{font-size:22px!important}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-meta{flex-wrap:wrap;gap:6px 8px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-lv,body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-online{height:24px;font-size:13px;line-height:24px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-money{font-size:17px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-tid{height:auto;margin:0;padding:0 0 0 10px;font-size:14px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-banner{display:none}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-close{display:none}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-back{height:36px;font-size:14px!important;line-height:36px!important}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-panel{padding:10px 12px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-ph h3{font-size:17px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-badges{grid-template-columns:minmax(0,1fr)}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-tabs{grid-column:1;grid-row:auto;flex-wrap:wrap}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-hexes{grid-template-columns:repeat(4,minmax(0,1fr))}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-hex-frame{width:70px;height:78px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-hex-frame :is(img,i){width:40px;height:40px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-pill{height:22px;padding:0 8px;font-size:12px;line-height:22px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-hl{grid-template-columns:minmax(0,1fr)}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-slots{grid-template-columns:repeat(2,minmax(0,1fr))}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-mon-name{font-size:18px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-bottom,body.mobile-web #modal#modal[data-view="tcard"] .tcx.tcx-own .tcx-bottom{grid-template-columns:minmax(0,1fr)}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-row{font-size:14px;min-height:26px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-dex-line{font-size:16px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-rs b{font-size:17px}
@media (orientation:landscape) and (max-height:560px){
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-hexes{grid-template-columns:repeat(8,minmax(0,1fr))}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-hex-frame{width:58px;height:64px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-hex-frame :is(img,i){width:32px;height:32px}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-hl{grid-template-columns:repeat(3,minmax(0,1fr))}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-slots{grid-template-columns:repeat(3,minmax(0,1fr))}
body.mobile-web #modal#modal[data-view="tcard"] .tcx .tcx-bottom,body.mobile-web #modal#modal[data-view="tcard"] .tcx.tcx-own .tcx-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Work-ID 20261030-mockup-*; zenux, Trello 2026-10-30: "faca exatamente igual ao enviado". The card is the mockup's own 1672 x 941 picture (ui/tcard/chrome.jpg: the red frames of every panel, the section titles and their icons, the title banner, the badges' hexagons and
   name plates, the highlight and team tiles, the Pokedex bars, the information and statistics labels) with the live parts taken out; the live parts are drawn over it at the mockup's measured boxes. The Ranked panel and the extra information rows (location,
   Hall of Fame) are not in the mockup: they stay in the DOM and are off the sheet; the title link sits under the ID. Controls keep their boxes in every state: hover / focus draw an inset ring only (AGENTS.md). */
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="tcard"]{zoom:var(--win-s,1)!important;box-sizing:border-box!important;width:1672px!important;height:941px!important;min-width:0!important;max-width:none!important;min-height:0!important;max-height:none!important;padding:0!important;margin:auto!important;border:0!important;border-image:none!important;border-radius:0!important;overflow:hidden!important;background:#050507 url("../../assets/ui/tcard/chrome.jpg?v=1") 0 0/1672px 941px no-repeat!important;box-shadow:0 22px 64px #02060d!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"]::backdrop{background:#02060d99!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"]>.modal-header{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] #modal-body{position:absolute!important;left:0!important;top:0!important;display:block!important;width:1672px!important;height:941px!important;margin:0!important;padding:0!important;border:0!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;max-height:none!important;overflow:hidden!important;background:none!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] :is(.tcx,.tcx-head,.tcx-who,.tcx-ident,.tcx-meta,.tcx-head-end,.tcx-panel,.tcx-hexes,.tcx-hl,.tcx-slots,.tcx-bottom,.tcx-col,.tcx-dex,.tcx-hex,.tcx-hl-tile,.tcx-slot,.tcx-mon,.tcx-mon-text,.tcx-hex-frame,.tc-hex-in){display:contents!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] :is(.tcx,.tcx-panel,.tcx-head,.tcx-bottom){margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-ph,body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-banner,body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-online,body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-stars,body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-ranked,body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-coin{display:none!important}
 /* the header */
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-avatar{position:absolute!important;left:44px!important;top:26px!important;display:block!important;width:98px!important;height:76px!important;margin:0!important;padding:0!important;overflow:hidden!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-avatar canvas,body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-avatar img{display:block!important;width:98px!important;height:76px!important;object-fit:contain!important;image-rendering:pixelated!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-name{position:absolute!important;left:161px!important;top:20px!important;display:block!important;width:340px!important;height:40px!important;margin:0!important;color:#f3d98e!important;font:700 33px/40px Bahnschrift,"Segoe UI",Arial,sans-serif!important;letter-spacing:.02em!important;text-transform:uppercase!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-lv{position:absolute!important;left:182px!important;top:68px!important;display:block!important;width:84px!important;height:30px!important;margin:0!important;padding:0!important;background:none!important;border:0!important;color:#3a2606!important;font:800 24px/30px Bahnschrift,"Segoe UI",Arial,sans-serif!important;text-align:center!important;white-space:nowrap!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-money{position:absolute!important;left:338px!important;top:64px!important;display:block!important;width:200px!important;height:38px!important;margin:0!important;padding:0!important;background:none!important;border:0!important;color:#f3d98e!important;font:700 30px/38px Bahnschrift,"Segoe UI",Arial,sans-serif!important;letter-spacing:.03em!important;white-space:nowrap!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-tid{position:absolute!important;left:517px!important;top:44px!important;display:block!important;width:200px!important;height:32px!important;margin:0!important;color:#9cc0ea!important;font:500 26px/32px Bahnschrift,"Segoe UI",Arial,sans-serif!important;letter-spacing:.06em!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-close{position:absolute!important;left:1590px!important;top:20px!important;display:block!important;width:62px!important;height:62px!important;margin:0!important;padding:0!important;border:0!important;border-radius:4px!important;background:none!important;box-shadow:none!important;color:transparent!important;font-size:0!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-close:is(:hover,:focus-visible){background:#ffffff14!important;box-shadow:inset 0 0 0 3px #fff!important;outline:none!important}
 /* the badges */
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex{--cx:138px}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex .tc-hex-in img,body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex img{position:absolute!important;top:196px!important;width:74px!important;height:74px!important;margin:0!important;object-fit:contain!important;image-rendering:pixelated!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:not(.earned) img{filter:grayscale(1) brightness(.62) contrast(.9)!important;opacity:.85}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-pill{position:absolute!important;top:289px!important;display:block!important;width:130px!important;height:21px!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:#eadbb0!important;font:600 21px/21px Bahnschrift,"Segoe UI",Arial,sans-serif!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:nth-child(1) :is(img){left:101px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:nth-child(1) .tcx-pill{left:73px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:nth-child(2) :is(img){left:304px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:nth-child(2) .tcx-pill{left:276px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:nth-child(3) :is(img){left:499px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:nth-child(3) .tcx-pill{left:471px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:nth-child(4) :is(img){left:698px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:nth-child(4) .tcx-pill{left:670px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:nth-child(5) :is(img){left:897px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:nth-child(5) .tcx-pill{left:869px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:nth-child(6) :is(img){left:1096px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:nth-child(6) .tcx-pill{left:1068px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:nth-child(7) :is(img){left:1293px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:nth-child(7) .tcx-pill{left:1265px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:nth-child(8) :is(img){left:1491px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hex:nth-child(8) .tcx-pill{left:1463px!important}
 /* the highlights */
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-label{position:absolute!important;top:396px!important;display:block!important;margin:0!important;color:#eab34a!important;font:700 23px/28px Bahnschrift,"Segoe UI",Arial,sans-serif!important;letter-spacing:.07em!important;text-transform:uppercase!important;white-space:nowrap!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile .tcx-mon-art{position:absolute!important;top:394px!important;display:block!important;width:128px!important;height:94px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile .tcx-mon-art img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;image-rendering:pixelated!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile .tcx-mon-name{position:absolute!important;top:426px!important;display:block!important;width:430px!important;margin:0!important;color:#d4e3f7!important;font:700 29px/36px Bahnschrift,"Segoe UI",Arial,sans-serif!important;letter-spacing:.03em!important;text-transform:uppercase!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile .tcx-mon-lv{position:absolute!important;top:452px!important;display:block!important;margin:0!important;color:#eab34a!important;font:700 23px/28px Bahnschrift,"Segoe UI",Arial,sans-serif!important;letter-spacing:.04em!important;text-align:right!important;width:110px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile:nth-child(1) .tcx-hl-label{left:209px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile:nth-child(1) .tcx-mon-art{left:62px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile:nth-child(1) .tcx-mon-name{left:209px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile:nth-child(1) .tcx-mon-lv{left:790px!important;left:430px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile:nth-child(2) .tcx-hl-label{left:722px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile:nth-child(2) .tcx-mon.empty .tcx-mon-name{left:724px!important;top:436px!important;color:#d4e3f7!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile:nth-child(2) .tcx-mon-art{left:604px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile:nth-child(2) .tcx-mon-name{left:722px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile:nth-child(2) .tcx-mon-lv{left:962px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile:nth-child(3) .tcx-hl-label{left:1286px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile:nth-child(3) .tcx-mon-art{left:1137px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile:nth-child(3) .tcx-mon-name{left:1286px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile:nth-child(3) .tcx-mon-lv{left:1497px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-hl-tile .tcx-mon.empty .tcx-ball{position:absolute!important;left:608px!important;top:398px!important;width:88px!important;height:88px!important;opacity:.55!important;background:radial-gradient(circle at 50% 50%,#2a2c33 0 18%,#14161b 19% 27%,transparent 28%),linear-gradient(180deg,#2c2e35 0 46%,#14161b 46% 54%,#262830 54%)!important;border-radius:50%!important}
 /* the team */
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot{--sx:46px}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot .tcx-mon-art{position:absolute!important;top:586px!important;display:block!important;width:80px!important;height:80px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot .tcx-mon-art img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;image-rendering:pixelated!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot .tcx-mon-name{position:absolute!important;top:588px!important;display:block!important;width:170px!important;margin:0!important;color:#d4e3f7!important;font:700 21px/26px Bahnschrift,"Segoe UI",Arial,sans-serif!important;letter-spacing:.03em!important;text-transform:uppercase!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot .tcx-mon-lv{position:absolute!important;top:618px!important;display:block!important;margin:0!important;color:#b9cfe8!important;font:500 18px/22px Bahnschrift,"Segoe UI",Arial,sans-serif!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot .tcx-hp{position:absolute!important;top:648px!important;display:block!important;width:176px!important;height:30px!important;margin:0!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot .tcx-hp-bar{position:absolute!important;left:0!important;top:0!important;display:block!important;width:176px!important;height:8px!important;border-radius:4px!important;background:#18331d!important;overflow:hidden!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot .tcx-hp-bar>i{display:block!important;height:100%!important;border-radius:4px!important;background:linear-gradient(180deg,#5cf05f,#2cc83a)!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot .tcx-hp>small{position:absolute!important;right:2px!important;top:10px!important;color:#e9eefb!important;font:600 18px/22px Bahnschrift,"Segoe UI",Arial,sans-serif!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot .tcx-mon.slot:not(.empty)::after{content:"";position:absolute;top:650px;width:26px;height:26px;border-radius:50%;background:radial-gradient(circle at 50% 50%,#f4f6fb 0 14%,#10151f 15% 26%,transparent 27%),linear-gradient(180deg,#e0342d 0 46%,#10151f 46% 54%,#f4f6fb 54%)}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot .tcx-mon.empty .tcx-ball{position:absolute!important;top:595px!important;width:60px!important;height:60px!important;opacity:.5!important;border-radius:50%!important;background:radial-gradient(circle at 50% 50%,#2a2c33 0 18%,#14161b 19% 27%,transparent 28%),linear-gradient(180deg,#2c2e35 0 46%,#14161b 46% 54%,#262830 54%)!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot .tcx-mon.empty .tcx-mon-name{top:610px!important;width:40px!important;color:#cfd8e6!important}
 /* slot columns: the mockup's six tiles */
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(1){--l:46px}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(1) .tcx-mon-art{left:58px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(1) .tcx-mon-name{left:154px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(1) .tcx-mon-lv{left:154px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(1) .tcx-hp{left:134px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(1) .tcx-mon.slot:not(.empty)::after{left:54px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(2) .tcx-mon-art{left:342px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(2) .tcx-mon-name{left:448px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(2) .tcx-mon-lv{left:448px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(2) .tcx-hp{left:428px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(2) .tcx-mon.slot:not(.empty)::after{left:338px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(3) .tcx-mon-art{left:630px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(3) .tcx-mon-name{left:726px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(3) .tcx-mon-lv{left:726px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(3) .tcx-hp{left:706px!important;width:150px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(3) .tcx-mon.slot:not(.empty)::after{left:626px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(4) .tcx-mon-art{left:892px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(4) .tcx-mon-name{left:988px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(4) .tcx-mon-lv{left:988px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(4) .tcx-hp{left:968px!important;width:140px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(4) .tcx-mon.slot:not(.empty)::after{left:888px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(5) .tcx-mon-art{left:1148px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(5) .tcx-mon-name{left:1244px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(5) .tcx-mon-lv{left:1244px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(5) .tcx-hp{left:1224px!important;width:140px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(5) .tcx-mon.slot:not(.empty)::after{left:1144px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(6) .tcx-mon-art{left:1402px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(6) .tcx-mon-name{left:1498px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(6) .tcx-mon-lv{left:1498px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(6) .tcx-hp{left:1478px!important;width:140px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(6) .tcx-mon.slot:not(.empty)::after{left:1398px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(1) .tcx-mon.empty .tcx-ball{left:88px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(2) .tcx-mon.empty .tcx-ball{left:373px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(3) .tcx-mon.empty .tcx-ball{left:638px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(4) .tcx-mon.empty .tcx-ball{left:903px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(5) .tcx-mon.empty .tcx-ball{left:1158px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(6) .tcx-mon.empty .tcx-ball{left:1413px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(1) .tcx-mon.empty .tcx-mon-name{left:158px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(2) .tcx-mon.empty .tcx-mon-name{left:443px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(3) .tcx-mon.empty .tcx-mon-name{left:718px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(4) .tcx-mon.empty .tcx-mon-name{left:974px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(5) .tcx-mon.empty .tcx-mon-name{left:1230px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-slot:nth-child(6) .tcx-mon.empty .tcx-mon-name{left:1485px!important}
 /* the Pokedex counts, the information and the statistics */
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-dex-line>span{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-dex-line>b{position:absolute!important;left:340px!important;display:block!important;width:112px!important;margin:0!important;color:#eef3fb!important;font:700 25px/32px Bahnschrift,"Segoe UI",Arial,sans-serif!important;letter-spacing:.03em!important;text-align:right!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-dex:nth-of-type(1) .tcx-dex-line>b{top:770px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-dex:nth-of-type(2) .tcx-dex-line>b{top:834px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-bar{position:absolute!important;left:61px!important;display:block!important;box-sizing:border-box!important;width:386px!important;height:15px!important;margin:0!important;padding:0!important;border:0!important;border-radius:8px!important;background:none!important;overflow:hidden!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-dex:nth-of-type(1) .tcx-bar{top:801px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-dex:nth-of-type(2) .tcx-bar{top:868px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-bar>i{display:block!important;height:100%!important;min-width:12px!important;border-radius:8px!important;background:linear-gradient(180deg,#f04a3c,#c4271f)!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-dex:nth-of-type(2) .tcx-bar>i{background:linear-gradient(180deg,#ffa347,#e06a14)!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-info .tcx-row>span,body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-stats .tcx-row>span{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-info .tcx-row>b{position:absolute!important;left:850px!important;display:block!important;width:204px!important;margin:0!important;color:#eef3fb!important;font:600 18px/22px Bahnschrift,"Segoe UI",Arial,sans-serif!important;letter-spacing:.02em!important;text-align:right!important;white-space:nowrap!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-stats .tcx-row>b{position:absolute!important;left:1500px!important;display:block!important;width:126px!important;margin:0!important;color:#eef3fb!important;font:600 18px/22px Bahnschrift,"Segoe UI",Arial,sans-serif!important;letter-spacing:.02em!important;text-align:right!important;white-space:nowrap!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-info .tcx-row:nth-of-type(1)>b{top:747px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-info .tcx-row:nth-of-type(2)>b{top:769px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-info .tcx-row:nth-of-type(3)>b{top:791px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-info .tcx-row:nth-of-type(4)>b{top:812px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-info .tcx-row:nth-of-type(5)>b{top:834px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-info .tcx-row:nth-of-type(6)>b{top:856px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-info .tcx-row:nth-of-type(7)>b{top:878px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-info .tcx-gold{color:#f0b43e!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-info .tcx-row:nth-of-type(n+8){display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-info .tcx-row:nth-of-type(9){display:block!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-info .tcx-row:nth-of-type(9)>b{position:absolute!important;left:470px!important;top:74px!important;width:150px!important;font-size:14px!important;text-align:left!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-title-link{position:absolute!important;left:517px!important;top:76px!important;display:block!important;width:150px!important;height:22px!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:#8fb8e8!important;font:500 15px/22px Bahnschrift,"Segoe UI",Arial,sans-serif!important;letter-spacing:.04em!important;text-align:left!important;text-transform:uppercase!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-title-link:is(:hover,:focus-visible){box-shadow:inset 0 0 0 2px #fff!important;outline:none!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-stats .tcx-row:nth-of-type(1)>b{top:751px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-stats .tcx-row:nth-of-type(2)>b{top:776px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-stats .tcx-row:nth-of-type(3)>b{top:801px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-stats .tcx-row:nth-of-type(4)>b{top:826px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-stats .tcx-row:nth-of-type(5)>b{top:851px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-stats .tcx-row:nth-of-type(6)>b{top:876px!important}
}
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="tcard"] :is(.tcx-row,.tcx-dex-line,.tcx-mon-text,.tcx-ident,.tcx-meta){display:contents!important;position:static!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] :is(.tcx-panel,.tcx-slots,.tcx-hexes){position:static!important}
}
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-tid{text-align:left!important;left:515px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-dex-line>b{font-size:22px!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-pill{font-size:19px!important}
}
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx .tcx-tid{border:0!important;padding:0!important}
}
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-info .tcx-row:nth-of-type(9){display:contents!important}
 body:not(.mobile-web) #modal#modal[data-view="tcard"] .tcx-info .tcx-row:nth-of-type(9)>b{position:static!important;display:contents!important}
}
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="tcard"],body:not(.mobile-web) #modal#modal[data-view="tcard"] #modal-body{overflow:clip!important}
}
@media screen and (min-width:901px){
 /* the window carries the zoom (--win-s) itself: the body must not zoom a second time (it did, at every factor but 1) */
 body:not(.mobile-web) #modal#modal[data-view="tcard"] #modal-body{zoom:1!important}
}
