.castle-material-metrics{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;font-variant-numeric:tabular-nums;line-height:1.35}
.castle-stage-drops .castle-rated-material{gap:5px;padding:4px 6px;min-height:49px;white-space:normal}.castle-drops-compact .castle-rated-material{padding:3px 4px;gap:4px}
.castle-quantity-controls{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;font-size:12px;margin:7px 0 10px}.castle-quantity-controls label{display:inline-flex;align-items:center;gap:5px}.castle-quantity-controls select{font:inherit;color:inherit;border:1px solid var(--line,#496154);border-radius:6px;background:var(--paper,#202a2d);padding:7px;min-height:38px}.castle-quantity-controls[hidden]{display:none!important}
.castle-quantity-note{font-size:11px;color:var(--sub,#8a9e92);margin:6px 0 10px;line-height:1.6}.castle-draw-count{font-weight:650;white-space:nowrap}
.castle-finder .castle-results td{vertical-align:middle!important}.castle-finder .castle-map{margin:0 0 4px;line-height:1.4}.castle-finder .castle-results td:first-child>a{line-height:1.5;margin:0}.castle-finder .castle-results .castle-drop-tag{align-items:center;margin:0}.castle-finder .castle-drop-tag .castle-rated-material{gap:5px}
.castle-finder .castle-results th:first-child{width:51%}.castle-finder .castle-results th:nth-child(2){width:12%}.castle-finder .castle-results th:last-child{width:37%}
.castle-directory-caption{margin:4px 0;font-size:10px;color:var(--sub,#8a9e92)}
.castle-ten-runs{font-size:11px;font-weight:650;white-space:nowrap}
@media(max-width:600px){.castle-finder .castle-results td,.castle-finder .castle-results th{padding:9px 6px}.castle-finder .castle-results th:first-child{width:46%}.castle-finder .castle-results th:nth-child(2){width:12%}.castle-finder .castle-results th:last-child{width:42%}.castle-finder .castle-map{font-size:10px;margin-bottom:4px}.castle-finder .castle-material-metrics{gap:2px}.castle-finder .castle-drop-tag .castle-material-icon{width:23px;height:23px}.castle-finder .castle-drop-tag .castle-rated-material{gap:3px}.castle-stage-drops .castle-rated-material{padding:3px 5px}.castle-quantity-controls{gap:7px}}
/* Material cards grow with the expanded metrics instead of keeping icon-only height. */
.castle-stage-drops .castle-rated-material{height:auto;align-self:stretch;box-sizing:border-box;min-width:0}
.castle-stage-drops .castle-material-metrics{flex:none;min-width:0;padding:1px 0}
