#playerInventoryDialog{position:fixed;inset:0;margin:auto;box-sizing:border-box}#playerInventoryDialog .inv-head{position:relative;padding-right:70px}#playerInventoryDialog #closeInventoryDialog{position:absolute;top:10px;right:15px;z-index:4;width:38px;height:38px;display:grid;place-items:center;line-height:1;background:transparent}#playerInventoryDialog .inv-general-item.inv-chest-item{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-height:75px;padding:12px 14px;box-sizing:border-box}#playerInventoryDialog .inv-chest-item>span{white-space:nowrap}#playerInventoryDialog .inv-chest-details{flex:1 1 100%;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}#playerInventoryDialog .inv-chest-description{flex:1;min-width:0;line-height:1.6;overflow-wrap:anywhere;font-size:13px}#playerInventoryDialog .inv-chest-open{flex-shrink:0;padding:6px 16px;background:#795022;color:#fff2d4;border:1px solid #bd914d;border-radius:5px;cursor:pointer}.inv-chest-choice{position:fixed;inset:0;margin:auto;width:min(480px,90vw);max-height:75vh;overflow:auto;padding:22px;background:#f6ebd3;color:#49321c;border:2px solid #b58747;border-radius:10px;box-shadow:0 18px 50px #0009}.inv-chest-choice::backdrop{background:#0009}.inv-chest-options{display:grid;gap:12px;margin:16px 0}.inv-chest-options label{display:flex;gap:10px;align-items:center}.inv-chest-actions{display:flex;gap:12px;justify-content:center;margin-top:16px}.inv-chest-choice button{padding:8px 20px;border:1px solid #a57a41;border-radius:5px;background:#e1bd79;color:#3b2815;cursor:pointer}