/* All loot groups stay in one compact list; only the list scrolls. */
.resultColumns{grid-template-columns:minmax(0,2.6fr) minmax(280px,.9fr);gap:18px}
body:has(#result:not([hidden]))>header{display:none}
#resultLootPane{max-height:clamp(220px,calc(100dvh - 400px),600px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#839d72 #14211a;padding-right:5px}
#resultLootPane:focus-visible{outline:1px solid var(--accent);outline-offset:3px}
#resultLootPane .resultItems{grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:6px;min-height:0}
.resultItems .resultItem{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;min-height:58px;padding:5px 6px;align-items:center}
.resultItems .resultItemIcon{position:relative;width:42px;height:46px;overflow:visible}
.resultItems .resultItemIcon>.itemArt{width:100%;height:100%;max-width:100%;max-height:100%}
.resultItems .resultItemIcon .resultQty{position:absolute;inset:auto -2px -3px auto;min-width:17px;padding:1px 3px;font:700 9px monospace;line-height:12px;text-align:center;box-shadow:0 1px 2px #0008}
.resultItems .resultItemDetails{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 4px;min-width:0}
.resultItems .resultItemDetails h3{grid-column:1/-1;font-size:11px;line-height:1.2;margin:0;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.resultItems .resultItemMeta{display:block;grid-column:1/-1;font:9px monospace;line-height:1.35;color:#a8b79e;overflow:hidden}
.resultItems .resultItemMeta small{display:inline;font-size:9px;line-height:1.35;margin:0}
.resultItems .resultItemMeta>span{margin-right:4px}
.resultItems .resultItemPrice{grid-column:1/-1;display:flex;align-items:baseline;gap:4px;font:11px monospace;line-height:1.15;text-align:left}
.resultItems .resultItemPrice small{font:8px 'Segoe UI',sans-serif;margin:0}
.resultCombat{padding:12px}
.resultSectionTitle{margin-bottom:9px}
@media(min-width:1600px){#result{max-width:1530px}#resultLootPane .resultItems{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}}
@media(max-width:1000px){.resultColumns{grid-template-columns:minmax(0,1fr) 280px;gap:12px}#resultLootPane .resultItems{grid-template-columns:repeat(auto-fill,minmax(165px,1fr))}}
@media(max-width:749px){.resultColumns{grid-template-columns:1fr}#resultLootPane{max-height:min(420px,58dvh)}#resultLootPane .resultItems{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))}.resultItems .resultItem{min-height:66px}}
@media(max-width:390px){#resultLootPane .resultItems{grid-template-columns:1fr}.resultItems .resultItem{min-height:58px}.resultItems .resultItemDetails{grid-template-columns:minmax(0,1fr) auto}.resultItems .resultItemDetails h3{grid-column:1}.resultItems .resultItemMeta{grid-column:1}.resultItems .resultItemPrice{grid-column:2;grid-row:1/3;display:block;text-align:right;align-self:center}}
