.supplies-merchant{--tile:clamp(28px,6.2vw,74px);width:min(980px,96vw);max-width:96vw;max-height:96dvh;padding:12px 8px 18px;border:0;margin:auto;overflow:auto;color:#fff2d4;background:transparent;font:700 16px monospace;text-shadow:0 2px 2px #090d0a,1px 0 #090d0a,-1px 0 #090d0a;scrollbar-width:thin}.supplies-merchant::backdrop{background:#050906b5}.supply-header{position:relative;text-align:center;width:min(850px,100%);margin:0 auto clamp(14px,3vh,34px);padding:0 40px}.supply-header>img{display:block;width:50px;height:65px;object-fit:contain;margin:auto}.supply-header h1{margin:2px 0 0;color:#fff5dc;font-size:clamp(19px,4.5vw,36px);line-height:1.13}.supplies-merchant button{font:inherit;color:inherit;cursor:pointer;text-shadow:inherit}.supplies-merchant button:focus-visible{outline:2px solid #fff2a8;outline-offset:2px;z-index:1}.supply-back{position:absolute;top:0;right:0;border:0;background:transparent;font-size:clamp(26px,5vw,46px)!important;line-height:1;padding:2px 8px}.supply-stock{display:flex;justify-content:center;align-items:center;gap:clamp(10px,6vw,80px);margin:0 0 8px;font-size:clamp(14px,2.7vw,27px)}.supply-stock span{display:flex;align-items:center;gap:3px}.supply-stock img,.supply-facts img{width:clamp(17px,3vw,34px);height:clamp(17px,3vw,34px);object-fit:contain}.supply-grid{display:grid;grid-template-columns:repeat(10,minmax(0,var(--tile)));gap:4px;justify-content:center}.supply-tile{position:relative;display:grid;place-items:center;aspect-ratio:1;width:100%;min-width:0;padding:0;border:2px solid #786347;background:#100e0cc2;box-shadow:inset 0 0 0 1px #25201b}button.supply-tile:hover{background:#273429;border-color:#d9bb72}.supply-tile img{width:100%;height:100%;object-fit:contain;min-width:0;min-height:0}.supply-tile b{position:absolute;bottom:1px;left:3px;color:#fff;font-size:clamp(11px,2vw,23px);line-height:1;letter-spacing:-.04em;text-shadow:1px 1px #111,-1px 1px #111,1px -1px #111,-1px -1px #111}.supply-confirm{display:grid;grid-template-columns:1fr 1fr;gap:clamp(14px,5vw,70px);align-items:start;width:min(780px,100%);margin:auto;min-height:calc(var(--tile)*4 + 48px)}.supply-selected{text-align:center}.supply-selected .supply-tile{width:var(--tile);margin:auto}.supply-selected h2{font-size:clamp(16px,2.8vw,26px);margin:6px 0}.supply-selected p{font-size:clamp(12px,1.7vw,17px);margin:8px 0}.supply-checkout{padding-top:clamp(0px,5vh,38px)}.supply-facts{margin:0;font-size:clamp(13px,2.2vw,23px)}.supply-facts div{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:35px}.supply-facts dd{display:flex;align-items:center;gap:4px;margin:0;white-space:nowrap}.supply-gold{color:#f6cf57}.supply-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.supply-actions button{border:2px solid #ad995b;min-height:44px;padding:5px;background:#2f7035;font-size:clamp(14px,2vw,23px)}.supply-actions [data-cancel]{background:#8b392b}.supply-actions button:disabled{opacity:.45;cursor:default}.supply-blocked,.supply-notice{color:#f2cf85;font-size:clamp(11px,1.6vw,15px);margin:8px auto;text-align:center}.supply-blocked:empty,.supply-notice:empty{display:none}@media(max-width:600px){.supplies-merchant{--tile:1fr;padding-inline:4px}.supply-grid{gap:2px}.supply-tile{border-width:1px}.supply-selected .supply-tile{width:56px}.supply-confirm{min-height:0;gap:10px}.supply-checkout{padding:0}.supply-header>img{height:48px}.supply-tile b{left:1px;font-size:clamp(9px,2.8vw,15px)}}.potion-pouch{margin:12px 0}.potion-pouch h2{font-size:16px}.potion-pouch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:6px}.potion-pouch-grid button{display:grid;place-items:center;gap:3px;padding:5px;white-space:normal}.potion-pouch-grid img{width:38px;height:38px;object-fit:contain}#merchant-catalogue article dl div{display:flex;justify-content:space-between;gap:8px}#merchant-catalogue article dd{margin:0;color:#f0d08a}.merchant-preview #open-supplies{padding:12px 16px;background:#2c4834;color:#f5e2ad;border:2px solid #b99852;font:inherit;cursor:pointer}
