/* Market booth window (js/windows/booth-ui.js). Reuses the trade window's kit classes from mobile-trade.css;
   the variables are repeated here because on desktop the window mounts outside the mobile stage. */
.m-booth{--gold:#e2c47c;--gold2:#a8894a;--ink:#efe6cf;--mute:#a59f90;--serif:Palatino,"Book Antiqua",Georgia,serif;
  position:absolute;inset:0;display:flex;flex-direction:column;background:#101215 url(/ui/mobile/sheetbg.png?v=f16b55896a7aa2db) center/cover;color:var(--ink);font:13px system-ui,sans-serif;
  padding:8px calc(var(--safe-r,4px) + 14px) 10px calc(var(--safe-l,8px) + 6px);box-shadow:0 10px 40px #000d;z-index:9;pointer-events:auto;box-sizing:border-box}
.m-booth[hidden]{display:none}
.m-booth *{box-sizing:border-box}
.m-booth button{border:0;padding:0;background-color:transparent;cursor:pointer}
.m-booth button:not(.m-btn){color:inherit}
.m-booth .m-btn{padding:0 14px}
body.tablet-ui .m-booth,body:not(.mobile-ui) .m-booth{left:60px;right:60px;top:70px;bottom:70px;border-radius:6px;border:1px solid #a8894a88}
body:not(.mobile-ui) .m-booth{z-index:30;max-width:980px;margin:0 auto}
.m-booth.asking{background:#000a;box-shadow:none;border:0}
.m-booth .m-title{font:600 16px var(--serif);color:var(--gold)}
.m-booth .m-h5{font:600 12px var(--serif);color:var(--gold);letter-spacing:.6px;margin:0 0 5px}
.m-booth .m-mute{color:var(--mute);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m-booth .m-card-panel{background:url(/ui/mobile/card.png?v=ea1529f9c8e23a06) 0 0/100% 100%;border-radius:4px;padding:18px 11px 9px;min-height:0}
.m-booth-cols{grid-template-columns:1.25fr 1fr 1.1fr}
.m-booth-cols.buyer{grid-template-columns:1.3fr 1fr}
.m-booth-list{display:flex;flex-direction:column;gap:4px;overflow:auto;min-height:0;padding-right:2px}
.m-booth-row{display:flex;align-items:center;gap:8px;padding:3px 6px 3px 3px;border-radius:3px;text-align:left;background:#0006!important}
.m-booth-row.on{outline:1px solid var(--gold);background:#3b3423aa!important}
.m-booth-name{flex:1;min-width:0;font:600 12px var(--serif);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m-booth-price{font:700 12px system-ui;white-space:nowrap;color:#e8e8e8}
.m-booth-price.cps{color:#8fd4ff}
.m-booth .m-tcell.on{outline:1px solid var(--gold)}
.m-booth-side{gap:8px;overflow:auto}
.m-booth-lines p{margin:0 0 2px;font-size:12px;line-height:1.35}
.m-booth .quality-super{color:#ffff00}.m-booth .quality-refined{color:#5e87ca}.m-booth .quality-unique{color:#00ff00}.m-booth .quality-elite{color:#e804fd}
.m-booth .bonus{color:#ff00ff}.m-booth .gem{color:#00ff80}.m-booth .damage{color:#ff8000}.m-booth .enchant{color:#ffff00}.m-booth .requirement-unmet{color:#ff3030}
.m-booth-form{display:flex;align-items:center;gap:6px;margin-top:auto}
.m-booth-input{flex:1;min-width:0;width:auto}
.m-booth-cur{height:26px;min-width:52px;border-radius:3px;font:600 11px var(--serif);background:url(/ui/mobile/tab.png?v=3b5f3f0e7e8c4f3a) center/100% 100%!important;color:#152433!important}
.m-booth-cur.on{background-image:url(/ui/mobile/tabon.png?v=4532b1ded01984c6)!important}
.m-booth-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.m-booth-pay{display:flex;align-items:baseline;justify-content:space-between;margin-top:auto;font-size:14px}
.m-booth-pay .m-booth-price{font-size:15px}
.m-booth-buy{align-self:flex-end}
.m-booth-hawk .m-tin{flex:1;width:auto}
.m-booth-confirm{position:absolute;inset:0;display:grid;place-items:center;background:#000a;z-index:2}
.m-booth-confirm-box{width:min(420px,92%);padding:18px 18px 14px;background:#101215 url(/ui/mobile/sheetbg.png?v=f16b55896a7aa2db) center/cover;border:1px solid var(--gold2);border-radius:6px;box-shadow:0 10px 30px #000}
.m-booth-confirm-box h3{font-size:15px}
.m-booth-confirm-box p{margin:6px 0 14px;font-size:13px;line-height:1.45;color:var(--ink)}
@media (max-width:600px){.m-booth-cols,.m-booth-cols.buyer{grid-template-columns:1fr;overflow:auto}}
