/* Wobble Pals Plus: interactive compact premium card + real wallet shortcuts.
   Web-only v3. Art is cropped into lightweight independent assets from the
   approved promotional composition; text/CTA/status remain real DOM elements. */

/* Compact wallet: Plus is directly below Star and Diamond balances. */
#modal .shop-screen.wp-shop-v3-wallet .shop-wallet-section {
  padding-bottom:12px!important;
}
#modal .shop-screen.wp-shop-v3-wallet .shop-wallet-section .ui-section-head{
  margin-bottom:9px!important;
}
#modal .shop-screen.wp-shop-v3-wallet .economy-wallet{
  margin-bottom:0!important;
}
#modal .shop-screen.wp-shop-v3-wallet .shop-free-reward,
#modal .shop-screen.wp-shop-v3-wallet .shop-wallet-section .shop-free-reward {
  display:none!important;
}
#modal .shop-screen.wp-shop-v3-wallet .wp-wallet-v3-tile{
  position:relative!important;
  isolation:isolate;
  padding-right:35px!important;
  min-height:67px!important;
}
#modal .shop-screen.wp-shop-v3-wallet .wp-wallet-v3-tile>div{
  min-width:0!important;
}
#modal .shop-screen.wp-shop-v3-wallet .wp-wallet-v3-tile strong{
  font-size:clamp(16px,3.75vw,23px)!important;
  letter-spacing:-.4px!important;
  white-space:nowrap!important;
}
#modal .shop-screen.wp-shop-v3-wallet .wp-wallet-v3-tile small{
  font-size:8px!important;
  line-height:1.15!important;
}
#modal .shop-screen.wp-shop-v3-wallet .wp-wallet-v3-plus{
  position:absolute!important;
  right:8px!important;top:50%!important;
  transform:translateY(-50%)!important;
  z-index:6!important;
  display:grid!important;place-items:center!important;
  width:28px!important;height:28px!important;
  min-width:28px!important;min-height:28px!important;
  padding:0 0 2px!important;
  margin:0!important;
  border-radius:50%!important;
  border:2.5px solid #a27343!important;
  background:linear-gradient(#fffce7,#ffda64)!important;
  box-shadow:0 3px #9a714b,inset 0 2px #ffffff!important;
  color:#664525!important;
  font:950 23px/1 ui-rounded,system-ui,sans-serif!important;
  text-shadow:0 1px white!important;
  cursor:pointer!important;
  touch-action:manipulation;
  transition:transform .16s ease,filter .16s ease!important;
}
#modal .shop-screen.wp-shop-v3-wallet .wp-wallet-v3-tile.premium .wp-wallet-v3-plus{
  background:linear-gradient(#fcffff,#91ddff)!important;
  border-color:#468ed0!important;
  color:#205b9e!important;
  box-shadow:0 3px #5a8dc4,inset 0 2px #fff!important;
}
#modal .shop-screen.wp-shop-v3-wallet .wp-wallet-v3-plus:hover{
  filter:brightness(1.08);
  transform:translateY(-55%) scale(1.06)!important;
}
#modal .shop-screen.wp-shop-v3-wallet .wp-wallet-v3-plus:focus-visible,
#modal .shop-screen.wp-plus-v3-shop button:focus-visible,
.wp-shop-v3-popup :is(button,a):focus-visible{
  outline:3px solid #ffdf78!important;
  outline-offset:3px!important;
}

