#shop{width:max-content;max-width:calc(100vw - 12px);padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow-x:hidden;max-height:calc(100svh - 12px)}
#shop-shell{position:relative;overflow:hidden;margin:0 auto}
#shop-art{position:absolute;left:0;top:0;width:426px;height:435px;transform-origin:top left;font:12px 'Microsoft JhengHei',sans-serif;color:#fff}
#shop-panel{position:absolute;left:20px;top:30px;width:386px;height:395px;background:url('assets/ui/0176-0004.png');image-rendering:pixelated}
#shop-top{position:absolute;left:6px;top:0;width:400px;height:28px;image-rendering:pixelated}
.native-shop-button{position:absolute;border:0;border-radius:0;padding:0;background-color:transparent;background-repeat:no-repeat;image-rendering:pixelated;cursor:pointer}
.native-shop-button:focus-visible{outline:2px solid #ffe6a6;outline-offset:2px}
#shop-close{left:354px;top:5px;width:42px;height:17px;background-image:url('assets/ui/0176-0013.png')}
#shop-close:hover{background-image:url('assets/ui/0176-0014.png')}
#shop-buy{left:0;top:33px;width:21px;height:70px;background-image:url('assets/ui/0176-0005.png')}
#shop-buy:hover,#shop-buy[aria-pressed=true]{background-image:url('assets/ui/0176-0006.png')}
#shop-sell{left:0;top:105px;width:21px;height:70px;background-image:url('assets/ui/0176-0024.png')}
#shop-sell:hover,#shop-sell[aria-pressed=true]{background-image:url('assets/ui/0176-0025.png')}
#shop-confirm{left:354px;top:399px;width:42px;height:17px;background-image:url('assets/ui/0176-0009.png')}
#shop-confirm:hover{background-image:url('assets/ui/0176-0010.png')}
#shop-confirm:disabled{opacity:.5;cursor:default}
#shop-mode-label{position:absolute;left:34px;top:35px;width:70px;height:16px;image-rendering:pixelated}
#shop-title{position:absolute;left:120px;top:33px;font-size:12px;line-height:18px}
#shop-rows,#shop-cart{position:absolute;left:32px;width:360px;overflow:auto;scrollbar-width:thin;scrollbar-color:#b3a7df #3b3271}
#shop-rows{top:56px;height:171px}#shop-cart{top:262px;height:108px}
.native-shop-row,.native-cart-row{display:flex;align-items:center;gap:6px;width:342px;min-height:25px;padding:0 3px;border:0;border-radius:0;background:transparent;color:#fff;font:12px 'Microsoft JhengHei',sans-serif;text-align:left}
.native-shop-row:hover{background:#bcb0ff33}.native-shop-row:disabled{opacity:.4;cursor:default}
.native-shop-row img,.native-cart-row img{width:24px;height:24px;object-fit:contain;image-rendering:pixelated}
.native-shop-row span,.native-cart-row span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.native-shop-row b{width:62px;text-align:right;font-weight:400}
.native-cart-row input{width:70px;height:23px;padding:0 3px;border:1px solid #a8a0d1;border-radius:0;background:#fff;color:#272046;font:12px sans-serif}
#shop-space,#shop-weight,#shop-seed,#shop-total,#shop-message{position:absolute;line-height:19px;font-size:12px;white-space:nowrap}
#shop-space{left:107px;top:3px}#shop-weight{left:259px;top:3px}#shop-seed{left:70px;top:375px}#shop-total{left:84px;top:398px}#shop-message{left:32px;top:231px;color:#fff1c3;max-width:350px;overflow:hidden;text-overflow:ellipsis}
.native-a11y{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
#choices>button{position:relative}#choices>button>kbd{position:absolute;left:8px;top:8px;border:1px solid #d0bd83;border-radius:4px;padding:3px 7px;background:#27351f;color:#ffe9b3;font:14px sans-serif}

#shop-title{display:none}

.native-cart-remove{padding:0;width:20px;height:21px;border:1px solid #b0a6da;border-radius:0;background:#51407d;color:white;font-size:16px;flex-shrink:0}.native-cart-row input{width:48px}

.native-shop-row{flex-wrap:wrap}.shop-requirements{display:block;flex:0 0 calc(100% - 30px);margin-left:30px;margin-top:-5px;font-size:10px;color:#ddd1f7;line-height:15px;padding-bottom:4px}
