/* Wobble Pals — illustrated marketplace, WEB ONLY (2026-10-29).
   All purchasing, product IDs, rewards, and entitlements remain owned by game.js. */
#modal:has(.shop-screen){padding:10px 9px;background:radial-gradient(circle at 50% 14%,#5f4972ae,#292235d9 79%);}
#modal:has(.shop-screen)>.card{
  box-sizing:border-box;width:min(100%,730px);max-height:calc(100dvh - 20px);
  padding:14px 12px 22px;border:5px solid #a66b43;border-radius:27px;
  background:linear-gradient(92deg,#e2b67f 0 3px,transparent 3px calc(100% - 3px),#e2b67f calc(100% - 3px)),
   radial-gradient(circle at 14% 10%,#fffef3 0,#fff0d2 56%,#f8dfb9 100%);
  box-shadow:0 9px 0 #533725,0 21px 34px #29163283,inset 0 0 0 4px #fffae4;
  color:#533829;scrollbar-width:thin;scrollbar-color:#b3896a transparent;
}
#modal:has(.shop-screen)>.card::-webkit-scrollbar{width:5px!important;display:block!important}
#modal:has(.shop-screen)>.card::-webkit-scrollbar-thumb{background:#b99573!important;border-radius:99px}
#modal:has(.shop-screen)>.wp-shop-exit{top:13px;right:12px;z-index:105;width:48px;height:48px;border:4px solid #8d433b;
  background:linear-gradient(#ffa698,#ee635b);box-shadow:0 5px #903a33,inset 0 2px #ffd9b8;color:#fff}
.shop-screen{--shop-ink:#563c30;--shop-berry:#71439b;--shop-gold:#ffdf73;--shop-blue:#4dbbe8;
  min-width:0;overflow:visible;color:var(--shop-ink);font-family:system-ui,-apple-system,'Trebuchet MS',sans-serif}
#modal .shop-screen .ui-head.shop-market-head{
  box-sizing:border-box;position:relative;isolation:isolate;display:flex;align-items:center;
  min-height:112px;padding:15px 143px 12px 14px;margin:0 0 12px;overflow:hidden;
  border:4px solid #aa6d3c;border-radius:20px;background:
  radial-gradient(ellipse at 84% -30%,#ffd886c7,transparent 42%),
  repeating-linear-gradient(1deg,transparent 0 22px,#80492135 23px 24px),
  linear-gradient(160deg,#c88743 0,#995522 54%,#723d25 100%);
  box-shadow:0 5px #774a30,inset 0 0 0 2px #eac08b,inset 0 5px #fff5bb91;
  text-align:left;
}
.shop-market-head::before{content:"✦ ✧";position:absolute;right:8px;top:2px;color:#ffeb9f;font-size:16px;text-shadow:0 0 8px #fff2ab;pointer-events:none;z-index:1}
.shop-market-head .ui-head-icon{z-index:2;flex:0 0 45px;width:45px;height:45px;margin:0 9px 0 0;
  border:3px solid #683f2e;border-radius:14px;background:linear-gradient(#fff6c3,#ffdb79);
  box-shadow:0 4px #6f422e,inset 0 2px #fff;padding:0;font-size:24px}
.shop-market-head .ui-head-copy{z-index:2;flex:none;max-width:190px;min-width:0}
.shop-market-head .ui-head-copy small{font-size:10px;line-height:1.1;letter-spacing:.7px;color:#fff9cc;text-shadow:0 2px #633d26}
.shop-market-head .ui-head-copy strong{font-size:clamp(25px,6.2vw,34px);line-height:1.05;color:#fff9e5;
  -webkit-text-stroke:.6px #68402e;text-shadow:0 2px #744427,0 4px #4c2b23}
.shop-market-head .shop-head-art{position:absolute;z-index:1;width:170px;height:auto;right:12px;bottom:-20px;
  pointer-events:none;filter:drop-shadow(0 3px 3px #5732276a);animation:shopFloat 4s ease-in-out infinite}
.shop-market-head .shop-head-caption{display:block;margin-top:3px;color:#ffedd1;font-size:9px;font-weight:750;line-height:1.2}
.shop-screen .ui-section{
  box-sizing:border-box;position:relative;min-width:0;margin:12px 0;padding:14px 13px 15px;
  border:2.5px solid #bb916c;border-radius:20px;background:linear-gradient(160deg,#fff1d9,#fce5c3);
  box-shadow:0 4px 0 #a47c5a,inset 0 1px #fff7e7;
}
.shop-screen .ui-section-head{display:flex;align-items:center;justify-content:space-between;gap:7px;
  flex-wrap:wrap;margin:0 0 12px;color:#52382b}
.shop-screen .ui-section-head h2{margin:0;font-size:clamp(16px,3vw,20px);font-weight:950;line-height:1.18}
.shop-screen .ui-section-head small{font-size:10px;font-weight:800;color:#8b6d50;max-width:100%;line-height:1.3;text-align:right}
.shop-screen .ui-section-head .shop-title-chip{display:inline-flex;align-items:center;justify-content:center;
  margin-right:6px;min-width:30px;height:30px;vertical-align:middle;border:2px solid #e5c293;border-radius:10px;
  background:linear-gradient(#fff7d0,#ffd985);box-shadow:0 2px #b88c58;font-size:17px}
.shop-wallet-section{background:linear-gradient(150deg,#fff5df,#ffe9c6)!important}
.shop-wallet-section .economy-wallet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:4px 0 11px}
.shop-wallet-section .economy-balance{box-sizing:border-box;position:relative;min-width:0;gap:9px;min-height:68px;
  padding:10px;border:2.5px solid #c89459;border-radius:18px;
  background:linear-gradient(150deg,#fffef0,#ffe5a6);box-shadow:0 4px #9d7044,inset 0 2px #fff7d5}
.shop-wallet-section .economy-balance.premium{border-color:#5c8fd1;background:linear-gradient(145deg,#f1fcff,#b9e8ff 76%,#97cdf9);
  box-shadow:0 4px #5479aa,inset 0 2px #fff}
.shop-wallet-section .economy-balance::before{content:"✦";position:absolute;right:8px;top:5px;font-size:12px;color:#ffcc52}
.shop-wallet-section .economy-balance.premium::before{color:#fff}
.shop-wallet-section .economy-balance span{flex:0 0 auto;font-size:clamp(24px,5vw,33px);filter:drop-shadow(0 2px 1px #6b3f2355)}
.shop-wallet-section .economy-balance strong{font-size:clamp(17px,3.5vw,24px);line-height:1.1;font-weight:950}
.shop-wallet-section .economy-balance small{font-size:8px;line-height:1.2;color:#83603c;letter-spacing:.25px}
.shop-wallet-section .premium-account-security{margin:10px 0;border-radius:14px;border-color:#7baa6d;background:linear-gradient(90deg,#d9f2d3,#eaf9df)}
.shop-wallet-section .shop-free-reward{margin-top:9px;border:2px solid #b69ad9;border-radius:16px;
  background:linear-gradient(115deg,#f8edff,#eadbff);box-shadow:0 3px #a18abb}
.shop-wallet-section .shop-free-reward>span{font-size:28px}
.shop-wallet-section .shop-free-reward .button{border-radius:13px}
.shop-screen .shop-plus-section{margin:15px 0 16px;padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
.shop-plus-section>.ui-section-head{margin:0 5px 7px}
.shop-plus-section>.ui-section-head h2{font-size:17px}
.shop-screen .plus-card{isolation:isolate;position:relative;overflow:hidden;margin:0;padding:12px 13px 13px;
  border:3px solid #f9d37e;border-radius:25px;
  background:radial-gradient(circle at 91% 24%,#bb7bffb0,transparent 36%),
  radial-gradient(circle at 2% 89%,#6a50d9,transparent 36%),
  linear-gradient(138deg,#6936a9,#9957cb 53%,#8e50c8 76%,#6244aa);
  box-shadow:0 5px #704296,0 10px 16px #66468a44,inset 0 0 0 2px #ffe2a3;
  color:#fff}
.shop-screen .plus-card::before{content:"✦      ✧     ✦";position:absolute;right:15px;top:12px;color:#ffe9aa;font-size:21px;line-height:1;
  text-shadow:0 0 12px #fff4ac;pointer-events:none;animation:shopTwinkle 3.8s ease-in-out infinite}
.shop-screen .plus-card::after{content:"";position:absolute;pointer-events:none;inset:0;
  background:radial-gradient(circle at 4% 24%,#fff8d2 0 1px,transparent 3px),
  radial-gradient(circle at 75% 18%,#ffedcb 0 2px,transparent 4px),
  radial-gradient(circle at 21% 58%,#fff3d0 0 1px,transparent 3px),
  radial-gradient(circle at 90% 64%,#ffd0f2 0 2px,transparent 4px);opacity:.55}
.shop-plus-section .plus-ribbon{position:relative;z-index:2;display:inline-flex;align-items:center;gap:5px;
  padding:6px 11px;margin:0 0 8px;border:2px solid #ffc77c;border-radius:999px;
  background:linear-gradient(120deg,#ff7da8,#f0426f);box-shadow:0 3px #a93471;
  color:#fff;font-size:9px;letter-spacing:.8px;font-weight:1000;text-transform:uppercase}
.shop-plus-section .plus-head{position:relative;z-index:1;display:flex;min-height:136px;align-items:flex-start}
.shop-plus-section .plus-title{position:relative;z-index:2;max-width:62%}
.shop-plus-section .plus-title small{color:#ffe6bd;font-size:9px;letter-spacing:1.1px}
.shop-plus-section .plus-title strong{display:block;margin-top:4px;color:#fffaf2;font-size:clamp(24px,5.6vw,38px);
  line-height:.98;font-weight:1000;letter-spacing:-.7px;
  text-shadow:0 3px #52328d,2px 0 #6641a2,-2px 0 #6641a2,0 -2px #6641a2,0 5px 1px #3b256d}
.shop-plus-section .plus-title strong em{font-style:normal;color:#ffdf59;text-shadow:0 3px #a74953,2px 0 #b24d69,-2px 0 #b24d69,0 -2px #b24d69}
.shop-plus-section .plus-title p{margin:6px 0 7px;font-size:11px;line-height:1.2;color:#ffecca;font-weight:800}
.shop-plus-section .plus-mascot{position:absolute;right:-8px;bottom:-16px;z-index:1;display:block;width:min(50%,220px);
  max-height:154px;object-fit:contain;object-position:center bottom;pointer-events:none;
  filter:drop-shadow(0 8px 5px #50327b88);animation:shopFloat 4.3s ease-in-out infinite}
.shop-plus-section .plus-status{display:inline-block;margin-top:1px;padding:5px 10px;
  border-radius:999px;border:1px solid #fff2c3b0;background:#6c3b9e;color:#fff;font-size:10px}
.shop-plus-section .plus-status.active{background:#4b9e66}
.shop-plus-section .plus-price-row{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;
  width:fit-content;max-width:100%;margin:4px 0 12px;padding:6px 12px;border:2px solid #fff2b7;border-radius:14px;
  background:linear-gradient(#fff6b3,#ffc044);box-shadow:0 3px #a96a37;color:#703d24}
.shop-plus-section .plus-price{color:#723c35;font-size:clamp(18px,4vw,26px);white-space:nowrap;line-height:1}
.shop-plus-section .plus-renew{font-size:9px;font-weight:850;color:#80512f}
.shop-plus-section .plus-benefits{position:relative;z-index:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:9px 0 11px}
.shop-plus-section .plus-benefit{display:grid;grid-template-columns:36px minmax(0,1fr);gap:6px;
  align-items:center;min-width:0;min-height:67px;padding:8px 7px;border:2px solid #b99adb;border-radius:15px;
  background:linear-gradient(145deg,#fff7f4,#f2e2ff);box-shadow:0 3px #6f478f;color:#533671;text-align:left}
.shop-plus-section .plus-benefit span{font-size:28px;line-height:1;filter:drop-shadow(0 2px #ad86bf)}
.shop-plus-section .plus-benefit strong{font-size:11px;line-height:1.15;color:#57347d}
.shop-plus-section .plus-benefit small{font-size:9px;line-height:1.3;color:#745b88}
.shop-plus-section .plus-meter{position:relative;z-index:2;margin:9px 0;padding:9px 12px;
  border:1px solid #f5e7ffb0;border-radius:13px;background:#f5e9ffdd;color:#6f4b87;font-size:10px;line-height:1.4}
.shop-plus-section .plus-actions{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
  gap:9px;margin-top:11px}
.shop-plus-section .plus-actions .primary,.shop-plus-section .plus-actions .button{
  box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:47px;
  margin:0;padding:9px 7px;border-radius:16px;font-size:12px;font-weight:950;line-height:1.1;text-decoration:none;
  text-align:center;white-space:normal}
.shop-plus-section .plus-actions .primary{border:3px solid #429451;background:linear-gradient(#a8ff69,#48d94d);
  box-shadow:0 4px #29804c,inset 0 2px #d9ffb9;color:#264c24}
.shop-plus-section .plus-actions .primary:not(:disabled):hover{filter:brightness(1.06)}
.shop-plus-section .plus-actions .button{border:3px solid #8b644b;background:linear-gradient(#fff7df,#ffe7ae);
  box-shadow:0 4px #815547;color:#69402b}
.shop-plus-section .plus-terms{position:relative;z-index:2;display:block;margin:12px 6px 0;color:#f7eaff;
  font-size:9px;line-height:1.45;text-align:center}
.shop-screen .shop-combo-section{background:linear-gradient(160deg,#fff3d9,#ffe5c7)}
.shop-combo-section>.ui-section-head h2,.shop-starter-section>.ui-section-head h2{font-size:18px}
.shop-combo-section .shop-cash-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.shop-combo-section .shop-cash-card{
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
  position:relative;min-width:0;min-height:240px;gap:6px;padding:11px 9px 12px;overflow:hidden;
  border:2.5px solid #cc995c;border-radius:21px;background:
  radial-gradient(circle at 50% 30%,#fff5c2,transparent 58%),linear-gradient(#ffe7a9,#ffc96c);
  box-shadow:0 4px #b47a3c;text-align:center;color:#613a2b;
}
.shop-combo-section .shop-cash-card.featured{border-color:#f3b75f;background:linear-gradient(145deg,#fff5ba,#ffdc7a 60%,#ffeaa6);box-shadow:0 4px #b27633}
.shop-combo-section .shop-cash-card:not(.featured){border-color:#b294df;
  background:linear-gradient(145deg,#f7eaff,#ddcbff 68%,#f7d5fd);box-shadow:0 4px #8863b2}
.shop-combo-section .shop-cash-card.owned{background:linear-gradient(#e6fada,#cbf0c9);border-color:#87ac7b}
.shop-combo-section .shop-offer-badge{position:relative;z-index:2;align-self:center;margin:-2px auto 2px;padding:5px 12px;
  border-radius:999px;background:linear-gradient(#ff6b79,#e13860);box-shadow:0 3px #ac3458;
  color:#fff;font-size:9px;letter-spacing:.65px}
.shop-combo-section .shop-offer-badge.shop-offer-spacer{opacity:0}
.shop-combo-section .shop-offer-art{position:relative;flex:0 0 85px;display:grid;place-items:center;width:100%;
  overflow:hidden;border-radius:12px;background:radial-gradient(ellipse at 50% 85%,#fffacba3,#fff0a800)}
.shop-combo-section .shop-offer-art .shop-offer-pal{position:absolute;left:1%;bottom:-15px;display:block;width:48%;height:105px;
  object-fit:contain;pointer-events:none;filter:drop-shadow(0 3px 2px #a5743a66)}
.shop-combo-section .shop-cash-card:not(.featured) .shop-offer-art .shop-offer-pal{left:auto;right:1%;width:46%}
.shop-combo-section .shop-offer-art .shop-offer-icon{position:absolute;right:6%;top:12px;font-size:33px;letter-spacing:-9px;
  filter:drop-shadow(0 3px 1px #774c6877);white-space:nowrap}
.shop-combo-section .shop-cash-card strong{font-size:13px;line-height:1.22;min-height:2.25em;color:#643d35}
.shop-combo-section .shop-cash-card small{flex:1;min-height:0;color:#826252;font-size:10px;line-height:1.3}
.shop-combo-section .shop-cash-card>b{font-size:22px;line-height:1.1;color:#633f81;text-shadow:0 2px #fff7c7}
.shop-combo-section .shop-cash-card .button{box-sizing:border-box;display:block;width:100%;min-height:43px;
  padding:9px 5px;margin-top:auto;border:2.5px solid #86603c;border-radius:14px;
  background:linear-gradient(#fff4b4,#ffd167);box-shadow:0 3px #946239;color:#664126;font-size:11px;line-height:1.18}
.shop-combo-section .shop-cash-card .button:disabled{background:linear-gradient(#fff3d6,#e8d8b3);color:#866c54;opacity:.93}
.shop-starter-section .starter-bundle-card{position:relative;overflow:hidden;padding:14px 12px 13px;gap:9px;
  border:2.5px solid #b188e4;border-radius:21px;background:radial-gradient(circle at 90% 8%,#fff2cb,transparent 34%),
  linear-gradient(150deg,#f2e2ff,#cbd1ff 78%,#d8ecff);box-shadow:0 4px #8461b1}
.shop-starter-section .starter-bundle-head{position:relative;min-height:84px;display:flex;align-items:flex-start;justify-content:space-between;gap:6px}
.shop-starter-section .starter-bundle-head>div{position:relative;z-index:2;max-width:65%}
.shop-starter-section .starter-bundle-head .shop-offer-badge{padding:6px 10px;background:linear-gradient(#8155c0,#633a9d);
  box-shadow:0 3px #5e3e87;font-size:9px}
.shop-starter-section .starter-bundle-title{display:block;max-width:210px;color:#593c84;
  font-size:clamp(16px,3.5vw,23px);line-height:1.1;margin-top:7px}
.shop-starter-section .starter-bundle-price{z-index:3;color:#6d498e;font-size:clamp(20px,4vw,27px)}
.shop-starter-section .starter-hero-pal{position:absolute;z-index:1;right:5px;bottom:-12px;display:block;width:130px;height:97px;
  object-fit:contain;filter:drop-shadow(0 3px 2px #a383d180);pointer-events:none}
.shop-starter-section .starter-power-grid{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.shop-starter-section .starter-power-tile{display:flex;flex-direction:column;align-items:center;min-width:0;
  min-height:81px;gap:3px;padding:9px 3px;border:2px solid #b8a1d5;border-radius:15px;
  background:linear-gradient(#fff9f9,#f5eaff);box-shadow:0 3px #a08ac0;text-align:center;color:#54367d}
.shop-starter-section .starter-power-tile span{font-size:25px;line-height:1.05}
.shop-starter-section .starter-power-tile strong{font-size:10px;line-height:1.15}
.shop-starter-section .starter-power-tile b{font-size:14px}
.shop-starter-section .starter-bundle-note{font-size:10px}
.shop-starter-section .starter-bundle-card .primary{display:block;min-height:45px;margin:0;
  border:3px solid #438852;border-radius:15px;background:linear-gradient(#b6fa83,#69d76e);
  box-shadow:0 4px #40834a;color:#2c5832;font-size:12px}
.shop-starter-section .starter-bundle-card .primary:disabled{opacity:.8}
.shop-screen .diamond-section{background:linear-gradient(140deg,#d8f0ff,#c4e7ff 64%,#e6f6ff)!important;border-color:#69acda;
  box-shadow:0 4px #6a9fc5,inset 0 1px #f9ffff}
.shop-screen .diamond-section .ui-section-head h2{color:#275d94}
.shop-screen .diamond-packs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:10px}
.shop-screen .diamond-pack{grid-column:span 2;min-width:0;min-height:103px;padding:10px 5px;border:2px solid #89a7dd;border-radius:15px;
  background:linear-gradient(160deg,#f6ffff,#d9eaff);box-shadow:0 3px #79a6d2,inset 0 1px #fff;
  color:#385b92;text-align:center}
.shop-screen .diamond-pack:nth-last-child(2):nth-child(3n + 1){grid-column:2 / span 2}
.shop-screen .diamond-pack-art{display:block;margin:0 auto 4px;font-size:30px;filter:drop-shadow(0 3px 2px #578dc688)}
.shop-screen .diamond-pack strong{font-size:19px;font-weight:950;line-height:1.15}
.shop-screen .diamond-pack strong span{display:block;font-size:8px;letter-spacing:.3px;text-transform:uppercase}
.shop-screen .diamond-pack small{font-size:10px;margin-top:5px}
.shop-screen .diamond-pack:last-child{background:linear-gradient(#fff4c3,#ffe6b3);border-color:#f0c279;color:#846035}
.shop-screen .diamond-pack:disabled{opacity:.84;filter:saturate(.8)}
.shop-screen #restoreGooglePlayPurchases{width:100%;min-height:45px;margin:12px 0 0;
  border:3px solid #8d633f;border-radius:16px;background:linear-gradient(#fff4cd,#ffdf94);box-shadow:0 4px #9c734d;color:#6b432d;font-size:12px;font-weight:900}
.shop-screen .shop-star-section .power-shop{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.shop-screen .shop-star-section .room-help{font-size:11px;margin:2px 0 10px}
.shop-screen .shop-star-section .power-item{min-height:95px;border:2px solid #c69d65;border-radius:16px;
  background:linear-gradient(#fff0c9,#ffdea0);box-shadow:0 3px #9d7956;color:#67432c}
.shop-screen .shop-star-section .power-item strong{font-size:14px}
.shop-screen .shop-star-section .power-item span{font-size:10px}
.shop-screen .shop-star-section .power-item small{font-size:11px}
.shop-screen .shop-premium-section{border-color:#b89568;background:linear-gradient(152deg,#fff9e9,#faedcf 55%,#fff4df)}
.shop-screen .shop-premium-section .ui-section-head h2{color:#68472f}
.shop-screen .economy-tabs{gap:7px;margin:7px 0 5px;padding:3px 1px 7px}
.shop-screen .economy-tab{min-height:36px;border:2px solid #b39470;border-radius:12px;
  background:linear-gradient(#fff9e8,#f6e4bf);color:#674d36;font-size:11px;white-space:nowrap;box-shadow:0 2px #a28260}
.shop-screen .economy-tab[aria-pressed=true]{border-color:#6f9256;background:linear-gradient(#e5f2c9,#bedf97);
  color:#3f5e32;box-shadow:0 2px #67824f}
.shop-screen .premium-grid{gap:10px}
.shop-screen .premium-grid>.premium-card{border:2px solid #b89568;border-radius:20px;
  background:linear-gradient(#fffaf0,#f7e8c9);box-shadow:0 4px #a5835e;color:#60452f}
.shop-screen .premium-grid>.premium-card:not(.owned) small{color:#796047}
.shop-screen .premium-grid>.premium-card.owned{border-color:#5f9558;background:linear-gradient(#edf8df,#daefc9);box-shadow:0 4px #56804f;color:#3f613a}
.shop-screen .premium-grid>.premium-card.owned small{color:#587153}
.shop-screen .premium-grid>.premium-card .premium-media{border-radius:13px;border:2px solid #dfc49a;background:#fff7e5}
#modal .shop-screen .shop-premium-section .premium-grid>.premium-card button.premium-media{background:#f8ecd5!important}
.shop-screen .premium-grid>.premium-card .premium-buy{border-radius:13px;border:2px solid #9a774e;
  background:linear-gradient(#fff9d8,#ffeab2);box-shadow:0 2px #a18158;color:#60442e}
.shop-screen .shop-premium-section button.premium-media::after{border-color:#fff2d4;background:#705239e6;color:#fff9e8}
.shop-screen .shop-premium-section button.premium-media:focus-visible{outline-color:#6b8f55}
.shop-screen .premium-tx-list{display:grid;gap:6px}
.shop-screen .shop-history-section{background:linear-gradient(#ffefdc,#f7e6d3)}
.shop-screen .shop-history-section .premium-tx{border-radius:12px}
.shop-screen .shop-history-section .ui-empty{font-size:11px}
.shop-screen>.economy-note{font-size:10px;line-height:1.4;margin:12px 0 2px;border-radius:12px}
.shop-screen button,.shop-screen a.shop-store-link{touch-action:manipulation}
.shop-screen button:focus-visible,.shop-screen a:focus-visible{outline:3px solid #ffcc52;outline-offset:3px}
@keyframes shopFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes shopTwinkle{0%,100%{opacity:.66}50%{opacity:1}}
@media(max-width:460px){
 #modal:has(.shop-screen){padding:8px 7px}
 #modal:has(.shop-screen)>.card{padding:12px 10px 18px;border-width:4px;border-radius:23px;max-height:calc(100dvh - 16px)}
 #modal .shop-screen .ui-head.shop-market-head{padding:14px 110px 11px 10px;min-height:99px}
 .shop-market-head .shop-head-art{width:140px;right:-3px;bottom:-13px}
 .shop-market-head .ui-head-icon{flex-basis:40px;width:40px;height:40px;font-size:20px;margin-right:6px}
 .shop-market-head .ui-head-copy strong{font-size:26px}
 .shop-screen .ui-section{padding:11px 10px 12px}
 .shop-screen .ui-section-head small{font-size:9px}
 .shop-wallet-section .economy-balance{padding:9px 7px;gap:5px}
 .shop-wallet-section .economy-balance strong{font-size:19px}
 .shop-wallet-section .economy-balance span{font-size:26px}
 .shop-plus-section .plus-head{min-height:125px}
 .shop-plus-section .plus-title strong{font-size:26px}
 .shop-plus-section .plus-mascot{width:49%;right:-14px}
 .shop-plus-section .plus-benefit{grid-template-columns:29px minmax(0,1fr);min-height:72px;padding:7px 6px;gap:4px}
 .shop-plus-section .plus-benefit span{font-size:24px}
 .shop-plus-section .plus-benefit strong{font-size:10px}
 .shop-plus-section .plus-benefit small{font-size:8px}
 .shop-plus-section .plus-actions .primary,.shop-plus-section .plus-actions .button{font-size:11px}
 .shop-combo-section .shop-cash-card{min-height:245px;padding:10px 6px;gap:5px}
 .shop-combo-section .shop-cash-card strong{font-size:12px}
 .shop-combo-section .shop-cash-card small{font-size:9px}
 .shop-combo-section .shop-offer-art{flex-basis:76px}
 .shop-combo-section .shop-offer-art .shop-offer-pal{height:95px}
 .shop-combo-section .shop-offer-art .shop-offer-icon{font-size:27px}
 .shop-starter-section .starter-power-grid{gap:5px}
 .shop-starter-section .starter-power-tile{padding:7px 2px;min-height:77px}
 .shop-starter-section .starter-power-tile span{font-size:23px}
 .shop-starter-section .starter-hero-pal{width:105px}
 .shop-screen .diamond-pack{min-height:99px;padding:8px 3px}
 .shop-screen .diamond-pack strong{font-size:17px}
 .shop-screen .diamond-pack-art{font-size:26px}
}
@media(max-width:350px){
 .shop-market-head .shop-head-art{width:118px;right:-12px}
 .shop-plus-section .plus-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 .shop-plus-section .plus-benefit{grid-template-columns:24px minmax(0,1fr)}
 .shop-plus-section .plus-benefit span{font-size:20px}
 .shop-plus-section .plus-title strong{font-size:22px}
 .shop-plus-section .plus-terms{font-size:8px}
 .shop-screen .diamond-packs{gap:6px}
 .shop-screen .diamond-pack strong{font-size:15px}
 .shop-screen .shop-cash-card .button{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.shop-market-head .shop-head-art,.shop-plus-section .plus-mascot,.shop-screen .plus-card::before{animation:none!important}}

/* Consistent, crisp in-game currency/reward icons: no dependency on emoji fonts. */
.shop-screen .shop-ui-icon,.shop-screen .shop-chip-icon,.shop-screen .shop-wallet-icon,
.shop-screen .shop-free-icon,.shop-screen .shop-benefit-icon,.shop-screen .shop-power-icon,
.shop-screen .shop-star-power-icon,.shop-screen .shop-diamond-icon,.shop-screen .shop-bag-icon,
.shop-screen .shop-offer-graphic,.shop-screen .shop-ribbon-icon{
  display:block;object-fit:contain;max-width:100%;height:auto;pointer-events:none;flex-shrink:0;
}
.shop-screen .shop-bag-icon{width:34px;height:34px}
.shop-screen .shop-chip-icon{width:23px;height:23px}
.shop-screen .shop-wallet-icon{width:34px;height:34px}
.shop-screen .shop-free-icon{width:31px;height:31px}
.shop-screen .shop-benefit-icon{width:32px;height:32px}
.shop-screen .shop-power-icon{width:32px;height:32px}
.shop-screen .shop-star-power-icon{width:27px;height:27px}
.shop-screen .shop-diamond-icon{width:31px;height:31px;margin:0 auto}
.shop-screen .shop-ribbon-icon{width:18px;height:18px;margin-right:2px}
.shop-screen .shop-offer-icon{position:absolute;right:3%;top:8px;display:flex;align-items:center;gap:1px;z-index:2}
.shop-screen .shop-offer-graphic{width:46px;height:46px;filter:drop-shadow(0 2px 2px #84597450)}
.shop-screen .shop-offer-art .shop-offer-pal,.shop-screen .starter-hero-pal{
  -webkit-mask-image:radial-gradient(ellipse 73% 81% at 48% 63%,black 44%,#000b 65%,transparent 83%);
  mask-image:radial-gradient(ellipse 73% 81% at 48% 63%,black 44%,#000b 65%,transparent 83%);
}
.shop-screen .plus-mascot{
  -webkit-mask-image:radial-gradient(ellipse 76% 77% at 52% 65%,black 42%,#000a 62%,transparent 79%);
  mask-image:radial-gradient(ellipse 76% 77% at 52% 65%,black 42%,#000a 62%,transparent 79%);
}
.shop-screen .shop-plus-section .plus-benefit span{display:grid;place-items:center;width:36px;height:36px}
.shop-screen .shop-starter-section .starter-bundle-head{min-height:100px}
.shop-screen .shop-starter-section .starter-bundle-price{
  position:absolute;top:0;right:0;z-index:4;font-size:18px;
  padding:4px 7px;border:2px solid #e9b969;border-radius:12px;
  background:linear-gradient(#fff9cc,#ffe79c);box-shadow:0 2px #af8f64;color:#744c73
}
.shop-screen .shop-starter-section .starter-hero-pal{
  right:2px;bottom:-3px;max-height:88px;object-fit:contain
}
.shop-screen .shop-star-section .power-item strong{
  display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;line-height:1.15
}
.shop-screen .shop-combo-section .shop-cash-card.featured .shop-offer-graphic{width:39px;height:39px}
.shop-screen .shop-combo-section .shop-cash-card:not(.featured) .shop-offer-graphic{width:49px;height:49px}
.shop-screen .shop-combo-section .shop-offer-art .shop-offer-icon{right:0;top:10px;letter-spacing:0}
.shop-screen .diamond-pack-art{display:grid;place-items:center}
.shop-screen .diamond-pack .shop-diamond-icon{filter:drop-shadow(0 2px 2px #628ac855)}
.shop-screen .shop-wallet-section .economy-balance span{display:flex;align-items:center;justify-content:center}
@media(max-width:460px){
 .shop-screen .shop-benefit-icon{width:27px;height:27px}
 .shop-screen .shop-plus-section .plus-benefit span{width:29px;height:29px}
 .shop-screen .shop-wallet-icon{width:29px;height:29px}
 .shop-screen .shop-offer-graphic{width:35px;height:35px}
 .shop-screen .shop-combo-section .shop-cash-card.featured .shop-offer-graphic{width:31px;height:31px}
 .shop-screen .shop-combo-section .shop-cash-card:not(.featured) .shop-offer-graphic{width:41px;height:41px}
 .shop-screen .shop-starter-section .starter-bundle-head{min-height:99px}
 .shop-screen .shop-starter-section .starter-bundle-price{font-size:15px}
 .shop-screen .shop-starter-section .starter-hero-pal{max-height:72px;width:102px}
 .shop-screen .shop-power-icon{width:26px;height:26px}
}

.shop-screen .premium-grid .premium-media>span:has(.shop-premium-art-icon){display:grid;place-items:center;font-size:0}
.shop-screen .premium-grid .premium-media .shop-premium-art-icon{display:block;width:min(75%,112px);height:min(75%,112px);
  object-fit:contain;filter:drop-shadow(0 7px 5px #8c6caf44)}
@media(max-width:360px){.shop-screen .premium-grid .premium-media .shop-premium-art-icon{width:74px;height:74px}}
