/* Final Wobble Pals Plus polish — web only.
   A slim, intentional sky strip reserves space for Restore and ⓘ,
   keeping the green Dragon's horns clear. The price floats slightly
   further below the Plus wordmark without changing its live value. */

#modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v3-inner{
  box-sizing:border-box!important;
  padding-top:38px!important;
  padding-bottom:6px!important;
}

/* Place both controls in the starry top strip, BEFORE the hero artwork.
   They are the original clickable controls, not decorative copies. */
#modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v5-corner-tools{
  z-index:14!important;
  top:2px!important;
  right:7px!important;
  height:33px!important;
  min-height:33px!important;
  gap:5px!important;
  padding:0!important;
  border-radius:99px!important;
  background:linear-gradient(125deg,#4d248e40,#3a156f70)!important;
  box-shadow:0 1px 5px #29125b50!important;
}
#modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v5-corner-tools .wp-plus-v5-corner-restore,
#modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v5-corner-tools .wp-plus-v5-corner-info{
  min-height:31px!important;
  height:31px!important;
}

/* Keep the dragon the same size: move it down just four pixels relative to
   the reserved sky strip; do not shrink its charming face. */
#modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v3-mascot{
  bottom:-14px!important;
}

/* Space between the engraved Plus logo and the real price pill. */
#modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v4-logo{
  top:9px!important;
}
#modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v3-hero-copy .wp-plus-v3-price.wp-plus-v5-price{
  top:110px!important;
}

/* Recover space from decorative gaps, not from touch targets or typography. */
#modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v3-hero{
  margin-bottom:5px!important;
}
#modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v3-perks{
  margin-bottom:6px!important;
  row-gap:6px!important;
}
#modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v3-perk{
  min-height:88px!important;
}
#modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v3-buy-button :is(a,button){
  min-height:44px!important;
  height:44px!important;
}
@media(max-width:380px){
  #modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v3-inner{
    padding-top:38px!important;
  }
  #modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v5-corner-tools{
    top:2px!important;
    right:5px!important;
  }
  #modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v4-logo{
    top:10px!important;
  }
  #modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v3-hero-copy .wp-plus-v3-price.wp-plus-v5-price{
    top:98px!important;
  }
  #modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v3-perk{
    min-height:88px!important;
  }
}
@media(max-width:340px){
  #modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v3-hero-copy .wp-plus-v3-price.wp-plus-v5-price{
    top:87px!important;
  }
}
@media(min-width:650px){
  #modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v4-logo{
    top:9px!important;
  }
  #modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v3-hero-copy .wp-plus-v3-price.wp-plus-v5-price{
    top:121px!important;
  }
}
/* At intermediate tablet / large-phone widths, the original logo would
   grow into the price pill. Keep the lettering prominent but readable. */
@media(min-width:411px) and (max-width:649px){
  #modal .shop-screen .plus-card.wp-plus-v4.wp-plus-dragon.wp-plus-layout-v5 .wp-plus-v4-logo{
    width:min(100%,215px)!important;
    max-width:215px!important;
  }
}
