fancy-dialog-shader{display:block;position:fixed;display:flex;top:0;left:0;height:100%;width:100%;z-index:50000;flex-direction:column;align-items:center;justify-content:center;transition:opacity .4s;animation:-fancy-dialog-fade-in .4s}fancy-dialog-shader:first-of-type{background-color:#0009}fancy-dialog-shader:not(:last-of-type)>*{filter:blur(4px)}.-fancy-dialog-intuitive-interaction{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%}.-fancy-dialog{position:relative;z-index:1;box-sizing:border-box;transition:filter .2s,transform .2s;flex:none;max-width:400px;max-height:90%;border-radius:6px;padding:10px;border:1px solid #363645;box-shadow:0 2px 6px var(--shadow);background-color:var(--bg);color:var(--fg);overflow:auto}@media (max-width: 490px){.-fancy-dialog{max-width:calc(100% - 58px);margin-left:42px;margin-right:10px}}.-fancy-dialog[fancy-dialog-animation=slide-in]{animation:-fancy-dialog-glide-in .2s}.-fancy-dialog[fancy-dialog-animation=slide-out]{animation:-fancy-dialog-glide-out .2s;transform:translateY(-50%)}.-fancy-dialog[fancy-dialog-animation=shake]{animation:-fancy-dialog-shake .2s}.-fancy-dialog *{box-sizing:inherit}.-fancy-dialog h1{font-weight:700;text-align:center;margin:0 0 10px}.-fancy-dialog h2{margin:0;font-size:1em}.-fancy-dialog h3{margin:0;font-size:.9em;font-style:italic}.-fancy-dialog-content{display:block;width:100%;margin-bottom:10px}.-fancy-dialog-content input:not([type=checkbox]):not([type=radio]),.-fancy-dialog-content select,.-fancy-dialog-content abutton,.-fancy-dialog-content textarea{width:100%}.-fancy-dialog-content input:not([type=checkbox]):not([type=radio]):not(:last-child),.-fancy-dialog-content select:not(:last-child){margin-bottom:10px}.-fancy-dialog-buttons{display:flex;flex-direction:row;gap:5px;border-style:solid;border-width:1px 0px 0px 0px;border-color:var(--bg-darker) transparent transparent transparent;padding-top:10px}.-fancy-dialog-buttons:not(:first-of-type){border-style:none;border-width:0px;padding-top:5px}.-fancy-dialog-buttons input[type=button],.-fancy-dialog-buttons input[type=submit]{flex:1}@keyframes -fancy-dialog-fade-in{0%{opacity:0}to{opacity:1}}@keyframes -fancy-dialog-glide-in{0%{transform:scale(1.5);filter:blur(3px)}to{transform:scale(1);filter:blur(0px)}}@keyframes -fancy-dialog-glide-out{0%{transform:scale(1);filter:blur(0px)}to{transform:scale(1.5);filter:blur(3px)}}@keyframes -fancy-dialog-shake{0%{transform:translate(0)}25%{transform:translate(-20px)}75%{transform:translate(40px)}to{transform:translate(0)}}
