/* Wobble Pals Diamond Vault, layered five-icon edition.
   Separate gem artwork from the approved transparent PNG asset set.
   Web-only design: leave prices, Google Play handlers and owned states intact. */

#modal .shop-screen.shop-v2 .diamond-section.shop-v2-diamond-section.wp-gem-v1{
  position:relative!important;
  isolation:isolate!important;
  box-sizing:border-box!important;
  display:block!important;
  min-width:0!important;
  width:100%!important;
  margin:15px 0 20px!important;
  padding:0 9px 14px!important;
  border:3px solid #fce394!important;
  border-radius:25px!important;
  background:
    radial-gradient(circle at 17% 12%,#9151e76c,transparent 46%),
    radial-gradient(circle at 92% 75%,#44adfa32,transparent 45%),
    linear-gradient(150deg,#281273,#4a2199 65%,#392080)!important;
  box-shadow:0 4px #aa7ba2,0 9px 17px #42226550,inset 0 0 0 2px #fef1cd94!important;
  overflow:hidden!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1::before{
  content:none!important;
  display:none!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1::after{
  content:"✦               ✧        ✦            ✧";
  position:absolute;
  z-index:0;
  left:10px;
  right:10px;
  bottom:13px;
  overflow:hidden;
  font:900 10px/1 system-ui;
  letter-spacing:7px;
  color:#fff5d361;
  text-shadow:0 0 7px #d7b7ff;
  pointer-events:none!important;
}

/* Crystal sky header: real layered starfield, glistening gems, fox mascot. */
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-hero{
  position:relative!important;
  isolation:isolate!important;
  display:block!important;
  box-sizing:border-box!important;
  width:calc(100% + 18px)!important;
  height:145px!important;
  min-height:145px!important;
  margin:0 -9px!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:20px 20px 0 0!important;
  background:
    radial-gradient(ellipse at 44% 39%,#7933d3 7%,transparent 66%),
    linear-gradient(155deg,#210b6c,#3a1a9a 70%,#2b198a)!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-hero-sky{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  object-position:center!important;
  opacity:.95!important;
  pointer-events:none!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-hero::after{
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  background:linear-gradient(100deg,#130b65b0,#392ba94a 61%,transparent 92%),
    linear-gradient(0deg,#4a2199bb,transparent 39%);
  pointer-events:none;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-hero-copy{
  position:absolute!important;
  z-index:5!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:72%!important;
  max-width:72%!important;
  left:10px!important;
  top:13px!important;
  min-height:112px!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  pointer-events:none!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-crown{
  display:inline-flex;
  color:#fff7a5!important;
  font:900 clamp(11px,3.8vw,17px)/1 ui-rounded,system-ui,sans-serif!important;
  text-shadow:0 1px #ed9c55,0 0 11px #ffedb2;
  letter-spacing:4px;
  margin:0 0 4px 4px;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-wordmark{
  display:block!important;
  color:#e4ffff!important;
  background:none!important;
  -webkit-text-fill-color:#e4ffff!important;
  -webkit-text-stroke:.8px #4bc9ff!important;
  font:1000 clamp(27px,7.2vw,40px)/1 ui-rounded,system-ui,sans-serif!important;
  letter-spacing:-1.15px!important;
  text-shadow:0 2px #2555ba,0 4px #6b249c,0 6px 7px #150955c0!important;
  filter:drop-shadow(0 1px 1px #fc95ff);
  white-space:nowrap!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-hero-sub{
  display:block!important;
  box-sizing:border-box!important;
  width:max-content!important;
  max-width:100%!important;
  min-height:22px!important;
  margin:6px 0 0!important;
  padding:6px 9px!important;
  border:1px solid #ffe6f6!important;
  border-radius:999px!important;
  background:linear-gradient(#e985e8,#ad45c9)!important;
  box-shadow:0 2px #73277f,inset 0 1px #fff7!important;
  color:#fffaff!important;
  font:950 clamp(7px,1.9vw,10px)/1.1 ui-rounded,system-ui,sans-serif!important;
  text-shadow:0 1px #74217e!important;
  white-space:normal!important;
  text-align:center!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-hero-fox{
  position:absolute!important;
  z-index:3!important;
  display:block!important;
  width:50%!important;
  height:125%!important;
  max-width:none!important;
  max-height:none!important;
  right:-11px!important;
  top:-5%!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:right bottom!important;
  filter:drop-shadow(0 2px 4px #31147597)!important;
  pointer-events:none!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-hero-gems{
  display:block!important;
  position:absolute!important;
  z-index:4!important;
  width:32%!important;
  max-width:120px!important;
  height:57%!important;
  max-height:none!important;
  right:-18px!important;
  bottom:-15px!important;
  object-fit:contain!important;
  filter:drop-shadow(0 4px 5px #235db17e)!important;
  pointer-events:none!important;
}

/* Existing Shop status is kept visible to explain genuine regional billing
   availability and to avoid suggesting a price is a fixed PHP checkout. */
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 > .ui-section-head{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  z-index:3!important;
  width:100%!important;
  min-width:0!important;
  margin:2px 0 0!important;
  padding:4px 0 2px!important;
  gap:0!important;
  border:0!important;
  background:transparent!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 > .ui-section-head h2{
  position:absolute!important;
  overflow:hidden!important;
  width:1px!important;
  height:1px!important;
  margin:-1px!important;
  padding:0!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 > .ui-section-head small{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:3px 5px!important;
  font:800 clamp(8px,2.3vw,10px)/1.2 ui-rounded,system-ui,sans-serif!important;
  color:#d6eaff!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
}

/* Four small cards + one horizontal, premium Mega Treasure card.
   All are their ORIGINAL clickable Google Play product buttons. */
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .diamond-packs {
  position:relative!important;
  z-index:3!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  margin:7px 0 10px!important;
  padding:0!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .diamond-pack.wp-gem-v1-pack {
  position:relative!important;
  isolation:isolate;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:center!important;
  grid-column:span 1!important;
  width:100%!important;
  min-width:0!important;
  min-height:172px!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:6px 5px 9px!important;
  gap:2px!important;
  overflow:hidden!important;
  border:2px solid #e4b2ff!important;
  border-radius:17px!important;
  background:
    radial-gradient(circle at 45% 2%,#fffdfd,#fff3ff 50%,transparent 80%),
    linear-gradient(160deg,#fff9ff,#e9dcff 90%)!important;
  box-shadow:0 3px #9056ba,inset 0 2px #fff9!important;
  color:#51348f!important;
  text-align:center!important;
  transform:none!important;
  touch-action:manipulation!important;
  transition:filter .15s ease,transform .15s ease!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .diamond-pack.wp-gem-v1-pack::before{
  content:"✧"!important;
  top:31px!important;
  left:7px!important;
  color:#ffc75a!important;
  font-size:12px!important;
  pointer-events:none!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .diamond-pack.wp-gem-v1-pack:hover:not(:disabled){
  transform:translateY(-2px)!important;
  filter:brightness(1.05)!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .diamond-pack.wp-gem-v1-pack:disabled{
  opacity:1!important;
  filter:none!important;
  cursor:not-allowed!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .diamond-pack.wp-gem-v1-pack.wp-gem-v1-popular{
  border-color:#fbc3a9!important;
  background:linear-gradient(157deg,#fffaff,#f7e7ff 70%,#e7d7ff)!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .diamond-pack.wp-gem-v1-pack.wp-gem-v1-value{
  border-color:#ffdc9e!important;
  background:linear-gradient(#fffdf3,#fff2d8 75%,#fff0cb)!important;
  box-shadow:0 3px #bc9256,inset 0 2px #fff!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .diamond-pack.wp-gem-v1-pack.wp-gem-v1-mega {
  grid-column:1/-1!important;
  display:grid!important;
  grid-template-columns:minmax(0,47%) minmax(0,53%)!important;
  grid-template-rows:auto auto auto!important;
  grid-template-areas:"badge art" "number art" "price art"!important;
  align-content:center!important;
  align-items:center!important;
  justify-content:stretch!important;
  justify-items:center!important;
  min-height:150px!important;
  max-height:none!important;
  gap:4px 0!important;
  padding:8px 8px 10px!important;
  border:3px solid #ffdb86!important;
  border-radius:19px!important;
  background:linear-gradient(158deg,#fff8eb,#faf0ff 45%,#e5ceff 100%)!important;
  box-shadow:0 4px #be9a69,inset 0 2px #fff!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-badge{
  position:relative!important;
  z-index:5!important;
  order:0!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  box-sizing:border-box!important;
  width:fit-content!important;
  max-width:100%!important;
  min-height:21px!important;
  padding:4px 10px!important;
  margin:0 auto 3px!important;
  border:1px solid #ffaedb!important;
  border-radius:999px!important;
  background:linear-gradient(#9b63ed,#6b38ba)!important;
  box-shadow:0 2px #573288,inset 0 1px #f9e8ffba!important;
  color:#fff3ef!important;
  text-shadow:0 1px #592b98!important;
  white-space:nowrap!important;
  font:1000 clamp(9px,2.3vw,12px)/1 ui-rounded,system-ui,sans-serif!important;
  letter-spacing:.15px!important;
  pointer-events:none!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-value .wp-gem-v1-badge{
  border-color:#ffe9a6!important;
  background:linear-gradient(#f9be70,#df893e)!important;
  box-shadow:0 2px #a76c45!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-mega .wp-gem-v1-badge{
  grid-area:badge!important;
  margin:0 0 0 2px!important;
  background:linear-gradient(#9e61e6,#6430c7)!important;
  border-color:#ffcc96!important;
  font-size:10px!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-pack .wp-gem-v1-quantity{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  order:1!important;
  position:relative!important;
  z-index:4!important;
  width:100%!important;
  min-width:0!important;
  margin:3px 0 0!important;
  padding:0!important;
  color:#492b9a!important;
  text-shadow:0 1px #fff!important;
  font:1000 clamp(19px,5.1vw,26px)/1 ui-rounded,system-ui,sans-serif!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-quantity .wp-gem-v1-number{
  display:block!important;
  font:inherit!important;
  color:inherit!important;
  letter-spacing:-.8px!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-quantity .wp-gem-v1-unit{
  display:block!important;
  margin:3px 0 0!important;
  padding:0!important;
  color:#614b91!important;
  font:1000 clamp(8px,2.2vw,10px)/1.1 ui-rounded,system-ui,sans-serif!important;
  letter-spacing:.25px!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-mega .wp-gem-v1-quantity{
  grid-area:number!important;
  margin:3px 0!important;
  font-size:clamp(27px,7.5vw,34px)!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-art{
  position:relative!important;
  z-index:3!important;
  order:2!important;
  display:block!important;
  width:100%!important;
  height:88px!important;
  max-width:135px!important;
  max-height:88px!important;
  min-width:0!important;
  margin:1px auto 2px!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
  filter:drop-shadow(0 3px 2px #6b63cb50)!important;
  pointer-events:none!important;
  transform:none!important;
  transition:transform .17s ease;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-pack:hover:not(:disabled) .wp-gem-v1-art{
  transform:scale(1.05)!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-mega .wp-gem-v1-art{
  grid-area:art!important;
  align-self:center!important;
  justify-self:center!important;
  width:100%!important;
  max-width:174px!important;
  height:122px!important;
  max-height:122px!important;
  margin:0!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-price{
  position:relative!important;
  z-index:4!important;
  order:3!important;
  box-sizing:border-box!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  flex:0 0 auto!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:32px!important;
  height:32px!important;
  padding:5px!important;
  margin:auto 0 0!important;
  border:2px solid #ffaed0!important;
  border-radius:12px!important;
  background:linear-gradient(#ff96ce,#f15ba7 64%,#d9348c)!important;
  box-shadow:0 2px #a53a80,inset 0 2px #fff9!important;
  color:#fffce9!important;
  text-shadow:0 1px #a82f75!important;
  font:1000 clamp(13px,3.9vw,18px)/1 ui-rounded,system-ui,sans-serif!important;
  white-space:nowrap!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-mega .wp-gem-v1-price{
  grid-area:price!important;
  width:100%!important;
  min-height:38px!important;
  height:38px!important;
  align-self:center!important;
  margin:0!important;
  font-size:clamp(17px,4.4vw,22px)!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-pack:focus-visible{
  outline:3px solid #ffe99b!important;
  outline-offset:3px!important;
}

/* Real Google Play link on browser (native packs remain the original buttons)
   plus existing Restore button — both in the card, visually distinct. */
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 a.shop-v2-diamond-cta{
  position:relative!important;
  z-index:5!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-height:44px!important;
  padding:9px 8px!important;
  margin:5px 0 7px!important;
  border:2px solid #91d2fa!important;
  border-radius:14px!important;
  background:linear-gradient(#c2fbff,#77d9ff)!important;
  box-shadow:0 3px #387cad,inset 0 2px #fff!important;
  color:#285082!important;
  font:900 11px/1.2 ui-rounded,system-ui,sans-serif!important;
  text-align:center!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 #restoreGooglePlayPurchases{
  position:relative!important;
  z-index:5!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-height:43px!important;
  height:auto!important;
  margin:8px 0 3px!important;
  padding:8px 12px!important;
  border:2px solid #ffdb9a!important;
  border-radius:14px!important;
  background:linear-gradient(#fff5cf,#ffe1a2)!important;
  box-shadow:0 3px #ae7e53,inset 0 1px #fff!important;
  color:#704983!important;
  font:950 clamp(10px,2.5vw,13px)/1.13 ui-rounded,system-ui,sans-serif!important;
  text-align:center!important;
  white-space:normal!important;
  cursor:pointer!important;
}
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 #restoreGooglePlayPurchases:focus-visible,
#modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 a.shop-v2-diamond-cta:focus-visible{
  outline:3px solid #ffe079!important;
  outline-offset:3px!important;
}
@media (max-width:355px){
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1{
    padding:0 6px 12px!important;
  }
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-hero{
    margin:0 -6px!important;
    width:calc(100% + 12px)!important;
    height:131px!important;
    min-height:131px!important;
  }
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-hero-copy{
    top:10px!important;
    left:8px!important;
    min-height:105px!important;
  }
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-wordmark{
    font-size:24px!important;
  }
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .diamond-packs{
    gap:6px!important;
  }
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .diamond-pack.wp-gem-v1-pack{
    min-height:169px!important;
    padding:5px 4px 7px!important;
  }
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-badge{
    font-size:8px!important;
    padding:4px 7px!important;
  }
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-pack .wp-gem-v1-quantity{
    font-size:19px!important;
  }
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-art{
    height:72px!important;
  }
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-price{
    font-size:13px!important;
  }
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .diamond-pack.wp-gem-v1-mega{
    min-height:139px!important;
  }
}
@media (min-width:650px){
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-hero{
    height:175px!important;
    min-height:175px!important;
  }
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-hero-copy{
    top:28px!important;
    left:15px!important;
  }
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-wordmark{
    font-size:36px!important;
  }
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .wp-gem-v1-art{
    height:98px!important;
    max-height:98px!important;
  }
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 .diamond-pack.wp-gem-v1-pack:not(.wp-gem-v1-mega){
    min-height:190px!important;
  }
}
@media (prefers-reduced-motion:reduce){
  #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 *{
    animation:none!important;
    transition:none!important;
  }
}
#app.reduced-motion #modal .shop-screen.shop-v2 .diamond-section.wp-gem-v1 *{
  animation:none!important;
  transition:none!important;
}

/* Exact approved v612 art; full composition, no price or offer changes. */
#modal .shop-screen.shop-v2 .wp-gem-v1-hero.wp-approved-banner{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;line-height:0;background:#48227b!important}
#modal .shop-screen .wp-approved-banner::before,#modal .shop-screen .wp-approved-banner::after{display:none!important}
#modal .shop-screen .wp-approved-banner>.wp-approved-banner-art{position:static!important;display:block;width:100%!important;height:auto!important;max-width:100%;object-fit:contain!important;transform:none!important;margin:0!important}
#modal .shop-screen .wp-approved-banner>.wp-approved-banner-art[hidden]{display:none!important}
#modal .shop-screen .wp-approved-banner>h2{line-height:1.2;padding:20px;text-align:center;color:#fff4b6}
