.ei-rpg-shop{--bg:rgba(255,255,255,.94);--bg-strong:#fff;--text:#1f2937;--muted:#64748b;--border:rgba(148,163,184,.42);--accent:#2563eb;--accent-text:#fff;--hover:#1d4ed8;--radius:16px;--shadow:0 14px 34px rgba(15,23,42,.16);--font:inherit;position:relative;width:100%;max-width:1440px;margin:0 auto;font-family:var(--font);color:var(--text);isolation:isolate}
.ei-rpg-shop-stage{position:relative;width:100%;aspect-ratio:16/9;min-height:0;overflow:hidden;container-type:inline-size;background-image:linear-gradient(rgba(0,0,0,.04),rgba(0,0,0,.10)),var(--ei-shop-bg);background-size:cover;background-position:var(--ei-shop-bg-pos,center center);box-shadow:0 18px 50px rgba(0,0,0,.22);border-radius:18px}
.ei-rpg-shop-catalog-page{position:absolute;inset:0;z-index:2;opacity:0;visibility:hidden;pointer-events:none;transform:translateX(0);transition:opacity .26s ease,transform .26s ease}.ei-rpg-shop-catalog-page.is-active{opacity:1;visibility:visible;pointer-events:auto}.ei-rpg-shop-catalog-page.is-entering-right{opacity:0;transform:translateX(5%)}.ei-rpg-shop-catalog-page.is-entering-left{opacity:0;transform:translateX(-5%)}.ei-rpg-shop-catalog-page.is-leaving-left{opacity:0;transform:translateX(-5%);pointer-events:none}.ei-rpg-shop-catalog-page.is-leaving-right{opacity:0;transform:translateX(5%);pointer-events:none}
.ei-rpg-shop-shelf{position:absolute;z-index:2;top:9%;bottom:28%;width:31%;pointer-events:none}.ei-rpg-shop-shelf--left{left:3%}.ei-rpg-shop-shelf--right{right:3%}.ei-rpg-shop-shelf-frame{position:absolute;inset:0;border-left:12px solid rgba(87,47,19,.92);border-right:12px solid rgba(87,47,19,.92);background:linear-gradient(90deg,rgba(29,16,8,.34),rgba(95,54,25,.12),rgba(29,16,8,.30));filter:drop-shadow(0 10px 12px rgba(0,0,0,.35));border-radius:8px}.ei-rpg-shop-shelf-frame:before,.ei-rpg-shop-shelf-frame:after,.ei-rpg-shop-shelf-frame i{content:'';position:absolute;left:-2%;right:-2%;height:9%;min-height:10px;border-radius:5px;background:linear-gradient(#a9682f,#5d3215 62%,#30180a);box-shadow:0 4px 7px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,229,170,.28)}.ei-rpg-shop-shelf-frame:before{top:28%}.ei-rpg-shop-shelf-frame:after{top:61%}.ei-rpg-shop-shelf-frame i:nth-child(1){top:94%}.ei-rpg-shop-shelf-frame i:nth-child(2),.ei-rpg-shop-shelf-frame i:nth-child(3){display:none}.ei-rpg-shop-shelf-image{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;filter:drop-shadow(0 10px 14px rgba(0,0,0,.28))}
.ei-rpg-shop-slots{position:absolute;inset:2% 4% 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));column-gap:2%;row-gap:1%;pointer-events:none}.ei-rpg-shop-slot{display:flex;align-items:flex-end;justify-content:center;position:relative;padding:0 1% 4%;min-width:0;min-height:0}.ei-rpg-shop-product{pointer-events:auto;appearance:none;border:0;background:transparent;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;width:100%;height:100%;padding:0;cursor:pointer;filter:drop-shadow(0 5px 5px rgba(0,0,0,.45));transition:transform .15s ease,filter .15s ease}.ei-rpg-shop-product:hover,.ei-rpg-shop-product:focus-visible{transform:translateY(-4px) scale(1.035);filter:drop-shadow(0 7px 8px rgba(0,0,0,.55));outline:none}.ei-rpg-shop-product-image-wrap{display:flex;align-items:flex-end;justify-content:center;width:100%;height:64%;min-height:0}.ei-rpg-shop-product img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.ei-rpg-shop-product-placeholder{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.45);font-weight:800}.ei-rpg-shop-product-name{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:var(--ei-shop-product-name-size,16px);line-height:1.12;text-shadow:0 2px 4px #000}.ei-rpg-shop-price{min-width:38px;min-height:22px;display:flex;align-items:center;justify-content:center;gap:4px;padding:3px 7px;border-radius:4px;background:linear-gradient(#f3cf76,#b87823);border:2px solid #6b3c13;color:#2d1705;font-weight:900;font-size:var(--ei-shop-price-size,14px);line-height:1.1;box-shadow:0 2px 4px rgba(0,0,0,.35)}.ei-rpg-shop-price del{opacity:.7;font-size:.82em}.ei-rpg-shop-product.is-owned{opacity:.72}
.ei-rpg-shop-merchant{position:absolute;z-index:3;left:50%;bottom:var(--ei-shop-merchant-bottom);width:var(--ei-shop-merchant-width);transform:translateX(-50%);display:flex;align-items:flex-end;justify-content:center;pointer-events:none}.ei-rpg-shop-merchant img{display:block;max-width:100%;max-height:54vh;object-fit:contain;filter:drop-shadow(0 10px 12px rgba(0,0,0,.42));backface-visibility:hidden;-webkit-backface-visibility:hidden;transform:translateZ(0)}.ei-rpg-shop-merchant img.is-changing{opacity:1;transform:translateZ(0)}.ei-rpg-shop-merchant-placeholder{min-width:150px;min-height:170px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:16px;border:2px dashed rgba(255,255,255,.5);border-radius:20px;background:rgba(0,0,0,.32);color:#fff;text-align:center;text-shadow:0 2px 5px #000}.ei-rpg-shop-merchant-placeholder small{opacity:.8;margin-top:6px}
.ei-rpg-shop-dialogue{position:absolute;z-index:6;left:50%;bottom:2.4%;width:var(--ei-shop-dialogue-width);min-height:22%;transform:translateX(-50%);box-sizing:border-box;padding:clamp(16px,2vw,26px) clamp(18px,2.5vw,30px) clamp(14px,1.8vw,22px);background:var(--bg);border:2px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);color:var(--text);backdrop-filter:none;-webkit-backdrop-filter:none}.ei-rpg-shop-speaker{position:absolute;left:6%;top:0;transform:translateY(-54%);padding:5px 15px;border:1px solid var(--border);border-radius:8px;background:var(--bg-strong);color:var(--text);font-weight:800;box-shadow:0 5px 14px rgba(0,0,0,.14)}.ei-rpg-shop-dialogue-text{font-size:clamp(14px,1.25vw,19px);line-height:1.7;min-height:2.8em}.ei-rpg-shop-dialogue-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.ei-rpg-shop-dialogue-actions button{appearance:none;border:1px solid var(--border);border-radius:max(6px,calc(var(--radius) - 4px));background:var(--accent);color:var(--accent-text);font:inherit;font-weight:800;min-height:38px;padding:8px 14px;cursor:pointer;transition:transform .14s ease,background .14s ease,opacity .14s ease}.ei-rpg-shop-dialogue-actions button:hover,.ei-rpg-shop-dialogue-actions button:focus-visible{background:var(--hover);transform:translateY(-1px);outline:none}.ei-rpg-shop-dialogue-actions button.is-secondary{background:var(--bg-strong);color:var(--text)}.ei-rpg-shop-dialogue-actions button:disabled{opacity:.55;cursor:wait;transform:none}
.ei-rpg-shop-balance{position:absolute;z-index:8;top:3%;left:3%;display:flex;align-items:center;gap:6px;padding:6px 11px;background:rgba(5,8,12,.72);color:#fff;border:1px solid rgba(255,255,255,.34);border-radius:999px;box-shadow:0 4px 16px rgba(0,0,0,.24);font-size:13px}.ei-rpg-shop-balance strong{font-size:16px}.ei-rpg-shop-balance small{opacity:.78}.ei-rpg-shop-coin{color:#f2c94c}
.ei-rpg-shop-page-arrow{position:absolute;z-index:7;top:35%;width:48px;height:58px;display:grid;place-items:center;appearance:none;border:2px solid var(--border);border-radius:max(6px,calc(var(--radius) - 4px));background:var(--bg-strong);color:var(--accent);box-shadow:var(--shadow);font:900 23px/1 var(--font);cursor:pointer;transition:transform .15s ease,background .15s ease,color .15s ease,opacity .15s ease}.ei-rpg-shop-page-arrow--prev{left:1%}.ei-rpg-shop-page-arrow--next{right:1%}.ei-rpg-shop-page-arrow:hover,.ei-rpg-shop-page-arrow:focus-visible{background:var(--accent);color:var(--accent-text);transform:scale(1.05);outline:none}.ei-rpg-shop-page-arrow:disabled{opacity:.45;cursor:default;transform:none}.ei-rpg-shop-page-indicator{position:absolute;z-index:7;left:50%;bottom:25.5%;transform:translateX(-50%);min-width:62px;padding:5px 11px;border:1px solid var(--border);border-radius:999px;background:var(--bg-strong);color:var(--text);box-shadow:0 6px 18px rgba(0,0,0,.20);font:800 13px/1.2 var(--font);text-align:center;letter-spacing:.04em}
.ei-rpg-shop-style-basic{--bg:rgba(255,255,255,.94);--bg-strong:#fff;--text:#1f2937;--muted:#64748b;--border:rgba(148,163,184,.42);--accent:#2563eb;--accent-text:#fff;--hover:#1d4ed8;--radius:16px;--shadow:0 14px 34px rgba(15,23,42,.16);--font:inherit}
.ei-rpg-shop-style-basic_black{--bg:rgba(0,0,0,.56);--bg-strong:rgba(0,0,0,.70);--text:#fff;--muted:rgba(255,255,255,.82);--border:rgba(255,255,255,.92);--accent:#d8b55f;--accent-text:#2b2310;--hover:#e5c774;--radius:14px;--shadow:0 16px 34px rgba(0,0,0,.30)}
.ei-rpg-shop-style-full_black{--bg:rgba(0,0,0,.58);--bg-strong:rgba(0,0,0,.74);--text:#fff;--muted:rgba(255,255,255,.82);--border:rgba(255,255,255,.88);--accent:#fff;--accent-text:#050505;--hover:#e5e7eb;--radius:14px;--shadow:0 16px 34px rgba(0,0,0,.32)}.ei-rpg-shop-style-full_black .ei-rpg-shop-dialogue{backdrop-filter:none;-webkit-backdrop-filter:none}
.ei-rpg-shop-style-minimal{--bg:#fff;--bg-strong:#fff;--text:#111827;--muted:#6b7280;--border:rgba(15,23,42,.14);--accent:#111827;--accent-text:#fff;--hover:#334155;--radius:10px;--shadow:0 8px 22px rgba(15,23,42,.10)}
.ei-rpg-shop-style-glass .ei-rpg-shop-dialogue,.ei-rpg-shop-style-mac .ei-rpg-shop-dialogue{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.ei-rpg-shop-style-glass{--bg:rgba(15,23,42,.76);--bg-strong:rgba(15,23,42,.90);--text:#f8fafc;--muted:#cbd5e1;--border:rgba(255,255,255,.28);--accent:#60a5fa;--accent-text:#07111f;--hover:#93c5fd;--radius:22px;--shadow:0 18px 44px rgba(2,6,23,.34),inset 0 1px 0 rgba(255,255,255,.14)}
.ei-rpg-shop-style-ei_world{--bg:linear-gradient(180deg,rgba(10,72,95,.92),rgba(2,13,24,.96));--bg-strong:rgba(4,18,31,.98);--text:#f8fafc;--muted:#dbeafe;--border:#d7b14a;--accent:#d7b14a;--accent-text:#0b1925;--hover:#f1ca67;--radius:14px;--shadow:0 18px 44px rgba(2,12,23,.42),inset 0 1px 0 rgba(255,255,255,.06)}
.ei-rpg-shop-style-rpg{--bg:linear-gradient(145deg,#30220f,#151006);--bg-strong:#21190d;--text:#fff4cf;--muted:#e8cf99;--border:#d6ad55;--accent:#f6d477;--accent-text:#2d1b03;--hover:#f0bd4f;--radius:12px;--shadow:0 16px 36px rgba(0,0,0,.36),inset 0 0 0 2px rgba(255,238,178,.08);--font:Georgia,"Noto Serif TC",serif}
.ei-rpg-shop-style-classic_wood{--bg:linear-gradient(145deg,#4a2c18,#24150c);--bg-strong:#3b2415;--text:#fff3d6;--muted:#e5c59e;--border:#b98246;--accent:#e6b66d;--accent-text:#2c1708;--hover:#c9914d;--radius:14px;--shadow:0 16px 34px rgba(43,24,10,.38);--font:Georgia,"Noto Serif TC",serif}
.ei-rpg-shop-style-parchment{--bg:#f3e0b7;--bg-strong:#fbefcf;--text:#3f2b17;--muted:#735936;--border:#8a642f;--accent:#8b4f12;--accent-text:#fff8e8;--hover:#a3611b;--radius:10px;--shadow:0 12px 28px rgba(80,48,15,.22);--font:Georgia,"Noto Serif TC",serif}
.ei-rpg-shop-style-dark{--bg:#171923;--bg-strong:#0f1118;--text:#f8fafc;--muted:#aab3c2;--border:#384152;--accent:#94a3b8;--accent-text:#0f172a;--hover:#cbd5e1;--radius:18px;--shadow:0 18px 42px rgba(0,0,0,.34)}
.ei-rpg-shop-style-chinese{--bg:linear-gradient(145deg,#6f1717,#2a0d0d);--bg-strong:#541313;--text:#fff1d0;--muted:#f1c894;--border:#d9ad55;--accent:#f5cf73;--accent-text:#4a0909;--hover:#e7b84d;--radius:8px;--shadow:0 16px 36px rgba(70,10,10,.34);--font:"Noto Serif TC","Songti TC",serif}
.ei-rpg-shop-style-japanese{--bg:#f8f1e4;--bg-strong:#fffaf0;--text:#2d2823;--muted:#756b61;--border:#8f7c68;--accent:#a33a32;--accent-text:#fff;--hover:#7f2d28;--radius:12px;--shadow:0 13px 28px rgba(64,52,42,.16);--font:"Hiragino Mincho ProN","Yu Mincho","Noto Serif TC",serif}
.ei-rpg-shop-style-ink{--bg:linear-gradient(135deg,#f1f1ee,#d9dad5);--bg-strong:#f8f8f5;--text:#181a18;--muted:#555b56;--border:#303631;--accent:#202622;--accent-text:#fff;--hover:#404941;--radius:6px;--shadow:0 12px 28px rgba(28,32,29,.16);--font:"Noto Serif TC",serif}
.ei-rpg-shop-style-pixel{--bg:#172033;--bg-strong:#101827;--text:#f8fafc;--muted:#cbd5e1;--border:#facc15;--accent:#22c55e;--accent-text:#06130a;--hover:#4ade80;--radius:0;--shadow:6px 6px 0 rgba(0,0,0,.62);--font:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.ei-rpg-shop-style-windows95{--bg:#c0c0c0;--bg-strong:#dfdfdf;--text:#000;--muted:#333;--border:#000080;--accent:#000080;--accent-text:#fff;--hover:#1084d0;--radius:0;--shadow:inset 2px 2px 0 #fff,inset -2px -2px 0 #404040;--font:Tahoma,"Microsoft JhengHei",sans-serif}
.ei-rpg-shop-style-windows{--bg:rgba(244,248,255,.96);--bg-strong:#fff;--text:#172033;--muted:#526276;--border:#9db2ca;--accent:#0f6cbd;--accent-text:#fff;--hover:#115ea3;--radius:8px;--shadow:0 14px 34px rgba(35,75,115,.18);--font:"Segoe UI","Microsoft JhengHei",sans-serif}
.ei-rpg-shop-style-mac{--bg:rgba(248,250,252,.86);--bg-strong:rgba(255,255,255,.94);--text:#111827;--muted:#667085;--border:rgba(148,163,184,.42);--accent:#007aff;--accent-text:#fff;--hover:#0a84ff;--radius:22px;--shadow:0 18px 44px rgba(15,23,42,.18),inset 0 1px 0 rgba(255,255,255,.7);--font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Microsoft JhengHei",sans-serif}
.ei-rpg-shop-style-cyberpunk{--bg:linear-gradient(135deg,#120022,#090515);--bg-strong:#0d0619;--text:#f5f7ff;--muted:#83e8f2;--border:#00e5ff;--accent:#faff00;--accent-text:#120022;--hover:#ff00c8;--radius:6px;--shadow:0 0 0 1px rgba(255,0,200,.48),0 0 28px rgba(0,229,255,.34);--font:ui-monospace,monospace}
.ei-rpg-shop-style-nasapunk{--bg:linear-gradient(145deg,#172235,#0a1220);--bg-strong:#111b2b;--text:#f7fafc;--muted:#b7c6d9;--border:#d7e0eb;--accent:#ff7a1a;--accent-text:#111827;--hover:#ff9a4d;--radius:8px;--shadow:0 16px 38px rgba(2,8,23,.36)}
.ei-rpg-shop-style-steampunk{--bg:linear-gradient(145deg,#4b2e13,#211407);--bg-strong:#3a230f;--text:#ffe9bf;--muted:#d7b989;--border:#b97b35;--accent:#e2a84c;--accent-text:#2f1707;--hover:#c98b3d;--radius:16px;--shadow:0 18px 38px rgba(47,25,7,.42);--font:Georgia,"Noto Serif TC",serif}
.ei-rpg-shop-style-terminal{--bg:#031008;--bg-strong:#020b06;--text:#b7ffcf;--muted:#72d88f;--border:#35ff78;--accent:#35ff78;--accent-text:#021108;--hover:#65ff98;--radius:4px;--shadow:0 0 24px rgba(53,255,120,.26);--font:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.ei-rpg-shop-style-arcane{--bg:radial-gradient(circle at 50% 10%,#38256d,#120d2b 70%);--bg-strong:#1b1238;--text:#f4ecff;--muted:#c7b5ef;--border:#9f7aea;--accent:#d8b4fe;--accent-text:#21113d;--hover:#c084fc;--radius:20px;--shadow:0 0 34px rgba(159,122,234,.36);--font:Georgia,"Noto Serif TC",serif}
.ei-rpg-shop-style-wabisabi{--bg:#ece4d6;--bg-strong:#f7f2e9;--text:#3f3932;--muted:#786e63;--border:#9b8a78;--accent:#7a5330;--accent-text:#fffaf1;--hover:#966a40;--radius:16px;--shadow:0 12px 28px rgba(80,70,59,.14);--font:"Noto Serif TC",serif}
.ei-rpg-shop-style-cute{--bg:#fff0f6;--bg-strong:#fff8fb;--text:#6b2948;--muted:#9d5b77;--border:#f6a8c4;--accent:#ec5f98;--accent-text:#fff;--hover:#db4b87;--radius:24px;--shadow:0 14px 30px rgba(221,95,147,.20)}
.ei-rpg-shop-style-western{--bg:linear-gradient(145deg,#eee5d2,#d8c7a8);--bg-strong:#f8f1e3;--text:#38291b;--muted:#725e47;--border:#7e5b32;--accent:#824d1c;--accent-text:#fff8e9;--hover:#a16125;--radius:14px;--shadow:0 16px 34px rgba(72,47,24,.24);--font:Georgia,"Times New Roman","Noto Serif TC",serif}
.ei-rpg-shop-style-dq{--bg:linear-gradient(180deg,#234da6,#102965);--bg-strong:#193c86;--text:#fff;--muted:#dbeafe;--border:#f5d54e;--accent:#f5d54e;--accent-text:#122a64;--hover:#ffe679;--radius:10px;--shadow:0 8px 0 #0b1b49,0 18px 34px rgba(12,34,87,.34);--font:"Trebuchet MS","Microsoft JhengHei",sans-serif}
.ei-rpg-shop-style-bio{--bg:#000;--bg-strong:#000;--text:#ececec;--muted:#a7a7a7;--border:#1d1d1d;--accent:#48f050;--accent-text:#020702;--hover:#7dff83;--radius:0;--shadow:0 0 0 1px #0b0b0b,0 18px 48px rgba(0,0,0,.72);--font:"Courier New",ui-monospace,monospace;letter-spacing:.01em;text-shadow:1px 1px 0 #000}.ei-rpg-shop-style-bio .ei-rpg-shop-dialogue{border:1px solid #1d1d1d;background:#000;box-shadow:0 0 0 1px #0b0b0b,0 18px 48px rgba(0,0,0,.72)}.ei-rpg-shop-style-bio .ei-rpg-shop-speaker{border-color:rgba(72,240,80,.28);border-radius:0;background:#000;color:#f7f7f7;text-shadow:0 0 4px rgba(72,240,80,.16)}.ei-rpg-shop-style-bio .ei-rpg-shop-dialogue-text{font-weight:700;letter-spacing:.055em}.ei-rpg-shop-style-bio .ei-rpg-shop-dialogue-actions button{border:1px solid rgba(72,240,80,.34);border-radius:0;background:#000;color:#49f24f;box-shadow:none;text-transform:uppercase}.ei-rpg-shop-style-bio .ei-rpg-shop-dialogue-actions button:hover,.ei-rpg-shop-style-bio .ei-rpg-shop-dialogue-actions button:focus-visible{background:#071307;color:#7dff83;transform:none;outline:1px solid #63ff6a;outline-offset:1px}.ei-rpg-shop-style-bio .ei-rpg-shop-dialogue-actions button.is-secondary{background:#000;color:#49f24f}.ei-rpg-shop-style-bio .ei-rpg-shop-balance{border-radius:0;border-color:rgba(72,240,80,.28);background:rgba(0,0,0,.86);font-family:"Courier New",ui-monospace,monospace}.ei-rpg-shop-style-bio .ei-rpg-shop-coin{color:#49f24f}.ei-rpg-shop-style-bio .ei-rpg-shop-product-name{font-family:"Courier New",ui-monospace,monospace;color:#efefef;letter-spacing:.04em}.ei-rpg-shop-style-bio .ei-rpg-shop-price{border:1px solid rgba(72,240,80,.42);border-radius:0;background:#000;color:#49f24f;box-shadow:0 0 6px rgba(72,240,80,.12);font-family:"Courier New",ui-monospace,monospace}.ei-rpg-shop-style-bio .ei-rpg-shop-product-placeholder{border-radius:0;border-color:rgba(72,240,80,.42);background:#000;color:#49f24f}.ei-rpg-shop-style-bio .ei-rpg-shop-page-arrow{width:52px;height:52px;border:1px solid rgba(73,242,79,.28);border-radius:3px;background:rgba(0,0,0,.52);color:#49f24f;box-shadow:none;text-shadow:0 0 5px rgba(73,242,79,.42);font-size:30px}.ei-rpg-shop-style-bio .ei-rpg-shop-page-arrow:hover,.ei-rpg-shop-style-bio .ei-rpg-shop-page-arrow:focus-visible{background:rgba(6,34,8,.78);color:#7dff83;outline:1px solid #63ff6a;outline-offset:2px}.ei-rpg-shop-style-bio .ei-rpg-shop-page-indicator{border:0;border-radius:0;background:rgba(0,0,0,.72);color:#f0f0f0;box-shadow:none;font:700 14px/1 "Courier New",ui-monospace,monospace;letter-spacing:.18em}
@media(max-width:760px){.ei-rpg-shop-stage{aspect-ratio:4/5;min-height:0;background-image:linear-gradient(rgba(0,0,0,.08),rgba(0,0,0,.16)),var(--ei-shop-bg-mobile);background-position:var(--ei-shop-bg-pos-mobile,center center)}.ei-rpg-shop-shelf{top:8%;bottom:38%;width:42%}.ei-rpg-shop-shelf--left{left:1.5%}.ei-rpg-shop-shelf--right{right:1.5%}.ei-rpg-shop-slots{left:3%;right:3%;column-gap:1%}.ei-rpg-shop-merchant{width:var(--ei-shop-merchant-width-mobile);bottom:var(--ei-shop-merchant-bottom-mobile)}.ei-rpg-shop-dialogue{width:var(--ei-shop-dialogue-width-mobile);bottom:2%;min-height:27%;padding:19px 16px 14px}.ei-rpg-shop-product-name{font-size:var(--ei-shop-product-name-size-mobile,11px);line-height:1.05}.ei-rpg-shop-price{font-size:var(--ei-shop-price-size-mobile,10px);min-width:30px;min-height:18px;padding:2px 4px;border-width:1px}.ei-rpg-shop-product-image-wrap{height:61%}.ei-rpg-shop-balance{top:2%;left:2%}.ei-rpg-shop-page-arrow{top:31%;width:38px;height:46px;font-size:18px}.ei-rpg-shop-page-arrow--prev{left:.6%}.ei-rpg-shop-page-arrow--next{right:.6%}.ei-rpg-shop-page-indicator{bottom:36.2%;font-size:12px;min-width:54px;padding:4px 8px}.ei-rpg-shop-style-bio .ei-rpg-shop-page-arrow{width:40px;height:44px;font-size:24px}}
@media(prefers-reduced-motion:reduce){.ei-rpg-shop-product,.ei-rpg-shop-dialogue-actions button,.ei-rpg-shop-merchant img,.ei-rpg-shop-catalog-page,.ei-rpg-shop-page-arrow{transition:none!important}}

/* v0.1.4 mapped product layout. Coordinates are normalized percentages of the same stage used by the editor. */
.ei-rpg-shop-layout-mapped .ei-rpg-shop-map-page{position:absolute;inset:0;z-index:2;overflow:visible}
.ei-rpg-shop-layout-mapped .ei-rpg-shop-product--mapped{position:absolute;left:var(--ei-map-x);top:var(--ei-map-y);width:var(--ei-map-w);height:auto;min-height:0;padding:0;transform:translate(-50%,-50%);justify-content:flex-end;box-sizing:border-box}
.ei-rpg-shop-layout-mapped .ei-rpg-shop-product--mapped:hover,.ei-rpg-shop-layout-mapped .ei-rpg-shop-product--mapped:focus-visible{transform:translate(-50%,-50%) translateY(-4px) scale(1.035)}
.ei-rpg-shop-layout-mapped .ei-rpg-shop-product--mapped .ei-rpg-shop-product-image-wrap{width:100%;height:auto;aspect-ratio:1/1;min-height:0;display:flex;align-items:flex-end;justify-content:center}
.ei-rpg-shop-layout-mapped .ei-rpg-shop-product--mapped .ei-rpg-shop-product-name{font-size:var(--ei-shop-product-name-size,16px);line-height:1.2}
.ei-rpg-shop-layout-mapped .ei-rpg-shop-product--mapped .ei-rpg-shop-price{font-size:var(--ei-shop-price-size,14px);line-height:1.2}
.ei-rpg-shop-layout-mapped .ei-rpg-shop-product--mapped img{max-width:100%;max-height:100%}
.ei-rpg-shop-layout-mapped .ei-rpg-shop-shelf--skin-only{z-index:1}
@media(max-width:760px){.ei-rpg-shop-layout-mapped .ei-rpg-shop-product--mapped{left:var(--ei-map-mobile-x);top:var(--ei-map-mobile-y);width:var(--ei-map-mobile-w)}.ei-rpg-shop-layout-mapped .ei-rpg-shop-product--mapped .ei-rpg-shop-product-image-wrap{height:auto;aspect-ratio:1/1}.ei-rpg-shop-layout-mapped .ei-rpg-shop-product--mapped:hover,.ei-rpg-shop-layout-mapped .ei-rpg-shop-product--mapped:focus-visible{transform:translate(-50%,-50%) scale(1.02)}}

/* v0.1.8 price label styles + larger fixed shelf products. */
.ei-rpg-shop-price-style-rpg_gold .ei-rpg-shop-price{background:linear-gradient(#f3cf76,#b87823);border-color:#6b3c13;color:#2d1705;border-radius:5px;box-shadow:0 2px 4px rgba(0,0,0,.35)}
.ei-rpg-shop-price-style-theme .ei-rpg-shop-price{background:var(--bg-strong);border-color:var(--border);color:var(--text);border-radius:max(4px,calc(var(--radius) - 7px));box-shadow:0 2px 7px rgba(0,0,0,.18)}
.ei-rpg-shop-price-style-dark .ei-rpg-shop-price{background:rgba(8,12,18,.88);border-color:rgba(255,255,255,.34);color:#fff;border-radius:6px;box-shadow:0 2px 7px rgba(0,0,0,.4)}
.ei-rpg-shop-price-style-parchment .ei-rpg-shop-price{background:linear-gradient(#f1dfb1,#d2b271);border-color:#765126;color:#3e2915;border-radius:3px;box-shadow:0 2px 5px rgba(53,32,12,.28)}
.ei-rpg-shop-price-style-glass .ei-rpg-shop-price{background:rgba(15,23,42,.58);border-color:rgba(255,255,255,.36);color:#fff;border-radius:10px;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 3px 8px rgba(0,0,0,.24);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.ei-rpg-shop-price-style-bio .ei-rpg-shop-price{background:#000;border:1px solid rgba(72,240,80,.52);color:#49f24f;border-radius:0;box-shadow:0 0 6px rgba(72,240,80,.14);font-family:"Courier New",ui-monospace,monospace}
.ei-rpg-shop-price-style-minimal .ei-rpg-shop-price{min-width:0;min-height:0;padding:1px 2px;background:transparent;border:0;color:inherit;border-radius:0;box-shadow:none;text-shadow:0 2px 4px rgba(0,0,0,.72)}
.ei-rpg-shop-price-style-custom .ei-rpg-shop-price{background:var(--ei-shop-price-custom-bg,#d9a13d);border-color:var(--ei-shop-price-custom-border,#6b3c13);color:var(--ei-shop-price-custom-text,#2d1705);border-radius:var(--ei-shop-price-custom-radius,5px);box-shadow:0 2px 5px rgba(0,0,0,.28)}
@media(max-width:760px){.ei-rpg-shop-layout-mapped .ei-rpg-shop-product--mapped .ei-rpg-shop-product-name{font-size:var(--ei-shop-product-name-size-mobile,11px)}.ei-rpg-shop-layout-mapped .ei-rpg-shop-product--mapped .ei-rpg-shop-price{font-size:var(--ei-shop-price-size-mobile,10px)}}


/* v0.1.9 fixed shelf collision hardening: each physical cell owns one full-size product. */
.ei-rpg-shop-layout-fixed .ei-rpg-shop-slot>.ei-rpg-shop-product{flex:0 0 100%;min-width:100%;max-width:100%}

/* v0.1.11 purchase confirmation: keep transaction details out of action buttons. */
.ei-rpg-shop-purchase-summary{display:grid;gap:3px;margin-top:8px;min-width:0}
.ei-rpg-shop-purchase-summary[hidden]{display:none!important}
.ei-rpg-shop-purchase-name{display:block;max-width:100%;font-size:clamp(15px,1.32vw,20px);line-height:1.25;color:var(--text);overflow-wrap:anywhere}
.ei-rpg-shop-purchase-cost{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;color:var(--muted);font-size:clamp(13px,1.05vw,16px);line-height:1.4}
.ei-rpg-shop-purchase-cost-label{font-weight:600}
.ei-rpg-shop-purchase-cost-current{color:var(--text);font-weight:900}
.ei-rpg-shop-purchase-cost del{opacity:.62;font-size:.92em}
.ei-rpg-shop-style-bio .ei-rpg-shop-purchase-name,.ei-rpg-shop-style-bio .ei-rpg-shop-purchase-cost-current{font-family:"Courier New",ui-monospace,monospace;color:#49f24f}
.ei-rpg-shop-style-bio .ei-rpg-shop-purchase-cost{font-family:"Courier New",ui-monospace,monospace;color:#a7a7a7}
@media(max-width:760px){.ei-rpg-shop-purchase-summary{margin-top:6px}.ei-rpg-shop-purchase-name{font-size:15px}.ei-rpg-shop-purchase-cost{font-size:13px;gap:5px}.ei-rpg-shop-dialogue-actions{margin-top:9px}}
