/* The PC storage window (mockup 18-pc-armazenamento) in the gothic theme; Work-ID 20261018-pc-storage-reskin-b32b. Desktop only (the phone keeps ui/storage/pc-onescreen.css and mobile.css).
   zenux (2026-10-18): "exactly like the images". The sheet is laid out as the mockup: a header (emblem, brand, title, three tiles, a close button), then three columns: GUARDADOS / BOXES (title, FILTRAR,
   page tabs 1..N, the 5 x 5 box, the Caixa bar, Inspecionar / Mover / Retirar / Deletar), EQUIPE (six cards with the big sprite, name, level and HP bar, OPCOES DA EQUIPE) and the sheet of the selected
   Pokemon (name, level, portrait, types, HP and EXP bars, nature, trainer / ability / item, ATRIBUTOS, IVs, DETALHES, COMPRAR PAGINA and DESLIGAR PC). Same functions and handlers as before: the added
   nodes are hidden on the phone and shown here (a `hidden` attribute beats nothing but the `display` set below). Loaded AFTER ui/storage/pc-onescreen.css, which it takes over with !important.
   Not drawn, because the game has no such data or function: the favourite stars, the crit / flee / height numbers of DETALHES, the VIP level number (the tile says whether VIP is on); the box has 25
   slots (5 x 5), not the mockup's 36. AGENTS.md "Absolute UI hover geometry": every control keeps its box, padding, border, margin and font in every state; states repaint only. */
