/* Keep potion controls and automatic skills in one flow: their boxes cannot overlap. */
#game .combatUtilities{position:absolute;right:0;bottom:calc(100% + 10px);display:flex;flex-direction:column;align-items:flex-end;gap:8px;pointer-events:none}
#game .combatUtilities #autoSkills{position:static;min-height:44px;max-width:100%;margin:0;pointer-events:auto}
#game .potionRow{display:flex;align-items:center;gap:6px;pointer-events:auto}
#game #herb{position:relative;display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:4px;border:1px solid #c5b385;border-radius:10px;background:#284a31ef}
#game #herb .artIcon{position:static;width:32px;height:32px;border-radius:6px}
#game #herb .herbCount{position:absolute;bottom:0;right:1px;min-width:18px;background:#ead7a2;color:#243524;font-size:12px;font-weight:700;border-radius:6px}
#game #potionSettingsButton{min-height:44px;padding:6px 9px;max-width:170px;border:1px solid #c5b385;border-radius:8px;background:#18352def;color:#f5e9bd;font-size:14px;line-height:1.4;pointer-events:auto}
#potionSettings{font-size:16px;line-height:1.6}#potionSettings fieldset{margin:12px 0;padding:12px;border:1px solid #9e885e;border-radius:6px}#potionSettings legend{font-weight:700}#potionSettings input[type=checkbox]{width:20px;height:20px;accent-color:#31594a}.potionToggle{display:flex;align-items:center;gap:8px;min-height:44px}.potionThreshold{display:flex;justify-content:space-between;margin-top:8px}#potionSettings input[type=range]{display:block;width:100%;height:44px;accent-color:#31594a}#potionSettings .potionHelp{font-size:14px;line-height:1.6}#potionSettings button{min-height:44px;padding:8px 18px;color:#fff;background:#31594a;border:1px solid #927644;border-radius:4px}#potionSaved{min-height:26px}#potionSettingsButton:focus-visible,#herb:focus-visible{outline:3px solid #fff0a2;outline-offset:3px}
