.modal-background{z-index:9999;width:100%;height:100%;padding:var(--spacing);background:var(--modal-overlay-bg);-webkit-backdrop-filter:blur(var(--modal-overlay-blur));justify-content:center;align-items:center;display:flex;position:fixed;top:0;left:0}@media (width<=700px){.modal-background{padding:0 var(--spacing-quarter) 0 var(--spacing-quarter)}}.modal-background.modal--narrow .modal{max-width:500px}.modal-background.modal--medium .modal{max-width:800px}.modal-background.image .modal{width:auto;min-width:auto;max-width:95vw;max-height:95vh;box-shadow:none;background:0 0}.modal-background.image .modal .body{justify-content:center;align-items:center;padding:0;display:flex}.modal-background.image .modal .body img{width:auto;max-width:95vw;height:auto;max-height:95vh;display:block}.modal-background .modal{background-color:var(--color-surface);border-radius:var(--modal-panel-radius);border:1px solid var(--color-border);width:100%;min-width:300px;max-width:1000px;max-height:100%;box-shadow:var(--modal-panel-shadow);transition:max-width var(--speed) ease;flex-direction:column;margin:0 auto;display:flex;position:relative}.modal-background .modal .header{align-items:center;gap:var(--spacing-half);padding:var(--spacing);border-bottom:solid 1px var(--color-border);flex:0 auto;font-size:1.35rem;font-weight:700;display:flex}.modal-background .modal .header h3{min-width:0;font-size:inherit;font-weight:inherit;flex:auto;margin:0;padding:0}.modal-background .modal .header .close{width:36px;height:36px;color:var(--color-text-soft);font-size:var(--font-size-3xl);cursor:pointer;background:0 0;border:none;flex:none;justify-content:center;align-items:center;margin-left:auto;padding:0;line-height:1;display:flex}.modal-background .modal .header .close:hover{color:var(--color-text)}.modal-background .modal .body{min-height:0;padding:var(--spacing);flex:auto;overflow:auto}.modal-background .modal .footer{padding:var(--spacing);border-top:solid 1px var(--color-border);gap:var(--spacing-half);flex-direction:row;flex:0 auto;display:flex}.modal-background .modal .footer>*{flex:1 1 0;min-width:0}.modal-enter-active,.modal-leave-active{transition:opacity .25s}:is(.modal-enter-active,.modal-leave-active) .modal{transition:transform .3s,opacity .3s}.modal-enter-from,.modal-leave-to{opacity:0}:is(.modal-enter-from,.modal-leave-to) .modal{opacity:0;transform:translateY(30px)scale(.95)}