@media screen and (min-width:901px){
 body:not(.mobile-web) #modal#modal[data-view="storage"]{
  --pcx-ic-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='6'/%3E%3Cpath d='M15 15l6 6'/%3E%3C/svg%3E");
  --pcx-ic-move:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M3 12h18M12 3l-3 3M12 3l3 3M12 21l-3-3M12 21l3-3M3 12l3-3M3 12l3 3M21 12l-3-3M21 12l-3 3'/%3E%3C/svg%3E");
  --pcx-ic-box:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l9-5 9 5v9l-9 5-9-5zM3 8l9 5 9-5M12 13v9'/%3E%3C/svg%3E");
  --pcx-ic-trash:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 14h10l1-14M10 11v6M14 11v6'/%3E%3C/svg%3E");
  --pcx-ic-cart:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h3l3 12h11l2-8H6'/%3E%3Ccircle cx='9' cy='20' r='1.6'/%3E%3Ccircle cx='18' cy='20' r='1.6'/%3E%3C/svg%3E");
  --pcx-ic-power:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v9M6.5 6.5a8 8 0 1 0 11 0'/%3E%3C/svg%3E");
  --pcx-ic-filter:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h18l-7 9v7l-4-2v-5z'/%3E%3C/svg%3E");
  --pcx-ic-cube:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l9 5v10l-9 5-9-5V7zM3 7l9 5 9-5M12 12v10'/%3E%3C/svg%3E");
  --pcx-ic-user:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-5 3-8 8-8s8 3 8 8'/%3E%3C/svg%3E");
  --pcx-ic-crown:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18h18l1-11-5 4-5-8-5 8-5-4z'/%3E%3C/svg%3E");
  --pcx-ic-doc:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6zM14 3v5h5M9 13h7M9 17h7'/%3E%3C/svg%3E");
  --pcx-ic-heart:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21C4 14 3 9 3 7a4.5 4.5 0 0 1 9-1 4.5 4.5 0 0 1 9 1c0 2-1 7-9 14z'/%3E%3C/svg%3E");
  --pcx-ic-sword:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19L19 5M14 5h5v5M5 19l-2 2M7 13l4 4'/%3E%3C/svg%3E");
  --pcx-ic-shield:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-4 8-8 9-4-1-8-4-8-9V6z'/%3E%3C/svg%3E");
  --pcx-ic-spark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2 6 6 2-6 2-2 6-2-6-6-2 6-2z'/%3E%3C/svg%3E");
  --pcx-ic-bolt:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L5 14h6l-1 8 8-12h-6z'/%3E%3C/svg%3E");
  --pcx-ic-warn:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l10 18H2zM12 10v5M12 18v.5'/%3E%3C/svg%3E");
  --pcx-line:#b73a3a;--pcx-line-hi:#c85c51;--pcx-card:linear-gradient(180deg,#151d2e,#08040a);
  --shutdown-window-width:min(1660px,98vw);--shutdown-window-height:min(940px,calc(100dvh - 14px));
  width:min(1660px,98vw)!important;height:min(940px,calc(100dvh - 14px))!important;max-height:none!important;
 }
 body:not(.mobile-web) #modal#modal[data-view="storage"]>.modal-header{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] #modal-body{padding:0!important;overflow:hidden!important;background:radial-gradient(ellipse at 50% 100%,#1a2337 0,#111724 52%,#040104 100%)!important}
 /* ---- the sheet: header row, three columns, the buttons under the third ----------------------------------------------------------------------------------------------------------------------- */
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fit{display:grid!important;grid-template-columns:minmax(0,37.5fr) minmax(0,23.5fr) minmax(0,39fr)!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;gap:12px 14px!important;height:100%!important;padding:10px 16px 14px!important;box-sizing:border-box;zoom:1}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fit>.pc-screen{display:contents!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-screen>.pc-box{grid-column:1!important;grid-row:3 / 5!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-screen>.pc-party{grid-column:2!important;grid-row:3 / 5!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fit>.pc-details{grid-column:3!important;grid-row:3!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fit>.pc-bottom{grid-column:3!important;grid-row:4!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fit>.pc-warning{grid-column:1 / -1!important;grid-row:2!important}
 /* ---- the frames ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-box,.pc-party,.pc-details){position:relative;border:0!important;border-image:none!important;border-radius:5px!important;background:var(--sg-gems-quiet),var(--pcx-card)!important;box-shadow:var(--sg-frame-card)!important;color:var(--sg-text)!important;min-width:0;min-height:0;margin:0!important;padding:12px!important;box-sizing:border-box}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-warning{display:flex;align-items:center;padding:4px 12px!important;border:0!important;border-radius:4px!important;background:#1b243a!important;box-shadow:var(--sg-frame-soft)!important;color:var(--sg-gold-hi)!important;font:700 12px/16px Arial,sans-serif!important}
 /* ---- the header --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-head{display:flex!important;grid-column:1 / 3;grid-row:1;align-items:center;gap:16px;height:84px;padding:0 24px 0 6px;min-width:0}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-emblem{flex:0 0 74px;height:80px;background:var(--sg-emblem) center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-titles{display:grid;gap:2px;min-width:0}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-brand{color:#fff;font:700 28px/32px Arial,sans-serif;letter-spacing:.02em;text-transform:none;text-shadow:0 2px 0 #0d111c}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-title{color:#f3f0ea;font:700 22px/26px Arial,sans-serif;letter-spacing:.01em;text-shadow:0 2px 0 #0d111c}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fit>.pc-strip{grid-column:2 / 4!important;grid-row:1!important;justify-self:end;align-self:center;display:flex!important;gap:12px!important;margin:0 92px 0 0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;width:auto}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-strip>:is(strong,.pcx-vip,.pc-page-now){position:relative;display:flex!important;align-items:center;height:60px;min-width:0;padding:0 24px 0 62px!important;border-radius:4px!important;background:var(--pcx-card)!important;box-shadow:var(--sg-frame-soft)!important;color:#fff!important;font:700 19px/22px Arial,sans-serif!important;letter-spacing:.01em!important;text-transform:none!important;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-strip>:is(strong,.pcx-vip,.pc-page-now)::before{content:"";position:absolute;left:18px;top:50%;width:30px;height:30px;margin-top:-15px;background:#b9a7ac;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-strip>strong{--ic:var(--pcx-ic-cube)}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-strip>.pcx-vip{--ic:var(--pcx-ic-crown)}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-strip>.pcx-vip::before{background:var(--sg-gold)}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-strip>.pc-page-now{--ic:var(--pcx-ic-doc)}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-strip>.pc-pill,body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-strip-note{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-close{display:grid!important;place-items:center;grid-column:3;grid-row:1;justify-self:end;align-self:center;width:68px;height:68px;margin-right:2px;padding:0!important;border:0!important;border-radius:4px!important;background:linear-gradient(180deg,#1a2338,#111724)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--pcx-line-hi),0 0 14px #673c4055!important;color:#ce7363!important;font:900 34px/1 Arial,sans-serif!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-close:is(:hover,:focus-visible,.pad-focus){background:linear-gradient(180deg,#232e4a,#141a2a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold),0 0 16px #f3c96b55!important;color:#fff!important}
 /* ---- the buttons: dark with a red edge; the commands carry an icon ---------------------------------------------------------------------------------------------------------------- */
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-button,.pc-tool,.pc-arrow,.pc-pagetab,.pcx-filter,.pcx-farrow,.pc-rename button){
  border:0!important;border-image:none!important;border-radius:4px!important;background:linear-gradient(180deg,#171f31,#09040a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--pcx-line)!important;
  color:var(--sg-text)!important;font-weight:700!important;letter-spacing:.03em!important;text-transform:none!important;
 }
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-button,.pc-tool,.pc-arrow,.pc-pagetab,.pcx-filter,.pcx-farrow,.pc-rename button):is(:hover:not(:disabled),:focus-visible,.pad-focus){background:linear-gradient(180deg,#212c46,#141b2a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold),0 0 10px #f3c96b44!important;color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-button,.pc-tool):disabled{opacity:.45!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-button.red{color:#ffd0d5!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-box-actions,.pc-side-actions) .pc-button{display:flex!important;align-items:center;justify-content:center;gap:10px!important;height:54px!important;min-height:54px!important;padding:0 6px!important;font-size:clamp(12px,.78vw,13.5px)!important;text-transform:uppercase!important;letter-spacing:0!important;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-box-actions,.pc-side-actions) .pc-button::before{content:"";flex:0 0 22px;width:22px;height:22px;background:#ce7363;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-box-actions,.pc-side-actions) .pc-actions>:nth-child(1){--ic:var(--pcx-ic-search)}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-box-actions,.pc-side-actions) .pc-actions>:nth-child(2){--ic:var(--pcx-ic-move)}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-box-actions,.pc-side-actions) .pc-actions>:nth-child(3){--ic:var(--pcx-ic-box)}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-box-actions,.pc-side-actions) .pc-actions>:nth-child(4){--ic:var(--pcx-ic-trash)}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-side-actions .pc-confirm .pc-button::before{display:none}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-bottom{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:14px;margin:0!important;padding:0!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-bottom .pc-button{display:flex!important;align-items:center;justify-content:center;gap:8px!important;height:64px!important;min-height:64px!important;padding:0 6px!important;font-size:clamp(12px,.8vw,15px)!important;text-transform:uppercase!important;letter-spacing:0!important;white-space:nowrap;overflow:hidden}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-bottom .pc-button::before{content:"";flex:0 0 26px;width:26px;height:26px;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-bottom .pc-button:first-child{--ic:var(--pcx-ic-cart);background:linear-gradient(180deg,#123a6a,#08172f)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #4f9cf0,0 0 16px #2f7dd66a!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-bottom .pc-button:last-child{--ic:var(--pcx-ic-power);background:linear-gradient(180deg,#202a43,#141b2a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--pcx-line-hi)!important;color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-bottom .pc-button:is(:hover:not(:disabled),:focus-visible,.pad-focus){box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold-hi),0 0 18px #f3c96b66!important}
 /* ---- the box: title, filter, page tabs, the grid, the Caixa bar, the commands ------------------------------------------------------------------------------------------------------ */
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-box{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:10px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-box-head{position:relative;display:grid!important;grid-template-columns:40px minmax(0,1fr) 40px;grid-template-rows:46px 42px;gap:8px 8px!important;height:auto!important;min-height:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-topbar{display:contents!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-box-title{grid-column:1 / 3;grid-row:1;align-self:center;display:flex!important;align-items:center;gap:12px;color:#fff;font:700 21px/26px Arial,sans-serif;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-box-title::before{content:"";flex:0 0 32px;width:32px;height:32px;background:#ce7363;-webkit-mask:var(--pcx-ic-cube) center/contain no-repeat;mask:var(--pcx-ic-cube) center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-box-name,body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-dots{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-filter{display:flex!important;position:absolute;right:0;top:4px;align-items:center;justify-content:center;gap:8px;width:116px;height:38px;padding:0 10px!important;font-size:13px!important;text-transform:uppercase!important;letter-spacing:.04em!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-filter::before{content:"";flex:0 0 18px;width:18px;height:18px;background:currentColor;-webkit-mask:var(--pcx-ic-filter) center/contain no-repeat;mask:var(--pcx-ic-filter) center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-filter[aria-pressed="true"]{box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-gold)!important;color:var(--sg-gold-hi)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-tools{position:absolute;right:128px;top:4px;display:flex;gap:6px;grid-column:auto!important;grid-row:auto!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-arrow,.pc-tool){width:38px;height:38px!important;min-height:38px!important;padding:0!important;font-size:14px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-topbar>.pc-arrow:first-child{grid-column:1;grid-row:2;align-self:center}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-topbar>.pc-arrow:nth-child(3){grid-column:3;grid-row:2;align-self:center}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-pagetabs{grid-column:2;grid-row:2;display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;align-self:center}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-pagetab{height:40px;min-width:0;padding:0!important;font-size:17px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-pagetab.selected{background:linear-gradient(180deg,#c85a4f,#ac363a)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #ff7a88,0 0 12px #c44c4588!important;color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-box-head>.pc-box-tools{position:absolute;left:0;right:0;top:100%;z-index:8;padding:10px!important;border-radius:4px;background:#141a2a!important;box-shadow:var(--sg-frame-card)!important}
 /* feature:pc-menus-front (Work-ID 20261019-pc-menus-front-0d99; zenux: the Organizar / Renomear menus opened BEHIND the box's Pokemon): the Sort and Rename panel floats over the top of the grid, so the box's head is its own
    layer above the grid's cells (a button with `scale:1` from the hover layer is a stacking context of its own, painted after the head in tree order) */
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-box-head{z-index:5}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-box-head>.pc-box-tools{z-index:6}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-grid{align-self:stretch;max-height:none!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-template-rows:repeat(5,minmax(0,1fr))!important;gap:9px!important;width:auto!important;height:100%!important;min-height:0;padding:2px!important;border:0!important;border-image:none!important;background:none!important;box-shadow:none!important;aspect-ratio:auto!important;container-type:normal}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-grid.results{grid-template-rows:none!important;grid-auto-rows:minmax(86px,auto)!important;overflow:auto}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-cell{position:relative;display:flex!important;align-items:center;justify-content:center;width:auto!important;height:auto!important;min-width:0;min-height:0;padding:0!important;border:0!important;border-image:none!important;border-radius:4px!important;background:var(--pcx-card)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #1f2739!important;overflow:hidden}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-cell.empty{background:var(--pcx-card)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #1b243a!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-cell.empty::before{content:"";width:34px;height:34px;background:#212c46;-webkit-mask:var(--pcx-ic-pokeball) center/contain no-repeat;mask:var(--pcx-ic-pokeball) center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-cell .pcx-art{display:block!important;width:88%;height:88%;object-fit:contain;image-rendering:pixelated}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-cell,.pc-party-slot)>:is(.pc-icon,.pc-icon-fallback){display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-cell,.pc-party-slot)>.pc-icon-wrap{position:absolute!important;inset:0;width:100%;height:100%;align-self:stretch!important;justify-self:stretch!important;display:block!important;pointer-events:none}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-icon-wrap>:is(.pc-icon,.pc-icon-fallback){display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-cell.result>.pc-icon,body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-cell.result>.pc-icon-fallback{display:block!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-cell.result>.pc-icon-wrap{position:relative!important;inset:auto;display:inline-block!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-cell.result>.pc-icon-wrap>:is(.pc-icon,.pc-icon-fallback){display:block!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-cell:is(:hover:not(.empty),.target:hover){background:linear-gradient(180deg,#1c253c,#121826)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-edge-hi)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-cell.selected{background:linear-gradient(180deg,#212c46,#141b2b)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 3px #cf7666,0 0 14px #cf766688!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-cell.moving{box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 3px var(--sg-gold)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-cell.target{box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-green)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-cell:focus-visible{outline:2px solid var(--sg-gold-hi)!important;outline-offset:-4px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-box-foot{display:grid!important;gap:10px!important;min-width:0;padding:0!important;margin:0!important;border:0!important;border-image:none!important;background:none!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-find:not(.open){display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-find.open{display:grid!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-find :is(input,select){border:0!important;border-image:none!important;border-radius:3px!important;background-color:#06030a!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #29344d!important;color:var(--sg-text)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-footbar{display:grid!important;grid-template-columns:34px auto minmax(0,1fr) 34px;align-items:center;gap:10px;height:44px;padding:0 6px;border-radius:4px;background:#111724;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #1f2739}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-farrow{display:grid!important;place-items:center;width:30px;height:30px;padding:0!important;font-size:22px!important;line-height:1;color:var(--pcx-line-hi)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-count{margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:var(--sg-text)!important;font:700 14px/18px Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important;text-align:left;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-hint{display:block!important;color:var(--sg-muted);font:400 13px/16px Arial,sans-serif;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-box-actions,.pc-side-actions){border:0!important;border-image:none!important;background:none!important;box-shadow:none!important;margin:0!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-box-actions{padding:0!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-box-actions,.pc-side-actions) .pc-actions{border:0!important;border-image:none!important;background:none!important;box-shadow:none!important;padding:0!important;margin:0!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-box-actions .pc-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px!important}
 /* ---- the team column ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:10px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party>h3{grid-column:1;grid-row:1}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-list{grid-column:1!important;grid-row:2!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-body>.pc-side-actions,body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-body>.pc-confirm{grid-column:1;grid-row:3}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party>h3{display:flex!important;align-items:center;justify-content:space-between;height:52px!important;min-height:0!important;margin:0!important;padding:0 18px 0 14px!important;border:0!important;border-radius:4px!important;background:var(--pcx-card)!important;box-shadow:var(--sg-frame-soft)!important;color:#fff!important;font:700 21px/26px Arial,sans-serif!important;letter-spacing:.02em!important;text-transform:uppercase!important;text-align:left!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party>h3::before{content:"";flex:0 0 34px;width:34px;height:34px;margin-right:12px;background:#b9a7ac;-webkit-mask:var(--pcx-ic-user) center/contain no-repeat;mask:var(--pcx-ic-user) center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party>h3 .pcx-name{margin-right:auto}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party>h3 .pcx-sep{display:none}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party>h3 .pcx-count{color:var(--sg-muted);font-size:17px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-body{display:contents!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;gap:9px!important;min-height:0;height:auto!important;position:relative}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot{position:relative;display:grid!important;grid-template-columns:auto minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto auto auto;grid-template-areas:"art art" "type name" ". meta" "hp hp" ". num";align-items:center;column-gap:8px!important;row-gap:1px!important;width:auto!important;height:auto!important;min-height:0;padding:6px 10px 6px!important;border:0!important;border-image:none!important;border-radius:4px!important;background:var(--pcx-card)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #1f2739!important;color:var(--sg-text)!important;overflow:hidden;text-align:left}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot>.pcx-art{display:block!important;grid-area:art;justify-self:center;align-self:center;max-width:100%;max-height:100%;width:auto;height:100%;max-height:calc(100% + 0px);object-fit:contain;image-rendering:pixelated}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot>.pcx-type{display:block!important;grid-area:type;width:22px;height:22px;min-width:0;padding:0!important;border-radius:50%!important;font-size:0!important;box-shadow:inset 0 0 0 1px #0d111c,0 0 0 1px #fff4}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot .slot-name{grid-area:name;color:#fff!important;font:700 16px/20px Arial,sans-serif!important;letter-spacing:.02em!important;text-transform:uppercase!important;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot .slot-meta{grid-area:meta;color:var(--sg-muted)!important;font:700 13px/16px Arial,sans-serif!important;text-transform:none!important;text-align:left}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot .slot-hp{grid-area:hp;justify-self:stretch;width:100%;display:block;height:9px;border-radius:5px;background:#131928;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #202b44;overflow:hidden;margin-top:3px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot .slot-hp>i{display:block;height:100%;background:linear-gradient(90deg,#16b85b,#33e883)}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot .slot-hp.fainted>i{background:#cf7666}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot .slot-hpnum{display:block;grid-area:num;justify-self:end;color:var(--sg-text);font:400 13px/16px Arial,sans-serif}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot:is(:hover:not(.empty),:focus-visible,.pad-focus){background:linear-gradient(180deg,#1c253c,#121826)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px var(--sg-edge-hi)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot.selected{background:linear-gradient(180deg,#212c46,#141b2b)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 3px #cf7666,0 0 14px #cf766688!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot.empty{opacity:.5}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-side-actions{position:relative;padding-top:26px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-side-actions::before{content:attr(data-title);position:absolute;left:2px;top:0;color:#d07869;font:700 14px/18px Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-side-actions .pc-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-side-actions .pc-confirm{border:0!important;border-radius:4px!important;background:#1b243a!important;box-shadow:var(--sg-frame-soft)!important;color:var(--sg-text)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-move-hint,body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-note{color:var(--sg-gold-hi)!important}
 /* ---- the sheet of the selected Pokemon ---------------------------------------------------------------------------------------------------------------------------------------------------- */
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-details{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.62fr)!important;grid-template-rows:auto auto auto auto minmax(0,1fr) auto!important;gap:6px 10px!important;align-content:stretch;overflow:hidden}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-details>.pc-empty{grid-column:1 / -1!important;align-self:center;color:var(--sg-muted)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-details>.pc-card{grid-column:1 / -1!important;grid-row:1;display:grid;grid-template-columns:minmax(0,.36fr) minmax(0,1fr);grid-template-rows:auto auto;gap:8px 12px;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card-top{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-title{grid-column:1 / -1;display:flex!important;align-items:center;gap:12px;height:46px;padding:0 16px 0 12px;border-radius:4px;background:var(--pcx-card)!important;box-shadow:var(--sg-frame-soft)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pcx-ball{order:-1;display:block!important;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:linear-gradient(180deg,#c85a4f 0 44%,#192135 44% 56%,#f6f8fa 56%);box-shadow:0 0 0 2px #0d111c,0 0 0 3px #fff6}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-title h3{flex:1 1 auto;min-width:0;margin:0;color:#fff!important;font:700 24px/28px Arial,sans-serif!important;letter-spacing:.01em;text-transform:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-level{color:#cf7666!important;font:700 22px/26px Arial,sans-serif!important;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card-body{display:contents!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card-art,body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card-text{display:contents!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-portrait{grid-column:1;grid-row:2 / 5;display:grid;place-items:center;width:auto!important;height:auto!important;aspect-ratio:auto!important;min-height:0;border-radius:4px!important;background:radial-gradient(circle at 50% 55%,#222e49 0,#131928 78%)!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 3px #673c40,0 0 12px #673c4066!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-portrait img{max-width:92%;max-height:92%;width:auto;height:auto;image-rendering:pixelated}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-types{grid-column:2;grid-row:2;display:flex!important;gap:10px;align-items:center;flex-wrap:wrap}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-types .type-chip{display:inline-flex;align-items:center;height:34px;padding:0 16px!important;border-radius:17px!important;font:700 14px/18px Arial,sans-serif!important;text-transform:uppercase;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #ffffff55}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-line-group{grid-column:2;grid-row:3;display:grid;gap:6px;align-content:start}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-line-group+.pc-line-group{grid-row:4}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-line{display:flex;justify-content:space-between;align-items:baseline;margin:0;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:#fff;font:700 16px/20px Arial,sans-serif}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-line-label{color:#fff!important;letter-spacing:.01em!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-line-value{color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card>.pc-card-body>.pc-card-text>.pc-line:last-child{grid-column:1 / -1;grid-row:5;display:flex;justify-content:space-between;align-items:center;height:34px;padding:0 14px!important;border-radius:4px;background:var(--pcx-card)!important;box-shadow:var(--sg-frame-soft)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-line .warm{color:#fff!important;font-weight:700}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-meter{height:12px!important;border-radius:6px!important;background:#131928!important;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #202b44!important;overflow:hidden}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-meter.hp>div{background:linear-gradient(90deg,#16b85b,#33e883)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-meter.exp>div{background:linear-gradient(90deg,#2a7fe0,#5ab0ff)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-meter.iv>div{background:linear-gradient(90deg,#c9a012,#ffe05a)!important}
 /* the three facts and the types box (the facts are items of the sheet's own grid) */
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-details>.pc-facts{display:contents!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-facts>.pc-fact{display:none!important;position:relative;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;height:auto;min-height:36px;padding:0 14px!important;border-radius:4px!important;background:var(--pcx-card)!important;box-shadow:var(--sg-frame-soft)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-facts>.pc-fact:nth-child(1){display:grid!important;grid-column:1;grid-row:2}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-facts>.pc-fact:nth-child(5){display:grid!important;grid-column:1;grid-row:3}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-facts>.pc-fact:nth-child(6){display:grid!important;grid-column:1;grid-row:4}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-facts>.pc-fact:nth-child(7){display:grid!important;grid-column:2;grid-row:2 / 5;grid-template-columns:minmax(0,1fr);align-content:start;gap:10px;padding:10px 12px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fact-head{color:#d8c4c8!important;font:700 14px/18px Arial,sans-serif!important;letter-spacing:.02em!important;text-transform:uppercase!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;width:auto!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fact-value{color:#fff!important;font:700 15px/18px Arial,sans-serif!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fact-split{display:flex;justify-content:space-between;gap:10px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fact-id{color:var(--sg-muted);font-weight:400}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fact.types .pc-fact-value{overflow:visible}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fact.types .pc-types{display:flex;flex-wrap:wrap;gap:8px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fact.types .type-chip{display:inline-flex;align-items:center;height:32px;padding:0 14px!important;border-radius:16px!important;font:700 13px/16px Arial,sans-serif!important;text-transform:uppercase;box-shadow:inset 0 0 0 1px #0d111c,inset 0 0 0 2px #ffffff55}
 /* ATRIBUTOS and IVs, side by side */
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-details>.pc-stats{grid-column:1;grid-row:5;display:block!important;padding:8px 12px!important;border:0!important;border-radius:4px!important;background:var(--pcx-card)!important;box-shadow:var(--sg-frame-soft)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stats .pc-stat-head{border:0!important;background:none!important;box-shadow:none!important;padding:0!important;display:flex!important;justify-content:flex-start;margin:0 0 4px;color:#d07869!important;font:700 15px/20px Arial,sans-serif!important;letter-spacing:.03em!important;text-transform:uppercase}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stats .pc-stat-head>:nth-child(n+2){display:none}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat-table{display:grid!important;gap:4px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat{display:grid!important;grid-template-columns:24px minmax(0,.9fr) 42px minmax(0,1.5fr)!important;grid-template-areas:"ic name val bar";align-items:center;gap:8px!important;height:22px;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:#fff!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat>span[role="rowheader"]{grid-area:name;color:#fff;font:400 14px/18px Arial,sans-serif;text-transform:uppercase;white-space:nowrap}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat>strong{grid-area:val;justify-self:end;color:#fff!important;font:400 14px/18px Arial,sans-serif!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat>.pc-iv{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat>.pc-stat-track{grid-area:bar;height:8px!important;margin:0!important;border-radius:4px;background:#131928!important;box-shadow:inset 0 0 0 1px #0d111c!important;overflow:hidden}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat-fill{height:100%;border-radius:4px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat::before{content:"";grid-area:ic;width:20px;height:20px;background:var(--stc,#d07869);-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat:nth-child(2){--ic:var(--pcx-ic-heart);--stc:#33e883}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat:nth-child(3){--ic:var(--pcx-ic-sword);--stc:#d07869}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat:nth-child(4){--ic:var(--pcx-ic-shield);--stc:#ffb13a}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat:nth-child(5){--ic:var(--pcx-ic-spark);--stc:#5ab0ff}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat:nth-child(6){--ic:var(--pcx-ic-shield);--stc:#a45fe6}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat:nth-child(7){--ic:var(--pcx-ic-bolt);--stc:#ff6ac0}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat:nth-child(2) .pc-stat-fill{background:linear-gradient(90deg,#16b85b,#33e883)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat:nth-child(3) .pc-stat-fill{background:linear-gradient(90deg,#c44c45,#d07869)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat:nth-child(4) .pc-stat-fill{background:linear-gradient(90deg,#d6900f,#ffd13a)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat:nth-child(5) .pc-stat-fill{background:linear-gradient(90deg,#1d6fd6,#5ab0ff)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat:nth-child(6) .pc-stat-fill{background:linear-gradient(90deg,#6a2fd6,#a45fe6)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat:nth-child(7) .pc-stat-fill{background:linear-gradient(90deg,#d62f8f,#ff6ac0)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat.up strong,body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat.up>span[role="rowheader"]{color:#7fc4ff!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat.down strong,body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat.down>span[role="rowheader"]{color:#ff8a96!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stats>.pc-genetics{display:none!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-d-ivs{display:block!important;grid-column:2;grid-row:5;padding:8px 12px;border-radius:4px;background:var(--pcx-card)!important;box-shadow:var(--sg-frame-soft)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-d-title{display:block;margin:0 0 4px;color:#d07869;font:700 15px/20px Arial,sans-serif;letter-spacing:.03em;text-transform:uppercase}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-iv-row{display:flex;justify-content:space-between;align-items:center;height:26px;color:#fff;font:400 14px/18px Arial,sans-serif;text-transform:uppercase;border-top:1px solid #1b243a}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-iv-row:first-of-type{border-top:0}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-iv-row>b{font:700 16px/20px Arial,sans-serif}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-iv.perfect{color:var(--sg-green)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-iv.high{color:#9be86a!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-iv.mid{color:#ffe05a!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-iv.low{color:#ffa0a8!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-d-details{display:block!important;grid-column:1 / -1;grid-row:6;padding:6px 14px 8px;border-radius:4px;background:var(--pcx-card)!important;box-shadow:var(--sg-frame-soft)!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-d-details .pcx-d-title{display:flex;align-items:center;gap:10px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-d-details .pcx-d-title::before{content:"";width:20px;height:20px;background:#d07869;-webkit-mask:var(--pcx-ic-warn) center/contain no-repeat;mask:var(--pcx-ic-warn) center/contain no-repeat}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-d-details p{margin:0;color:#fff;font:400 14px/20px Arial,sans-serif}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-sep{margin:0 12px;color:var(--sg-muted)}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-empty{color:var(--sg-muted)!important}
 /* the Pokeball of an empty slot */
 body:not(.mobile-web) #modal#modal[data-view="storage"]{--pcx-ic-pokeball:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h6M15 12h6'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
}
/* a shorter window: the same sheet, everything a little smaller */
@media screen and (min-width:901px) and (max-height:860px){
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-head{height:64px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-emblem{flex-basis:54px;height:60px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-brand{font-size:21px;line-height:24px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-title{font-size:17px;line-height:20px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-strip>:is(strong,.pcx-vip,.pc-page-now){height:46px;padding:0 16px 0 48px!important;font-size:15px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-strip>:is(strong,.pcx-vip,.pc-page-now)::before{left:12px;width:24px;height:24px;margin-top:-12px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-close{width:50px;height:50px;font-size:26px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fit{gap:8px 12px!important;padding:8px 12px 10px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-box,.pc-party,.pc-details){padding:8px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-box-head{grid-template-rows:36px 34px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-box-title{font-size:17px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-pagetab{height:32px;font-size:14px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-arrow,.pc-tool){width:32px;height:32px!important;min-height:32px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-filter{height:32px;width:100px;top:2px;font-size:12px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-tools{right:110px;top:2px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-box-actions,.pc-side-actions) .pc-button{height:40px!important;min-height:40px!important;font-size:12px!important;gap:6px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-box-actions,.pc-side-actions) .pc-button::before{flex-basis:20px;width:20px;height:20px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-bottom .pc-button{height:46px!important;min-height:46px!important;font-size:12px!important;gap:8px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-bottom .pc-button::before{flex-basis:20px;width:20px;height:20px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-box-actions,.pc-side-actions) .pc-button{font-size:12px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-footbar{height:34px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party>h3{height:40px!important;font-size:17px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot .slot-name{font-size:13px!important;line-height:16px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot .slot-meta,body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot .slot-hpnum{font-size:12px!important;line-height:14px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot>.pcx-type{width:16px;height:16px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-title{height:40px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-title h3{font-size:19px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-level{font-size:17px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-portrait{min-height:0}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-types .type-chip{height:26px;font-size:12px!important;padding:0 12px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-line{font-size:13px!important;line-height:16px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-facts>.pc-fact{min-height:32px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fact.types .type-chip{height:26px;font-size:12px!important;padding:0 10px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fact-head{font-size:12px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fact-value{font-size:13px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat{height:17px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat-table{gap:2px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-details>.pc-stats,body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-d-ivs{padding:5px 10px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-warning{padding:2px 10px!important;font-size:12px!important;line-height:14px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat>span[role="rowheader"],body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat>strong,body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-iv-row{font-size:12px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-iv-row{height:20px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-iv-row>b{font-size:13px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-d-title{font-size:13px;line-height:16px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-d-details p{font-size:12px;line-height:16px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat::before{width:16px;height:16px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat{grid-template-columns:20px minmax(0,.9fr) 34px minmax(0,1.4fr)!important}
}
/* a very short window (a 1280x720 laptop): the same sheet in its tightest form */
@media screen and (min-width:901px) and (max-height:790px){
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-head{height:54px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-emblem{flex-basis:46px;height:50px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-brand{font-size:18px;line-height:20px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-title{font-size:14px;line-height:17px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-strip>:is(strong,.pcx-vip,.pc-page-now){height:40px;font-size:14px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-close{width:42px;height:42px;font-size:22px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fit{gap:6px 10px!important;padding:6px 10px 8px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-box-head{grid-template-rows:32px 30px;gap:4px 6px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-pagetab{height:28px;font-size:13px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-arrow,.pc-tool){width:28px;height:28px!important;min-height:28px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-filter{height:28px;width:92px;top:2px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-tools{right:100px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] :is(.pc-box-actions,.pc-side-actions) .pc-button{height:34px!important;min-height:34px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-bottom .pc-button{height:40px!important;min-height:40px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-footbar{height:30px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party>h3{height:34px!important;font-size:15px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-title{height:34px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-title h3{font-size:17px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-level{font-size:15px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pcx-ball{flex-basis:26px;width:26px;height:26px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-types .type-chip{height:22px;font-size:12px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card .pc-line{font-size:12px!important;line-height:14px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-meter{height:9px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-card>.pc-card-body>.pc-card-text>.pc-line:last-child{height:26px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-facts>.pc-fact{min-height:26px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fact-head,body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-fact-value{font-size:12px!important;line-height:14px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat{height:15px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat>span[role="rowheader"],body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat>strong,body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-iv-row{font-size:12px!important;line-height:14px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-iv-row{height:17px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stats .pc-stat-head,body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-d-title{font-size:12px!important;line-height:14px!important;margin-bottom:2px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-stat::before{width:13px;height:13px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-d-details{padding:4px 10px 5px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pcx-d-details p{font-size:12px;line-height:14px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-details{gap:4px 8px!important;padding:6px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot .slot-name{font-size:12px!important}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot>.pcx-type{width:13px;height:13px}
 body:not(.mobile-web) #modal#modal[data-view="storage"] .pc-party-slot .slot-hp{height:7px}
}
