.v4-death-dialog{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:115px;height:175px;z-index:70;background:var(--death-background) center/100% 100%;font:12px Arial,sans-serif;color:#d8d8d8;pointer-events:auto}
.v4-death-dialog[hidden]{display:none}
.v4-death-dialog button{position:absolute;left:9px;width:98px;height:27px;padding:0;border:0;background:var(--death-normal) center/100% 100%;font:inherit;color:inherit}
.v4-death-dialog button:active{background-image:var(--death-pushed)}
.v4-death-dialog button:disabled{color:#777}
.v4-death-dialog output{position:absolute;top:100%;left:50%;transform:translateX(-50%);width:240px;text-align:center;text-shadow:0 1px #000}

/* HF DialogBox/DialogBody, same native-size nine-slices as V4 SystemDialog.
   V3 HF receipt: 319x143, text55/16/248/70, icon17/17/32/32,
   Confirm75/106/82/27 and Cancel161/106/82/27. EDefaultNone. */
.v4-resurrection-dialog{position:fixed;left:calc(50% - 159px);top:calc(50% - 71px);left:calc(round(down,50%,1px) - 159px);top:calc(round(down,50%,1px) - 71px);width:319px;height:143px;max-width:calc(100vw - 16px);box-sizing:border-box;margin:0;padding:0;border:0;background:none;color:#dcdcdc;font:12px/14px Arial,sans-serif;text-shadow:1px 1px #000;border-image:var(--resurrection-background) 8 fill / 8px stretch;outline:none;pointer-events:auto;z-index:300}
.v4-resurrection-dialog[hidden]{display:none}
.v4-resurrection-dialog::backdrop{background:transparent}
.v4-resurrection-group{position:absolute;inset:10px 10px 41px;border:0;border-image:var(--resurrection-group) 1 fill / 1px stretch;pointer-events:none}
.v4-resurrection-icon{position:absolute;left:17px;top:17px;width:32px;height:32px;pointer-events:none}
.v4-resurrection-message{position:absolute;left:55px;top:16px;width:calc(100% - 71px);height:70px;margin:0;overflow:auto;overflow-wrap:anywhere}
.v4-resurrection-dialog footer{position:absolute;left:75px;left:calc(round(down,50%,1px) - 84px);top:106px;display:flex;gap:4px;margin:0}
.v4-resurrection-dialog button{width:82px;height:27px;box-sizing:border-box;margin:0;padding:0;border:0;border-radius:0;background:none;color:inherit;font:inherit;text-shadow:inherit;cursor:var(--hf-cursor,pointer);border-image:var(--resurrection-normal) 0 17 5 13 fill / 0 14px 0 13px stretch}
.v4-resurrection-dialog button:active{border-image-source:var(--resurrection-pushed)}
.v4-resurrection-dialog button:focus-visible{outline:1px solid #aaa17b;outline-offset:-3px}
.v4-resurrection-dialog button:disabled{opacity:.5}
@media(max-width:335px){.v4-resurrection-dialog{left:8px}}
