#message-box{animation:fadein .25s ease-in-out;background-color:rgba(0,0,0,.45);bottom:0;display:flex;left:0;pointer-events:auto;position:fixed;right:0;top:0;-moz-user-select:none;z-index:9999990}#stylus-popup #message-box{animation:none}#message-box>div{background-color:var(--bg);box-shadow:5px 5px 50px rgba(0,0,0,.225);display:flex;flex-direction:column;max-height:90vh;max-width:50vw;min-height:5rem;min-width:10rem;position:fixed;right:3rem;top:3rem;-moz-user-select:text;z-index:9999991}#message-box.fadeout{animation:fadeout .25s ease-in-out}#message-box:is(.center,.center-dialog){align-items:center;justify-content:center}#message-box:is(.center,.center-dialog)>div{right:unset;top:unset}#message-box.center #message-box-contents{text-align:center}#message-box.center #message-box-contents pre{text-align:left}#message-box.pre #message-box-contents{font-family:monospace;text-align:left;white-space:pre-line}#message-box.pre-line #message-box-contents{white-space:pre-line}#message-box-title{background-color:var(--accent-3);box-sizing:border-box;cursor:move;font-size:1rem;font-weight:700;min-height:42px;padding:.75rem 2.5rem .75rem 52px;position:relative;-webkit-user-select:none;user-select:none;-moz-user-select:none}#message-box-title:before{background:url(/icon/32.png);bottom:0;content:"";height:0;left:.5rem;margin:auto;padding:0 32px 32px 0;position:absolute;top:0;width:0}#message-box.danger #message-box-title{background-color:#b22222;color:#fff}#message-box.danger #message-box-title:before{background:url(/icon/32x.png)}#message-box.danger #message-box-contents{font-weight:700}#message-box.danger #message-box-close-icon i{color:maroon}#message-box.danger #message-box-close-icon i:hover{color:#600}#message-box.note{align-items:center;justify-content:center;white-space:pre-wrap}#message-box.note>div{max-width:40em;position:relative;right:unset;top:unset}#message-box-close-icon{cursor:pointer;position:absolute;right:0;top:0}#message-box-close-icon i{display:block;font-size:16px;padding:.75rem}#message-box-contents{flex-grow:9;overflow:auto;overflow-wrap:break-word;padding:1rem;position:relative}#message-box-contents p:first-child{margin-top:0}#message-box-contents p:last-child{margin-bottom:0}#message-box-buttons{background-color:var(--c95);padding:.75rem .375rem;text-align:center}.danger #message-box-buttons>button:not([data-focused-via-click]):first-child:focus{box-shadow:0 0 0 1px red}.non-windows #message-box-buttons{display:flex;flex-direction:row-reverse;flex-wrap:wrap}#message-box-buttons>:nth-child(n+2),.non-windows #message-box-buttons>:first-child{margin-left:.5rem}#stylus-popup #message-box{align-items:center;justify-content:center;margin:0}#stylus-popup #message-box>div{max-height:90vh;max-width:90vw;right:auto;top:auto}