/* Range panel (dostrel.js). Everything is scoped to .dostrel so the panel can be placed inside the game page. */
.dostrel{color:#26372e;font:16px/1.4 system-ui,sans-serif}
.dostrel-controls{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:flex-end;margin:0 0 12px}
.dostrel fieldset{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;min-width:0}
.dostrel legend,.dostrel-slider{font-size:.82rem;color:#6a5741;padding:0}
.dostrel-slider{display:grid;grid-template-columns:auto 1fr;gap:0 8px;flex:1 1 220px;max-width:340px}
.dostrel-slider output{font-weight:600;color:#26372e;text-align:right;font-variant-numeric:tabular-nums}
.dostrel-slider input{grid-column:1/-1;width:100%;margin:6px 0 4px;accent-color:#2e4b3e}
.dostrel fieldset label{position:relative;margin-right:-1px}
.dostrel fieldset input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.dostrel fieldset span{display:block;padding:7px 11px;border:1px solid #859281;background:#f6f2e7;font-size:.92rem;white-space:nowrap}
.dostrel fieldset label:first-of-type span{border-radius:5px 0 0 5px}
.dostrel fieldset label:last-of-type span{border-radius:0 5px 5px 0}
.dostrel fieldset input:checked+span{background:#2e4b3e;border-color:#2e4b3e;color:#fff}
.dostrel fieldset input:focus-visible+span{outline:3px solid #ceac65;outline-offset:1px;position:relative;z-index:1}
.dostrel-plot{background:#dce0d3;border:1px solid #c8c3b0;border-radius:4px;overflow:hidden}
.dostrel-plot canvas{display:block;width:100%;height:clamp(230px,30vw,330px)}
.dostrel-key{display:flex;flex-wrap:wrap;gap:4px 16px;margin:6px 0 0;font-size:.82rem;color:#6a5741}
.dostrel-key i{display:inline-block;width:12px;height:12px;border-radius:2px;margin-right:6px;vertical-align:-1px}
.dostrel-key[data-ammo="canister"] span:not(.dostrel-scale,.dostrel-bars),.dostrel-key[data-ammo="round"] .dostrel-bars{display:none}
.dostrel-scale{margin-left:auto}
.dostrel-text{font-family:Georgia,serif;font-size:clamp(18px,2.2vw,24px);line-height:1.25;margin:14px 0 10px;max-width:46ch;min-height:2.5em}
.dostrel-facts{display:flex;flex-wrap:wrap;gap:8px 26px;margin:0}
.dostrel-facts dt{font-size:.78rem;color:#6a5741}
.dostrel-facts dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}
@media(max-width:520px){.dostrel fieldset span{padding:7px 9px;font-size:.86rem}.dostrel-facts{gap:8px 18px}}
