#item-use-layer{position:absolute;inset:0;z-index:10;background:#0006}
.item-use-window{position:absolute;width:360px;height:220px;flex:none;transform:translate(-50%,-50%) scale(var(--use-scale,1));background:url('ui/item-use/content.png') center/calc(100% - 20px) calc(100% - 20px) no-repeat,url('ui/item-use/frame.png') center/100% 100% no-repeat;color:#367f7d;font:700 20px TSClient,sans-serif;padding:34px 28px 20px}
.item-use-window:before{content:'';position:absolute;left:24px;top:22px;width:312px;height:115px;background:url('ui/item-use/shade.png') center/100% 100%;z-index:-1}
.item-use-window h3{font:inherit;text-align:center;margin:0 0 18px}.item-use-controls{display:flex;align-items:center;gap:6px}.item-use-controls button{width:60px;height:43px;flex:none;background:url('ui/shop/minmax.png') center/100% 100%;border:0;padding:0;color:inherit}
.item-use-controls input{width:158px;height:43px;min-width:0;border:0;background:url('ui/shop/input.png') center/100% 100%;text-align:center;color:inherit;font:700 17px TSClient,sans-serif;outline:none}.item-use-controls input::placeholder{color:#367f7d;opacity:1}
.item-use-confirm{display:block;margin:10px auto 0;width:124px;height:50px;border:0;padding:0;background:url('ui/shop/confirm.png') center/100% 100%;color:#fff397;font:700 23px TSClient,sans-serif;text-shadow:1px 1px 2px #484e8b}
#item-use-layer button:hover{filter:none}#item-use-layer button:disabled{opacity:1}

/* Shared logical bounds; never grow with the width of an item/loot sheet. */
.item-use-window{box-sizing:border-box;margin:0}
