/* The windows of batches A and B at the mockups' size (Work-ID 20261018-ab-recheck-d69d; zenux: "exactly like the images"): the Menu (09), Sua equipe (14), the Trainer card (02) and the Rankings (13)
   are full-window sheets in the mockups (the castle and the blood moon behind a tall header, the content filling the window, the close button at the far right). The first version was a smaller dialog
   over the HUD. Here the window is the same size as the redone ones (1660 x 940 at most), the header is the mockup's (112px: the emblem, the small line, the title in 54px gold), and the content is
   drawn at --sgf, a zoom by the window's height (like --sgz of the dense windows). Paint and DOM of the windows are the batch A / B ones: only the frame and the scale change.
   AGENTS.md "Absolute UI hover geometry": nothing here changes with a state. */
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"]){--sgf:1.18;--sgh:112px;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));background:radial-gradient(ellipse at 50% 0,#1a2338 0,#111724 58%,#050205 100%)!important}
 body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"])>.modal-header{min-height:112px!important;padding:0 120px 0 150px!important;background:linear-gradient(90deg,#111724 0,#111724f0 34%,#11172400 76%),var(--sg-head-art) right center/auto 100% no-repeat,linear-gradient(#111724d9,#111724d9),url("header-art.webp?v=sg-1") 62% center/cover no-repeat,#111724!important;box-shadow:0 2px 0 #5c3639,0 3px 0 #0d111c,0 10px 22px #0d111caa!important}
 body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"])>.modal-header::before{left:34px!important;width:86px!important;height:98px!important;margin-top:-49px!important}
 body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) #modal-eyebrow{font-size:15px!important;letter-spacing:.24em!important;color:var(--sg-gold-hi)!important}
 body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) #modal-title{font-size:54px!important;line-height:58px!important;letter-spacing:.04em!important;background:linear-gradient(180deg,#fff4cf 0,#f6cf72 46%,#b9791c 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;color:transparent!important;text-shadow:none!important;filter:drop-shadow(0 2px 0 #0d111c) drop-shadow(0 0 12px #f3c96b44)}
 body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) #modal-close{position:absolute!important;right:30px!important;top:50%!important;margin-top:-33px!important;width:66px!important;height:66px!important;min-width:66px!important;min-height:66px!important;display:grid!important;place-items:center!important;border-radius:4px!important;background:linear-gradient(180deg,#1b2439,#131928)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #6b3f43,inset 0 0 0 4px #161d2e,0 0 14px #673c4088!important}
 body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) #modal-close::before{content:""!important;display:block!important;width:34px!important;height:34px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cpath d='M5 5l24 24M29 5L5 29' stroke='%23400309' stroke-width='9' stroke-linecap='square'/%3E%3Cpath d='M5 5l24 24M29 5L5 29' stroke='%23ff3347' stroke-width='5' stroke-linecap='square'/%3E%3C/svg%3E") center/contain no-repeat!important;filter:drop-shadow(0 0 4px #71424688)}
 body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) #modal-body{height:calc(100% - 112px)!important;max-height:none!important;padding:0!important;overflow:hidden!important}
 body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) #modal-body>:not(.uv-scrollbar-layer){zoom:var(--sgf);box-sizing:border-box}
}
@media screen and (min-width:901px) and (max-height:953px){ body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"]){--sgf:1.12} }
@media screen and (min-width:901px) and (max-height:889px){ body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"]){--sgf:1.04} }
@media screen and (min-width:901px) and (max-height:829px){ body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"]){--sgf:.96} }
@media screen and (min-width:901px) and (max-height:769px){ body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"]){--sgf:.9} }
@media screen and (min-width:901px) and (max-height:719px){ body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"]){--sgf:.82} }
@media screen and (min-width:901px) and (max-height:829px){ body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"]){--sgh:92px} body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"])>.modal-header{min-height:92px!important} body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) #modal-body{height:calc(100% - 92px)!important} body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) #modal-title{font-size:44px!important;line-height:48px!important} body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"])>.modal-header::before{width:68px!important;height:78px!important;margin-top:-39px!important} body:not(.mobile-web) #modal#modal:is([data-view="menu"],[data-view="collection"],[data-view="card"],[data-view="ai"]):not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) #modal-close{margin-top:-28px!important;width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important} }
/* ---- the Menu: the mockup's own proportions (the list 58px rows, the preview with the big emblem), inset like the picture ---- */
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"]{--sgf:1!important}
 body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"] #modal-body{padding:20px 25px 26px 60px!important}
 body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"] .main-menu{display:grid!important;grid-template-columns:35% minmax(0,1fr)!important;gap:25px!important}
 body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"] .main-menu-entry.selected{background:linear-gradient(180deg,#1c253b,#131928)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #ffd978,inset 0 0 14px #f3c96b66,0 0 16px #f3c96bb0!important}
 body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"] .main-menu-preview-head{min-height:150px!important;display:flex!important;align-items:center!important;gap:24px!important;padding:14px 26px!important}
 body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"] .main-menu-preview-head .main-menu-hex{width:96px!important;height:96px!important;min-width:96px!important;flex:0 0 96px!important;margin:0!important}
 body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"] .main-menu-preview-head .main-menu-art-icon{width:58px!important;height:58px!important}
 body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"] .main-menu-preview-head h3{font-size:46px!important;line-height:50px!important}
 body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"] .main-menu-preview-head span{font-size:20px!important;line-height:24px!important}
 body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"] .main-menu-copy{font-size:17px!important;line-height:24px!important}
 body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"] .main-menu-fact{min-height:62px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 22px!important}
 body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"] .main-menu-fact>span{font-size:16px!important}
 body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"] .main-menu-fact>strong{font-size:26px!important}
}
@media screen and (min-width:901px) and (max-height:953px){ body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"]{--sgf:1!important} }
@media screen and (min-width:901px) and (max-height:889px){ body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"]{--sgf:.93!important} }
@media screen and (min-width:901px) and (max-height:829px){ body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"]{--sgf:.87!important} }
@media screen and (min-width:901px) and (max-height:769px){ body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"]{--sgf:.8!important} }
@media screen and (min-width:901px) and (max-height:719px){ body:not(.mobile-web) #modal#modal[data-view="menu"][data-view="menu"][data-view="menu"][data-view="menu"]{--sgf:.75!important} }
/* ---- the Trainer card: the sheet fills the window, the four blocks share its height (mockup 02) ---- */
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] #modal-body>.tc-card{max-height:none!important;zoom:calc(var(--win-s,1) * 1.4);display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1.1fr) minmax(0,1fr) minmax(0,.95fr)!important;gap:12px!important;height:calc((941px - 112px - 24px) / 1.4)!important;padding:14px 22px 16px!important;border:0!important;background:none!important;box-shadow:none!important;overflow:hidden}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tcc-head{padding:10px 16px!important;align-items:center}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tc-name{font-size:32px!important;line-height:36px!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] :is(.tcc-level,.tcc-cardstars,.tc-online){display:inline-flex!important;align-items:center!important;height:auto!important;min-height:36px!important;font-size:18px!important;line-height:24px!important;padding:4px 18px!important;border-radius:6px!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tcc-kind{position:relative;min-width:330px;padding:8px 40px 8px 14px!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tcc-kind::after{content:"";position:absolute;right:14px;top:50%;width:10px;height:16px;margin-top:-8px;background:var(--sg-chevron) center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tc-profile{display:grid!important;grid-template-columns:230px minmax(0,1fr)!important;gap:14px!important;min-height:0;padding:12px!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tc-profile>.tc-avatar{align-self:stretch;justify-self:stretch;width:auto!important;height:auto!important;min-height:0}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tc-profile .tc-hex-in{display:grid!important;place-items:center!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tc-profile .tc-hex-in canvas{width:64%!important;height:auto!important;aspect-ratio:1;image-rendering:pixelated}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tc-id{display:grid!important;grid-template-rows:repeat(4,minmax(0,1fr));gap:8px!important;min-height:0}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tc-id>.tc-line{height:auto!important;min-height:0}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tc-key{font-size:16px!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tc-value{font-size:19px!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tc-chip{font-size:17px!important;padding:5px 18px!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tc-section{display:grid!important;grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0;padding:10px 14px 12px!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tc-section:has(.tcc-ranked)>.tc-heading::before{content:"\265B";margin-right:8px;color:var(--sg-gold);font-size:22px;vertical-align:-2px}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tcc-ranked{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,2.9fr);gap:14px;min-height:0}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tcc-ranked-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tcc-ranked-stats>.tc-stat{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto 1fr;justify-items:center;align-content:center;gap:2px;text-align:center}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tcc-ranked-stats>.tc-stat>i{position:static!important;justify-self:center!important;margin:0!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tc-stat small{font-size:14px!important;letter-spacing:.06em!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tc-stat strong{font-size:26px!important;line-height:30px!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tcc-ranked-head strong{font-size:22px!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tc-heading{display:flex!important;align-items:center!important;height:34px!important;min-height:0!important;padding-top:0!important;padding-bottom:0!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] .tcc-badges{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;min-height:0}
}
/* the Cartao at its mockup's size (02-cartao-treinador: 1672 x 941 at 1x) times the shared UI factor (ui_scale.js), never stretched, so nothing is cut at any screen (Work-ID 20261019-fixes-rk-card-bag-2488) */
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"]{--u:calc(1px * var(--win-s,1));--sgf:var(--win-s,1)!important;--sgh:calc(112 * var(--u));width:var(--win-wpx,1672px)!important;height:var(--win-hpx,941px)!important;--shutdown-window-width:var(--win-wpx,1672px);--shutdown-window-height:var(--win-hpx,941px)}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"]>.modal-header{min-height:calc(112 * var(--u))!important;padding:0 calc(120 * var(--u)) 0 calc(150 * var(--u))!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"]>.modal-header::before{left:calc(34 * var(--u))!important;width:calc(86 * var(--u))!important;height:calc(98 * var(--u))!important;margin-top:calc(-49 * var(--u))!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] #modal-eyebrow{font-size:calc(15 * var(--u))!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] #modal-title{font-size:calc(54 * var(--u))!important;line-height:calc(58 * var(--u))!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] #modal-close{right:calc(30 * var(--u))!important;margin-top:calc(-33 * var(--u))!important;width:calc(66 * var(--u))!important;height:calc(66 * var(--u))!important;min-width:0!important;min-height:0!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] #modal-close::before{width:calc(30 * var(--u))!important;height:calc(30 * var(--u))!important}
 body:not(.mobile-web) #modal#modal[data-view="card"][data-view="card"][data-view="card"][data-view="card"] #modal-body{height:calc(100% - 112 * var(--u))!important}
}
/* Sua equipe: the cards are taller in the mockup, so its content is drawn a little larger than the Menu's */
@media screen and (min-width:901px){
 /* Sua equipe at the mockup's own size (14-sua-equipe: 1120 x 652 at 1x) times the shared UI factor (ui_scale.js), never stretched to the screen (Work-ID 20261019-ui-scale-7ff3) */
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"]{--u:calc(1px * var(--win-s,1));--sgh:calc(96 * var(--u));--sgf:var(--win-s,1)!important;width:var(--win-wpx,1120px)!important;height:var(--win-hpx,652px)!important;--shutdown-window-width:var(--win-wpx,1120px);--shutdown-window-height:var(--win-hpx,652px)}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"]>.modal-header{min-height:calc(96 * var(--u))!important;padding:0 calc(80 * var(--u)) 0 calc(104 * var(--u))!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"]>.modal-header::before{left:calc(18 * var(--u))!important;width:calc(64 * var(--u))!important;height:calc(74 * var(--u))!important;margin-top:calc(-37 * var(--u))!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] #modal-eyebrow{font-size:calc(13 * var(--u))!important;line-height:calc(17 * var(--u))!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] #modal-title{font-size:calc(40 * var(--u))!important;line-height:calc(44 * var(--u))!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] #modal-close{right:calc(16 * var(--u))!important;margin-top:calc(-22 * var(--u))!important;width:calc(44 * var(--u))!important;height:calc(44 * var(--u))!important;min-width:0!important;min-height:0!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] #modal-close::before{width:calc(22 * var(--u))!important;height:calc(22 * var(--u))!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] #modal-body{height:calc(100% - 96 * var(--u))!important;padding:10px 14px 10px!important;gap:10px 12px!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] #modal-body>.modal-description{min-height:42px!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] #modal-body>.mini-note[role="status"]{min-height:42px!important;font-size:15px!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] .collection-grid{gap:12px!important;padding:12px 2px 2px!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] .collection-card{padding:14px 8px 10px!important;gap:5px!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] .collection-card .collection-pokemon-art{width:92px!important;height:92px!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] .collection-card>strong{font-size:16px!important;line-height:20px!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] #modal-body>.modal-actions button{height:46px!important;min-height:46px!important;width:380px!important;min-width:380px!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] .collection-card .row button{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] .collection-card .row button:nth-child(2):disabled{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] .collection-grid{align-content:stretch!important;grid-auto-rows:minmax(0,1fr)!important}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] .collection-card .row button::before{content:"";flex:0 0 16px;width:16px;height:16px;background:currentColor;-webkit-mask:var(--sgic) center/contain no-repeat;mask:var(--sgic) center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] .collection-card .row button:nth-child(1){--sgic:url("../GameIcon/icons/magnifying-glass.png?v=10")}
 body:not(.mobile-web) #modal#modal[data-view="collection"][data-view="collection"][data-view="collection"][data-view="collection"] .collection-card .row button:nth-child(2){--sgic:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath fill-rule=%22evenodd%22 d=%22M3 18L2 7l5 4 5-8 5 8 5-4-1 11zM4 20h16v2H4z%22/%3E%3C/svg%3E")}
}
/* ---- the Rankings (mockup 13-ranking), at the mockup's own size: a 1031 x 632 dialog times the shared UI factor (ui_scale.js: --win-s, --win-wpx, --win-hpx), never stretched to the screen (Work-ID 20261019-ui-scale-7ff3).
   Every size below is the mockup's pixel size at 1x; the header (outside the zoom) is written with --u = one mockup pixel at the current factor. The season pill sits in the header, three figures, six tabs with icons
   in one strip, the board with a column head, medals for the top three and a portrait in each row. ---- */
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]){--u:calc(1px * var(--win-s,1));--sgh:calc(78 * var(--u));--sgf:var(--win-s,1)!important;width:var(--win-wpx,1031px)!important;height:var(--win-hpx,632px)!important;--shutdown-window-width:var(--win-wpx,1031px);--shutdown-window-height:var(--win-hpx,632px);--rk-tab:#7f95c9}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"])>.modal-header{min-height:calc(78 * var(--u))!important;padding:0 calc(70 * var(--u)) 0 calc(84 * var(--u))!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"])>.modal-header::before{left:calc(16 * var(--u))!important;width:calc(52 * var(--u))!important;height:calc(60 * var(--u))!important;margin-top:calc(-30 * var(--u))!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) #modal-eyebrow{font-size:calc(12 * var(--u))!important;line-height:calc(16 * var(--u))!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) #modal-title{font-size:calc(36 * var(--u))!important;line-height:calc(40 * var(--u))!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) #modal-close{right:calc(14 * var(--u))!important;margin-top:calc(-19 * var(--u))!important;width:calc(38 * var(--u))!important;height:calc(38 * var(--u))!important;min-width:0!important;min-height:0!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) #modal-close::before{width:calc(18 * var(--u))!important;height:calc(18 * var(--u))!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) #modal-body{height:calc(100% - 78 * var(--u))!important;padding:10px 16px 12px!important;background:radial-gradient(ellipse at 50% 100%,#1f2942 0,#131928 48%,#060205 100%)!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-window{display:flex!important;flex-direction:column;gap:8px!important;height:calc(var(--win-hpx,632px) / var(--win-s,1) - 78px - 16px / var(--win-s,1) - 30px);min-height:0}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-top{display:grid;gap:6px}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-head{grid-template-columns:minmax(0,1fr) minmax(0,1.07fr) minmax(0,.98fr)!important;gap:12px!important;margin:0!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-stat{min-height:74px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;padding:4px 14px 4px 76px!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-stat::before{content:""!important;left:12px!important;width:50px!important;height:50px!important;margin-top:-25px!important;border-radius:0!important;box-shadow:none!important;background:var(--rk-emblem) center/contain no-repeat!important;font-size:0!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-head>:nth-child(1){--rk-emblem:url("rk/crown-emblem.png?v=rk1")}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-head>:nth-child(2){--rk-emblem:url("rk/star-emblem.png?v=rk1")}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-head>:nth-child(3){--rk-emblem:url("rk/clock-emblem.png?v=rk1")}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-stat>span{font-size:12px!important;line-height:15px!important;color:#c9d0e6!important;letter-spacing:.08em!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-stat>strong{margin-top:2px!important;font-size:27px!important;line-height:31px!important;color:#ffd05a!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-tier{display:inline!important;font-size:inherit!important;letter-spacing:inherit!important;text-transform:uppercase;color:#ffd05a}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-tier[data-tier="silver"]{color:#d6dcec}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-tier[data-tier="gold"]{color:#ffd05a}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-tier[data-tier="platinum"]{color:#7fe3d6}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-tier[data-tier="diamond"]{color:#6ab6ff}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-tier[data-tier="master"],body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-tier[data-tier="grandmaster"]{color:#d38375}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-stat .season-strip{margin:0!important;display:flex!important;align-items:baseline!important;gap:6px!important;font-size:14px!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-stat .season-strip :is(.season-name,.season-sep){display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-stat .season-ends{color:var(--sg-text)!important;font-size:14px!important;letter-spacing:.02em!important;text-transform:none!important;font-weight:400!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-stat .season-left{font-size:22px!important;line-height:26px!important;color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-note{position:relative;padding-left:30px!important;min-height:22px;display:flex;align-items:center;font-size:12px!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-note::before{content:"";position:absolute;left:4px;top:50%;width:20px;height:16px;margin-top:-8px;background:#7f95c9;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath fill-rule=%22evenodd%22 d=%22M8 11a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm9 0a3 3 0 100-6 3 3 0 000 6zM8 13c-3 0-6 1.5-6 4v3h12v-3c0-2.5-3-4-6-4zm9 1c-.6 0-1.2.1-1.8.3 1.2.9 1.8 2 1.8 3.7v2h5v-2.5c0-2-2.3-3.5-5-3.5z%22/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath fill-rule=%22evenodd%22 d=%22M8 11a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm9 0a3 3 0 100-6 3 3 0 000 6zM8 13c-3 0-6 1.5-6 4v3h12v-3c0-2.5-3-4-6-4zm9 1c-.6 0-1.2.1-1.8.3 1.2.9 1.8 2 1.8 3.7v2h5v-2.5c0-2-2.3-3.5-5-3.5z%22/%3E%3C/svg%3E") center/contain no-repeat}
 /* the header's season pill */
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-head-pill{position:absolute;left:calc(50% - 105 * var(--u));top:50%;display:flex!important;align-items:center;gap:calc(10 * var(--u));box-sizing:border-box;width:calc(215 * var(--u));height:calc(42 * var(--u));margin-top:calc(-21 * var(--u));padding:0 calc(14 * var(--u));border-radius:3px;background:linear-gradient(180deg,#1c253c,#121826);
  box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #c8861f,inset 0 0 0 4px #161d2e,0 0 12px #673c4066;color:var(--sg-gold-hi);font:700 calc(15 * var(--u))/calc(18 * var(--u)) Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;pointer-events:none}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-head-pill-icon{flex:0 0 calc(26 * var(--u));height:calc(26 * var(--u));background:url("rk/pill-crown.png?v=rk1") center/contain no-repeat}
 /* the six tabs: one strip of equal buttons, each with its icon */
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-navrow{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;padding:6px!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;margin:0!important;padding:0!important;background:none!important;box-shadow:none!important;border:0!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-navrow button{height:46px!important;min-height:46px!important;max-height:46px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:auto!important;padding:0 6px!important;font-size:12px!important;letter-spacing:.03em!important;min-width:0!important;overflow:hidden;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-ico{display:block!important;order:-1;flex:0 0 26px;width:26px;height:26px;background:var(--rk-i) center/contain no-repeat;image-rendering:auto}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-ico-general{--rk-i:url("rk/tab-trophy.png?v=rk1")}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-ico-rivals{--rk-i:url("rk/tab-swords.png?v=rk1")}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-ico-power{--rk-i:url("rk/tab-bars.png?v=rk1")}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-ico-pvp{--rk-i:url("rk/tab-calendar.png?v=rk1")}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-ico-dex{--rk-i:url("rk/tab-ball.png?v=rk1")}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-navrow button.selected .rk-ico:not(.rk-ico-general){filter:sepia(1) saturate(3.2) hue-rotate(-8deg) brightness(1.25)}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-navrow button:not(.selected) .rk-ico-general{filter:grayscale(1) sepia(.35) hue-rotate(185deg) saturate(2) brightness(.95)}
 /* the board */
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-body{flex:1 1 0!important;min-height:0!important;overflow:auto!important;padding:8px 10px!important;max-height:none!important;display:flex;flex-direction:column;gap:6px}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-body .ai-list{max-height:none!important;display:flex!important;flex-direction:column;gap:7px!important;overflow:visible!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-thead{display:grid!important;grid-template-columns:46px 70px 56px minmax(0,1fr) 110px 130px;align-items:center;height:26px;padding:0 14px;color:var(--sg-muted);font:700 11px/13px Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-thead>:nth-child(1){grid-column:1 / 3}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-thead>:nth-child(2){grid-column:3;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-thead>:nth-child(3){grid-column:4;justify-self:end;margin-right:40px}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-thead>:nth-child(4){grid-column:5;justify-self:center}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-thead>:nth-child(5){grid-column:6;justify-self:center}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-row.ladder-row{display:grid!important;grid-template-columns:46px 70px 56px minmax(0,1fr) 110px 130px;align-items:center;column-gap:0;min-height:76px!important;padding:0 14px!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-row.ladder-row .rank-number{font-size:25px!important;line-height:29px!important;color:#b8c4e8!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-row.ladder-row[data-place="1"] .rank-number{color:var(--sg-gold-hi)!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-row.ladder-row[data-place="3"] .rank-number{color:#e8935a!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-medal{display:block!important;width:38px;height:38px;background:center/contain no-repeat;border-radius:0}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-row.ladder-row:not([data-place="1"],[data-place="2"],[data-place="3"]) .rk-medal{visibility:hidden}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-row.ladder-row[data-place="1"] .rk-medal{background-image:url("rk/medal-1.png?v=rk1");filter:drop-shadow(0 0 5px #f3c96b88)}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-row.ladder-row[data-place="2"] .rk-medal{background-image:url("rk/medal-2.png?v=rk1")}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-row.ladder-row[data-place="3"] .rk-medal{background-image:url("rk/medal-3.png?v=rk1")}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-face{position:relative;display:block!important;width:54px;height:54px;border-radius:50%;background:radial-gradient(circle at 50% 40%,#202a43 0,#111724 78%);box-shadow:0 0 0 1px #0d111c,0 0 0 3px #2e3a55,0 0 0 4px #0d111c;overflow:hidden}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-row.ladder-row[data-place="1"] .rk-face{box-shadow:0 0 0 1px #0d111c,0 0 0 3px #c8861f,0 0 10px #f3c96b88}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-face>canvas{position:absolute;left:50%;top:-4%;width:150%;height:150%;margin-left:-75%;image-rendering:pixelated}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-who{min-width:0;padding-left:12px;display:grid;gap:3px}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-who>strong{font-size:18px!important;line-height:21px!important;color:#fff!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-who>small{position:relative;padding-left:22px;font-size:12px!important;letter-spacing:.01em!important;color:var(--sg-muted)!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-who>small::before{content:"";position:absolute;left:0;top:50%;width:16px;height:16px;margin-top:-8px;background:url("rk/star-emblem.png?v=rk1") center/contain no-repeat;filter:var(--rk-coin-filter,none)}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-row.ladder-row[data-tier="silver"]{--rk-coin-filter:grayscale(1) brightness(1.5)}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-row.ladder-row[data-tier="gold"]{--rk-coin-filter:saturate(2) hue-rotate(12deg) brightness(1.4)}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-row.ladder-row[data-tier="platinum"]{--rk-coin-filter:hue-rotate(110deg) saturate(1.5) brightness(1.3)}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-row.ladder-row[data-tier="diamond"]{--rk-coin-filter:hue-rotate(190deg) saturate(1.6) brightness(1.3)}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rating-number{justify-self:center;font-size:20px!important;line-height:24px!important;color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-row.ladder-row>:is(.ai-human-pill,button){justify-self:center}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-human-pill{display:flex!important;align-items:center;gap:6px;height:32px;min-width:108px;padding:0 12px!important;font-size:12px!important;letter-spacing:.05em!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-human-pill::before{content:"";flex:0 0 16px;height:16px;background:url("rk/person.png?v=rk1") center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-human-pill.season-blank{visibility:hidden}
 /* the PODER boards of a type: each row wears the type's colour (zenux 2026-10-19), as the Wiki's rows do */
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-row.ladder-row.type-row{background:linear-gradient(90deg,color-mix(in srgb,var(--type-color) 38%,#111724) 0,color-mix(in srgb,var(--type-color) 14%,#111724) 46%,#0f1420 100%)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px color-mix(in srgb,var(--type-color) 70%,#0d111c),inset 4px 0 0 var(--type-color)!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .ai-row.ladder-row.type-row .rating-number{color:color-mix(in srgb,var(--type-color) 55%,#fff)!important}
 /* the type chips of PODER: a round dot in the type's colour, the selected one framed in it */
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-sub{display:flex!important;flex-wrap:wrap;gap:6px!important;flex:0 0 auto}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-sub .season-type{position:relative;height:30px!important;min-height:30px!important;padding:0 14px 0 32px!important;border:0!important;border-radius:2px!important;background:#111724!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #29344d!important;color:#fff!important;font:700 12px/16px Arial,sans-serif!important;letter-spacing:.04em!important;text-transform:uppercase!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-sub .season-type::before{content:"";position:absolute;left:9px;top:50%;width:14px;height:14px;margin-top:-7px;border-radius:50%;background:var(--type-color,#8a8a70);box-shadow:0 0 0 1px #0d111c,0 0 0 2px #d8cfc6}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-sub .season-type.selected,body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-sub .season-type[aria-pressed="true"]{background:#161d2e!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--type-color,#f6b23a)!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-sub .season-type:is(:hover:not(:disabled),:focus-visible,.pad-focus){background:#171f31!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #cf7666!important}
 body:not(.mobile-web) #modal#modal[data-view="ai"]:not([data-ai-mode="arena"]):not([data-ai-mode="mail"]) .rk-sub .season-type:is(.selected,[aria-pressed="true"]):is(:hover,:focus-visible,.pad-focus){background:#161d2e!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--type-color,#f6b23a)!important}
}