/* New compact, starry and illustrated Plus card: complete true DOM UI. */
#modal .shop-screen.wp-plus-v3-shop .shop-plus-section.wp-plus-v3-section{
  margin:13px 0 17px!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
}
#modal .shop-screen.wp-plus-v3-shop .shop-plus-section.wp-plus-v3-section>.ui-section-head{
  display:none!important;
}
#modal .shop-screen.wp-plus-v3-shop .shop-plus-section .plus-card.wp-plus-v3,
#modal .shop-screen.shop-v2 .shop-plus-section .plus-card.wp-plus-v3{
  position:relative!important;
  isolation:isolate;
  overflow:hidden!important;
  min-width:0!important;
  padding:0!important;
  border:3px solid #ffd77a!important;
  border-radius:23px!important;
  background:
    radial-gradient(circle at 77% 17%,#c27ffca8,transparent 52%),
    linear-gradient(150deg,#6430ac,#9d4ddb 50%,#6740b3)!important;
  box-shadow:0 5px 0 #74469c,0 13px 18px #60348145,inset 0 0 0 2px #fff2c090!important;
  color:#fff!important;
  animation:none!important;
}
#modal .shop-screen .shop-plus-section .plus-card.wp-plus-v3::before,
#modal .shop-screen .shop-plus-section .plus-card.wp-plus-v3::after{
  content:none!important;
  display:none!important;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-inner{
  position:relative;
  z-index:2;
  width:100%;
  min-width:0;
  padding:9px 10px 9px;
  box-sizing:border-box;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-hero{
  position:relative;
  isolation:isolate;
  box-sizing:border-box;
  width:100%;
  height:137px;
  padding:12px 8px;
  margin:0 0 7px;
  overflow:hidden;
  border-radius:16px;
  background:
    radial-gradient(ellipse at 71% 3%,#b96dfbc7,transparent 51%),
    radial-gradient(ellipse at 16% 76%,#ab5fe5,transparent 65%),
    linear-gradient(120deg,#6a2c9d,#4b218e);
  border:1px solid #d49aff55;
  box-shadow:inset 0 0 12px #faaff022,inset 0 2px #ffe8ff22;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-hero::after{
  content:"✦       ✧         ✦";
  position:absolute;z-index:2;
  right:7px;top:3px;
  font:900 12px/1.2 system-ui;
  letter-spacing:8px;color:#fff49b;
  text-shadow:0 0 10px #ffdd77;
  pointer-events:none;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-moon{
  position:absolute;
  z-index:0;
  right:-14px;top:-13px;
  width:60%;height:100%;
  opacity:.36;
  object-fit:cover;
  object-position:right top;
  pointer-events:none;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-mascot{
  position:absolute!important;
  z-index:1!important;
  right:-12px!important;
  bottom:-24px!important;
  width:58%!important;
  height:calc(100% + 26px)!important;
  min-width:0!important;
  max-width:none!important;max-height:none!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  pointer-events:none!important;
  animation:wpPlusV3Hover 4.6s ease-in-out infinite!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
  filter:drop-shadow(0 3px 8px #38157255)!important;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-hero-copy{
  position:relative;
  z-index:3;
  box-sizing:border-box;
  max-width:57%;
  min-width:0;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-badge{
  display:inline-flex;
  align-items:center;
  border:1px solid #ffdc8a;
  border-radius:99px;
  padding:4px 8px;
  margin:0 0 8px;
  background:linear-gradient(#ff85ba,#e04794);
  box-shadow:0 2px #a03469;
  color:#fff9df;
  font:950 8px/1 ui-rounded,system-ui,sans-serif;
  letter-spacing:.6px;
  white-space:nowrap;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-title{
  display:block!important;
  margin:0!important;
  color:#fff9e8!important;
  font:1000 clamp(19px,4.6vw,30px)/1.03 ui-rounded,system-ui,sans-serif!important;
  letter-spacing:-.8px;
  -webkit-text-stroke:.3px #6b2e87;
  text-shadow:0 2px #61259d,0 4px #4d2185,0 5px 6px #361b7b8f;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-title em{
  display:block;
  margin:1px 0 0;
  font-style:normal;
  font-size:1.23em;
  color:#ffe55b;
  -webkit-text-stroke:.5px #b45d48;
  text-shadow:0 2px #bd6443,0 4px #86458c,0 5px 7px #36227a;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-tagline{
  margin:5px 0 7px!important;
  color:#ffecff!important;
  font:800 9px/1.24 ui-rounded,system-ui,sans-serif!important;
  text-shadow:0 1px #653496;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-status{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  min-width:0;
  padding:4px 8px;
  margin:0!important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  border:1px solid #ffffff8f;
  border-radius:999px;
  background:#502283ab;
  color:#fff;
  font:850 8.5px/1 ui-rounded,system-ui,sans-serif;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-status.is-active{
  background:#267d65;
  border-color:#c8ffdb;
}

/* Feature cards: only the important benefit + actual eligibility cadence. */
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-perks{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  padding:0!important;
  margin:0 0 10px!important;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-perk{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr)!important;
  align-items:center;
  min-height:62px;
  min-width:0;
  gap:4px!important;
  padding:6px 6px!important;
  border:2px solid #d4b1fb!important;
  border-radius:15px!important;
  background:linear-gradient(160deg,#fff8fa,#f0e1ff)!important;
  box-shadow:0 3px #8450b2,inset 0 2px #fff!important;
  color:#4c287f!important;
  text-align:left!important;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-perk-art{
  display:block!important;
  max-width:100%;
  width:40px;
  height:42px;
  object-fit:contain!important;
  filter:drop-shadow(0 2px 2px #9568ac55)!important;
  pointer-events:none;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-perk-text{
  min-width:0;
  overflow-wrap:break-word;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-perk-text strong{
  display:block;
  color:#513187;
  font:950 clamp(9px,2.35vw,13px)/1.15 ui-rounded,system-ui,sans-serif;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-perk-text small{
  display:block;
  margin-top:4px;
  color:#795e93;
  font:800 clamp(7px,1.85vw,10px)/1.17 ui-rounded,system-ui,sans-serif;
}

/* Actual game-owned Subscribe / Manage / Restore controls stay clickable. */
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-purchase{
  position:relative;
  z-index:4;
  display:block;
  margin:2px 0 0;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-buy-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:stretch;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-buy-button{
  min-width:0;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-buy-button :is(button,a){
  box-sizing:border-box!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  padding:5px 6px!important;
  margin:0!important;
  border:3px solid #ffa749!important;
  border-radius:15px!important;
  background:linear-gradient(#fff5b8,#ffd95a 70%,#ffba4d)!important;
  box-shadow:0 4px #ac5940,inset 0 2px #ffffffa0!important;
  color:#71346e!important;
  font:950 clamp(10px,2.45vw,13px)/1.15 ui-rounded,system-ui,sans-serif!important;
  text-decoration:none!important;
  text-align:center!important;
  text-shadow:0 1px #fffbe8!important;
  cursor:pointer;
  white-space:normal!important;
  overflow-wrap:break-word;
  touch-action:manipulation;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-buy-button :is(button,a):hover:not(:disabled){
  filter:brightness(1.07);
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-buy-button button:disabled{
  background:linear-gradient(#efe3d4,#d4c5bc)!important;
  color:#7b6870!important;
  cursor:not-allowed;
  opacity:.91;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-price{
  display:flex;
  justify-content:center;
  align-items:center;
  box-sizing:border-box;
  min-width:94px;
  padding:5px 9px;
  border:2px solid #ffd0da;
  border-radius:15px;
  background:linear-gradient(145deg,#ff7fb1,#e83e8f);
  box-shadow:0 4px #9d356c,inset 0 2px #fff4d070;
  color:#fffbea;
  font:1000 clamp(12px,3vw,18px)/1.13 ui-rounded,system-ui,sans-serif;
  white-space:nowrap;
  text-align:center;
  text-shadow:0 2px #b13474;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-footer{
  display:flex!important;
  justify-content:space-between;
  align-items:center;
  min-width:0;
  margin:8px 0 0;
  gap:6px;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-renew-hint{
  color:#fae3ff;
  min-width:0;
  font:800 8.5px/1.27 system-ui;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-restore{
  flex:0 0 auto;
  display:inline-flex!important;
  justify-content:center!important;
  align-items:center!important;
  box-sizing:border-box;
  width:auto!important;
  max-width:43%;
  min-height:27px!important;
  padding:5px 7px!important;
  margin:0!important;
  border:1px solid #ebd4ff!important;
  border-radius:9px!important;
  background:#ffffff22!important;
  color:#fff2d9!important;
  box-shadow:none!important;
  text-shadow:none!important;
  font:800 9px/1 ui-rounded,system-ui,sans-serif!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-restore:hover{
  background:#ffffff3a!important;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-details{
  display:block;
  margin:8px 0 0;
  padding:0 4px;
  font:750 8px/1.3 system-ui;
  color:#f3e3ff;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-details summary{
  width:fit-content;
  margin:0 auto;
  padding:3px 5px;
  color:#ffe9ae;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:2px;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-details p{
  margin:6px 0 0;
  padding:0 5px 5px;
  color:#f6e7ff;
  line-height:1.42;
  text-align:left;
}
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-details[open]{
  border-top:1px solid #ffffff30;
  padding-top:6px;
}

/* In-Shop confirmation and Diamond pack dialog. */
.wp-shop-v3-popup{
  position:fixed!important;
  inset:0!important;
  z-index:2147483500!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:12px!important;
  box-sizing:border-box!important;
  background:transparent!important;
  overscroll-behavior:contain;
}
.wp-shop-v3-popup .wp-shop-v3-screen{
  position:absolute;
  inset:0;
  background:#271b42b8;
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  cursor:pointer;
}
.wp-shop-v3-popup .wp-shop-v3-dialog{
  position:relative!important;
  z-index:2!important;
  width:min(390px,100%)!important;
  max-width:100%!important;
  max-height:calc(100dvh - 26px)!important;
  overflow:auto!important;
  box-sizing:border-box!important;
  padding:19px 16px 15px!important;
  border:4px solid #b07a48!important;
  border-radius:24px!important;
  background:radial-gradient(circle at 20% 4%,#fffced,#fff1d5 65%,#ffe2bd)!important;
  box-shadow:0 8px 0 #80543e,0 24px 45px #17122b99,inset 0 0 0 2px #fffef1!important;
  text-align:center!important;
  animation:wpShopV3DialogIn .29s cubic-bezier(.18,.85,.25,1) both;
  color:#543c37!important;
}
.wp-shop-v3-popup .wp-shop-v3-dialog-close{
  position:absolute!important;
  right:8px!important;top:7px!important;
  width:37px!important;height:37px!important;
  border-radius:50%!important;
  border:2px solid #974b5b!important;
  background:linear-gradient(#ff9da7,#ee656f)!important;
  color:#fff!important;
  font:1000 24px/1 system-ui!important;
  box-shadow:0 3px #a14f53!important;
  cursor:pointer!important;
}
.wp-shop-v3-popup .wp-shop-v3-dialog-head{padding:0 36px 8px}
.wp-shop-v3-popup .wp-shop-v3-dialog-kicker{
  font:950 9px/1.2 system-ui;
  color:#9d6f54;
  letter-spacing:1.2px;
}
.wp-shop-v3-popup .wp-shop-v3-dialog-head h3{
  font:1000 23px/1.12 ui-rounded,system-ui,sans-serif!important;
  color:#664182!important;
  margin:5px 0!important;
}
.wp-shop-v3-popup .wp-shop-v3-dialog-subtitle{
  margin:6px auto 3px!important;
  color:#93725e;
  font:750 11px/1.35 system-ui;
}
.wp-shop-v3-popup .wp-shop-v3-stars-hero{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  width:fit-content;
  margin:9px auto 4px;
  padding:10px 18px;
  border:2px solid #e7b35d;
  border-radius:17px;
  background:linear-gradient(#fffbe7,#ffe3a7);
  box-shadow:0 3px #c48d5e;
}
.wp-shop-v3-popup .wp-shop-v3-stars-hero-icon{
  font-size:31px;line-height:1;
  color:#ffd04a;
  -webkit-text-stroke:1px #b17d3b;
}
.wp-shop-v3-popup .wp-shop-v3-stars-hero strong{
  font:1000 26px/1.1 ui-rounded,system-ui,sans-serif;
  color:#9f633a;
}
.wp-shop-v3-popup .wp-shop-v3-popup-description{
  max-width:285px;
  margin:14px auto!important;
  color:#746154;
  font:750 11px/1.45 system-ui;
}
.wp-shop-v3-popup .wp-shop-v3-popup-cta{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-height:44px!important;
  padding:9px 10px!important;
  margin:11px auto 0!important;
  border-radius:14px!important;
  border:3px solid #5d9259!important;
  background:linear-gradient(#b9f893,#6bc968)!important;
  color:#3b6436!important;
  font:950 12px/1.2 ui-rounded,system-ui,sans-serif!important;
  text-align:center!important;
  text-decoration:none!important;
  box-shadow:0 3px #60885b!important;
  cursor:pointer!important;
}
.wp-shop-v3-popup .wp-shop-v3-popup-cancel,
.wp-shop-v3-popup .wp-shop-v3-show-all{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-height:34px!important;
  margin:9px 0 0!important;
  padding:6px!important;
  border:0!important;
  border-radius:11px!important;
  background:transparent!important;
  color:#80598c!important;
  font:850 11px/1.2 ui-rounded,system-ui,sans-serif!important;
  text-decoration:underline!important;
  cursor:pointer;
}
.wp-shop-v3-popup .wp-shop-v3-mini-gems{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:9px;
}
.wp-shop-v3-popup .wp-shop-v3-mini-gem{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:105px!important;
  padding:8px 4px!important;
  border:2px solid #9ac4f5!important;
  border-radius:15px!important;
  background:linear-gradient(#f4fbff,#cbeeff)!important;
  box-shadow:0 3px #83aada!important;
  color:#335e91!important;
  text-decoration:none!important;
  cursor:pointer!important;
}
.wp-shop-v3-popup .wp-shop-v3-mini-gem.is-popular{
  border-color:#f3b866!important;
  background:linear-gradient(#fff8de,#ffe5a9)!important;
  box-shadow:0 3px #ba9159!important;
}
.wp-shop-v3-popup .wp-shop-v3-mini-gem-icon{font-size:29px;filter:drop-shadow(0 2px 1px #6e9fb776)}
.wp-shop-v3-popup .wp-shop-v3-mini-gem strong{font:950 13px/1.2 ui-rounded,system-ui,sans-serif;text-align:center}
.wp-shop-v3-popup .wp-shop-v3-mini-gem small{font:800 10px/1.2 system-ui;color:#6380a9;margin-top:3px}
#modal .shop-screen .diamond-section.wp-shop-v3-highlight-gems{
  outline:4px solid #ffd75c!important;
  outline-offset:3px!important;
  transition:outline-color .5s;
}
@keyframes wpPlusV3Hover{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes wpShopV3DialogIn{
  from{opacity:0;transform:translateY(16px) scale(.96)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@media(max-width:460px){
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-inner{padding:8px 8px 8px}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-hero{height:129px;padding:10px 7px}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-badge{font-size:7px;padding:4px 6px;margin-bottom:6px}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-title{font-size:20px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-mascot{width:60%!important;right:-15px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-tagline{font-size:8.5px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-perk{grid-template-columns:34px minmax(0,1fr)!important;min-height:59px;padding:5px!important;gap:3px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-perk-art{width:34px;height:37px}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-perk-text strong{font-size:10px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-perk-text small{font-size:8.5px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-price{min-width:91px;padding:5px;font-size:13px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-buy-button :is(a,button){font-size:11px!important}
}
@media(max-width:355px){
 #modal .shop-screen.wp-shop-v3-wallet .wp-wallet-v3-tile{padding-right:31px!important;gap:3px!important}
 #modal .shop-screen.wp-shop-v3-wallet .wp-wallet-v3-plus{width:26px!important;height:26px!important;right:5px!important}
 #modal .shop-screen.wp-shop-v3-wallet .wp-wallet-v3-tile strong{font-size:15px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-hero{height:123px}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-hero-copy{max-width:58%}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-title{font-size:18px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-tagline{font-size:7.8px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-perks{gap:5px}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-perk{grid-template-columns:30px minmax(0,1fr)!important;min-height:60px;padding:4px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-perk-art{width:30px;height:33px}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-perk-text strong{font-size:8.7px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-perk-text small{font-size:7.6px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-buy-row{gap:5px}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-price{min-width:83px;font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-mascot{animation:none!important}
 .wp-shop-v3-popup .wp-shop-v3-dialog{animation:none!important}
}
#app.reduced-motion #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-mascot{animation:none!important}

/* Approved crowned Pal: focused cutout fits the hero frame without clipping
   the face or leaving the character as a narrow strip at the bottom. */
#modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-mascot{
  width:63%!important;
  height:calc(100% + 6px)!important;
  right:-14px!important;
  bottom:-2px!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  -webkit-mask-image:radial-gradient(ellipse 87% 95% at 53% 62%,#000 54%,#000a 76%,transparent 100%)!important;
  mask-image:radial-gradient(ellipse 87% 95% at 53% 62%,#000 54%,#000a 76%,transparent 100%)!important;
}

/* Keep the live membership-status chip visible inside the hero on phones. */
@media(max-width:460px){
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-hero{height:137px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-badge{margin-bottom:4px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-title{font-size:19px!important;line-height:1!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-tagline{margin:4px 0 4px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-status{
   padding:3px 7px!important;
   font-size:8px!important;
   line-height:1.1!important;
 }
}
@media(max-width:355px){
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-hero{height:134px!important}
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-title{font-size:18px!important}
}

/* Gem Vault shortcuts use the generated illustrated Diamond, not an emoji
   that can render as a missing-glyph square on Android/WebView. */
.wp-shop-v3-popup img.wp-shop-v3-mini-gem-icon{
  display:block!important;
  width:55px!important;
  height:44px!important;
  max-width:100%!important;
  object-fit:contain!important;
  margin:0 auto 3px!important;
  filter:drop-shadow(0 2px 2px #5fa8d566)!important;
}

/* On wide screens the title scales up, so reserve enough height to keep the
   membership state chip completely inside the illustration rather than clipped. */
@media(min-width:461px){
 #modal .shop-screen .plus-card.wp-plus-v3 .wp-plus-v3-hero{
   height:169px!important;
 }
}
