/* Stall (擺攤) window: frame/tabs/bag reuse compound.css (native status art); left side follows the
   official stall layout (state, 外觀 + stall image with arrows, 攤名, 2 x 4 goods with unit price). */
.stall-left{position:absolute;left:0;top:0;width:398px;height:400px}
.stall-head{position:absolute;left:14px;top:14px;right:8px;height:92px;font-size:16px;color:#3d4c6a}
.stall-state{position:absolute;left:0;top:0;font-weight:700;color:#3a2f2a}
.stall-look-label{position:absolute;left:78px;top:0;font-weight:700;color:#3a2f2a}
.stall-look{position:absolute;right:6px;top:-4px;width:120px;height:60px;display:flex;align-items:center;justify-content:center;gap:6px}
.stall-look-image{max-width:64px;max-height:52px;image-rendering:pixelated}
.stall-arrow{width:27px;height:19px;padding:0;border:0;background:url('ui/common0_but003D.png') center/100% 100% no-repeat;cursor:pointer}
.stall-prev{transform:scaleX(-1)}
.stall-arrow:disabled{opacity:.35;cursor:default}
.stall-name-label{position:absolute;left:0;top:36px;display:flex;align-items:center;gap:8px;font-weight:700;color:#5b52a8}
.stall-name{width:150px;height:26px;box-sizing:border-box;border:0;border-radius:4px;padding:0 8px;background:#14140e;color:#fff;font:700 15px TSClient,sans-serif;text-align:right}
.stall-col{position:absolute;top:86px;font-size:14px;font-weight:700;color:#5b52a8}
.stall-col-1{left:22px}.stall-col-2{left:96px}.stall-col-3{left:202px}.stall-col-4{left:276px}
.stall-entry{position:absolute;width:172px;height:52px}
.stall-slot{position:absolute;left:0;top:0;width:52px;height:52px;padding:0;border:0;cursor:pointer;background:url('ui/npc/common0_bod003.png') center/100% 100% no-repeat}
.stall-slot img{position:absolute;inset:6px;width:40px;height:40px;object-fit:contain;image-rendering:pixelated}
.stall-slot b{position:absolute;left:4px;bottom:1px;color:#fff;font:700 13px TSClient,sans-serif;text-shadow:-1px 0 #111,1px 0 #111,0 -1px #111,0 1px #111}
.stall-price{position:absolute;left:60px;top:13px;width:100px;height:26px;box-sizing:border-box;border-radius:4px;padding:0 8px;background:#14140e;color:#fff;font:700 15px/26px TSClient,sans-serif;text-align:right;border:0;outline:0}
.stall-price::placeholder{color:#fff}
.stall-price:disabled{opacity:1;-webkit-text-fill-color:#fff}
.stall-price:focus{box-shadow:0 0 0 2px #e8c86a}
.stall-buttons .compound-button{top:338px}
.stall-open{left:12px}.stall-close{left:136px}.stall-exit{left:260px}
.stall-window .compound-button{width:110px;height:46px;line-height:46px;font-size:20px}
.stall-nearby{position:absolute;left:16px;top:16px;right:16px;bottom:16px;overflow-y:auto;display:flex;flex-direction:column;gap:6px}
.stall-nearby-row{display:flex;align-items:center;gap:14px;height:56px;padding:0 14px;border:0;background:url('ui/npc/shop-row.png') center/100% 100% no-repeat;font:700 17px TSClient,sans-serif;color:#111;cursor:pointer;text-align:left}
.stall-nearby-row img{width:40px;height:40px;object-fit:contain;image-rendering:pixelated}
.stall-nearby-row span{margin-left:auto;color:#5b52a8}
.stall-empty{margin:40px auto;color:#5b52a8;font-size:18px}
.stall-prompt .stall-price-label{display:block;margin:6px 0;font-weight:700;color:#3d4c6a}
.stall-prompt .stall-price-input{width:140px;height:30px;font:700 16px TSClient,sans-serif;text-align:right}

/* Buyer view, laid out like the official Shop page. */
.stall-view{position:absolute;inset:8px 10px}
.stall-view-title{margin:0 6px 6px;font-size:18px;color:#3a2f2a}
.stall-table-head{position:relative;height:30px;border-radius:4px;background:linear-gradient(#8fb6e8,#5f86c8);color:#fff;font:700 16px/30px TSClient,sans-serif;text-shadow:1px 1px #2b4a86}
.stall-table-head span{position:absolute}
.stall-th-name{left:70px}.stall-th-effect{left:290px}.stall-th-price{right:30px}
.stall-table{position:relative;height:244px;margin-top:4px;overflow-y:auto;scrollbar-width:none;border:2px solid #9cc4d6;border-radius:4px;background:#f4fbfb;box-sizing:border-box}
.stall-table::-webkit-scrollbar{display:none}
.stall-row{position:relative;display:block;width:100%;height:52px;padding:0;border:0;border-bottom:1px solid #d5e6ea;background:none;font:700 16px TSClient,sans-serif;color:#2e2a24;text-align:left;cursor:pointer}
.stall-row.chosen{background:linear-gradient(#fff6a8,#f3df5c)}
.stall-row>span{position:absolute;top:0;line-height:52px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stall-row-icon{left:10px;top:4px!important;width:44px;height:44px;line-height:normal!important;overflow:visible!important}
.stall-row-icon img{width:44px;height:44px;object-fit:contain;image-rendering:pixelated}
.stall-row-icon b{position:absolute;right:-2px;bottom:-2px;color:#fff;font-size:13px;text-shadow:-1px 0 #000,1px 0 #000,0 -1px #000,0 1px #000}
.stall-row-name{left:70px;width:210px}
.stall-row-effect{left:290px;width:230px;color:#5b52a8;font-size:15px}
.stall-row-price{right:20px;display:flex;align-items:center;gap:6px}
.stall-row-price img{width:22px;height:14px}
.stall-buy-bar{position:absolute;left:0;right:0;bottom:0;height:54px}
.stall-qty-label{position:absolute;left:8px;top:15px;font:700 17px TSClient,sans-serif;color:#3a2f2a}
.stall-step{position:absolute;left:58px;width:20px;height:18px;padding:0;border:0;background:url('ui/common0_but003D.png') center/100% 100% no-repeat;cursor:pointer}
.stall-up{top:8px;transform:rotate(-90deg)}
.stall-down{top:30px;transform:rotate(90deg)}
.stall-qty{position:absolute;left:84px;top:11px;width:110px;height:32px;box-sizing:border-box;border:0;border-radius:4px;padding:0 8px;background:#14140e;color:#fff;font:700 16px TSClient,sans-serif;text-align:right;outline:0;user-select:text}
.stall-view .compound-button{top:auto;bottom:2px}
.stall-view .stall-buy{left:auto;right:140px}
.stall-view .stall-back{left:auto;right:8px}
