/* Same 5 columns × 6 rows and item spans as the game's own inventory packer. */
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] .v75-entries{display:block;max-height:none;overflow:visible}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag{border:1px solid #65506e;border-radius:12px;background:linear-gradient(120deg,#201527,#100d15);overflow:hidden}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 12px;padding:14px 12px 4px}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-header>h3{font:700 20px/1.2 Georgia,serif!important;color:#ecd8ff!important;margin:0!important}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-header>small{color:#dfbf7f;font-size:12px;font-variant-numeric:tabular-nums}
#blacksmithPanel:not(#_a):not(#_b) p.smelt-bag-help{font-size:12px!important;margin:0;padding:5px 12px 10px;color:#b7a9bf}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-pager{display:flex;align-items:center;justify-content:center;gap:14px;padding:0 12px 10px;border-bottom:1px solid #514059}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-pager>button{width:44px;min-height:44px!important;font-size:22px!important;padding:0!important}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-pager>span{font-size:12px;color:#d1c1dc;font-variant-numeric:tabular-nums;min-width:90px;text-align:center}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-grid{--smelt-cell:clamp(44px,calc((100vw - 84px)/5),92px);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(6,var(--smelt-cell));gap:5px;padding:10px;position:relative;background:#100c14}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-empty-cells{display:contents}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-empty-cells>span{display:block;border:1px solid #3e3146;border-radius:5px;background:linear-gradient(#1c1521,#100c14);box-shadow:inset 0 1px #ffffff06}
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] .smelt-bag-grid>.v76-smelt-row{position:relative;display:block!important;width:100%;min-height:0!important;padding:0!important;margin:0!important;border:1px solid #796781!important;border-radius:6px;background:linear-gradient(135deg,#302337,#19121f)!important;overflow:hidden;cursor:pointer;box-shadow:inset 0 0 16px #0004}
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] .smelt-bag-grid>.v76-smelt-row[hidden]{display:none!important}
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] .smelt-bag-grid>.v76-smelt-row:has(input:checked){border:2px solid #dab17d!important;background:linear-gradient(135deg,#6c457c,#302039)!important;box-shadow:inset 0 0 20px #b77dde33,0 0 0 1px #f3d39433}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-grid>.v76-smelt-row:focus-within{outline:2px solid #e1b5ff;outline-offset:1px}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-grid>.v76-smelt-row>input{position:absolute;left:4px;top:4px;margin:0;width:19px;height:19px;z-index:2;accent-color:#b68ad1;cursor:pointer}
#blacksmithPanel:not(#_a):not(#_b)[data-station="smelt"] .smelt-bag-grid>.v76-smelt-row>.v76-gear-icon{position:absolute;inset:9px 4px 20px;width:auto!important;height:auto!important;min-width:0!important;border:0!important;background:transparent!important;box-shadow:none!important;display:grid;place-items:center;font-size:30px}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-grid .v76-gear-icon>img{width:100%;height:100%;object-fit:contain}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-grid>.v76-smelt-row>div{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-grid>.v76-smelt-row>strong{position:absolute;bottom:3px;right:4px;font:700 11px/1 system-ui!important;color:#f0ce88!important;background:#100b16ba;border-radius:4px;padding:3px}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-detail{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:82px;padding:12px;border-top:1px solid #514059;background:#1a121f}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-detail>small{grid-column:1/-1;display:block;color:#b8a8c2;font-size:12px}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-detail>.v76-gear-icon{width:44px;height:52px;min-width:0;display:grid;place-items:center}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-detail>div>b{display:block;color:#f0ddfb;font:700 14px/1.3 Georgia,serif!important;overflow-wrap:anywhere}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-detail small{display:block;font-size:11px;color:#a99eaf;margin-top:4px}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-detail>strong{color:#e8bf79;font:700 14px system-ui!important;white-space:nowrap}
#blacksmithPanel:not(#_a):not(#_b) .smelt-bag{container-type:inline-size}
@supports(width:1cqw){#blacksmithPanel:not(#_a):not(#_b) .smelt-bag-grid{grid-template-rows:repeat(6,calc((100cqw - 40px)/5))}}
