body.rescueActive #contractPanel,body.rescueActive #encounterPanel{display:none}
#rescuePanel{position:fixed;z-index:9;left:24px;top:82px;width:275px;padding:13px;box-sizing:border-box;background:#14212bef;border:1px solid #cc9955;border-radius:5px;color:#f2ead9;font:12px/1.45 system-ui}
#rescuePanel[hidden]{display:none}#rescuePanel h2{font-size:17px;margin:4px 0 9px}#rescueWarning{color:#ffce88;margin:8px 0}#rescueHelp{font-size:10px;opacity:.8;margin:8px 0 0}#rescueAction{width:100%;min-height:44px;margin-top:8px}
@media(max-width:760px),(pointer:coarse){#rescuePanel{left:12px;top:135px;width:calc(100vw - 24px);padding:9px 12px}#rescuePanel h2{font-size:15px}#rescueHelp{display:none}}
@media(max-height:500px){#rescuePanel{left:188px;top:12px;width:min(320px,calc(100vw - 386px));min-width:220px}#rescuePanel h2{font-size:13px;margin:2px}#rescueHelp{display:none}#rescueWarning{margin:4px 0}}
#rescueStart{min-height:52px;max-width:100%;margin:8px 8px 0 0;padding:12px 16px;border:1px solid #cc9955;border-radius:4px;background:#30291e;color:#ffe0ad;font:700 13px system-ui;cursor:pointer}
#rescueAction{border:1px solid #cc9955;border-radius:4px;background:#30291e;color:#ffe0ad;font:700 13px system-ui;cursor:pointer}#rescueStart:disabled,#rescueAction:disabled{opacity:.55;cursor:default}
