.shop-shell{width:min(100%,760px);height:100svh;margin:auto;display:flex;flex-direction:column;background:repeating-linear-gradient(2deg,#0000 0 24px,#39160912 25px 27px),linear-gradient(110deg,#a85827,#7c3919 55%,#a65825);font-family:Arial,sans-serif;color:#4a1f0c;overflow:hidden;box-sizing:border-box}.shop-shell *{box-sizing:border-box}.shop-shell button{font-family:inherit;cursor:pointer;white-space:normal;margin:0}.shop-shell button:focus-visible{outline:3px solid #1dc8ff;outline-offset:2px}.shop-demo{background:#fff9e9;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 10px;font-size:11px;border-bottom:1px solid #d6a15c}.shop-demo button{border:1px solid #c99c59;border-radius:12px;background:white;padding:4px 8px;color:#65370e;font-size:11px}.shop-wallet{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:12px 12px 8px}.shop-wallet>div{border:3px solid #ffba37;border-radius:40px;box-shadow:inset 0 0 0 2px #a55311,0 3px 4px #0005;background:linear-gradient(#fffdf2,#fae8c6);display:flex;align-items:center;justify-content:center;gap:12px;font-size:clamp(20px,4vw,32px);padding:5px}.shop-wallet b{min-width:45px;text-align:center}.shop-wallet button{background:linear-gradient(#59e338,#068b35);border:2px solid #c7d95d;color:white;border-radius:50%;font-size:25px;line-height:1;width:32px;height:32px;padding:0}.shop-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 10px 22px}.shop-switch,.shop-categories{display:flex;gap:6px;margin:0 0 12px}.shop-switch button,.shop-categories button{flex:1;min-width:0;background:linear-gradient(#fffdf3,#ffeccd);border:2px solid #e99524;border-radius:22px;box-shadow:inset 0 0 0 1px white,0 3px 3px #0004;color:#4f200e;padding:10px 2px;font-size:clamp(12px,2.4vw,19px);font-weight:800}.shop-switch .active,.shop-categories .active{background:linear-gradient(#00c879,#00813f);color:white}.shop-wood{background:linear-gradient(#a04b18,#71300c);color:#fff9e4;border:2px solid #ffbc3d;box-shadow:inset 0 0 0 1px #fff2b3,0 3px 5px #0005;border-radius:24px;text-align:center;font-size:clamp(16px,3vw,23px);margin:4px 0 12px;padding:8px;font-weight:900}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:start}.shop-grid.boards{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-card{position:relative;border:2px solid #e69823;box-shadow:inset 0 0 0 2px #fff5cf,0 3px 5px #0004;border-radius:20px;padding:7px 5px;background:linear-gradient(#fffdf2,#f9e7c5);text-align:center;min-width:0;overflow:hidden}.shop-picture{width:100%;aspect-ratio:1;overflow:hidden;border-radius:13px;display:grid;place-items:center}.shop-picture img,.shop-picture svg{width:100%;height:100%;object-fit:contain;display:block}.shop-card h3{font-size:clamp(12px,2.5vw,18px);line-height:1.15;margin:7px 0;min-height:2.3em;display:grid;place-items:center;overflow-wrap:anywhere}.shop-prices{display:flex;gap:4px;justify-content:center}.shop-action{border:2px solid #ebb132;border-radius:20px;box-shadow:inset 0 0 0 1px #fff1ab,0 2px 2px #0003;background:linear-gradient(#0ad36d,#007e36);color:white;font-size:clamp(12px,2.5vw,19px);font-weight:800;padding:6px 4px;min-width:0;flex:1}.shop-action:disabled{opacity:1;background:linear-gradient(#739365,#446648);color:#fff8e6;cursor:default}.shop-prices .shop-action{font-size:clamp(11px,2.1vw,16px)}.shop-packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}.shop-packs h3{font-size:clamp(23px,5vw,40px);min-height:0;margin:0}.shop-packs p{font-size:12px;margin:0 0 7px}.shop-packs small{display:block;background:#ffd934;border-radius:12px;font-weight:bold;font-size:11px}.pack-gems{font-size:clamp(44px,10vw,90px);line-height:1.4}.shop-packs .shop-action{width:100%;font-size:clamp(11px,2.7vw,21px)}.shop-default{aspect-ratio:1;display:grid;place-items:center;font-size:60px;color:#bc8436}.shop-empty{background:#fff7e5;border-radius:12px;padding:12px;text-align:center;font-size:14px}.shop-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:linear-gradient(#fffdf0,#ffe6bd);border:3px solid #f6ae28;border-radius:25px 25px 0 0;padding:5px 4px max(6px,env(safe-area-inset-bottom));box-shadow:0 -3px 8px #0005;flex-shrink:0}.shop-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:transparent;border:0;border-right:1px solid #ccaa7d;border-radius:15px;color:#54230e;font-size:clamp(12px,2.6vw,21px);font-weight:800;padding:6px 1px}.shop-nav button:last-child{border-right:0}.shop-nav span{font-size:clamp(23px,4vw,37px)}.shop-nav .active{background:linear-gradient(#00d269,#008340);border:2px solid #efb22f;color:white;box-shadow:inset 0 0 0 1px #fff3b1}.shop-notice{position:absolute;bottom:100px;left:8%;right:8%;z-index:30;background:#fff8e8;border:2px solid #e5b24a;border-radius:18px;padding:12px;font:600 14px Arial;color:#492409;text-align:center;box-shadow:0 4px 12px #0007}.shop-overlay{position:fixed;inset:0;background:#140d08aa;z-index:40;display:grid;place-items:center;padding:20px}.shop-dialog{width:min(100%,330px);max-height:90svh;overflow:auto;background:#fff5df;border:3px solid #eeaa32;border-radius:24px;padding:18px;text-align:center;box-shadow:0 8px 35px #0008}.shop-dialog h2{font-size:19px}.shop-dialog .shop-picture{width:150px;margin:auto}.shop-dialog .shop-action{width:100%;padding:10px}.shop-cancel{display:block;width:100%;background:transparent;border:0;margin-top:12px!important;color:#62442c;padding:10px}@media(min-width:700px){.shop-scroll{padding:10px 22px 25px}.shop-grid{gap:16px}.shop-card{padding:12px}.shop-card h3{font-size:20px}.shop-action{padding:10px}.shop-demo{font-size:13px}.shop-demo button{font-size:12px}}@media(prefers-reduced-motion:reduce){.shop-shell *{scroll-behavior:auto}}
.shop-shell{position:relative}

.approved-shop-icon{display:inline-block;width:1.6em;height:1.6em;vertical-align:middle;flex-shrink:0}.shop-wallet .approved-shop-icon{width:52px;height:52px}.shop-prices .approved-shop-icon{width:22px;height:22px}.shop-nav .approved-shop-icon{width:48px;height:48px}.shop-nav span{line-height:0}.shop-nav{min-height:88px}.shop-picture{aspect-ratio:1!important}.shop-picture img{object-fit:contain}

/* Approved store composition, shared navigation and green gem artwork. */
.shop-shell{background:#a9642b url('assets/shop-approved.png') center top/100% auto;font-weight:700}.shop-wallet{padding:14px 8% 8px;gap:3%}.shop-wallet>div{border-color:#ffb92a;box-shadow:inset 0 0 0 2px #a54b14,inset 0 0 0 4px #fff7cf,0 3px 4px #54250c99}.shop-scroll{padding:4px 4% 22px}.shop-switch button{font-size:clamp(16px,3vw,25px);display:flex;align-items:center;justify-content:center;gap:8px}.shop-switch .approved-shop-icon{width:40px;height:40px}.shop-wood{font-size:clamp(20px,3.6vw,30px);text-shadow:1px 2px #4a1809; background:linear-gradient(100deg,#a74b11,#7d320b,#b75b18)}.shop-card{border:3px solid #f4a119;box-shadow:inset 0 0 0 2px #fff9da,0 2px 0 2px #a84912,0 4px 6px #54220b88;padding:8px 6px}.shop-grid{gap:12px}.shop-card h3{min-height:2.2em}.shop-action{text-shadow:0 2px #285c31;border-color:#ffc334;box-shadow:inset 0 0 0 1px #fffaab,0 2px 0 #9d4a19;display:flex;align-items:center;justify-content:center;gap:4px}.pack-gems{height:clamp(70px,17vw,132px);display:grid;place-items:center;margin-top:14px}.pack-gems svg{width:100%;height:100%}.shop-packs .shop-card{overflow:visible}.shop-packs small{position:absolute;top:-5px;left:12%;right:12%;color:#572008;border:2px solid #ed911c;box-shadow:0 2px 3px #85481555}.shop-packs .shop-action{white-space:nowrap}.shop-packs p{font-weight:800}.shop-prices .approved-shop-icon{width:25px;height:25px}
.shared-main-nav{flex-shrink:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:3px solid #ffb228;border-radius:25px;background:linear-gradient(#fffcef,#ffe8c4);padding:4px 2px max(4px,env(safe-area-inset-bottom));box-shadow:0 -2px 2px #fff9d3,0 -4px 5px #843a16;z-index:10}.shared-main-nav button{min-width:0;position:relative;display:flex;flex-direction:column;align-items:center;background:transparent;border:0;border-right:1px solid #e3bd82;border-radius:18px;color:#65250f;font-weight:900;font-size:clamp(12px,2.6vw,20px);padding:2px 0 6px;cursor:pointer}.shared-main-nav svg{display:block;width:100%;height:64px}.shared-main-nav span{background:#fff1d8;position:relative;padding:0 4px;line-height:1.3}.shared-main-nav .active{box-shadow:inset 0 0 0 3px #efad2b;background:linear-gradient(#0dcb55,#008d36);color:white}.shared-main-nav .active span{background:#009d40}.shared-main-nav button:last-child{border-right:0}.account-screen .shared-main-nav{position:absolute;left:0;right:0;bottom:0;height:11.3%}.account-screen .shared-main-nav svg{height:65%;}.account-screen .shared-main-nav span{font-size:clamp(12px,3vw,25px)}

.shop-shell{background:repeating-linear-gradient(2deg,#0000 0 24px,#68360e12 25px 27px),linear-gradient(110deg,#c47a38,#9b501f 55%,#c18143)}.account-art .shared-main-nav{position:absolute;left:0;right:0;bottom:0;height:11.3%}.account-art .shared-main-nav svg{height:65%;width:70%}.shared-main-nav svg{width:64px;height:58px}.shared-main-nav span,.shared-main-nav .active span{background:transparent}.shared-main-nav button.active{border:2px solid #ffe47a}.shared-main-nav button[data-nav="play"]{transform:translateY(-5px);box-shadow:0 0 0 2px #efad2b;}

/* Store rebuilt with the supplied separate artwork. */
.separated-shop{width:min(100vw,560px);background:url('assets/fondo.png') center/cover;font-family:'Arial Rounded MT Bold',ui-rounded,'Trebuchet MS',sans-serif;font-weight:900;container-type:inline-size;}
.separated-shop .shop-demo{display:none}
.shop-resource{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;overflow:hidden}
.separated-shop .shop-wallet{padding:2cqw 8cqw 1cqw;gap:3cqw}
.separated-shop .shop-wallet>div{position:relative;height:8cqw;background:none;border:0;box-shadow:none;padding:0;font-size:4.8cqw}
.separated-shop .shop-wallet b{position:relative;margin-left:6%;z-index:1}
.separated-shop .shop-wallet button{position:absolute;right:4%;width:19%;height:85%;opacity:0}
.separated-shop .shop-scroll{padding:0 4cqw 3cqw;scrollbar-width:thin;scrollbar-color:#fff3cb #91501755}
.separated-shop .shop-switch{gap:0;margin:0 3cqw 1cqw}
.separated-shop .shop-switch button{position:relative;height:8cqw;border:0;background:none;box-shadow:none;padding:0;font-size:4cqw;border-radius:99px;overflow:hidden}
.separated-shop .shop-switch button span{position:relative;margin-left:18%}
.separated-shop .shop-switch button.active{background:#009b49;color:white}
.separated-shop .shop-switch button.active .shop-resource{mix-blend-mode:multiply}
.separated-shop .shop-wood{position:relative;border:0;box-shadow:none;background:none;height:6.5cqw;margin:1cqw 1cqw;padding:0;display:grid;place-items:center;font-size:3.7cqw;color:#fff;text-shadow:0 1px 2px #441500}
.separated-shop .shop-wood span{z-index:1}
.separated-shop .style-title{height:7cqw;color:#54230c;text-shadow:0 1px white;margin-top:2cqw}
.separated-shop .shop-packs{gap:0;margin-bottom:1cqw}
.separated-shop .pack-card{border:0;box-shadow:none;background:none;border-radius:0;aspect-ratio:1.06;padding:0;overflow:visible}
.separated-shop .pack-card h3{position:absolute;top:62%;width:100%;font-size:4.2cqw;margin:0;line-height:1;min-height:0}
.separated-shop .pack-card p{position:absolute;top:73%;width:100%;font-size:2cqw;margin:0;line-height:1}
.separated-shop .pack-card small{top:4%;left:39%;right:20%;border:0;box-shadow:none;background:none;font-size:2cqw;z-index:1}
.separated-shop .pack-card .shop-action{position:absolute;left:9%;bottom:7%;width:83%;height:16%;background:none;box-shadow:none;border:0;padding:0;font-size:3.2cqw}
.separated-shop .shop-categories{gap:0;margin:0 0 1.5cqw}
.separated-shop .shop-categories button{position:relative;height:8.5cqw;border:0;box-shadow:none;background:none;padding:0;font-size:2.8cqw;border-radius:3cqw;overflow:hidden}
.separated-shop .shop-categories button .shop-resource{width:42%}
.separated-shop .shop-categories button{background:linear-gradient(#fffdf2,#fff0d3);border:2px solid #efae30;box-shadow:inset 0 0 0 1px #fff4b6}
.separated-shop .shop-categories button.active{background:linear-gradient(#00ce6b,#008a45);color:white}
.separated-shop .shop-categories button span{position:relative;margin-left:37%;font-size:2.7cqw}
.separated-shop .shop-grid{gap:1cqw}
.separated-shop .shop-grid .shop-card{border:0;box-shadow:none;background:none;padding:1.5cqw 1.3cqw;aspect-ratio:.84;border-radius:2cqw;display:flex;flex-direction:column}
.separated-shop .shop-grid .shop-card>.shop-resource{z-index:0}
.separated-shop .shop-grid .shop-picture{position:relative;z-index:1;aspect-ratio:1!important;flex-shrink:0;border-radius:0}
.separated-shop .shop-grid h3{position:relative;z-index:1;font-size:2.8cqw;min-height:2.3em;line-height:1.1;margin:0;flex:1}
.separated-shop .shop-prices{position:relative;z-index:1;min-height:5.2cqw}
.separated-shop .shop-prices .shop-action{font-size:2.7cqw;padding:.5cqw 0;border:0;background:none;box-shadow:none;white-space:nowrap}
.separated-shop .shop-prices .approved-shop-icon{display:none}
.separated-shop .shop-prices .shop-action:disabled{background:none}
.separated-shop .illustrated-main-nav{height:14cqw;min-height:0;margin:0 .7cqw 1cqw;aspect-ratio:auto;flex-shrink:0}

.separated-shop .shop-grid .shop-card{display:grid;grid-template-rows:70% 12% 18%;aspect-ratio:.79;padding:1.5cqw;}
.separated-shop .shop-grid .shop-picture{height:100%;min-height:0;aspect-ratio:auto!important;}
.separated-shop .shop-grid h3{min-height:0;font-size:2.8cqw;margin:0;line-height:1;align-self:center;color:#381809}
.separated-shop .shop-prices{min-height:0;align-items:center}
.separated-shop .shop-prices .shop-action{color:white;font-weight:900;font-size:2.7cqw;height:100%;padding-left:3cqw;}
.separated-shop .pack-card h3{top:60%;font-size:4cqw}
.separated-shop .pack-card p{top:71%;font-size:1.8cqw}
.separated-shop .pack-card .shop-action{bottom:7%;height:16%;font-size:3cqw}

.separated-shop .pack-card h3{display:block;top:61%;height:10%;min-height:0;line-height:1;font-size:3.8cqw}
.separated-shop .pack-card p{display:block;top:71%;height:7%;line-height:1;font-size:1.7cqw}
.separated-shop .pack-card .shop-action{bottom:5%;height:17%;line-height:1;transform:none}

.separated-shop .pack-card h3{top:58%}.separated-shop .pack-card p{top:69%}

/* Match the home viewport and keep the blur behind all interactive content. */
body:has(.separated-shop){background:#4c2916;overflow:hidden}
body:has(.separated-shop) #app{height:100svh;display:grid;place-items:center;padding:0}
.separated-shop{width:min(100vw,calc(100svh * 736 / 1426));height:min(100svh,calc(100vw * 1426 / 736));background:none;isolation:isolate}
.separated-shop::before{content:"";position:absolute;inset:-20px;background:url('assets/fondo.png') center/cover;filter:blur(9px);z-index:-1;pointer-events:none}
.separated-shop .pack-card{position:relative;aspect-ratio:1.06;display:block}
.separated-shop .pack-card h3{position:absolute;left:0;top:59%;width:100%;height:11%;margin:0;padding:0;display:flex;justify-content:center;align-items:center;font-family:inherit;font-size:4.5cqw;font-weight:900;line-height:1;color:#30180d}
.separated-shop .pack-card p{position:absolute;left:0;top:70%;width:100%;height:7%;margin:0;padding:0;display:flex;justify-content:center;align-items:center;font-family:inherit;font-size:2cqw;font-weight:900;line-height:1;color:#30180d}
.separated-shop .pack-card button.shop-action{position:absolute;left:9%;top:78%;bottom:auto;width:83%;height:16%;min-height:0;margin:0;padding:0;display:flex;align-items:center;justify-content:center;line-height:1;font-family:inherit;font-size:3.3cqw;font-weight:900;text-align:center;transform:none}
.separated-shop .shop-grid .shop-picture img{object-fit:cover;border-radius:1cqw}

/* Full category artwork, with semantic hit areas and no added visible text. */
.separated-shop .shop-categories{gap:0}
.separated-shop .shop-categories button,.separated-shop .shop-categories button.active{height:17cqw;padding:0;border:0;box-shadow:none;background:none;border-radius:0;overflow:visible}
.separated-shop .shop-categories button .shop-resource{width:100%;height:100%}
.separated-shop .shop-categories button[aria-pressed="true"]{filter:drop-shadow(0 0 .35cqw #ffc400)}
.separated-shop .style-title{height:13cqw;margin:1cqw 0}

/* Preserve the original artwork proportions and color only the inset. */
.separated-shop .shop-wallet>div{height:auto;aspect-ratio:950/246}
.separated-shop .shop-switch button{height:auto;aspect-ratio:1055/241;overflow:hidden}
.separated-shop .shop-switch button.active{background:none;color:white}
.separated-shop .shop-switch button.active .shop-resource{mix-blend-mode:normal}
.separated-shop .shop-switch button span{z-index:2}
.separated-shop .style-title{display:flex;align-items:center;justify-content:center;gap:3cqw;font-size:4cqw;color:#55230d;text-shadow:0 1px white}
.separated-shop .style-title span{position:relative;z-index:1}
.separated-shop .style-sparkle{color:#ffb300;font-size:5cqw;text-shadow:0 0 5px #ffcf30,0 0 1px white}
.separated-shop .shop-categories button[aria-pressed="true"]{filter:none}
.separated-shop .shop-categories .selected-art-fill{rx:35px}
.separated-shop .pack-card button.shop-action{top:76.5%;height:16%}
.separated-shop .illustrated-main-nav{height:auto;aspect-ratio:2100/466;min-height:0;flex:0 0 auto}

/* Taller gem package presentation; preserve each source crop without stretching. */
.separated-shop .shop-packs{grid-template-columns:650fr 700fr 650fr;align-items:stretch;gap:0}
.separated-shop .pack-card{aspect-ratio:auto;height:36cqw;min-height:36cqw;overflow:visible}
.separated-shop .pack-card>.shop-resource{height:100%;width:100%}
.separated-shop .pack-title{height:8cqw;margin-bottom:1.5cqw}
.separated-shop .pack-card h3{top:59%;height:11%;font-size:4.6cqw}
.separated-shop .pack-card p{top:70%;height:7%;font-size:2.2cqw}
.separated-shop .pack-card button.shop-action{top:77%;height:16%;font-size:3.2cqw}

/* Independent frame, inset background and untouched icon for the two store tabs. */
.separated-shop .shop-switch{gap:.7cqw;overflow:visible}
.separated-shop .shop-switch button,.separated-shop .shop-switch button.active{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;aspect-ratio:1055/241;height:auto;padding:0;border:.35cqw solid #79350d;border-radius:100cqw;background:linear-gradient(180deg,#fff8ab 0%,#ffb812 24%,#ba5913 54%,#ffe069 77%,#df7714 100%);box-shadow:0 .35cqw .4cqw #54200066,inset 0 0 0 .22cqw #ffe381;color:#54260e;overflow:hidden}
.separated-shop .shop-switch button::before{content:"";position:absolute;inset:.85cqw;border-radius:inherit;background:linear-gradient(#fffef0,#fff0cc);box-shadow:inset 0 .25cqw .35cqw #83451255,0 0 0 .2cqw #ad5210;z-index:-1}
.separated-shop .shop-switch button.active{color:white}
.separated-shop .shop-switch button.active::before{background:linear-gradient(#00c565,#00883f);box-shadow:inset 0 .25cqw .35cqw #00492466,0 0 0 .2cqw #ad5210}
.separated-shop .shop-switch button .shop-tab-icon{position:absolute;left:7%;top:14%;height:72%;width:22%;pointer-events:none}
.separated-shop .shop-switch button span{position:relative;margin-left:20%;font:900 4cqw 'Arial Rounded MT Bold',ui-rounded,'Trebuchet MS',sans-serif;z-index:1}

.separated-shop .shop-switch button.original-design-tab,.separated-shop .shop-switch button.original-design-tab.active{border:0;background:none;box-shadow:none;overflow:hidden}.separated-shop .shop-switch button.original-design-tab::before{display:none}

/* Match the exact 650/700/650 by 620 source rectangles. */
.separated-shop .shop-packs{grid-template-columns:650fr 700fr 650fr;align-items:start}
.separated-shop .pack-card{height:auto;min-height:0;aspect-ratio:650/620}
.separated-shop .pack-card:nth-child(2){aspect-ratio:700/620}
.separated-shop .pack-card>.shop-resource{height:100%;width:100%}
.separated-shop .pack-card h3{top:59%;height:11%;font-size:4.2cqw}
.separated-shop .pack-card p{top:70%;height:7%;font-size:1.9cqw}
.separated-shop .pack-card button.shop-action{top:77%;height:16%;font-size:3cqw}

/* Updated artwork includes the gem quantities; the style banner uses the same wood. */
.separated-shop .style-title{font-size:4.8cqw;color:#fffaf0;text-shadow:0 1px 2px #301000;-webkit-text-stroke:.08cqw #54230c}
.separated-shop .shop-grid .shop-card{aspect-ratio:644/770}
.separated-shop .pack-card button.shop-action{top:80%;height:16%}

/* Dice cards show the complete artwork through the former name strip. */
.separated-shop .shop-grid .dice-card{grid-template-rows:82% 18%;padding:1.5cqw;aspect-ratio:.84}
.separated-shop .shop-grid .dice-card .shop-picture{background-size:cover;background-position:center;border-radius:2cqw 2cqw 0 0}
.separated-shop .shop-grid .dice-card .shop-picture img{object-fit:contain;border-radius:0}
/* Six-face detail panel in the store's wood, gold and emerald palette. */
.separated-shop .shop-overlay{position:absolute;padding:4cqw;background:#241006cc;backdrop-filter:blur(5px)}
.shop-dialog.dice-detail{width:min(100%,430px);padding:0;border:3px solid #eebc44;border-radius:26px;background:linear-gradient(120deg,#fff8e4,#f8e3b8);box-shadow:inset 0 0 0 2px #fff0a0,0 12px 35px #1e090bbb;position:relative;overflow:auto;max-height:92%;font-family:'Arial Rounded MT Bold',ui-rounded,'Trebuchet MS',sans-serif}
.dice-detail-header{display:flex;align-items:center;gap:14px;padding:22px 38px 16px 16px;background:linear-gradient(110deg,#9b4f19,#592809);color:#fff8e4;border-bottom:2px solid #d99f35;text-align:left}
.dice-detail-header img{width:34%;aspect-ratio:1;object-fit:contain;border:2px solid #f9c850;border-radius:20px;box-shadow:0 4px 8px #240d09aa}
.shop-dialog.dice-detail h2{font-size:clamp(20px,4vw,27px);line-height:1.05;margin:0 0 10px;text-shadow:0 2px #361408}
.dice-detail-header p{font-size:13px;margin:0;color:#ffe29b}
.dice-detail-close{position:absolute;top:9px;right:9px;width:32px;height:32px;border-radius:50%;border:2px solid #ffe19c;background:linear-gradient(#f25432,#ac1d0c);color:white;font-size:27px;line-height:24px;box-shadow:0 2px 4px #280c09aa;z-index:2}
.dice-detail-intro{font-size:18px;line-height:1.25;padding:18px 12px;margin:0;color:#65300e;font-weight:900}
.dice-detail-faces{margin:0 14px 18px;border:2px solid #dba348;border-radius:18px;overflow:hidden;background:#633516;box-shadow:0 2px 5px #63351644}
.dice-detail-faces img{display:block;width:100%;height:auto;object-fit:contain}
.dice-detail-faces img.dice-detail-preview{max-height:250px}
.dice-detail-footer{padding:16px 18px 12px;background:#ecd3a1;border-top:1px solid #d3a360}
.shop-dialog.dice-detail .shop-action{width:86%;margin:auto;border:3px solid #efbe43;border-radius:22px;min-height:57px;font-size:24px;background:linear-gradient(#0fd376,#007a39);box-shadow:inset 0 0 0 1px #ffecaa,0 4px 0 #965512;color:white}
.dice-detail-footer p{font-size:11px;margin:9px 0 0;color:#705332}
.dice-detail-footer .approved-shop-icon{width:32px;height:32px}

/* Complete card hit area and centered close symbol. */
.separated-shop .shop-grid .dice-card button.shop-picture{border:0;padding:0;margin:0;min-width:0;display:block;cursor:pointer}
.dice-detail-close{display:grid;place-items:center;padding:0;line-height:1}
.dice-detail-close svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round}
.shop-dialog.dice-detail .shop-action{min-height:72px;border-radius:20px;gap:14px;background:linear-gradient(180deg,#16cb6b,#009b4a 48%,#006e31);box-shadow:inset 0 2px 0 #8ef3ac,0 4px 0 #88500d,0 6px 10px #67391933}
.dice-purchase-gem{display:block;width:52px;height:52px;object-fit:contain;filter:drop-shadow(0 2px 2px #00462388)}
.dice-purchase-label{display:flex;flex-direction:column;align-items:center;gap:3px;line-height:1.1}
.dice-purchase-label strong{font-size:23px}.dice-purchase-label>span{font-size:17px;color:#fff3c5}
.shop-dialog .dice-detail-close{width:44px;height:44px;min-height:44px;min-width:44px;display:grid;place-items:center;padding:0}.dice-detail-close svg{width:19px;height:19px}

/* The complete gem button frame sits in front of the dice artwork. */
.separated-shop .shop-grid .dice-card>.dice-price-frame{z-index:2;pointer-events:none}
.separated-shop .shop-grid .dice-card .shop-prices{z-index:3}

/* Prices follow the center of the supplied emerald button artwork. */
.separated-shop .pack-card button.shop-action{top:86.2%;left:8%;width:84%;height:16%;transform:translateY(-50%);align-items:center;justify-content:center;text-align:center;line-height:1}
.separated-shop .pack-card:nth-child(2) button.shop-action{left:8.5%}
.separated-shop .pack-card:nth-child(3) button.shop-action{left:8.8%}
.separated-shop .shop-grid button.shop-picture{border:0;padding:0;margin:0;min-width:0;background-color:transparent;cursor:pointer}
.detail-design-image{max-height:290px;object-fit:contain;background:#fff7e5}
.detail-piece-colors{display:grid;grid-template-columns:1fr 1fr;background:#fff3d5;gap:10px;padding:14px}
.detail-piece-colors svg{display:block;width:100%;height:120px}
.detail-piece-hero{width:34%;height:115px;flex-shrink:0}.detail-piece-hero svg{width:100%;height:100%}
.detail-purchase-options{display:flex;flex-direction:column;gap:12px}
.detail-piece-colors svg,.detail-piece-hero svg{overflow:hidden}

/* Every design is contained by the inset frame, without a name strip. */
.separated-shop .shop-grid .design-card{display:grid;grid-template-rows:82% 18%;padding:1.5cqw;aspect-ratio:.84;overflow:hidden}
.separated-shop .shop-grid .design-card .shop-picture{min-height:0;height:100%;width:100%;border-radius:2cqw 2cqw 0 0;overflow:hidden;display:grid;place-items:center;background-color:#fff5df}
.separated-shop .shop-grid .design-card .shop-picture img{height:100%;width:100%;object-fit:contain;border-radius:0}
.separated-shop .shop-grid .design-card>.dice-price-frame{z-index:2;pointer-events:none}
.separated-shop .shop-grid .design-card .shop-prices{z-index:3}
.detail-piece-colors img{display:block;width:100%;height:120px;object-fit:contain}
.detail-piece-hero img{width:100%;height:100%;object-fit:contain}

/* Keep the whole piece silhouette above the foreground price frame. */
.separated-shop .shop-grid .piece-design-card .shop-picture{height:91%;align-self:start;padding:1.3cqw 1.1cqw .8cqw;display:flex;align-items:center;justify-content:center;overflow:hidden}
.separated-shop .shop-grid .piece-design-card .shop-picture img{width:100%;height:100%;max-height:100%;object-fit:contain;object-position:center}

/* Boards use gold coins, including the icon baked into the card frame. */
.separated-shop .board-design-card .board-price-coin{position:absolute;z-index:4;left:9%;top:80.5%;width:18%;height:15%;border-radius:50%;display:grid;place-items:center;background:radial-gradient(ellipse,#079e45 0%,#00813a 72%,#007534 100%);pointer-events:none}
.board-price-coin img{width:100%;height:100%;object-fit:contain;display:block}
.separated-shop .shop-grid .board-design-card .shop-prices .shop-action{font-size:4.8cqw;font-weight:900;padding:0;display:flex;align-items:center;justify-content:center;line-height:1}
.separated-shop .board-design-card .board-price-coin{left:9%;width:22%;top:79.5%;height:17%;background:linear-gradient(#10b653,#00813b)}.board-price-coin img{width:112%;height:112%;max-width:none}
.separated-shop .shop-grid .board-design-card .shop-picture{height:91%;align-self:start;padding:1.2cqw;border-radius:2cqw;overflow:hidden;display:flex;align-items:center;justify-content:center}.separated-shop .shop-grid .board-design-card .shop-picture img{height:100%;width:100%;object-fit:contain;object-position:center}

/* The supplied board card already includes its coin and price. */
.separated-shop .shop-grid .board-design-card{aspect-ratio:645/708;padding:0;display:block;border-radius:0;overflow:hidden}
.separated-shop .shop-grid .board-design-card .shop-picture{position:absolute;left:7%;top:5%;width:86%;height:70%;padding:1cqw;background:transparent;border-radius:1.2cqw;display:flex;align-items:center;justify-content:center}
.separated-shop .shop-grid .board-design-card .shop-picture img{object-fit:contain;width:100%;height:100%}
.separated-shop .shop-grid .board-design-card .shop-prices{position:absolute;left:5%;top:78%;width:90%;height:20%;z-index:3}
.separated-shop .shop-grid .board-design-card .shop-prices .shop-action{opacity:0;width:100%;height:100%;padding:0}
.separated-shop .shop-grid .board-design-card .shop-picture{left:5.2%;top:4.4%;width:89.6%;height:73%;padding:0;border-radius:1.2cqw}.separated-shop .shop-grid .board-design-card .shop-picture img{object-fit:contain;object-position:center;width:100%;height:100%}

/* Board prices and ownership labels are live text over the updated blank button. */
.separated-shop .shop-grid .board-design-card{aspect-ratio:625/708}
.separated-shop .shop-grid .board-design-card .shop-prices{left:5%;top:79%;width:90%;height:18%}
.separated-shop .shop-grid .board-design-card .shop-prices .shop-action{opacity:1;font-size:5.8cqw;font-weight:900;background:none;border:0;box-shadow:none;text-shadow:0 2px 2px #004d25;display:flex;align-items:center;justify-content:center;line-height:1;padding:0}
.separated-shop .shop-grid .board-design-card .shop-prices .shop-action.is-equipped{font-size:4.7cqw}

/* Clear numeric prices and ownership text across all design categories. */
.separated-shop .shop-grid .design-card:not(.board-design-card) .shop-prices .shop-action{font-size:4.2cqw;font-weight:900;padding:0;line-height:1;display:flex;align-items:center;justify-content:center;text-align:center}
.separated-shop .shop-grid .design-card:not(.board-design-card) .shop-prices .shop-action.is-equipped{font-size:3.4cqw}

/* Give ownership labels breathing room beside the baked currency icon. */
.separated-shop .shop-grid .design-card .shop-prices .shop-action.is-owned{padding-left:12%;padding-right:0}

/* Pack artwork and price share the same purchase action. */
.separated-shop .pack-card .pack-image-hit{position:absolute;inset:3% 4% 23%;width:92%;height:74%;min-height:0;padding:0;border:0;background:transparent;box-shadow:none;cursor:pointer;z-index:2}
.separated-shop .pack-card .pack-image-hit:focus-visible{outline:2px solid #fff3a9;outline-offset:-4px;border-radius:12px}
.separated-shop .pack-card button.shop-action{font-size:3.6cqw;font-weight:900;left:8%;width:84%;padding:0;align-items:center;justify-content:center}


/* Align pack price lettering with the center of the baked green button. */
.separated-shop .pack-card button.shop-action{top:88.2%}



.collection-screen .shop-grid .design-card .shop-prices{z-index:6}
.collection-screen .shop-grid .design-card .shop-prices .shop-action{background:linear-gradient(#0bd66f,#00833d);border:2px solid #f7c747;border-radius:5cqw;box-shadow:inset 0 0 0 1px #fff5b4;color:white;padding:0;width:100%;height:100%;text-align:center;justify-content:center;font-size:4cqw}
.collection-screen .shop-grid .board-design-card .shop-prices .shop-action{font-size:5cqw}
.collection-screen .classic-art{background:#fff4dd;display:grid;place-items:center;padding:1cqw}
.collection-screen .classic-art svg{width:90%;height:90%;max-height:100%}
.collection-screen .classic-art img{width:100%;height:100%;object-fit:contain}

.collection-screen .shop-grid .design-card .shop-prices{position:relative;align-self:center;height:87%;width:95%;justify-self:center;align-items:center}
.collection-screen .shop-grid .design-card .shop-prices .shop-action{height:100%;width:100%;padding:0!important;margin:0;min-height:0;flex:none;border:2px solid #eeb233;border-radius:4cqw;background:linear-gradient(160deg,#00d760 0%,#00a344 44%,#007832 76%,#005b28 100%);box-shadow:inset 0 1px 0 #a0f69b,inset 0 0 0 1px #ffe8a1,0 1px 1px #6c3a1166;text-shadow:0 2px 1px #004824;display:flex;align-items:center;justify-content:center;line-height:1;font-size:3.8cqw;transform:translateY(-.5cqw)}
.collection-screen .shop-grid .board-design-card .shop-prices{position:absolute;left:6%;top:81%;width:88%;height:14%}
.collection-screen .shop-grid .board-design-card .shop-prices .shop-action{font-size:4.8cqw;transform:none}

/* Keep the classic preview clear of its action frame. */
.collection-screen .shop-grid .classic-collection-card:not(.board-design-card) .shop-picture{height:94%;align-self:start;overflow:hidden;border-radius:2cqw 2cqw 0 0}
.collection-screen .shop-grid .classic-collection-card:not(.board-design-card) .shop-prices{height:82%;transform:translateY(.35cqw)}
.collection-screen .shop-grid .design-card .shop-prices .shop-action.is-equipped{background:linear-gradient(155deg,#35c8ff 0%,#138de6 42%,#0861ba 76%,#074c98 100%);box-shadow:inset 0 1px 0 #a8edff,inset 0 0 0 1px #ffe8a1,0 1px 1px #273e6866;text-shadow:0 2px 1px #074777;color:#fff}

/* Equipped designs use the same blue action in Store and Collection. */
.separated-shop:not(.collection-screen) .shop-grid .design-card .shop-prices .shop-action.is-equipped{background:linear-gradient(155deg,#35c8ff 0%,#138de6 42%,#0861ba 76%,#074c98 100%);border:2px solid #efbd3b;border-radius:4cqw;box-shadow:inset 0 1px 0 #a8edff,inset 0 0 0 1px #ffe8a1;text-shadow:0 2px 1px #074777;color:white;opacity:1}

/* Match Collection's equipped-button dimensions without changing other Store actions. */
.separated-shop:not(.collection-screen) .shop-grid .design-card:not(.board-design-card) .shop-prices:has(.is-equipped){position:relative;align-self:center;height:87%;width:95%;justify-self:center;align-items:center}
.separated-shop:not(.collection-screen) .shop-grid .design-card .shop-prices .shop-action.is-equipped{width:100%;height:100%;min-height:0;flex:none;margin:0;padding:0!important;font-size:3.8cqw;line-height:1;display:flex;align-items:center;justify-content:center;transform:translateY(-.5cqw)}
.separated-shop:not(.collection-screen) .shop-grid .board-design-card .shop-prices:has(.is-equipped){left:6%;top:81%;width:88%;height:14%}
.separated-shop:not(.collection-screen) .shop-grid .board-design-card .shop-prices .shop-action.is-equipped{font-size:4.8cqw;transform:none}

/* Keep the equipped pill clear of the card image and lower frame. */
.separated-shop:not(.collection-screen) .shop-grid .design-card:not(.board-design-card) .shop-prices:has(.is-equipped){height:78%;width:94%;transform:translateY(.2cqw);overflow:visible}
.separated-shop:not(.collection-screen) .shop-grid .design-card .shop-prices .shop-action.is-equipped{transform:none;border-radius:999px;box-shadow:inset 0 1px 0 #a8edff,inset 0 0 0 1px #ffe8a1;position:relative;z-index:7;overflow:hidden}

.separated-shop:not(.collection-screen) .equipped-native-fill{z-index:2}
.separated-shop:not(.collection-screen) .shop-grid .design-card:not(.board-design-card) .shop-prices:has(.is-equipped){height:100%;width:100%;transform:none;align-self:stretch;justify-self:stretch}
.separated-shop:not(.collection-screen) .shop-grid .design-card .shop-prices .shop-action.is-equipped{background:transparent;border:0;box-shadow:none;transform:none;border-radius:0;padding:0!important;font-size:3.8cqw;text-shadow:0 1px 2px #003c73}

.separated-shop:not(.collection-screen) .shop-grid .design-card>.equipped-native-fill{z-index:4}
.separated-shop:not(.collection-screen) .shop-grid .design-card .shop-prices:has(.is-equipped){z-index:5}


.separated-shop:not(.collection-screen) .shop-grid .board-design-card .shop-prices:has(.is-equipped){left:6%;top:80.4%;width:88%;height:14.4%}

/* Paint the artwork's entire button interior, preserving its original gold rim. */
.collection-screen .shop-grid .design-card>.collection-native-fill{z-index:4;pointer-events:none}
.collection-screen .shop-grid .design-card:not(.board-design-card) .shop-prices{position:absolute;left:7.5%;top:80.25%;width:85%;height:13.8%;transform:none;align-self:stretch}
.collection-screen .shop-grid .board-design-card .shop-prices{left:6%;top:80.4%;width:88%;height:16.6%;transform:none}
.collection-screen .shop-grid .design-card .shop-prices .shop-action,
.collection-screen .shop-grid .design-card .shop-prices .shop-action.is-equipped{background:transparent;border:0;box-shadow:none;border-radius:0;transform:none;padding:0!important;display:flex;align-items:center;justify-content:center;text-align:center}

.separated-shop .illustrated-main-nav{width:98%;align-self:center;margin:0 1% 1cqw;aspect-ratio:4.5}

.collection-screen .collection-art-heading{display:flex;align-items:center;justify-content:center;height:20cqw;min-height:20cqw;margin:1cqw 0 3cqw;padding:0;background:none;border:0;box-shadow:none}.collection-screen .collection-art-heading img{width:76%;height:100%;object-fit:contain;display:block}

.collection-screen .collection-art-heading{height:19cqw;min-height:19cqw;margin:-1cqw 0 0;overflow:visible}.collection-screen .collection-art-heading img{width:94%;height:120%;max-width:none;transform:translateY(-1cqw)}

.collection-screen .shop-wallet{display:none}.collection-screen .collection-art-heading{height:20cqw;min-height:20cqw;margin:0 0 -1cqw}.collection-screen .collection-art-heading img{width:100%;height:126%;transform:translateY(-.5cqw)}

.collection-screen .collection-art-heading{margin-top:2.5cqw}

.collection-screen .collection-art-heading{margin-top:4.5cqw}

.collection-screen .classic-inspect{background:transparent;border:0;padding:0;cursor:pointer;min-height:0;border-radius:0;box-shadow:none}.collection-screen .classic-art svg{width:80%;height:80%;overflow:visible}.classic-detail-preview{display:grid;place-items:center;padding:18px;min-height:230px}.classic-detail-preview svg,.classic-detail-preview img{width:200px;height:200px;object-fit:contain}.classic-detail-preview svg{overflow:visible}.dice-detail-footer>[data-use]{width:100%;min-height:48px}

.separated-shop .store-art-heading{flex:none;display:flex;align-items:center;justify-content:center;height:22cqw;margin:3cqw 0 0;padding:0;border:0;background:none;box-shadow:none}.separated-shop .store-art-heading img{width:87%;height:100%;object-fit:contain;display:block}

.separated-shop .store-art-heading{height:20cqw;margin-top:1.5cqw}.separated-shop .store-art-heading img{height:110%;transform:translateY(-.5cqw)}

.separated-shop:not(.collection-screen) .shop-wallet>div:nth-child(2){transform:translateX(-2cqw)}

.separated-shop .pack-title{height:10.5cqw;min-height:10.5cqw;display:flex;align-items:center;justify-content:center}.separated-shop .pack-title>.shop-resource{height:100%}

.separated-shop .pack-title{position:relative}.pack-title-clean{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.separated-shop .pack-title .pack-title-gem{position:absolute;top:50%;transform:translateY(-50%);width:7cqw;height:7cqw;object-fit:contain;z-index:2}.pack-title-gem.left{left:17%}.pack-title-gem.right{right:17%}.separated-shop .pack-title>span{z-index:3}

.separated-shop .pack-title .pack-title-gem{filter:brightness(1.25) saturate(1.12) drop-shadow(0 0 3px #72ffd68c)}.separated-shop .style-title{height:11cqw;min-height:11cqw}

.separated-shop .pack-title>span{font-size:4.4cqw;font-weight:900}

/* Anchor product dialogs to the viewport, never to a scrolled store panel. */
.shop-overlay,.separated-shop .shop-overlay{position:fixed;inset:0;box-sizing:border-box;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));height:100svh;height:100dvh;overflow:hidden}
.shop-dialog.dice-detail{box-sizing:border-box;display:flex;flex-direction:column;height:min(760px,100%);max-height:100%;min-height:0;overflow:hidden}
.dice-detail-header{flex-shrink:0;min-height:0;padding:12px 54px 10px 12px;gap:10px}
.dice-detail-header img,.dice-detail-header .detail-piece-hero{width:clamp(48px,10svh,82px);height:clamp(48px,10svh,82px);flex-shrink:0;object-fit:contain}
.shop-dialog.dice-detail h2{font-size:clamp(18px,4vw,24px);margin-bottom:5px}
.dice-detail-intro{flex-shrink:0;padding:10px;font-size:16px}
.dice-detail-faces{flex:1;min-height:0;margin:0 12px 10px;display:grid;place-items:center;background:#fff7e5}
.dice-detail-faces>img,.dice-detail-faces img.dice-detail-preview,.dice-detail-faces .detail-design-image{width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain}
.dice-detail-faces>.detail-piece-colors{height:100%;min-height:0;width:100%}
.dice-detail-footer{flex-shrink:0;padding:10px 14px 12px}
.detail-purchase-options{gap:9px}
.shop-dialog.dice-detail .shop-action{min-height:58px;font-size:21px}
.dice-detail-footer p{margin:8px 0 0}
.classic-detail-preview{flex:1;min-height:0;overflow:hidden}
@media(max-height:480px){.shop-dialog.dice-detail{overflow-y:auto;display:block}.dice-detail-faces{height:160px}.screen.online-screen.matchmaking-screen{overflow-y:auto}}

.dice-detail-faces{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}
.dice-detail-faces>.detail-piece-colors{grid-template-rows:repeat(2,minmax(0,1fr));box-sizing:border-box}.dice-detail-faces .detail-piece-colors svg{height:100%;min-height:0}

/* StoreKit supplies the complete localized price over the approved blank button. */
.separated-shop .pack-card button.localized-pack-price{z-index:4;color:#fff8dc;opacity:1;padding:0 3%;font-size:2.7cqw;cursor:default;white-space:normal;line-height:1.05}
.separated-shop .localized-pack-price span{max-width:100%;overflow-wrap:anywhere}

.shop-dialog.dice-detail{height:auto;max-height:100%;overflow-y:auto}
.dice-detail-faces{flex:0 0 auto;padding:10px;margin-bottom:10px}
.six-dice-faces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}
.six-dice-faces svg{display:block;width:100%;height:auto;aspect-ratio:1}
.shop-overlay{align-items:center}


.pack-card::after{content:"";position:absolute;inset:2% 3%;border-radius:10%;padding:3px;pointer-events:none;z-index:3;background:linear-gradient(115deg,transparent 38%,#fff7ba 48%,#fff 50%,#ffdc57 53%,transparent 62%) no-repeat;background-size:300% 100%;background-position:100% 0;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;animation:gem-pack-shine 3s ease-in-out infinite}
.pack-card:nth-child(2)::after{animation-delay:.3s}.pack-card:nth-child(3)::after{animation-delay:.6s}
@keyframes gem-pack-shine{0%,55%{background-position:100% 0}100%{background-position:0 0}}
@media(prefers-reduced-motion:reduce){.pack-card::after{display:none}}


.pack-purchase-spinner{
 position:absolute;left:50%;top:38%;translate:-50% -50%;z-index:5;
 width:clamp(24px,8cqw,38px);aspect-ratio:1;border-radius:50%;
 background:#241500d9;border:3px solid #fff4c76b;border-top-color:#ffdf58;
 box-shadow:0 0 0 3px #241500ad;pointer-events:none;
 animation:pack-purchase-spin .75s linear infinite;
}
@keyframes pack-purchase-spin{to{transform:rotate(360deg)}}
