@charset "UTF-8";.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{background-color:rgba(0,0,0,0);border:none;font-size:1em}.select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline;list-style:none;padding:0}.select2-container .select2-selection--multiple .select2-selection__clear{background-color:rgba(0,0,0,0);border:none;font-size:1em}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;margin-left:5px;padding:0;max-width:100%;resize:none;height:20px;vertical-align:bottom;font-family:sans-serif;overflow:hidden;word-break:keep-all}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-container .select2-search--inline .select2-search__field::placeholder{line-height:normal}.select2-dropdown{background-color:#fff;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option--selectable{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;height:1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important;white-space:nowrap !important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;height:26px;margin-right:20px;padding-right:0px}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0);border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #888 rgba(0,0,0,0);border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text;padding-bottom:5px;padding-right:5px;position:relative}.select2-container--default .select2-selection--multiple.select2-selection--clearable{padding-right:25px}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;font-weight:bold;height:20px;margin-right:10px;margin-top:5px;position:absolute;right:0;padding:1px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:inline-block;margin-left:5px;margin-top:5px;padding:0;padding-left:20px;position:relative;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}.select2-container--default .select2-selection--multiple .select2-selection__choice__display{cursor:default;padding-left:2px;padding-right:5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{background-color:rgba(0,0,0,0);border:none;border-right:1px solid #aaa;border-top-left-radius:4px;border-bottom-left-radius:4px;color:#999;cursor:pointer;font-size:1em;font-weight:bold;padding:0 4px;position:absolute;left:0;top:0}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus{background-color:#f1f1f1;color:#333;outline:none}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice{padding:0 20px 0 0;margin-left:5px;margin-right:auto}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice__display{padding-left:5px;padding-right:2px}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove{left:auto;right:0;border-left:1px solid #aaa;border-right:none;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__clear{float:left;margin-left:10px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid #000 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:rgba(0,0,0,0);border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--group{padding:0}.select2-container--default .select2-results__option--disabled{color:#999}.select2-container--default .select2-results__option--selected{background-color:#ddd}.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{background-color:#5897fb;color:#fff}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:rgb(246.5,246.5,246.5);border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, white 50%, #eeeeee 100%);background-image:-o-linear-gradient(top, white 50%, #eeeeee 100%);background-image:linear-gradient(to bottom, white 50%, #eeeeee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;height:26px;margin-right:20px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);background-image:-o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);background-image:linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0);border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:rgba(0,0,0,0);border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:rgba(0,0,0,0) rgba(0,0,0,0) #888 rgba(0,0,0,0);border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, white 0%, #eeeeee 50%);background-image:-o-linear-gradient(top, white 0%, #eeeeee 50%);background-image:linear-gradient(to bottom, white 0%, #eeeeee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eeeeee 50%, white 100%);background-image:-o-linear-gradient(top, #eeeeee 50%, white 100%);background-image:linear-gradient(to bottom, #eeeeee 50%, white 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0;padding-bottom:5px;padding-right:5px}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;display:inline-block;margin-left:5px;margin-top:5px;padding:0}.select2-container--classic .select2-selection--multiple .select2-selection__choice__display{cursor:default;padding-left:2px;padding-right:5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{background-color:rgba(0,0,0,0);border:none;border-top-left-radius:4px;border-bottom-left-radius:4px;color:#888;cursor:pointer;font-size:1em;font-weight:bold;padding:0 4px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555;outline:none}.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice__display{padding-left:5px;padding-right:2px}.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove{border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid rgba(0,0,0,0)}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option--group{padding:0}.select2-container--classic .select2-results__option--disabled{color:gray}.select2-container--classic .select2-results__option--highlighted.select2-results__option--selectable{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}/*!
 * Select2 v4 Bootstrap 5 theme v1.3.0
*/.select2-container--bootstrap-5{display:block}select+.select2-container--bootstrap-5{z-index:1}.select2-container--bootstrap-5 :focus{outline:0}.select2-container--bootstrap-5 .select2-selection{width:100%;min-height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-family:inherit;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion:reduce){.select2-container--bootstrap-5 .select2-selection{transition:none}}.select2-container--bootstrap-5.select2-container--focus .select2-selection,.select2-container--bootstrap-5.select2-container--open .select2-selection{border-color:#86b7fe;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.select2-container--bootstrap-5.select2-container--open.select2-container--below .select2-selection{border-bottom:0 solid transparent;border-bottom-right-radius:0;border-bottom-left-radius:0}.select2-container--bootstrap-5.select2-container--open.select2-container--above .select2-selection{border-top:0 solid transparent;border-top-left-radius:0;border-top-right-radius:0}.select2-container--bootstrap-5 .select2-search{width:100%}.select2-container--bootstrap-5 .select2-search--inline .select2-search__field{vertical-align:top}.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear,.select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear{position:absolute;top:50%;right:2.25rem;width:.75rem;height:.75rem;padding:.25em;overflow:hidden;text-indent:100%;white-space:nowrap;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23676a6d'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/.75rem auto no-repeat;transform:translateY(-50%)}.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear:hover,.select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear:hover{background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/.75rem auto no-repeat}.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear>span,.select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear>span{display:none}.select2-container--bootstrap-5+.select2-container--bootstrap-5{z-index:1056}.select2-container--bootstrap-5 .select2-dropdown{z-index:1056;overflow:hidden;color:#212529;background-color:#fff;border-color:#86b7fe;border-radius:.25rem}.select2-container--bootstrap-5 .select2-dropdown.select2-dropdown--below{border-top:0 solid transparent;border-top-left-radius:0;border-top-right-radius:0}.select2-container--bootstrap-5 .select2-dropdown.select2-dropdown--above{border-bottom:0 solid transparent;border-bottom-right-radius:0;border-bottom-left-radius:0}.select2-container--bootstrap-5 .select2-dropdown .select2-search{padding:.375rem .75rem}.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field{display:block;width:100%;padding:.375rem .75rem;font-family:inherit;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion:reduce){.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field{transition:none}}.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus{border-color:#86b7fe;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)}.select2-container--bootstrap-5 .select2-dropdown .select2-results__options:not(.select2-results__options--nested){max-height:15rem;overflow-y:auto}.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option{padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5}.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__message{color:#6c757d}.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--highlighted{color:#000;background-color:#e9ecef}.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected,.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted){color:#fff;background-color:#0d6efd}.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--disabled,.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-disabled=true]{color:#6c757d}.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[role=group]{padding:0}.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[role=group] .select2-results__group{padding:.375rem;font-weight:500;line-height:1.5;color:#6c757d}.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[role=group] .select2-results__options--nested .select2-results__option{padding:.375rem .75rem}.select2-container--bootstrap-5 .select2-selection--single{padding:.375rem 2.25rem .375rem .75rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered{padding:0;font-weight:400;line-height:1.5;color:#212529}.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered .select2-selection__placeholder{font-weight:400;line-height:1.5;color:#6c757d}.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered .select2-selection__arrow{display:none}.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered{display:flex;flex-direction:row;flex-wrap:wrap;padding-left:0;margin:0;list-style:none}.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice{display:flex;flex-direction:row;align-items:center;padding:.35em .65em;margin-right:.375rem;margin-bottom:.375rem;font-size:1rem;color:#212529;cursor:auto;border:1px solid #ced4da;border-radius:.25rem}.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove{width:.75rem;height:.75rem;padding:.25em;margin-right:.25rem;overflow:hidden;text-indent:100%;white-space:nowrap;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23676a6d'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/.75rem auto no-repeat;border:0}.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove:hover{background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/.75rem auto no-repeat}.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove>span{display:none}.select2-container--bootstrap-5 .select2-selection--multiple .select2-search{display:block;width:100%;height:1.5rem}.select2-container--bootstrap-5 .select2-selection--multiple .select2-search .select2-search__field{width:100%;height:1.5rem;margin-top:0;margin-left:0;font-family:inherit;line-height:1.5;background-color:transparent}.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear{right:.75rem}.select2-container--bootstrap-5.select2-container--disabled .select2-selection,.select2-container--bootstrap-5.select2-container--disabled.select2-container--focus .select2-selection{color:#6c757d;cursor:not-allowed;background-color:#e9ecef;border-color:#ced4da;box-shadow:none}.select2-container--bootstrap-5.select2-container--disabled .select2-selection--multiple .select2-selection__clear,.select2-container--bootstrap-5.select2-container--disabled.select2-container--focus .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--bootstrap-5.select2-container--disabled .select2-selection--multiple .select2-selection__choice,.select2-container--bootstrap-5.select2-container--disabled.select2-container--focus .select2-selection--multiple .select2-selection__choice{cursor:not-allowed}.select2-container--bootstrap-5.select2-container--disabled .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove,.select2-container--bootstrap-5.select2-container--disabled.select2-container--focus .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove{display:none}.select2-container--bootstrap-5.select2-container--disabled .select2-selection--multiple .select2-selection__rendered:not(:empty),.select2-container--bootstrap-5.select2-container--disabled.select2-container--focus .select2-selection--multiple .select2-selection__rendered:not(:empty){padding-bottom:0}.select2-container--bootstrap-5.select2-container--disabled .select2-selection--multiple .select2-selection__rendered:not(:empty)+.select2-search,.select2-container--bootstrap-5.select2-container--disabled.select2-container--focus .select2-selection--multiple .select2-selection__rendered:not(:empty)+.select2-search{display:none}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu).select2-container--bootstrap-5 .select2-selection,.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu).select2-container--bootstrap-5 .select2-selection{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>.btn~.select2-container--bootstrap-5 .select2-selection,.input-group>.dropdown-menu~.select2-container--bootstrap-5 .select2-selection,.input-group>.input-group-text~.select2-container--bootstrap-5 .select2-selection{border-top-left-radius:0;border-bottom-left-radius:0}.input-group .select2-container--bootstrap-5{flex-grow:1}.input-group .select2-container--bootstrap-5 .select2-selection{height:100%}.is-valid+.select2-container--bootstrap-5 .select2-selection,.was-validated select:valid+.select2-container--bootstrap-5 .select2-selection{border-color:#198754}.is-valid+.select2-container--bootstrap-5.select2-container--focus .select2-selection,.is-valid+.select2-container--bootstrap-5.select2-container--open .select2-selection,.was-validated select:valid+.select2-container--bootstrap-5.select2-container--focus .select2-selection,.was-validated select:valid+.select2-container--bootstrap-5.select2-container--open .select2-selection{border-color:#198754;box-shadow:0 0 0 .25rem rgba(25,135,84,.25)}.is-valid+.select2-container--bootstrap-5.select2-container--open.select2-container--below .select2-selection,.was-validated select:valid+.select2-container--bootstrap-5.select2-container--open.select2-container--below .select2-selection{border-bottom:0 solid transparent}.is-valid+.select2-container--bootstrap-5.select2-container--open.select2-container--above .select2-selection,.was-validated select:valid+.select2-container--bootstrap-5.select2-container--open.select2-container--above .select2-selection{border-top:0 solid transparent;border-top-left-radius:0;border-top-right-radius:0}.is-invalid+.select2-container--bootstrap-5 .select2-selection,.was-validated select:invalid+.select2-container--bootstrap-5 .select2-selection{border-color:#dc3545}.is-invalid+.select2-container--bootstrap-5.select2-container--focus .select2-selection,.is-invalid+.select2-container--bootstrap-5.select2-container--open .select2-selection,.was-validated select:invalid+.select2-container--bootstrap-5.select2-container--focus .select2-selection,.was-validated select:invalid+.select2-container--bootstrap-5.select2-container--open .select2-selection{border-color:#dc3545;box-shadow:0 0 0 .25rem rgba(220,53,69,.25)}.is-invalid+.select2-container--bootstrap-5.select2-container--open.select2-container--below .select2-selection,.was-validated select:invalid+.select2-container--bootstrap-5.select2-container--open.select2-container--below .select2-selection{border-bottom:0 solid transparent}.is-invalid+.select2-container--bootstrap-5.select2-container--open.select2-container--above .select2-selection,.was-validated select:invalid+.select2-container--bootstrap-5.select2-container--open.select2-container--above .select2-selection{border-top:0 solid transparent;border-top-left-radius:0;border-top-right-radius:0}.select2-container--bootstrap-5 .select2--small.select2-selection{min-height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.select2-container--bootstrap-5 .select2--small.select2-selection--multiple .select2-selection__clear,.select2-container--bootstrap-5 .select2--small.select2-selection--single .select2-selection__clear{width:.5rem;height:.5rem;padding:.125rem;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23676a6d'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/.5rem auto no-repeat}.select2-container--bootstrap-5 .select2--small.select2-selection--multiple .select2-selection__clear:hover,.select2-container--bootstrap-5 .select2--small.select2-selection--single .select2-selection__clear:hover{background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/.5rem auto no-repeat}.select2-container--bootstrap-5 .select2--small.select2-selection--multiple .select2-search,.select2-container--bootstrap-5 .select2--small.select2-selection--multiple .select2-search .select2-search__field,.select2-container--bootstrap-5 .select2--small.select2-selection--single .select2-search,.select2-container--bootstrap-5 .select2--small.select2-selection--single .select2-search .select2-search__field{height:1.5em}.select2-container--bootstrap-5 .select2--small.select2-dropdown{border-radius:.2rem}.select2-container--bootstrap-5 .select2--small.select2-dropdown.select2-dropdown--below{border-top-left-radius:0;border-top-right-radius:0}.select2-container--bootstrap-5 .select2--small.select2-dropdown.select2-dropdown--above{border-bottom-right-radius:0;border-bottom-left-radius:0}.select2-container--bootstrap-5 .select2--small.select2-dropdown .select2-results__options .select2-results__option,.select2-container--bootstrap-5 .select2--small.select2-dropdown .select2-search .select2-search__field{padding:.25rem .5rem;font-size:.875rem}.select2-container--bootstrap-5 .select2--small.select2-dropdown .select2-results__options .select2-results__option[role=group] .select2-results__group{padding:.25rem}.select2-container--bootstrap-5 .select2--small.select2-dropdown .select2-results__options .select2-results__option[role=group] .select2-results__options--nested .select2-results__option{padding:.25rem .5rem}.select2-container--bootstrap-5 .select2--small.select2-selection--single{padding:.25rem 2.25rem .25rem .5rem}.select2-container--bootstrap-5 .select2--small.select2-selection--multiple .select2-selection__rendered .select2-selection__choice{padding:.35em .65em;font-size:.875rem}.select2-container--bootstrap-5 .select2--small.select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove{width:.5rem;height:.5rem;padding:.125rem;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23676a6d'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/.5rem auto no-repeat}.select2-container--bootstrap-5 .select2--small.select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove:hover{background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/.5rem auto no-repeat}.select2-container--bootstrap-5 .select2--small.select2-selection--multiple .select2-selection__clear{right:.5rem}.select2-container--bootstrap-5 .select2--large.select2-selection{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.select2-container--bootstrap-5 .select2--large.select2-selection--multiple .select2-selection__clear,.select2-container--bootstrap-5 .select2--large.select2-selection--single .select2-selection__clear{width:1rem;height:1rem;padding:.5rem;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23676a6d'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/1rem auto no-repeat}.select2-container--bootstrap-5 .select2--large.select2-selection--multiple .select2-selection__clear:hover,.select2-container--bootstrap-5 .select2--large.select2-selection--single .select2-selection__clear:hover{background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/1rem auto no-repeat}.select2-container--bootstrap-5 .select2--large.select2-selection--multiple .select2-search,.select2-container--bootstrap-5 .select2--large.select2-selection--multiple .select2-search .select2-search__field,.select2-container--bootstrap-5 .select2--large.select2-selection--single .select2-search,.select2-container--bootstrap-5 .select2--large.select2-selection--single .select2-search .select2-search__field{height:1.5em}.select2-container--bootstrap-5 .select2--large.select2-dropdown{border-radius:.3rem}.select2-container--bootstrap-5 .select2--large.select2-dropdown.select2-dropdown--below{border-top-left-radius:0;border-top-right-radius:0}.select2-container--bootstrap-5 .select2--large.select2-dropdown.select2-dropdown--above{border-bottom-right-radius:0;border-bottom-left-radius:0}.select2-container--bootstrap-5 .select2--large.select2-dropdown .select2-results__options .select2-results__option,.select2-container--bootstrap-5 .select2--large.select2-dropdown .select2-search .select2-search__field{padding:.5rem 1rem;font-size:1.25rem}.select2-container--bootstrap-5 .select2--large.select2-dropdown .select2-results__options .select2-results__option[role=group] .select2-results__group{padding:.5rem}.select2-container--bootstrap-5 .select2--large.select2-dropdown .select2-results__options .select2-results__option[role=group] .select2-results__options--nested .select2-results__option{padding:.5rem 1rem}.select2-container--bootstrap-5 .select2--large.select2-selection--single{padding:.5rem 2.25rem .5rem 1rem}.select2-container--bootstrap-5 .select2--large.select2-selection--multiple .select2-selection__rendered .select2-selection__choice{padding:.35em .65em;font-size:1.25rem}.select2-container--bootstrap-5 .select2--large.select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove{width:1rem;height:1rem;padding:.5rem;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23676a6d'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/1rem auto no-repeat}.select2-container--bootstrap-5 .select2--large.select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove:hover{background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/1rem auto no-repeat}.select2-container--bootstrap-5 .select2--large.select2-selection--multiple .select2-selection__clear{right:1rem}.form-select-sm~.select2-container--bootstrap-5 .select2-selection{min-height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.2rem}.form-select-sm~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear,.form-select-sm~.select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear{width:.5rem;height:.5rem;padding:.125rem;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23676a6d'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/.5rem auto no-repeat}.form-select-sm~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear:hover,.form-select-sm~.select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear:hover{background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/.5rem auto no-repeat}.form-select-sm~.select2-container--bootstrap-5 .select2-selection--multiple .select2-search,.form-select-sm~.select2-container--bootstrap-5 .select2-selection--multiple .select2-search .select2-search__field,.form-select-sm~.select2-container--bootstrap-5 .select2-selection--single .select2-search,.form-select-sm~.select2-container--bootstrap-5 .select2-selection--single .select2-search .select2-search__field{height:1.5em}.form-select-sm~.select2-container--bootstrap-5 .select2-dropdown{border-radius:.2rem}.form-select-sm~.select2-container--bootstrap-5 .select2-dropdown.select2-dropdown--below{border-top-left-radius:0;border-top-right-radius:0}.form-select-sm~.select2-container--bootstrap-5 .select2-dropdown.select2-dropdown--above{border-bottom-right-radius:0;border-bottom-left-radius:0}.form-select-sm~.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option,.form-select-sm~.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field{padding:.25rem .5rem;font-size:.875rem}.form-select-sm~.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[role=group] .select2-results__group{padding:.25rem}.form-select-sm~.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[role=group] .select2-results__options--nested .select2-results__option{padding:.25rem .5rem}.form-select-sm~.select2-container--bootstrap-5 .select2-selection--single{padding:.25rem 2.25rem .25rem .5rem}.form-select-sm~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice{padding:.35em .65em;font-size:.875rem}.form-select-sm~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove{width:.5rem;height:.5rem;padding:.125rem;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23676a6d'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/.5rem auto no-repeat}.form-select-sm~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove:hover{background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/.5rem auto no-repeat}.form-select-sm~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear{right:.5rem}.form-select-lg~.select2-container--bootstrap-5 .select2-selection{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;border-radius:.3rem}.form-select-lg~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear,.form-select-lg~.select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear{width:1rem;height:1rem;padding:.5rem;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23676a6d'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/1rem auto no-repeat}.form-select-lg~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear:hover,.form-select-lg~.select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear:hover{background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/1rem auto no-repeat}.form-select-lg~.select2-container--bootstrap-5 .select2-selection--multiple .select2-search,.form-select-lg~.select2-container--bootstrap-5 .select2-selection--multiple .select2-search .select2-search__field,.form-select-lg~.select2-container--bootstrap-5 .select2-selection--single .select2-search,.form-select-lg~.select2-container--bootstrap-5 .select2-selection--single .select2-search .select2-search__field{height:1.5em}.form-select-lg~.select2-container--bootstrap-5 .select2-dropdown{border-radius:.3rem}.form-select-lg~.select2-container--bootstrap-5 .select2-dropdown.select2-dropdown--below{border-top-left-radius:0;border-top-right-radius:0}.form-select-lg~.select2-container--bootstrap-5 .select2-dropdown.select2-dropdown--above{border-bottom-right-radius:0;border-bottom-left-radius:0}.form-select-lg~.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option,.form-select-lg~.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field{padding:.5rem 1rem;font-size:1.25rem}.form-select-lg~.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[role=group] .select2-results__group{padding:.5rem}.form-select-lg~.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[role=group] .select2-results__options--nested .select2-results__option{padding:.5rem 1rem}.form-select-lg~.select2-container--bootstrap-5 .select2-selection--single{padding:.5rem 2.25rem .5rem 1rem}.form-select-lg~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice{padding:.35em .65em;font-size:1.25rem}.form-select-lg~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove{width:1rem;height:1rem;padding:.5rem;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23676a6d'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/1rem auto no-repeat}.form-select-lg~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove:hover{background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") 50%/1rem auto no-repeat}.form-select-lg~.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear{right:1rem}#kanva_map_viewport {
  position: relative;
  overflow: hidden;
  height: 100%;
  background: #111;
  border: 1px solid #444;
  border-radius: 4px;
}
#kanva_map_viewport #kanva_map_container {
  height: 100%;
}

.dm-screen-preview {
  --game-screen-preview-width: 1920;
  --game-screen-preview-height: 1080;
  --game-screen-preview-scale: 1;
  --floating-window-safe-top: env(safe-area-inset-top, 0px);
  --floating-window-safe-right: env(safe-area-inset-right, 0px);
  --floating-window-safe-bottom: env(safe-area-inset-bottom, 0px);
  --floating-window-safe-left: env(safe-area-inset-left, 0px);
  position: fixed;
  left: 8px;
  transform-origin: top left;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 1040;
  width: 320px;
  height: 224px;
  max-width: 100vw;
  max-height: 100vh;
  color: #e6edf3;
}
.dm-screen-preview .dm-screen-preview__window {
  height: 100%;
  overflow: hidden;
  border-radius: 0.375rem;
  background: #161b22;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(230, 237, 243, 0.14);
}
.dm-screen-preview .dm-screen-preview__window .dm-screen-preview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: 44px;
  padding: 0 0.5rem;
  border-bottom: 1px solid rgba(230, 237, 243, 0.12);
  background: #21262d;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.dm-screen-preview .dm-screen-preview__window .dm-screen-preview__header .dm-screen-preview__title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 600;
}
.dm-screen-preview .dm-screen-preview__window .dm-screen-preview__header .dm-screen-preview__title .dm-screen-preview__title-text {
  min-width: 0;
}
.dm-screen-preview .dm-screen-preview__window .dm-screen-preview__header .dm-screen-preview__title .dm-screen-preview__status {
  flex-shrink: 0;
  padding: 0.1rem 0.4rem;
  border: 1px solid rgba(230, 237, 243, 0.16);
  border-radius: 999px;
  color: #8b949e;
  font-size: 0.68rem;
  line-height: 1.2;
  text-transform: uppercase;
}
.dm-screen-preview .dm-screen-preview__window .dm-screen-preview__header .dm-screen-preview__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.dm-screen-preview .dm-screen-preview__window .dm-screen-preview__header .dm-screen-preview__actions .dm-screen-preview__action {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  color: #e6edf3;
}
.dm-screen-preview .dm-screen-preview__window .dm-screen-preview__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: calc(100% - 44px);
  background: #343a40;
}
.dm-screen-preview .dm-screen-preview__window .dm-screen-preview__viewport .dm-screen-preview__frame {
  position: absolute;
  inset: 0;
}
.dm-screen-preview .dm-screen-preview__window .dm-screen-preview__viewport .dm-screen-preview__frame .dm-screen-preview__iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--game-screen-preview-width) * 1px);
  height: calc(var(--game-screen-preview-height) * 1px);
  border: 0;
  max-width: none;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(var(--game-screen-preview-scale));
  transform-origin: center;
}
.dm-screen-preview .dm-screen-preview__window .dm-screen-preview__viewport .dm-screen-preview__loading {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: #8b949e;
}
.dm-screen-preview .dm-screen-preview__window .dm-screen-preview__viewport .dm-screen-preview__offline {
  display: grid;
  height: 100%;
  padding: 0.75rem;
  place-items: center;
  overflow: auto;
}
.dm-screen-preview.is-loading .dm-screen-preview__window .dm-screen-preview__viewport .dm-screen-preview__loading {
  display: grid;
}
.dm-screen-preview.is-minimized {
  z-index: 1050;
}
.dm-screen-preview.is-minimized .dm-screen-preview__window {
  border-radius: 0;
}
.dm-screen-preview.is-minimized .dm-screen-preview__window .dm-screen-preview__header {
  cursor: default;
}
.dm-screen-preview.is-minimized .dm-screen-preview__window .dm-screen-preview__header .dm-screen-preview__actions .dm-screen-preview__open,
.dm-screen-preview.is-minimized .dm-screen-preview__window .dm-screen-preview__header .dm-screen-preview__actions [data-floating-window-target=button] {
  display: none;
}
.dm-screen-preview.is-minimized .dm-screen-preview__window .dm-screen-preview__viewport {
  display: none;
}
.dm-screen-preview.is-dragging .dm-screen-preview__window .dm-screen-preview__header {
  cursor: grabbing;
}
.dm-screen-preview.is-maximized {
  z-index: 1051;
}
.dm-screen-preview.is-maximized .dm-screen-preview__window {
  border-radius: 0;
}
.dm-screen-preview.is-maximized .dm-screen-preview__window .dm-screen-preview__header {
  cursor: default;
}
.dm-screen-preview.is-live .dm-screen-preview__window .dm-screen-preview__header .dm-screen-preview__title .dm-screen-preview__status {
  border-color: rgba(35, 134, 54, 0.45);
  color: rgb(19.9385079476%, 76.3360018564%, 30.7622694048%);
}
.dm-screen-preview.is-offline .dm-screen-preview__window .dm-screen-preview__header .dm-screen-preview__title .dm-screen-preview__status {
  border-color: rgba(248, 81, 73, 0.45);
  color: rgb(98.3660130719%, 59.3837535014%, 57.5163398693%);
}

.dm-screen-section {
  min-width: 0;
}

.dm-screen-top-row {
  margin-bottom: 1rem;
}

#round_actions_panel {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .dm-screen-fixed-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 320px !important;
    max-height: 326px;
    min-height: 326px;
  }
  .dm-screen-fixed-card > .card-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
  }
}
.dm-screen-readiness-checklist {
  display: grid;
  gap: 1rem;
}

.dm-screen-readiness-check {
  align-items: center;
  display: flex;
  gap: 0.625rem;
  font-weight: 600;
  line-height: 1.2;
}
.dm-screen-readiness-check i {
  font-size: 1.05rem;
  width: 1.25rem;
}

.dm-screen-readiness-alert {
  font-size: 0.875rem;
}

.dm-screen-reveals-tile {
  display: flex;
  gap: 1rem;
  height: 100%;
  min-height: 0;
}

.dm-screen-reveals-primary,
.dm-screen-reveals-recent {
  flex: 1 1 0;
  min-width: 0;
}

.dm-screen-reveals-primary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
}

.dm-screen-reveals-upload,
.dm-screen-active-reveal {
  flex: 1 1 0;
  min-height: 0;
}

.dm-screen-reveals-upload {
  display: flex;
  flex-direction: column;
}
.dm-screen-reveals-upload > .card {
  flex: 1 1 auto;
  height: 100%;
  width: 100%;
}

.dm-screen-active-reveal {
  align-items: center;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
}

.dm-screen-active-reveal-media {
  align-items: center;
  background-color: var(--bs-dark);
  color: var(--bs-light);
  display: flex;
  flex: 1 1 auto;
  font-size: 1.75rem;
  justify-content: center;
  min-height: 0;
  width: 100%;
}
.dm-screen-active-reveal-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.dm-screen-active-reveal-footer {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  width: 100%;
}

.dm-screen-reveals-recent {
  min-height: 0;
  overflow-y: auto;
}

.dm-screen-reveal-thumb {
  align-items: center;
  background-color: var(--bs-dark);
  border-radius: var(--bs-border-radius);
  color: var(--bs-light);
  display: flex;
  flex: 0 0 auto;
  height: 2rem;
  justify-content: center;
  overflow: hidden;
  width: 2rem;
}
.dm-screen-reveal-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 575.98px) {
  .dm-screen-reveals-tile {
    flex-direction: column;
  }
}
.dm_screen_container .list-group-item {
  background-color: #161b22;
  border-color: #30363d;
  color: #e6edf3;
}
.dm_screen_container .list-group-item-secondary {
  background-color: rgb(8.768627451%, 10.7764705882%, 13.8039215686%);
  color: #e6edf3;
}
.dm_screen_container .list-group-item-warning {
  background-color: rgb(21.8980392157%, 19.4823529412%, 13.3333333333%);
  color: #e6edf3;
}
.dm_screen_container .list-group-item-light {
  background-color: #21262d;
  color: #8b949e;
}
.dm_screen_container .btn-light {
  background-color: #21262d;
  border-color: #30363d;
  color: #e6edf3;
}
.dm_screen_container .btn-light:hover {
  background-color: rgb(18.0180995475%, 20.7481146305%, 24.5701357466%);
  border-color: rgb(24.1079330815%, 27.1214247167%, 30.6371649577%);
  color: #e6edf3;
}

body:has(.game-screen) {
  overflow: hidden;
  background-color: #000;
  background-image: none;
  overscroll-behavior: none;
}
body:has(.game-screen) .navigation-layout__main > .container {
  display: contents;
}
body:has(.game-screen) .navigation-layout__main > .container > turbo-frame {
  display: contents;
}

.game-screen__frame {
  display: contents;
}

.game-screen {
  --game-screen-character-list-size: 20%;
  position: fixed;
  z-index: 0;
  inset: 0;
  isolation: isolate;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
@supports (width: 100dvw) {
  .game-screen {
    width: 100dvw;
    height: 100dvh;
  }
}
.game-screen .game-screen__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  transition: inset 0.5s ease-in-out, width 0.5s ease-in-out, height 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.game-screen .game-screen__content.game-screen__content--placement-right {
  top: 0;
  right: auto;
  bottom: auto;
  left: 100vw;
  width: 100vh;
  height: 100vw;
  transform: rotate(90deg);
  transform-origin: top left;
}
@supports (width: 100dvw) {
  .game-screen .game-screen__content.game-screen__content--placement-right {
    left: 100dvw;
    width: 100dvh;
    height: 100dvw;
  }
}
.game-screen .game-screen__content.game-screen__content--placement-bottom {
  transform: rotate(180deg);
  transform-origin: center;
}
.game-screen .game-screen__content.game-screen__content--placement-left {
  top: 0;
  right: auto;
  bottom: auto;
  left: -100vh;
  width: 100vh;
  height: 100vw;
  transform: rotate(270deg);
  transform-origin: top right;
}
@supports (width: 100dvw) {
  .game-screen .game-screen__content.game-screen__content--placement-left {
    left: -100dvh;
    width: 100dvh;
    height: 100dvw;
  }
}
.game-screen.game-screen--no-transitions, .game-screen.game-screen--no-transitions * {
  transition: none !important;
}

.game-screen--game {
  --game-screen-character-list-size: 20%;
}

.game-screen--player {
  --game-screen-character-list-size: 100%;
}

.game-screen--map {
  --game-screen-character-list-size: 0%;
}

@media (max-width: 1199.98px) {
  .game-screen--game .game-screen__content--placement-top,
  .game-screen--game .game-screen__content--placement-bottom,
  .game-screen--custom .game-screen__content--placement-top,
  .game-screen--custom .game-screen__content--placement-bottom {
    --game-screen-character-list-size: clamp(7rem, 28dvh, 13rem);
  }
  .game-screen--game .game-screen__content--placement-right,
  .game-screen--game .game-screen__content--placement-left,
  .game-screen--custom .game-screen__content--placement-right,
  .game-screen--custom .game-screen__content--placement-left {
    --game-screen-character-list-size: clamp(7rem, 28dvw, 13rem);
  }
}
@media (max-width: 575.98px), (max-height: 575.98px) {
  .game-screen--game .game-screen__content--placement-top,
  .game-screen--game .game-screen__content--placement-bottom,
  .game-screen--custom .game-screen__content--placement-top,
  .game-screen--custom .game-screen__content--placement-bottom {
    --game-screen-character-list-size: clamp(6rem, 30dvh, 11rem);
  }
  .game-screen--game .game-screen__content--placement-right,
  .game-screen--game .game-screen__content--placement-left,
  .game-screen--custom .game-screen__content--placement-right,
  .game-screen--custom .game-screen__content--placement-left {
    --game-screen-character-list-size: clamp(6rem, 30dvw, 11rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .game-screen,
  .game-screen * {
    transition: none !important;
  }
}
.game-screen-character-list {
  position: relative;
  z-index: 1;
  flex: 1 1 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  container-type: size;
  transition: flex-basis 0.5s ease-in-out, height 0.5s ease-in-out;
}
.game-screen-character-list .game-screen-character-list__cards {
  display: flex;
  align-items: stretch;
  justify-content: safe center;
  width: 100%;
  height: 100%;
  max-height: 100%;
  box-sizing: border-box;
  gap: clamp(0.25rem, 0.75cqh, 0.75rem);
  padding-block: clamp(0.2rem, 0.5cqh, 0.5rem);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 0.5rem;
  scrollbar-width: none;
  touch-action: pan-x;
  transition: transform 0.5s ease-in-out;
}
.game-screen-character-list .game-screen-character-list__cards::-webkit-scrollbar {
  display: none;
}
.game-screen-character-list .game-screen-character-list__cards .character_wrapper {
  min-width: 0;
  max-height: 100%;
}

.game-screen__content--character-rotation-ninety .game-screen-character-list .game-screen-character-list__cards .character_wrapper {
  aspect-ratio: 3/2;
  transform: rotate(90deg);
  transform-origin: center;
}

.game-screen__content--character-rotation-one-eighty .game-screen-character-list .game-screen-character-list__cards {
  transform: rotate(180deg);
  transform-origin: center;
}

.game-screen__content--character-rotation-two-seventy .game-screen-character-list .game-screen-character-list__cards {
  transform: rotate(270deg);
  transform-origin: center;
}

.game-screen__content--in-combat .game-screen-character-list .game-screen-character-list__cards {
  justify-content: safe center;
}
.game-screen__content--in-combat .game-screen-character-list .game-screen-character-list__cards .character_wrapper {
  flex: 0 0 auto;
  aspect-ratio: 2/3;
}
.game-screen__content--in-combat .game-screen-character-list .game-screen-character-list__cards .character_wrapper .character.card {
  height: 75%;
}
.game-screen__content--in-combat .game-screen-character-list .game-screen-character-list__cards .character_wrapper .character.card .avatar {
  filter: grayscale(100%);
}
.game-screen__content--in-combat .game-screen-character-list .game-screen-character-list__cards .character_wrapper .character.card .character_initiative {
  display: flex;
}
.game-screen__content--in-combat .game-screen-character-list .game-screen-character-list__cards .character_wrapper.active_turn {
  aspect-ratio: 4/3;
}
.game-screen__content--in-combat .game-screen-character-list .game-screen-character-list__cards .character_wrapper.active_turn .character_info_spacer {
  flex: 1;
  max-width: 40%;
}
.game-screen__content--in-combat .game-screen-character-list .game-screen-character-list__cards .character_wrapper.active_turn .character.card {
  height: 100%;
}
.game-screen__content--in-combat .game-screen-character-list .game-screen-character-list__cards .character_wrapper.active_turn .character.card .avatar {
  filter: none;
}
.game-screen__content--in-combat .game-screen-character-list .game-screen-character-list__cards .character_wrapper.active_turn .character.card .character_info {
  width: 100%;
}
.game-screen__content--in-combat .game-screen-character-list .game-screen-character-list__cards .character_wrapper.active_turn .character.card .character_info .character_info_inner {
  flex-wrap: nowrap;
  overflow-y: hidden;
}
.game-screen__content--in-combat .game-screen-character-list .game-screen-character-list__cards .character_wrapper.active_turn .character.card .character_info .character_info_inner .status-badge {
  gap: 2cqh;
}
.game-screen__content--in-combat .game-screen-character-list .game-screen-character-list__cards .character_wrapper.active_turn .character.card .character_info .character_info_inner .status-badge > span {
  width: auto;
}

.game-screen--game .game-screen__content--split-view .game-screen-character-list,
.game-screen--custom .game-screen__content--split-view .game-screen-character-list {
  flex: 0 0 var(--game-screen-character-list-size);
  height: var(--game-screen-character-list-size);
}

.game-screen--has-character-list:not(.game-screen--has-game-view) .game-screen-character-list {
  flex: 1 1 100%;
  height: 100%;
}
.game-screen--has-character-list:not(.game-screen--has-game-view) .game-screen-character-list .game-screen-character-list__cards {
  padding: max(0.5rem, env(safe-area-inset-top, 0px)) max(0.5rem, env(safe-area-inset-right, 0px)) max(0.5rem, env(safe-area-inset-bottom, 0px)) max(0.5rem, env(safe-area-inset-left, 0px));
}
@media (max-width: 1199.98px) {
  .game-screen--has-character-list:not(.game-screen--has-game-view) .game-screen-character-list .game-screen-character-list__cards .character_wrapper {
    flex-basis: min(40rem, 100% - 3rem, 66cqh - 0.5rem);
    height: auto;
    align-self: center;
  }
  .game-screen--has-character-list:not(.game-screen--has-game-view) .game-screen-character-list .game-screen-character-list__cards .character_wrapper.active_turn {
    flex-basis: min(48rem, 100% - 3rem, 133cqh - 0.75rem);
  }
  .game-screen--has-character-list:not(.game-screen--has-game-view) .game-screen-character-list .game-screen-character-list__cards .character_wrapper.hidden_character {
    flex-basis: 0;
    height: 0;
  }
}
@media (min-width: 1200px) {
  .game-screen--has-character-list:not(.game-screen--has-game-view) .game-screen-character-list .game-screen-character-list__cards .character_wrapper.active_turn {
    flex-basis: min(100% - 3rem, 133cqh - 0.75rem);
    height: auto;
    align-self: center;
  }
}

@media (max-width: 1199.98px) {
  .game-screen-character-list .game-screen-character-list__cards {
    justify-content: safe center;
    scroll-snap-type: x proximity;
  }
  .game-screen-character-list .game-screen-character-list__cards .character_wrapper {
    flex: 0 0 auto;
    height: 100%;
    aspect-ratio: 2/3;
    scroll-snap-align: center;
    scroll-snap-stop: normal;
  }
}
@media (max-width: 575.98px), (max-height: 575.98px) {
  .game-screen-character-list .game-screen-character-list__cards {
    gap: 0.25rem;
    padding-block: 0.25rem;
    scroll-padding-inline: 0.25rem;
  }
  .game-screen--has-character-list:not(.game-screen--has-game-view) .game-screen-character-list .game-screen-character-list__cards {
    padding: max(0.25rem, env(safe-area-inset-top, 0px)) max(0.25rem, env(safe-area-inset-right, 0px)) max(0.25rem, env(safe-area-inset-bottom, 0px)) max(0.25rem, env(safe-area-inset-left, 0px));
  }
}
.game-screen-game-map {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #000;
  container-type: size;
  transition: flex-basis 0.5s ease-in-out, height 0.5s ease-in-out, max-height 0.5s ease-in-out;
}
.game-screen-game-map > iframe,
.game-screen-game-map > .game-screen-game-map__map-frame {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 1;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.game-screen-game-map > iframe {
  border: 0;
  background: #000;
}
.game-screen-game-map .game-screen-game-map__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}
.game-screen-game-map .game-screen-game-map__placeholder > p {
  margin: 0;
  font-size: clamp(1rem, 2.5cqh, 1.5rem);
}
.game-screen-game-map .game-screen-game-map__map-frame {
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-screen-game-map .game-screen-game-map__map-frame .game-screen-game-map__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background-color: #000;
  background-image: url("/vite/assets/fog_of_war-3NNDqMGP.png");
  background-repeat: repeat;
}
.game-screen-game-map .game-screen-game-map__map-frame .game-screen-game-map__viewport .game-screen-game-map__map {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}
.game-screen-game-map.game-screen-game-map--hidden .game-screen-game-map__hidden-message {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(90%, 32rem);
  color: #fff;
  font-size: clamp(1rem, 3cqh, 2rem);
  text-align: center;
  transform: translate(-50%, -50%);
}
.game-screen-game-map.game-screen-game-map--hidden > iframe,
.game-screen-game-map.game-screen-game-map--hidden > .game-screen-game-map__map-frame,
.game-screen-game-map.game-screen-game-map--hidden > .game-screen-game-map__placeholder {
  opacity: 0;
  pointer-events: none;
}
.game-screen-game-map.game-screen-game-map--rotation-ninety > iframe,
.game-screen-game-map.game-screen-game-map--rotation-ninety > .game-screen-game-map__map-frame {
  position: absolute;
  top: 0;
  left: 100cqw;
  width: 100cqh;
  height: 100cqw;
  transform: rotate(90deg);
  transform-origin: top left;
}
.game-screen-game-map.game-screen-game-map--rotation-one-eighty > iframe,
.game-screen-game-map.game-screen-game-map--rotation-one-eighty > .game-screen-game-map__map-frame {
  transform: rotate(180deg);
  transform-origin: center;
}
.game-screen-game-map.game-screen-game-map--rotation-two-seventy > iframe,
.game-screen-game-map.game-screen-game-map--rotation-two-seventy > .game-screen-game-map__map-frame {
  position: absolute;
  top: 0;
  left: -100cqh;
  width: 100cqh;
  height: 100cqw;
  transform: rotate(-90deg);
  transform-origin: top right;
}

.game-screen--game .game-screen__content--split-view .game-screen-game-map,
.game-screen--custom .game-screen__content--split-view .game-screen-game-map {
  flex: 1 1 auto;
  height: auto;
  max-height: calc(100% - var(--game-screen-character-list-size));
}

.game-screen--map .game-screen-game-map {
  flex: 1 1 100%;
  height: 100%;
  max-height: none;
}

@media (max-width: 575.98px), (max-height: 575.98px) {
  .game-screen-game-map .game-screen-game-map__placeholder {
    padding: 0.5rem;
  }
}
.overlayable {
  --overlayable-safe-top: max(clamp(0.5rem, 1vh, 1rem), env(safe-area-inset-top, 0px));
  --overlayable-safe-right: max(clamp(0.5rem, 1vw, 1rem), env(safe-area-inset-right, 0px));
  --overlayable-safe-bottom: max(clamp(0.5rem, 2vh, 1.5rem), env(safe-area-inset-bottom, 0px));
  --overlayable-safe-left: max(clamp(0.5rem, 1vw, 1rem), env(safe-area-inset-left, 0px));
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
  container-type: size;
  transition: inset 0.5s ease-in-out, width 0.5s ease-in-out, height 0.5s ease-in-out, transform 0.5s ease-in-out;
}
@supports (height: 100dvh) {
  .overlayable {
    --overlayable-safe-top: max(clamp(0.5rem, 1dvh, 1rem), env(safe-area-inset-top, 0px));
    --overlayable-safe-right: max(clamp(0.5rem, 1dvw, 1rem), env(safe-area-inset-right, 0px));
    --overlayable-safe-bottom: max(clamp(0.5rem, 2dvh, 1.5rem), env(safe-area-inset-bottom, 0px));
    --overlayable-safe-left: max(clamp(0.5rem, 1dvw, 1rem), env(safe-area-inset-left, 0px));
  }
}
.overlayable.overlayable--rotation-ninety {
  top: 0;
  right: auto;
  bottom: auto;
  left: 100vw;
  width: 100vh;
  height: 100vw;
  transform: rotate(90deg);
  transform-origin: top left;
}
@supports (width: 100dvw) {
  .overlayable.overlayable--rotation-ninety {
    left: 100dvw;
    width: 100dvh;
    height: 100dvw;
  }
}
.overlayable.overlayable--rotation-one-eighty {
  transform: rotate(180deg);
  transform-origin: center;
}
.overlayable.overlayable--rotation-two-seventy {
  top: 0;
  right: auto;
  bottom: auto;
  left: -100vh;
  width: 100vh;
  height: 100vw;
  transform: rotate(270deg);
  transform-origin: top right;
}
@supports (width: 100dvw) {
  .overlayable.overlayable--rotation-two-seventy {
    left: -100dvh;
    width: 100dvh;
    height: 100dvw;
  }
}
.overlayable.overlayable--interactive > * {
  pointer-events: auto;
}

@media (max-width: 575.98px), (max-height: 575.98px) {
  .overlayable {
    --overlayable-safe-top: max(0.25rem, env(safe-area-inset-top, 0px));
    --overlayable-safe-right: max(0.25rem, env(safe-area-inset-right, 0px));
    --overlayable-safe-bottom: max(0.25rem, env(safe-area-inset-bottom, 0px));
    --overlayable-safe-left: max(0.25rem, env(safe-area-inset-left, 0px));
  }
}
.game-screen-dice-box-canvas {
  z-index: 1;
}
.game-screen-dice-box-canvas.game-screen-dice-box-canvas--page-overlay {
  position: fixed;
  z-index: 1055;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.game-screen-dice-box-canvas .game-screen-dice-box-canvas__canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  background: transparent !important;
}
.game-screen-dice-box-canvas .game-screen-dice-box-canvas__canvas .game-screen-dice-box-canvas__controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  z-index: 2;
}
.game-screen-dice-box-canvas .game-screen-dice-box-canvas__canvas .game-screen-dice-box-canvas__controls .btn {
  min-height: 2.75rem;
  pointer-events: auto;
}
.game-screen-dice-box-canvas .game-screen-dice-box-canvas__canvas .game-screen-dice-box-canvas__player-canvas {
  position: absolute;
  inset: 0;
  opacity: 1;
  transition: opacity 1s ease;
}
.game-screen-dice-box-canvas .game-screen-dice-box-canvas__canvas .game-screen-dice-box-canvas__player-canvas.game-screen-dice-box-canvas__player-canvas--fading {
  opacity: 0;
}
.game-screen-dice-box-canvas .game-screen-dice-box-canvas__canvas .game-screen-dice-box-canvas__player-canvas canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  background: transparent !important;
}
.game-screen-dice-box-canvas .game-screen-dice-box-canvas__canvas .game-screen-dice-box-canvas__player-canvas .game-screen-dice-box-canvas__outcome {
  align-items: center;
  animation: dice-roll-outcome 3.35s ease-in-out forwards;
  color: #fff;
  display: flex;
  flex-direction: column;
  font-weight: 800;
  gap: 0.15em;
  inset: 0;
  justify-content: center;
  line-height: 1;
  position: absolute;
  text-shadow: 0 0.05em 0.15em rgba(0, 0, 0, 0.8);
  z-index: 1;
}
.game-screen-dice-box-canvas .game-screen-dice-box-canvas__canvas .game-screen-dice-box-canvas__player-canvas .game-screen-dice-box-canvas__outcome .game-screen-dice-box-canvas__outcome-notation {
  font-size: clamp(1.25rem, 4vw, 3rem);
  font-weight: 600;
}
.game-screen-dice-box-canvas .game-screen-dice-box-canvas__canvas .game-screen-dice-box-canvas__player-canvas .game-screen-dice-box-canvas__outcome .game-screen-dice-box-canvas__outcome-result {
  font-size: clamp(5rem, 18vw, 14rem);
}

@keyframes dice-roll-outcome {
  0% {
    opacity: 1;
    transform: scale(0.45);
  }
  18% {
    opacity: 1;
    transform: scale(1);
  }
  78% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}
@media (prefers-reduced-motion: reduce) {
  .game-screen-dice-box-canvas .game-screen-dice-box-canvas__canvas .game-screen-dice-box-canvas__player-canvas .game-screen-dice-box-canvas__outcome {
    animation: dice-roll-outcome-reduced 2.75s linear forwards;
    transform: none;
  }
}
@keyframes dice-roll-outcome-reduced {
  0%, 73% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.game-screen-campaign-log {
  --game-screen-campaign-log-max-width: 32rem;
  z-index: 2;
}
.game-screen-campaign-log .game-screen-campaign-log__entries {
  position: absolute;
  z-index: 2;
  bottom: var(--overlayable-safe-bottom);
  left: var(--overlayable-safe-left);
  display: flex;
  flex-direction: column;
  width: min(var(--game-screen-campaign-log-max-width), 100% - var(--overlayable-safe-left) - var(--overlayable-safe-right));
  max-height: min(22em, 100% - var(--overlayable-safe-top) - var(--overlayable-safe-bottom));
  box-sizing: border-box;
  gap: 0.2em;
  margin: 0;
  padding: clamp(0.45rem, 1.25cqh, 0.8rem);
  overflow: hidden;
  color: #fff;
  font-size: clamp(0.625rem, 1.65cqh, 0.875rem);
  line-height: 1.25;
  list-style: none;
  background-color: rgba(0, 0, 0, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.4rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.game-screen-campaign-log .game-screen-campaign-log__entries.game-screen-campaign-log__entries--visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.game-screen-campaign-log .game-screen-campaign-log__entries .game-screen-campaign-log__entry {
  flex: 0 0 auto;
  opacity: 1;
  transition: opacity 1s ease;
}
.game-screen-campaign-log .game-screen-campaign-log__entries .game-screen-campaign-log__entry.game-screen-campaign-log__entry--fading {
  opacity: 0;
}

.game-screen--player .game-screen-campaign-log {
  --game-screen-campaign-log-max-width: 28rem;
}

@media (max-width: 575.98px), (max-height: 575.98px) {
  .game-screen-campaign-log .game-screen-campaign-log__entries {
    max-height: min(45%, 100% - var(--overlayable-safe-top) - var(--overlayable-safe-bottom));
    padding: 0.4rem;
  }
}
.game-screen-sound-effect-player {
  display: none;
}

.game-screen-round-info {
  z-index: 2;
}
.game-screen-round-info .game-screen-round-info__content {
  position: absolute;
  top: var(--overlayable-safe-top);
  left: var(--overlayable-safe-left);
  display: flex;
  gap: clamp(0.5rem, 1cqh, 1rem);
}
.game-screen-round-info .game-screen-round-info__round-number {
  width: fit-content;
  padding: clamp(0.4rem, 1cqh, 0.75rem);
  color: rgba(255, 255, 255, 0.3);
  font-size: clamp(0.75rem, 2cqh, 1.5rem);
  font-weight: bold;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.3);
  border: clamp(1px, 0.2cqh, 3px) solid rgba(255, 255, 255, 0.3);
  border-radius: clamp(0.5rem, 2cqh, 1.5rem);
}
.game-screen-round-info .game-screen-round-info__round-number .game-screen-round-info__round-media {
  display: none;
  max-width: calc(100cqw - var(--overlayable-safe-left) - var(--overlayable-safe-right));
  max-height: 60cqh;
  overflow: hidden;
}
.game-screen-round-info .game-screen-round-info__round-number .game-screen-round-info__round-media > * {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 575.98px), (max-height: 575.98px) {
  .game-screen-round-info .game-screen-round-info__round-number {
    padding: 0.35rem;
    border-radius: 0.5rem;
  }
}
.game-screen-active-reveal {
  z-index: 3;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0s linear 0.5s, inset 0.5s ease-in-out, width 0.5s ease-in-out, height 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.game-screen-active-reveal:has(.game-screen-active-reveal__content) {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.game-screen-active-reveal .game-screen-active-reveal__image,
.game-screen-active-reveal .game-screen-active-reveal__video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.game-screen-active-reveal .game-screen-active-reveal__audio {
  width: min(80%, 600px);
  max-width: calc(100% - var(--overlayable-safe-left) - var(--overlayable-safe-right));
  pointer-events: auto;
}

@media (max-width: 575.98px), (max-height: 575.98px) {
  .game-screen-active-reveal .game-screen-active-reveal__audio {
    width: calc(100% - var(--overlayable-safe-left) - var(--overlayable-safe-right));
  }
}
.sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.5rem;
  background-color: #161b22;
  color: #e6edf3;
  border-right: 1px solid #30363d;
}
.sidebar .sidebar_title {
  flex-shrink: 0;
  min-height: 36px;
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 0;
}
.sidebar .sidebar-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}
.sidebar form {
  flex-shrink: 10;
}
.sidebar hr {
  margin: 0;
  flex-shrink: 20;
  border: none;
  opacity: 1;
  min-height: 3px;
}
.sidebar hr:before {
  border-bottom: 1px solid #30363d;
}
.sidebar hr:before, .sidebar hr:after {
  display: flex;
  content: "";
  flex-basis: 1rem;
  height: 1rem;
}
.sidebar .link-dark,
.sidebar .link-body-emphasis,
.sidebar .nav-link {
  color: #e6edf3 !important;
}
.sidebar .nav-item {
  border-radius: 0.25rem;
}
.sidebar .nav-item:not(.show_sub_nav) > .sub_nav {
  display: none;
}
.sidebar .nav-item.active, .sidebar .nav-item .nav-link:hover {
  color: #798ad5 !important;
}
.sidebar .nav-item.active > .nav-link, .sidebar .nav-item .nav-link:hover > .nav-link {
  color: #798ad5 !important;
}
.sidebar .nav-item.disabled kbd {
  display: none !important;
}
.sidebar .nav-item.active, .sidebar .nav-item:has(.nav-item.active) {
  background-color: #21262d;
}
.sidebar .nav-item.active > .sub_nav, .sidebar .nav-item:has(.nav-item.active) > .sub_nav {
  display: flex;
}
.sidebar .nav-item .nav-link > .avatar {
  height: 24px;
  width: 24px;
  border-radius: 50%;
}

.nav .nav-item:has(> .sub_nav) {
  position: relative;
}
.nav .nav-item:has(> .sub_nav):not(.no_caret):after {
  content: "\f0d7";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  position: absolute;
  height: 2.5rem;
  display: flex;
  align-items: center;
  top: 0;
  right: 1rem;
}
.nav .nav-item > .nav.sub_nav {
  flex-wrap: nowrap;
  min-width: 0;
  padding-left: 1rem;
}
.nav .nav-item > .nav.sub_nav > .nav-item {
  min-width: 0;
  max-width: 100%;
}
.nav .nav-item > .nav.sub_nav > .nav-item.active {
  background-color: #2d3748;
}

.soundboard {
  display: block;
}
.soundboard .soundboard__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.soundboard .soundboard__tile {
  aspect-ratio: 1/1;
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  overflow: hidden;
  padding: 0.4rem;
  position: relative;
}
.soundboard .soundboard__tile.sortable-ghost {
  opacity: 0.35;
}
.soundboard .soundboard__tile .soundboard__position-form {
  display: none;
}
.soundboard .soundboard__tile .soundboard__drag-handle {
  cursor: grab;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  z-index: 1;
}
.soundboard .soundboard__tile .soundboard__drag-handle:active {
  cursor: grabbing;
}
.soundboard .soundboard__tile .soundboard__play-form {
  display: contents;
}
.soundboard .soundboard__tile .soundboard__play {
  align-items: center;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  grid-column: 1/-1;
  grid-row: 1/-1;
  justify-content: center;
  min-width: 0;
  padding: 2rem 0.5rem 0.5rem;
}
.soundboard .soundboard__tile .soundboard__play .soundboard__play-icon {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
}
.soundboard .soundboard__tile .soundboard__play .soundboard__name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.soundboard .soundboard__tile .soundboard__play:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.soundboard .soundboard__tile .soundboard__rank-requirement {
  align-self: end;
  grid-column: 1/-1;
  grid-row: 3;
  justify-self: center;
  z-index: 2;
}
.soundboard .soundboard__tile .soundboard__edit {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  z-index: 1;
}
.soundboard .soundboard__tile.soundboard__tile--add {
  align-items: center;
  border-style: dashed;
  color: var(--bs-secondary-color);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}
.soundboard .soundboard__tile.soundboard__tile--add:hover, .soundboard .soundboard__tile.soundboard__tile--add:focus-visible {
  border-color: var(--bs-primary);
  color: var(--bs-primary);
}
.soundboard .soundboard__tile.soundboard__tile--add .soundboard__add-icon {
  font-size: 2rem;
}
.soundboard .soundboard__tile.soundboard__tile--add.soundboard__tile--locked {
  cursor: not-allowed;
  opacity: 0.65;
}
.soundboard .soundboard__tile.soundboard__tile--add.soundboard__tile--locked:hover, .soundboard .soundboard__tile.soundboard__tile--add.soundboard__tile--locked:focus-visible {
  border-color: var(--bs-border-color);
  color: var(--bs-secondary-color);
}
.soundboard .soundboard__tile.soundboard__tile--add.soundboard__tile--locked .soundboard__rank-requirement {
  margin-top: 0.25rem;
}
@media (max-width: 575.98px) {
  .soundboard .soundboard__grid {
    gap: 0.25rem;
  }
  .soundboard .soundboard__tile {
    padding: 0.125rem;
    font-size: 0.6rem;
    line-height: 1.1;
  }
  .soundboard .soundboard__tile .soundboard__drag-handle,
  .soundboard .soundboard__tile .soundboard__edit {
    padding: 0;
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
  }
  .soundboard .soundboard__tile .soundboard__play {
    padding: 24px 0 0;
    gap: 0.125rem;
    font-size: inherit;
    line-height: inherit;
    min-height: 0;
  }
  .soundboard .soundboard__tile .soundboard__play .soundboard__play-icon {
    font-size: 0.875rem;
  }
  .soundboard .soundboard__tile .soundboard__rank-requirement .badge {
    font-size: 0.5rem;
    padding: 0.2em 0.35em;
  }
  .soundboard .soundboard__tile.soundboard__tile--add {
    gap: 0.125rem;
  }
  .soundboard .soundboard__tile.soundboard__tile--add .soundboard__add-icon {
    font-size: 1rem;
  }
  .soundboard .soundboard__tile.soundboard__tile--add.soundboard__tile--locked .soundboard__rank-requirement {
    margin-top: 0;
  }
}

.status-condition--list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-content: start;
}
.status-condition--list .status-condition--item {
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: var(--bs-border-color);
  gap: 4px;
}
.status-condition--list .status-condition--item .status-condition--count {
  width: 100%;
  min-width: 0;
}
.status-condition--list .status-condition--item .status-condition--count [data-fittext-target=content] {
  display: block;
  white-space: nowrap;
}
.status-condition--list .status-condition--item .status-condition-item--name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subscription-product-tile {
  min-width: 0;
}
.subscription-product-tile.subscription-product-tile--active {
  border-color: var(--bs-success);
}
.subscription-product-tile .subscription-product-tile__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.subscription-product-tile .subscription-product-tile__body .subscription-product-tile__heading {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  min-width: 0;
}
.subscription-product-tile .subscription-product-tile__body .subscription-product-tile__heading .subscription-product-tile__title {
  min-width: 0;
}
.subscription-product-tile .subscription-product-tile__body .subscription-product-tile__price {
  align-items: baseline;
  display: flex;
  gap: 0.35rem;
}
.subscription-product-tile .subscription-product-tile__body .subscription-product-tile__price .subscription-product-tile__amount {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}
.subscription-product-tile .subscription-product-tile__body .subscription-product-tile__description {
  line-height: 1.5;
}
.subscription-product-tile .subscription-product-tile__body .subscription-product-tile__description :is(.lexxy-content, .trix-content) > :last-child {
  margin-bottom: 0;
}
.subscription-product-tile .subscription-product-tile__body .subscription-product-tile__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}
.subscription-product-tile .subscription-product-tile__body .subscription-product-tile__actions form.button_to:is(.subscription-product-tile__checkout-form, .subscription-product-tile__portal-form) {
  margin: 0;
  width: 100%;
}

/* ========================================
   All styles scoped to dialog.utmr to
   prevent conflicts with end-user CSS.
   ======================================== */
dialog.utmr {
  .hidden {
    display: none;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
  /* ========================================
     Dialog reset (shared modal + drawer)
     ======================================== */
  &.modal-container,
  &.drawer-container {
    position: fixed;
    inset: 0;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    max-width: 100vw;
    max-height: 100dvh;
    width: 100%;
    height: 100%;
    overflow-y: auto;
  }
  /* ========================================
     Modal styles
     ======================================== */
  /* Backdrop transitions */
  &.modal-container::backdrop {
    opacity: 0;
    transition: opacity 300ms ease-out;
  }
  &.modal-container[data-overlay=true]::backdrop {
    background-color: rgba(17, 24, 39, 0.7);
  }
  &.modal-container[data-overlay=false]::backdrop {
    background-color: transparent;
  }
  &.modal-container[data-overlay=true][data-entered]::backdrop {
    opacity: 1;
  }
  &.modal-container[data-closing]::backdrop {
    transition-duration: 200ms;
    transition-timing-function: ease-in;
  }
  /* Modal enter/leave transitions */
  &.modal-container:not([data-enter-ready]):not([data-entered]) .modal-inner {
    visibility: hidden;
  }
  .modal-inner {
    display: flex;
    padding: 0.25rem;
    padding-top: 10vh;
    justify-content: center;
    align-items: flex-start;
    min-height: 100%;
    opacity: 0;
    translate: 0 1rem;
    transition: opacity 300ms ease-out, translate 300ms ease-out, scale 300ms ease-out;
    @media (min-width: 640px) {
      padding: 1rem;
      padding-bottom: 10vh;
      align-items: center;
      translate: none;
      scale: 0.95;
    }
  }
  &.modal-container[data-entered] .modal-inner {
    opacity: 1;
    translate: none;
    scale: 1;
  }
  &.modal-container[data-closing] .modal-inner {
    transition-duration: 200ms;
    transition-timing-function: ease-in;
  }
  /* Modal conditional styling via data attributes */
  &.modal-container {
    &[data-header=false] .modal-header {
      position: absolute;
    }
    &[data-header-divider=true] .modal-header {
      border-bottom-width: 1px;
    }
    &[data-footer-divider=true] .modal-footer {
      border-top-width: 1px;
    }
    &[data-padding=true] .modal-main {
      padding: 1rem;
      padding-top: 0.5rem;
    }
    .modal-main {
      overflow-y: auto;
      max-height: 75vh;
    }
    &[data-title=false] .modal-title-h {
      display: none;
    }
    &[data-close-button=false] .modal-close {
      display: none;
    }
  }
  .modal-content {
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
    transition-property: all;
    text-align: left;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    max-height: 100vh;
    @media (min-width: 640px) {
      max-width: 48rem;
    }
  }
  .modal-header {
    display: flex;
    padding-top: 1rem;
    padding-bottom: 1rem;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
  }
  .modal-title {
    line-height: 1.75rem;
    font-weight: 600;
    padding-left: 1rem;
  }
  .modal-footer {
    display: flex;
    padding: 1rem;
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
  }
  .modal-close {
    margin-right: 1rem;
  }
  .modal-close-button {
    display: inline-flex;
    padding: 0.375rem;
    margin-left: auto;
    background-color: transparent;
    font-size: 0.875rem;
    line-height: 1.25rem;
    align-items: center;
    border-radius: 0.5rem;
  }
  .modal-close-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  /* ========================================
     Drawer styles
     ======================================== */
  /* Drawer backdrop transitions */
  &.drawer-container::backdrop {
    background: transparent;
    opacity: 0;
    transition: opacity 300ms ease-out;
  }
  &.drawer-container[data-overlay=true]::backdrop {
    background-color: rgba(17, 24, 39, 0.7);
  }
  &.drawer-container[data-overlay=true][data-entered]::backdrop {
    opacity: 1;
  }
  &.drawer-container[data-closing]::backdrop {
    transition-duration: 200ms;
    transition-timing-function: ease-in;
  }
  /* Drawer sizing via data attributes */
  &.drawer-container {
    --utmr-gutter: 2.5rem;
    @media (min-width: 640px) {
      --utmr-gutter: 4rem;
    }
  }
  &.drawer-container[data-drawer-size=xs] {
    --utmr-w: 16rem;
  }
  &.drawer-container[data-drawer-size=sm] {
    --utmr-w: 20rem;
  }
  &.drawer-container[data-drawer-size=md],
  &.drawer-container[data-drawer-size=""] {
    --utmr-w: 24rem;
  }
  &.drawer-container[data-drawer-size=lg] {
    --utmr-w: 28rem;
  }
  &.drawer-container[data-drawer-size=xl] {
    --utmr-w: 42rem;
  }
  &.drawer-container[data-drawer-size="2xl"] {
    --utmr-w: 56rem;
  }
  &.drawer-container[data-drawer-size=full] {
    --utmr-w: 100vw;
  }
  /* Drawer direction */
  &.drawer-container[data-drawer=left] {
    --utmr-hide: -100% 0;
  }
  &.drawer-container[data-drawer=left] .drawer-panel {
    left: 0;
  }
  &.drawer-container[data-drawer=right] {
    --utmr-hide: 100% 0;
  }
  &.drawer-container[data-drawer=right] .drawer-panel {
    right: 0;
  }
  /* Drawer panel transitions */
  .drawer-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    width: min(var(--utmr-w), 100vw - var(--utmr-gutter));
    translate: var(--utmr-hide);
    transition: translate 250ms ease-in-out;
    will-change: translate;
    @media (min-width: 640px) {
      transition-duration: 400ms;
    }
  }
  &.drawer-container:not([data-enter-ready]):not([data-entered]) .drawer-panel {
    visibility: hidden;
  }
  &.drawer-container[data-entered] .drawer-panel {
    translate: 0;
  }
  &.drawer-container[data-closing] .drawer-panel {
    translate: var(--utmr-hide);
  }
  /* Drawer conditional styling via data attributes */
  &.drawer-container {
    &[data-header=false] .drawer-header {
      display: none;
    }
    &[data-header-divider=true] .drawer-header {
      padding-bottom: 1rem;
      border-bottom-width: 1px;
    }
    &[data-footer-divider=true] .drawer-footer {
      border-top-width: 1px;
    }
    &[data-padding=true] .drawer-main {
      padding: 1rem;
      padding-top: 0.5rem;
    }
    &[data-title=false] .drawer-title-h {
      display: none;
    }
    &[data-close-button=false] .drawer-close {
      display: none;
    }
  }
  .drawer-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .drawer-content {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  }
  &.drawer-container[data-padding=true] .drawer-content {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .drawer-header {
    display: flex;
    padding-left: 1rem;
    padding-right: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    @media (min-width: 640px) {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }
  .drawer-title {
    line-height: 1.75rem;
    font-weight: 600;
  }
  .drawer-main {
    position: relative;
    flex: 1;
    overflow-y: auto;
  }
  &.drawer-container[data-padding=true] .drawer-main {
    margin-top: 1.5rem;
  }
  .drawer-footer {
    display: flex;
    flex-shrink: 0;
    padding: 1rem;
    @media (min-width: 640px) {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }
  .drawer-close {
    margin-left: 0.75rem;
    display: flex;
    height: 1.75rem;
    align-items: center;
  }
  .drawer-close-button {
    position: relative;
    display: inline-flex;
    padding: 0.375rem;
    background-color: transparent;
    border-radius: 0.375rem;
    align-items: center;
  }
  .drawer-close-hit-area {
    position: absolute;
    inset: -0.625rem;
  }
  .drawer-close-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* ========================================
   Dark / light mode (requires ancestor
   context so must stay outside dialog.utmr)
   ======================================== */
.dark dialog.utmr {
  &::backdrop {
    background-color: rgba(17, 24, 39, 0.8);
  }
  .modal-header,
  .modal-footer,
  .drawer-header,
  .drawer-footer {
    border-color: #4B5563;
  }
  .modal-content,
  .drawer-content {
    background-color: #1F2937;
    color: #ffffff;
  }
  .modal-close-button:hover,
  .modal-close-icon:hover,
  .drawer-close-button:hover,
  .drawer-close-icon:hover {
    background-color: #6B7280;
    color: #ffffff;
  }
}

:not(.dark) dialog.utmr {
  .modal-close-button,
  .modal-close-icon,
  .drawer-close-button,
  .drawer-close-icon {
    color: #9CA3AF;
    &:hover {
      color: #111827;
      background-color: #E5E7EB;
    }
  }
}

.system-keybind {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  z-index: 2;
  display: none;
  align-items: center;
  font-size: 0.75rem;
  padding: 0 0.25rem;
  font-family: inherit;
  line-height: 1.4;
  color: #e6edf3;
  background-color: #1a1a1a;
  border: 1px solid #555;
  border-radius: 0.25rem;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-50%);
}
.system-keybind > code {
  color: #e6edf3;
}
.keybind-is-active .system-keybind {
  display: inline-flex;
}
@media (hover: none) and (pointer: coarse) {
  .system-keybind {
    display: none !important;
  }
}

:is(a, button, .btn, .nav-link):has(> .system-keybind) {
  position: relative;
}

.system-keybind-inline .system-keybind-inline__touch-icon {
  display: none;
}
@media (hover: none) and (pointer: coarse) {
  .system-keybind-inline:has(.system-keybind-inline__touch-icon) .system-keybind-inline__text {
    display: none;
  }
  .system-keybind-inline .system-keybind-inline__touch-icon {
    display: inline-block;
  }
}

.system-keybind-hint {
  display: none;
  color: #8b949e;
  font-size: 0.8rem;
  padding: 0 1rem;
}

@media (min-width: 1400px) and (hover: hover) and (pointer: fine) {
  .system-keybind-hint {
    display: block;
  }
}
dialog.utmr.modal-container {
  color: var(--bs-body-color);
}
dialog.utmr.modal-container:has(.modal-content[data-height=available]) {
  top: var(--visual-viewport-top, 0px);
  left: var(--visual-viewport-left, 0px);
  bottom: auto;
  right: auto;
  height: var(--visual-viewport-height, 100dvh);
  max-height: var(--visual-viewport-height, 100dvh);
  width: var(--visual-viewport-width, 100vw);
  max-width: var(--visual-viewport-width, 100vw);
}
dialog.utmr.modal-container:has(.modal-content[data-height=available]) .modal-inner {
  padding: 1rem;
  align-items: center;
}
dialog.utmr.modal-container .modal-content {
  width: min(100%, 32rem);
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border: var(--bs-border-width) solid var(--bs-border-color-translucent);
}
dialog.utmr.modal-container .modal-content[data-height=available] {
  display: flex;
  flex-direction: column;
  height: calc(var(--visual-viewport-height, 100dvh) - 2rem);
  max-height: calc(var(--visual-viewport-height, 100dvh) - 2rem);
}
dialog.utmr.modal-container .modal-content[data-height=available] .modal-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  max-height: none;
  overflow: hidden;
}
dialog.utmr.modal-container .modal-content[data-height=available] .modal-main > form {
  flex: 1;
  height: auto;
  min-height: 0;
}
dialog.utmr.modal-container .modal-content[data-height=available] .modal-header,
dialog.utmr.modal-container .modal-content[data-height=available] .modal-footer {
  flex-shrink: 0;
}
dialog.utmr.modal-container .modal-content[data-height=tall] .modal-main {
  min-height: min(34rem, 75vh);
}
dialog.utmr.modal-container .modal-content[data-size=lg] {
  width: min(100%, 50rem);
  max-width: 50rem;
}
dialog.utmr.modal-container .modal-content[data-size=xl] {
  width: min(100%, 71.25rem);
  max-width: 71.25rem;
}
dialog.utmr.modal-container .modal-content .modal-header {
  border-color: var(--bs-border-color);
}
dialog.utmr.modal-container .modal-content .modal-header .modal-title .modal-title-h {
  margin: 0;
  color: inherit;
  font-size: 1.25rem;
  line-height: 1.5;
}
dialog.utmr.modal-container .modal-content .modal-header .modal-close .modal-close-button {
  color: var(--bs-body-color);
  border: 0;
}
dialog.utmr.modal-container .modal-content .modal-header .modal-close .modal-close-button:hover {
  color: var(--bs-emphasis-color);
  background-color: var(--bs-tertiary-bg);
}
dialog.utmr.modal-container .modal-content .modal-main {
  max-height: min(75vh, 50rem);
}
dialog.utmr.modal-container .modal-content .modal-footer {
  gap: 0.5rem;
  justify-content: flex-end;
  border-color: var(--bs-border-color);
}
@media (max-width: 639.98px) {
  dialog.utmr.modal-container:has(.modal-content[data-height=available]) .modal-inner {
    padding: 0;
  }
  dialog.utmr.modal-container:has(.modal-content[data-height=available]) .modal-content {
    width: 100%;
    height: var(--visual-viewport-height, 100dvh);
    max-height: var(--visual-viewport-height, 100dvh);
    border: 0;
    border-radius: 0;
  }
  dialog.utmr.modal-container:has(.modal-content[data-height=available]) .modal-content .modal-header {
    padding-top: max(1rem, env(safe-area-inset-top));
  }
  dialog.utmr.modal-container:has(.modal-content[data-height=available]) .modal-content .modal-footer {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

dialog.utmr.drawer-container {
  color: var(--bs-body-color);
}
dialog.utmr.drawer-container .drawer-content {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
}
dialog.utmr.drawer-container .drawer-content .drawer-header {
  border-color: var(--bs-border-color);
}
dialog.utmr.drawer-container .drawer-content .drawer-header .drawer-title .drawer-title-h {
  margin: 0;
  color: inherit;
  font-size: 1.25rem;
  line-height: 1.5;
}
dialog.utmr.drawer-container .drawer-content .drawer-header .drawer-close .drawer-close-button {
  color: var(--bs-body-color);
  border: 0;
}
dialog.utmr.drawer-container .drawer-content .drawer-header .drawer-close .drawer-close-button:hover {
  color: var(--bs-emphasis-color);
  background-color: var(--bs-tertiary-bg);
}
dialog.utmr.drawer-container .drawer-content .drawer-footer {
  gap: 0.5rem;
  justify-content: flex-end;
  border-color: var(--bs-border-color);
}

.user_avatar {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6edf3;
  border-radius: 50%;
  flex-shrink: 0;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  user-select: none;
}
.user_avatar.user_avatar_default {
  width: 40px;
  height: 40px;
  font-size: 14px;
}
.user_avatar.user_avatar_small {
  width: 60px;
  height: 60px;
  font-size: 20px;
}
.user_avatar.user_avatar_tiny {
  width: 30px;
  height: 30px;
  font-size: 11px;
}
.user_avatar.user_avatar_micro {
  width: 24px;
  height: 24px;
  font-size: 11px;
}
.user_avatar.user_avatar_large {
  width: 80px;
  height: 80px;
  font-size: 28px;
}
.user_avatar.user_avatar_hero {
  --user-avatar-rank-color: #F3E8D2;
}
.user_avatar.user_avatar_legend {
  --user-avatar-rank-color: #D4AF37;
}
.user_avatar.user_avatar_ascendant {
  --user-avatar-rank-color: #4B145F;
}
.user_avatar.user_avatar_hero, .user_avatar.user_avatar_legend, .user_avatar.user_avatar_ascendant {
  border-color: var(--user-avatar-rank-color);
}
.user_avatar.user_avatar_hero:hover .user_avatar_rank, .user_avatar.user_avatar_legend:hover .user_avatar_rank, .user_avatar.user_avatar_ascendant:hover .user_avatar_rank {
  transform: translate(25%, -25%) scale(1.5);
}
.user_avatar .user_avatar_rank {
  display: inline-flex;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  align-items: center;
  justify-content: center;
  width: max(10px, 50%);
  border-radius: 50%;
  aspect-ratio: 1;
  background-color: #0d1117;
  transform: translate(25%, -25%);
  transition: transform 200ms ease;
}
.user_avatar .user_avatar_rank .dm-icon {
  width: 100%;
  height: 100%;
}

.user-dropdown {
  min-width: 0;
}
.user-dropdown.user-dropdown--sidebar {
  width: 100%;
}
.user-dropdown.user-dropdown--sidebar > .user-dropdown__toggle {
  min-width: 0;
}
.user-dropdown.user-dropdown--sidebar > .user-dropdown__toggle::after {
  margin-left: auto;
}
.user-dropdown.user-dropdown--sidebar .dropdown-menu {
  min-width: 14rem;
}

.avatar {
  object-fit: cover;
}
.avatar.avatar_small {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}
.avatar.avatar_tiny {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.tool_buttons_container {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0.5rem;
}
.tool_buttons_container .tool_buttons_row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 0.5rem;
}
.tool_buttons_container .tool_buttons_row_title {
  font-size: 1rem;
  font-weight: 600;
  color: #e6edf3;
}
.tool_buttons_container .btn.bootstrap-button-tile {
  aspect-ratio: 1;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  justify-content: space-evenly;
  max-width: 100%;
  padding: 0.25rem;
  text-overflow: ellipsis;
  line-height: 1;
  width: 5rem;
}
.tool_buttons_container .btn.bootstrap-button-tile .bootstrap-button-tile__icon {
  display: flex;
  align-content: center;
  justify-content: center;
  width: 100%;
  font-size: 2.25rem;
  line-height: 1;
}
.tool_buttons_container .btn.bootstrap-button-tile .bootstrap-button-tile__text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.quad-button {
  --quad-button-center-size: 33.334%;
  --quad-button-edge-size: 33.333%;
  --quad-button-far-edge: 66.667%;
  --quad-button-separator-size: 47.15%;
  --quad-button-size: 10rem;
  aspect-ratio: 1;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 0.375rem;
  display: inline-block;
  inline-size: var(--quad-button-size);
  isolation: isolate;
  overflow: hidden;
  position: relative;
}
.quad-button.quad-button--content-normal {
  --quad-button-content-opacity: 1;
}
.quad-button.quad-button--content-muted {
  --quad-button-content-opacity: 0.5;
}
.quad-button.quad-button--compact {
  --quad-button-center-size: 50%;
  --quad-button-edge-size: 25%;
  --quad-button-far-edge: 75%;
  --quad-button-separator-size: 35.355%;
  --quad-button-size: 6.6667rem;
}
.quad-button .btn.quad-button__item {
  border: 0;
  border-radius: 0;
  inset: 0;
  padding: 0;
  position: absolute;
  font-weight: bold;
}
.quad-button .btn.quad-button__item .quad-button__item-content {
  align-items: center;
  display: flex;
  height: var(--quad-button-center-size);
  justify-content: center;
  pointer-events: none;
  position: absolute;
  width: var(--quad-button-center-size);
}
.quad-button .btn.quad-button__item:focus-visible {
  box-shadow: none;
  outline: 0;
  z-index: 3;
}
.quad-button .btn.quad-button__item:focus-visible .quad-button__item-content {
  border-radius: 0.1875rem;
  outline: 0.2rem solid rgba(212, 175, 55, 0.45);
  outline-offset: 0.15rem;
}
.quad-button .btn.quad-button__item--top {
  clip-path: polygon(0 0, 100% 0, var(--quad-button-far-edge) var(--quad-button-edge-size), var(--quad-button-edge-size) var(--quad-button-edge-size));
}
.quad-button .btn.quad-button__item--top .quad-button__item-content {
  height: var(--quad-button-edge-size);
  left: var(--quad-button-edge-size);
  top: 0;
}
.quad-button .btn.quad-button__item--right {
  clip-path: polygon(100% 0, 100% 100%, var(--quad-button-far-edge) var(--quad-button-far-edge), var(--quad-button-far-edge) var(--quad-button-edge-size));
}
.quad-button .btn.quad-button__item--right .quad-button__item-content {
  left: var(--quad-button-far-edge);
  top: var(--quad-button-edge-size);
  width: var(--quad-button-edge-size);
}
.quad-button .btn.quad-button__item--bottom {
  clip-path: polygon(100% 100%, 0 100%, var(--quad-button-edge-size) var(--quad-button-far-edge), var(--quad-button-far-edge) var(--quad-button-far-edge));
}
.quad-button .btn.quad-button__item--bottom .quad-button__item-content {
  height: var(--quad-button-edge-size);
  left: var(--quad-button-edge-size);
  top: var(--quad-button-far-edge);
}
.quad-button .btn.quad-button__item--left {
  clip-path: polygon(0 100%, 0 0, var(--quad-button-edge-size) var(--quad-button-edge-size), var(--quad-button-edge-size) var(--quad-button-far-edge));
}
.quad-button .btn.quad-button__item--left .quad-button__item-content {
  left: 0;
  top: var(--quad-button-edge-size);
  width: var(--quad-button-edge-size);
}
.quad-button .btn.quad-button__item--default {
  background: #161b22;
  color: #e6edf3;
}
.quad-button .btn.quad-button__item--default:hover {
  background: #21262d;
  color: #e6edf3;
}
.quad-button .btn.quad-button__item--default:active, .quad-button .btn.quad-button__item--default.active, .quad-button .btn.quad-button__item--default[aria-pressed=true] {
  background: rgb(19.7104072398%, 22.6968325792%, 26.8778280543%);
  color: #e6edf3;
}
.quad-button .btn.quad-button__item--default:disabled, .quad-button .btn.quad-button__item--default.disabled {
  background: #161b22;
  color: #8b949e;
  opacity: 0.5;
}
.quad-button .quad-button__content {
  align-items: center;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 0.375rem;
  color: #e6edf3;
  display: flex;
  inset: var(--quad-button-edge-size);
  justify-content: center;
  opacity: var(--quad-button-content-opacity);
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.15s ease-in-out;
  z-index: 2;
}
.quad-button .quad-button__separator {
  background: #30363d;
  height: var(--quad-button-separator-size);
  pointer-events: none;
  position: absolute;
  transform-origin: top;
  width: 1px;
  z-index: 1;
}
.quad-button .quad-button__separator--top-left {
  left: 0;
  top: 0;
  transform: rotate(-45deg);
}
.quad-button .quad-button__separator--top-right {
  right: 0;
  top: 0;
  transform: rotate(45deg);
}
.quad-button .quad-button__separator--bottom-right {
  bottom: 0;
  right: 0;
  transform: rotate(-45deg);
  transform-origin: bottom;
}
.quad-button .quad-button__separator--bottom-left {
  bottom: 0;
  left: 0;
  transform: rotate(45deg);
  transform-origin: bottom;
}

.button-tile {
  align-items: center;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  color: #e6edf3;
  display: flex;
  gap: 1rem;
  height: 200px;
  justify-content: space-between;
  overflow: hidden;
  padding: 1.25rem;
  position: relative;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.button-tile:hover, .button-tile:focus {
  border-color: #F3E8D2;
  color: #e6edf3;
  text-decoration: none;
}
.button-tile:hover .button-tile__title, .button-tile:focus .button-tile__title {
  color: #F3E8D2;
}
.button-tile:focus-visible {
  outline: 0.2rem solid rgba(243, 232, 210, 0.35);
  outline-offset: 0.15rem;
}

.button-tile__content {
  display: flex;
  align-self: start;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.button-tile__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.button-tile__description {
  color: #8b949e;
  font-size: 0.95rem;
  line-height: 1.35;
  max-width: 28rem;
}

.button-tile__image {
  align-self: stretch;
  flex: 0 0 45%;
  height: auto;
  max-width: 45%;
  object-fit: contain;
  object-position: right center;
}

@media (max-width: 575.98px) {
  .button-tile {
    padding: 1rem;
  }
  .button-tile__image {
    flex-basis: 38%;
    max-width: 38%;
  }
}
.canva_outer_container {
  height: 100%;
  position: relative;
}

#modal-main .game-map-action-panel, #modal-main .game-map-map-title {
  display: none;
}
#modal-main #game_map_position_toolbar {
  top: 1rem;
  right: 1rem;
  bottom: unset;
  width: 100%;
}
#modal-main #game_map_position_toolbar .panel-body > form {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.game-map-editor {
  height: 100%;
  min-height: 0;
  position: relative;
}
.game-map-editor .canva_outer_container {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}
.game-map-editor .canva_outer_container > .col-12 {
  height: 100%;
  min-height: 0;
}
.game-map-editor .game-map-editor-toolbar,
.game-map-editor .game-map-editor-sub-toolbar {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 20;
}
.game-map-editor .game-map-editor-sub-toolbar .collapsing {
  height: auto !important;
  transition: none !important;
}
.game-map-editor:has(#game_map_settings_toolbar.show) .game-map-bottom-toolbar {
  display: none !important;
}

.game-map-action-panel {
  top: 1rem;
  left: 1rem;
  width: 14rem;
  max-width: calc(100vw - 2rem);
  overflow: visible;
}
.game-map-action-panel .btn {
  min-height: 2rem;
}
.game-map-action-panel .btn i {
  width: 1.1rem;
  text-align: center;
}
.game-map-action-panel .game-map-panel-collapse-button {
  border-radius: 24px;
  padding: 0;
  width: 24px;
  height: 24px;
  min-height: 24px;
  position: absolute;
  right: 0;
  top: 0.5rem;
  transform: translateX(50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-map-action-panel.is-collapsed {
  width: auto;
}
.game-map-action-panel.is-collapsed .panel-header {
  justify-content: center;
  padding-inline: 0.5rem;
}
.game-map-action-panel.is-collapsed .panel-body {
  padding-inline: 0.5rem !important;
}
.game-map-action-panel.is-collapsed .btn {
  justify-content: center !important;
  padding-inline: 0.5rem;
}
.game-map-action-panel.is-collapsed .game-map-panel-label {
  display: none;
}
.game-map-action-panel.is-collapsed .game-map-panel-collapse-button {
  margin-left: 0 !important;
}

.game-map-left-side-panel,
.game-map-left-side-stack {
  top: 20rem;
  left: 1rem;
  bottom: 1rem;
  width: 14rem;
  max-width: calc(100vw - 2rem);
}

.game-map-left-side-panel,
.game-map-left-side-stack > .panel {
  display: flex;
  flex-direction: column;
}
.game-map-left-side-panel .panel-body,
.game-map-left-side-stack > .panel .panel-body {
  min-height: 0;
}

.game-map-left-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.game-map-left-side-stack > .panel {
  position: relative;
  width: 100%;
}
.game-map-left-side-stack .game-map-layers-panel {
  flex: 1 1 auto;
  min-height: 0;
}
.game-map-left-side-stack .game-map-layers-panel .panel-body {
  flex: 1 1 auto;
}

.game-map-position-panel .input-group-text {
  min-width: 5.25rem;
}

.game-map-position-viewport {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  width: 60%;
  aspect-ratio: var(--pm-window-ratio, 16/9);
  border: 2px dotted var(--bs-primary);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 8;
  overflow: visible;
}

.game-map-characters-viewport {
  align-items: center;
  border: 2px dotted rgba(var(--bs-primary-rgb), 0.6);
  container-type: size;
  color: rgba(var(--bs-primary-rgb), 0.75);
  display: flex;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  overflow: hidden;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  user-select: none;
  z-index: 1;
}
.game-map-characters-viewport span {
  display: block;
  font-size: clamp(0.45rem, min(70cqh, 8cqw), 3rem);
  max-width: calc(100cqw - 1rem);
  overflow: hidden;
  white-space: nowrap;
}

.game-map-position-viewport[data-pm-character-placement=top] .game-map-characters-viewport,
.game-map-position-viewport[data-pm-character-placement=bottom] .game-map-characters-viewport {
  height: calc(var(--pm-character-height-ratio, 0.2) * 100%);
  left: 50%;
  transform: translateX(-50%);
  width: calc(var(--pm-character-width-ratio, 1) * 100%);
}

.game-map-position-viewport[data-pm-character-placement=top] .game-map-characters-viewport {
  bottom: calc(100% + 0.5rem);
}

.game-map-position-viewport[data-pm-character-placement=bottom] .game-map-characters-viewport {
  top: calc(100% + 0.5rem);
}

.game-map-position-viewport[data-pm-character-placement=left] .game-map-characters-viewport,
.game-map-position-viewport[data-pm-character-placement=right] .game-map-characters-viewport {
  height: calc(var(--pm-character-height-ratio, 1) * 100%);
  top: 50%;
  transform: translateY(-50%);
  width: calc(var(--pm-character-width-ratio, 0.2) * 100%);
}
.game-map-position-viewport[data-pm-character-placement=left] .game-map-characters-viewport span,
.game-map-position-viewport[data-pm-character-placement=right] .game-map-characters-viewport span {
  font-size: clamp(0.45rem, min(70cqw, 8cqh), 3rem);
  left: 50%;
  max-width: none;
  position: absolute;
  top: 50%;
  width: calc(100cqh - 1rem);
}

.game-map-position-viewport[data-pm-character-placement=left] .game-map-characters-viewport {
  right: calc(100% + 0.5rem);
}
.game-map-position-viewport[data-pm-character-placement=left] .game-map-characters-viewport span {
  transform: translate(-50%, -50%) rotate(-90deg);
}

.game-map-position-viewport[data-pm-character-placement=right] .game-map-characters-viewport {
  left: calc(100% + 0.5rem);
}
.game-map-position-viewport[data-pm-character-placement=right] .game-map-characters-viewport span {
  transform: translate(-50%, -50%) rotate(90deg);
}

.game-map-map-title {
  z-index: 35;
  width: max-content;
  max-width: min(28rem, 100% - 2rem);
  background: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(8px);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

body.game-map-editor-fullscreen > .dm_screen_container .navigation-layout .navigation-layout__row > .navigation-layout__main {
  overflow: hidden;
}
body.game-map-editor-fullscreen > .dm_screen_container .campaign-layout-content {
  flex: 1 1 auto;
  min-height: 0;
  padding-bottom: 0;
}
body.game-map-editor-fullscreen > .dm_screen_container .game-map-editor {
  min-height: 100%;
}

.game-map-fog-tools .game-map-fog-brush {
  position: absolute;
  left: calc(100% + 1.5rem);
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 2.5rem;
}
.game-map-fog-tools .game-map-fog-brush input[type=range] {
  writing-mode: vertical-lr;
  direction: ltr;
  width: 1rem;
  height: 4.5rem;
  accent-color: var(--bs-primary);
}
.game-map-fog-tools .game-map-fog-brush .game-map-fog-brush__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.game-map-fog-tools .game-map-fog-brush .game-map-fog-brush__dot--large {
  width: 18px;
  height: 18px;
}

.character_avatar_card_list > turbo-frame {
  display: block;
}
.character_avatar_card_list .card {
  margin: auto;
  width: 100%;
  aspect-ratio: 2/3;
}
.character_avatar_card_list .card.character_avatar_card {
  overflow: hidden;
}
.character_avatar_card_list .card.character_avatar_card img {
  flex: 1 1 auto;
  height: 100%;
  width: 100%;
  object-fit: cover;
  min-height: 0;
}
.character_avatar_card_list .card.character_avatar_card.in_use {
  border-color: #F3E8D2;
}
.character_avatar_card_list .card.character_avatar_card .card-body {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.character_avatar_card_list .card.character_avatar_card .card-footer .btn {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.character_avatar_card_list .card.add_avatar_card {
  height: 100%;
}
.character_avatar_card_list .card.add_avatar_card:hover {
  border-color: #D4AF37;
  color: #D4AF37;
}

.character_card_list {
  display: flex;
  justify-content: space-evenly;
  height: 100vh;
  max-height: 100%;
  width: 100%;
  gap: 0.5%;
  overflow-y: scroll;
  transition: all 0.3s ease-in-out;
}
.character_card_list::-webkit-scrollbar {
  display: none;
}

.character_wrapper {
  flex: 1;
  transition: all 0.5s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 100%;
  min-width: 0;
  order: var(--order, 0);
}
.character_wrapper.hidden_character {
  flex-grow: 0;
  flex-shrink: 1 !important;
  height: 0;
  width: 0;
}
.character_wrapper.hidden_character .character.card {
  height: 0 !important;
  border: 0;
  aspect-ratio: auto !important;
}
.character_wrapper.single_view {
  align-items: start;
  aspect-ratio: 2/3;
  border-radius: 5%;
}
.character_wrapper .card {
  box-shadow: none;
  border: none;
}
.character_wrapper .character.card {
  position: relative;
  container-type: size;
  box-shadow: none;
  display: flex;
  aspect-ratio: 2/3;
  transition: border 0.5s ease-in-out, height 0.5s ease-in-out;
  border: 1px solid #30363d;
  border-radius: 15px;
  height: 95%;
  flex-shrink: 1;
  flex-grow: 0;
}
.character_wrapper .character.card .card-img-top {
  flex: 1 1 85%;
  overflow: hidden;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.character_wrapper .character.card .card-img-top .avatar {
  object-fit: cover;
  object-position: top;
  background-color: rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 100%;
  max-height: 100%;
  flex-shrink: 1;
  min-height: 0;
  transition: all 1s ease-in-out;
}
.character_wrapper .character.card .character_name {
  flex: 0 0 15%;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: flex;
  container-type: size;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.character_wrapper .character.card .character_name > a, .character_wrapper .character.card .character_name > span {
  align-items: center;
  display: flex;
  gap: 0.25em;
  max-width: 100%;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  font-size: 75cqh;
  line-height: 1;
}
.character_wrapper .character.card .character_name > a .character_name__text, .character_wrapper .character.card .character_name > span .character_name__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.character_wrapper .character.card .character_initiative {
  display: none;
  font-family: "Courier 10 Pitch";
  position: absolute;
  font-size: 10cqh;
  top: 1cqh;
  left: 1cqh;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  line-height: 12cqh;
  width: 13cqh;
}
.character_wrapper .character.card.active_turn {
  border-color: yellow;
}
.character_wrapper .character.card.active_turn > .card-img-top > .avatar {
  transform: scale(1.1);
}

.character-focus-view {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  min-height: 0;
  padding: 1rem;
}
.character-focus-view.character-focus-view--view {
  height: auto;
}
.character-focus-view.character-focus-view--view .character-focus-view__content {
  grid-template-columns: 1fr;
}
.character-focus-view .character-focus-view__title {
  align-items: center;
  display: flex;
  flex: 0 0 2.25rem;
  gap: 0.5rem;
  min-height: 2.25rem;
  min-width: 0;
}
.character-focus-view .character-focus-view__title .character-focus-view__avatar {
  flex: 0 0 1.75rem;
  height: 1.75rem;
  object-fit: cover;
  width: 1.75rem;
}
.character-focus-view .character-focus-view__title .character-focus-view__name {
  align-items: center;
  display: flex;
  font-size: 1rem;
  font-weight: 600;
  gap: 0.4rem;
  line-height: 1.2;
  min-width: 0;
}
.character-focus-view .character-focus-view__title .character-focus-view__actions {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}
@media (max-width: 767.98px) {
  .character-focus-view .character-focus-view__title {
    flex-wrap: wrap;
    min-height: unset;
  }
  .character-focus-view .character-focus-view__title .character-focus-view__actions {
    flex: 0 0 100%;
  }
  .character-focus-view .character-focus-view__title .character-focus-view__actions > .btn {
    flex: 1;
  }
}
.character-focus-view .character-focus-view__content {
  display: grid;
  flex: 1 1 auto;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.8fr);
  min-height: 0;
}
.character-focus-view .character-focus-view__content .character-focus-view__summary,
.character-focus-view .character-focus-view__content .character-focus-view__conditions {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
.character-focus-view .character-focus-view__content .character-focus-view__summary-form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}
.character-focus-view .character-focus-view__content .character-focus-view__summary-form .character-focus-view__summary-field {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin-bottom: 0;
  min-height: 0;
}
.character-focus-view .character-focus-view__content .character-focus-view__summary-form .character-focus-view__summary-field textarea {
  flex: 1 1 auto;
  min-height: 0;
  resize: none;
}
.character-focus-view .character-focus-view__content .character-focus-view__description-label,
.character-focus-view .character-focus-view__content .character-focus-view__conditions-label {
  flex: 0 0 auto;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.character-focus-view .character-focus-view__content .character-focus-view__description {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  padding: 0.5rem;
}
.character-focus-view .character-focus-view__content .character-focus-view__description,
.character-focus-view .character-focus-view__content .status-condition--list {
  flex: 1 1 auto;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--bs-body-color-rgb), 0.35) transparent;
  min-height: 0;
}
.character-focus-view .character-focus-view__content .character-focus-view__description {
  min-height: 6rem;
}
.character-focus-view .character-focus-view__content .character-focus-view__description > :last-child {
  margin-bottom: 0;
}
.character-focus-view .character-focus-view__content .character-focus-view__stats {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.character-focus-view .character-focus-view__content .character-focus-view__stats form {
  margin: 0;
}
.character-focus-view .character-focus-view__content .character-focus-view__stats .input-group {
  width: 70px;
}
.character-focus-view .character-focus-view__content .character-focus-view__conditions-action {
  flex: 0 0 auto;
  margin-top: 0.75rem;
  width: 100%;
}

@media (max-width: 575.98px) {
  .character-focus-view .character-focus-view__content {
    grid-template-columns: 1fr;
  }
}
.character_form div.character_name {
  margin-bottom: 0 !important;
}
.character_form div.character_name input {
  padding-top: 0;
  padding-bottom: 0;
  font-size: 20px;
  color: #e6edf3;
  font-weight: bold;
}

.character_wrapper .character_info_spacer {
  flex: 0 1 auto;
}
.character_wrapper .card.character .character_info {
  transform-origin: left;
  transition: all 0.3s ease-in-out;
  overflow: visible;
  background-color: transparent;
  height: 100%;
  display: flex;
  flex-direction: row;
  gap: 4px;
  container-type: size;
  position: absolute;
  left: calc(100% - 13cqh);
  width: auto;
}
.character_wrapper .card.character .character_info .character_info_inner {
  padding: 1cqh 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-content: flex-start;
  justify-content: start;
  align-items: flex-start;
  flex-wrap: wrap-reverse;
  gap: 2cqh;
  height: 85%;
  width: auto;
}
.character_wrapper .card.character .character_info .character_info_inner > .status-badge {
  background-color: rgba(0, 0, 0, 0.5);
  min-width: 12cqh;
  line-height: 12cqh;
  max-height: 12cqb;
  border-radius: 12cqh;
  flex-grow: 1;
  flex-shrink: 1;
  align-self: start;
  margin: 0;
  display: flex;
  align-items: center;
  width: 100%;
}
.character_wrapper .card.character .character_info .character_info_inner > .status-badge > i {
  display: flex;
  aspect-ratio: 1/1;
  min-width: 12cqh;
  width: 12cqh;
  text-align: center;
  align-items: center;
  justify-content: center;
  font-size: 7cqh;
}
.character_wrapper .card.character .character_info .character_info_inner > .status-badge > span {
  transition: width 0.3s ease-in-out;
  flex: 1 1 auto;
  width: 0;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.character-tile-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}
.character-tile-list > * {
  flex: 1 1 206px;
  max-width: 206px;
  min-width: 0;
}
.character-tile-list.dm_screen, .character-tile-list.player_screen {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--bs-body-color-rgb), 0.35) transparent;
  padding-bottom: 4px;
}
.character-tile-list.dm_screen > *, .character-tile-list.player_screen > * {
  flex: 0 0 206px;
}
.character-tile-list.dm_screen::before, .character-tile-list.dm_screen::after, .character-tile-list.player_screen::before, .character-tile-list.player_screen::after {
  content: "";
  position: sticky;
  flex: 0 0 3rem;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.character-tile-list.dm_screen::before, .character-tile-list.player_screen::before {
  left: 0;
  margin-right: calc(-3rem - 12px);
  background: linear-gradient(to left, transparent, var(--bs-body-bg));
}
.character-tile-list.dm_screen::after, .character-tile-list.player_screen::after {
  right: 0;
  margin-left: calc(-3rem - 12px);
  background: linear-gradient(to right, transparent, var(--bs-body-bg));
}
.character-tile-list.dm_screen[data-scrollable-left]::before, .character-tile-list.dm_screen[data-scrollable-right]::after, .character-tile-list.player_screen[data-scrollable-left]::before, .character-tile-list.player_screen[data-scrollable-right]::after {
  opacity: 1;
}
.character-tile-list > .create-tile {
  height: auto;
  border-radius: 10px;
}
.character-tile-list.dm_screen > .character-tile-form > .character-tile:has(.dropdown-menu.show) {
  z-index: 1041;
}
.character-tile-list > .character-tile-form {
  display: flex;
  min-width: 0;
  margin: 0;
}
.character-tile-list > .character-tile-form.sortable-ghost {
  opacity: 0.3;
}

.character-tile {
  background: var(--bs-card-bg, var(--bs-body-bg));
  border: 1px solid var(--bs-border-color);
  --character-tile-radius: 10px;
  border-radius: var(--character-tile-radius);
  color: var(--bs-body-color);
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: 206px;
  position: relative;
}
.character-tile.sortable-ghost {
  opacity: 0.3;
}
.character-tile[data-character-screen-state=hidden] {
  border-style: dashed;
}
.character-tile[data-character-active=true] {
  border-color: var(--bs-primary);
}
.character-tile:has(.dropdown-menu.show) {
  z-index: 2;
}
.character-tile .btn-outline-secondary {
  --bs-btn-bg: var(--bs-tertiary-bg);
  --bs-btn-border-color: var(--bs-border-color);
  --bs-btn-color: var(--bs-body-color);
}
.character-tile .character-tile__name .character-tile__menu .dropdown-menu, .character-tile .character-tile__conditions .dropdown-menu {
  min-width: min(200px, 100%);
  width: 200px;
  max-width: calc(100vw - 24px);
  overflow-wrap: anywhere;
}
.character-tile .character-tile__name .character-tile__menu .dropdown-menu .dropdown-item, .character-tile .character-tile__conditions .dropdown-menu .dropdown-item {
  padding: 12px;
  white-space: normal;
}
.character-tile .character-tile__name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 0 0 12px;
  position: relative;
}
.character-tile .character-tile__name > :not(.text-truncate) {
  flex-shrink: 0;
}
.character-tile .character-tile__name .btn {
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
}
.character-tile .character-tile__name .character-tile__sort-handle {
  cursor: grab;
  touch-action: none;
}
.character-tile .character-tile__name .character-tile__sort-handle:active {
  cursor: grabbing;
}
.character-tile[data-character-hidden=false] .character-tile__name .character-tile__hidden-indicator, .character-tile[data-character-screen-state=offscreen] .character-tile__name .character-tile__sort-handle {
  display: none;
}
.character-tile .character-tile__image {
  aspect-ratio: 1/1;
  width: 100%;
  position: relative;
}
.character-tile .character-tile__image .character-tile__avatar {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 0;
}
.character-tile .character-tile__conditions {
  padding: 4px;
}
.character-tile .character-tile__conditions .status-condition--list {
  flex-wrap: nowrap;
}
.character-tile .character-tile__conditions .status-condition--list .status-condition--item {
  flex: 0 1 36px;
  min-width: 0;
  width: 36px;
}
.character-tile .character-tile__conditions .status-condition--list .status-condition--item:not(.status-condition--item-new) .status-condition-item--name {
  display: none;
}
.character-tile .character-tile__conditions .status-condition--list .status-condition--item.status-condition--item-new {
  width: auto;
}
.character-tile .character-tile__actions {
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 0;
  border-top: 1px solid var(--bs-border-color);
  margin-top: auto;
}
.character-tile .character-tile__actions .btn {
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  white-space: normal;
}
.character-tile .character-tile__actions > :first-child, .character-tile .character-tile__actions > :first-child > .btn {
  border-bottom-left-radius: calc(var(--character-tile-radius) - 1px);
}
.character-tile .character-tile__actions > :last-child, .character-tile .character-tile__actions > :last-child > .btn {
  border-bottom-right-radius: calc(var(--character-tile-radius) - 1px);
}
.character-tile .character-tile__actions .character-tile__edit, .character-tile .character-tile__actions .character-tile__hidden-toggle {
  flex: 0 0 44px;
}
.character-tile .character-tile__actions .character-tile__on-screen-toggle {
  flex: 1;
  min-width: 0;
}
.character-tile .character-tile__actions .single-button-switch > label {
  width: 100%;
  padding-inline: 6px;
}
.character-tile .character-tile__actions .single-button-switch .btn-check:checked {
  display: none;
}
.character-tile .character-tile__actions .character-tile__hidden-toggle > label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.reveal_card_list > turbo-frame {
  display: block;
}
.reveal_card_list .card {
  margin: auto;
  width: 100%;
  aspect-ratio: 2/3;
}
.reveal_card_list .card.reveal_card {
  overflow: hidden;
}
.reveal_card_list .card.reveal_card.active {
  border-color: #F3E8D2;
}
.reveal_card_list .card.reveal_card .reveal_card_media {
  align-items: center;
  background: var(--bs-dark);
  color: var(--bs-light);
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-height: 0;
  width: 100%;
}
.reveal_card_list .card.reveal_card .reveal_card_media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.reveal_card_list .card.reveal_card .card-body {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reveal_card_list .card.reveal_card .card-footer .btn {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reveal_card_list .card.add_reveal_card {
  height: 100%;
}
.reveal_card_list .card.add_reveal_card:hover {
  border-color: #D4AF37;
  color: #D4AF37;
}

.release-notes-preview__content {
  font-size: 0.875rem;
}

.release-notes-preview__content > :last-child {
  margin-bottom: 0;
}

.release-notes-preview__actions {
  border-top: 1px solid var(--bs-card-border-color);
}

.campaign-user-tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--bs-card-border-color);
  border-radius: var(--bs-border-radius);
  background: rgba(13, 17, 23, 0.36);
}

.campaign-user-tile__identity {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.campaign-user-tile__name {
  font-weight: 600;
}

.campaign-user-tile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.campaign-user-tile__characters {
  min-width: 0;
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
}

.campaign-user-tile__actions {
  justify-self: end;
}

@media (max-width: 575.98px) {
  .campaign-user-tile {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .campaign-user-tile__characters {
    grid-column: 1/-1;
  }
}
.campaign-breadcrumb {
  padding: 1rem 0.5rem;
}
.campaign-breadcrumb .breadcrumb {
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
  overflow-x: auto;
}
.campaign-breadcrumb .breadcrumb-item, .campaign-breadcrumb__link, .campaign-breadcrumb__current {
  align-items: center;
  display: inline-flex;
  gap: 0.4rem;
  min-width: 0;
}
.campaign-breadcrumb__link, .campaign-breadcrumb__current span {
  min-width: 0;
}
.campaign-breadcrumb .breadcrumb-item {
  max-width: 18rem;
}
.campaign-breadcrumb .breadcrumb-item > a,
.campaign-breadcrumb .breadcrumb-item > span {
  max-width: 100%;
}
.campaign-breadcrumb .breadcrumb-item span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.full_screen_with_sidebar.game-map-editor-fullscreen .campaign-breadcrumb {
  display: none;
}

body.sessions #cover {
  pointer-events: none;
  position: absolute;
  z-index: 0;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0;
}
body.sessions #cover > .background {
  opacity: 0.05;
  height: 100%;
  width: 100%;
  background-image: url("/vite/assets/playing_game_1-D70mlHVC.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
}

.create-tile {
  align-items: center;
  background: var(--bs-card-bg);
  border: 1px dashed var(--bs-border-color);
  border-radius: var(--bs-card-border-radius);
  color: var(--bs-secondary-color);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
  justify-content: center;
  min-height: 9rem;
  padding: 0.75rem;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.create-tile:hover,
.create-tile:focus {
  border-color: var(--bs-secondary);
  color: var(--bs-secondary);
  text-decoration: none;
}

.create-tile:focus-visible {
  outline: 0.2rem solid rgba(var(--bs-secondary-rgb), 0.35);
  outline-offset: 0.15rem;
}

.create-tile__icon {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(var(--bs-secondary-rgb), 0.1);
  border-radius: 0.5rem;
  display: inline-flex;
  font-size: 1.5rem;
  justify-content: center;
  width: 3rem;
}

.create-tile__label {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.create-tile--compact {
  min-height: 8rem;
}

.create-tile--media {
  min-height: 13rem;
}

.debug_area {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  align-items: center;
}

.campaign-dashboard-card {
  min-height: 15rem;
}

.campaign-dashboard-card__image {
  width: 100%;
  aspect-ratio: 16/5;
  object-fit: cover;
  display: block;
}

.campaign-dashboard-card__content {
  gap: 1rem;
  padding: 1rem;
}

.campaign-dashboard-card__title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.campaign-dashboard-card__title {
  flex: 1 1 auto;
  min-width: 0;
}

.campaign-dashboard-card__dm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex: 0 0 auto;
}

@media (max-width: 575.98px) {
  .campaign-dashboard-card {
    min-height: 14rem;
  }
  .campaign-dashboard-card__content {
    padding: 0.85rem;
  }
}
.game-map-dashboard-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.game-map-dashboard-card {
  background: var(--bs-card-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 15px;
  display: grid;
  gap: 0.65rem;
  grid-template-rows: auto minmax(2rem, auto);
  min-width: 0;
  padding: 0.75rem;
}

.game-map-dashboard-card--active {
  border-color: var(--bs-primary);
}

.game-map-dashboard-card__main {
  color: inherit;
  display: grid;
  gap: 0.55rem;
  grid-template-rows: 9rem auto;
  min-width: 0;
}

.game-map-dashboard-card__main:hover .game-map-dashboard-card__name {
  color: var(--bs-link-hover-color) !important;
}

.game-map-dashboard-card__preview {
  align-items: center;
  background: rgba(var(--bs-primary-rgb), 0.1);
  border: 1px solid rgba(var(--bs-primary-rgb), 0.25);
  border-radius: 0.5rem;
  display: flex;
  height: 9rem;
  justify-content: center;
  max-height: 9rem;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.game-map-dashboard-card__image {
  display: block;
  height: 100%;
  max-height: 9rem;
  object-fit: cover;
  width: 100%;
}

.game-map-dashboard-card__placeholder {
  align-items: center;
  color: var(--bs-secondary-color);
  display: inline-flex;
  font-size: 2rem;
  justify-content: center;
}

.game-map-dashboard-card__name {
  align-items: center;
  display: flex;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.35rem;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.game-map-dashboard-card__actions {
  align-items: center;
  display: grid;
  gap: 0.35rem;
  grid-auto-columns: minmax(0, max-content);
  grid-auto-flow: column;
  justify-content: center;
  min-height: 2rem;
  width: 100%;
}
.game-map-dashboard-card__actions form.button_to {
  display: inline-flex;
  margin: 0;
}
.game-map-dashboard-card__actions .btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-width: 0;
  white-space: nowrap;
  width: 2.25rem;
}

@media (min-width: 576px) {
  .game-map-dashboard-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .game-map-dashboard-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .game-map-dashboard-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.status-condition-dashboard-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.status-condition-dashboard-card-frame {
  display: block;
  min-width: 0;
}

.status-condition-dashboard-card {
  align-items: center;
  background: var(--bs-card-bg);
  border: var(--bs-card-border-width) solid var(--bs-card-border-color);
  border-radius: var(--bs-card-border-radius);
  box-shadow: var(--bs-card-box-shadow);
  display: grid;
  gap: 0.55rem;
  height: 100%;
  justify-items: center;
  min-width: 0;
  padding: 0.75rem;
}

.status-condition-dashboard-card__icon {
  align-items: center;
  aspect-ratio: 1;
  background: var(--bs-tertiary-bg);
  border-radius: 0.375rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.status-condition-dashboard-card__name {
  font-size: 0.8rem;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-condition-dashboard-card__actions {
  align-items: center;
  display: grid;
  gap: 0.35rem;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, max-content);
  justify-content: center;
  min-height: 2rem;
  width: 100%;
}

.status-condition-dashboard-card__actions .btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-width: 0;
  white-space: nowrap;
}

.status-condition-dashboard-card__actions > * {
  min-width: 0;
}

.status-condition-dashboard-card__actions form.button_to {
  display: inline-flex;
  margin: 0;
}

@media (min-width: 576px) {
  .status-condition-dashboard-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .status-condition-dashboard-card-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .status-condition-dashboard-card-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .status-condition-dashboard-card-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
}
@media (min-width: 1400px) {
  .status-condition-dashboard-card-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}
.dice-input .dice-input__controls {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  inline-size: 100%;
  margin-block: -0.25rem 1rem;
  margin-inline: auto;
  max-inline-size: 21rem;
}
.dice-input .dice-input__controls .quad-button {
  --quad-button-size: min(6.6667rem, 100%);
  inline-size: var(--quad-button-size);
  justify-self: center;
}
.dice-input .dice-input__controls .quad-button.quad-button--content-muted {
  --quad-button-content-opacity: 1;
  --die-line-color: #8b949e;
  --die-text-color: #e6edf3;
  --die-text-outline-color: transparent;
  --die-text-outline-width: 0;
}
.dice-input .dice-input__controls .quad-button.quad-button--content-normal {
  --die-line-color: #e6edf3;
  --die-text-color: #D4AF37;
  --die-text-outline-color: #161b22;
  --die-text-outline-width: 4px;
}
.dice-input .dice-input__controls .dice-input__die-icon,
.dice-input .dice-input__controls .dice-input__roll-icon {
  height: 3rem;
  width: 3rem;
}
.dice-input .dice-input__controls .dice-input__modifier-value {
  font-size: 1.25rem;
  font-weight: 700;
}

.favourite-roll-list {
  display: block;
  min-width: 0;
}
.favourite-roll-list .favourite-roll-list__items {
  border: 1px solid #30363d;
  border-radius: 0.375rem;
  overflow: hidden;
}
.favourite-roll-list .favourite-roll-list__items .favourite-roll-list__item {
  align-items: center;
  background: #161b22;
  block-size: 42px;
  border-block-end: 1px solid #30363d;
  display: grid;
  gap: 0.25rem;
  grid-template-columns: 2rem minmax(0, 1fr) repeat(2, 2rem);
  padding: 0.25rem;
}
.favourite-roll-list .favourite-roll-list__items .favourite-roll-list__item:last-of-type {
  border-block-end: 0;
}
.favourite-roll-list .favourite-roll-list__items .favourite-roll-list__item.sortable-ghost {
  opacity: 0.45;
}
.favourite-roll-list .favourite-roll-list__items .favourite-roll-list__item.favourite-roll-list__item--add {
  color: #D4AF37;
  grid-template-columns: 2rem minmax(0, 1fr);
  text-decoration: none;
}
.favourite-roll-list .favourite-roll-list__items .favourite-roll-list__item.favourite-roll-list__item--add:hover, .favourite-roll-list .favourite-roll-list__items .favourite-roll-list__item.favourite-roll-list__item--add:focus-visible {
  background: rgba(212, 175, 55, 0.1);
}
.favourite-roll-list .favourite-roll-list__items .favourite-roll-list__item.favourite-roll-list__item--add > i {
  justify-self: center;
}
.favourite-roll-list .favourite-roll-list__items .favourite-roll-list__item .btn {
  align-items: center;
  block-size: 2rem;
  display: inline-flex;
  inline-size: 2rem;
  justify-content: center;
  padding: 0;
}
.favourite-roll-list .favourite-roll-list__items .favourite-roll-list__item .favourite-roll-list__details {
  align-items: baseline;
  display: flex;
  gap: 0.5rem;
  min-width: 0;
}
.favourite-roll-list .favourite-roll-list__items .favourite-roll-list__item .favourite-roll-list__details .favourite-roll-list__name,
.favourite-roll-list .favourite-roll-list__items .favourite-roll-list__item .favourite-roll-list__details .favourite-roll-list__dice {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.favourite-roll-list .favourite-roll-list__items .favourite-roll-list__item .favourite-roll-list__details .favourite-roll-list__name {
  flex: 0 0 auto;
  max-width: 100%;
}
.favourite-roll-list .favourite-roll-list__items .favourite-roll-list__item .favourite-roll-list__details .favourite-roll-list__dice {
  color: #8b949e;
  flex: 1 1 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
  min-width: 0;
}
.favourite-roll-list .favourite-roll-list__items .favourite-roll-list__item .favourite-roll-list__move {
  cursor: grab;
}
.favourite-roll-list .favourite-roll-list__items .favourite-roll-list__item .favourite-roll-list__move:active {
  cursor: grabbing;
}
.favourite-roll-list .favourite-roll-list__items .favourite-roll-list__item .favourite-roll-list__roll-icon {
  --die-line-width: 4;
  block-size: 1.25rem;
  inline-size: 1.25rem;
}

.campaign-user-roll .campaign-user-roll__input-layout {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block-end: 1rem;
}
.campaign-user-roll .campaign-user-roll__input-layout > .dice-input {
  display: contents;
}
.campaign-user-roll .campaign-user-roll__input-layout .dice-input__field {
  grid-column: 1/-1;
  margin-block-end: 0;
}
.campaign-user-roll .campaign-user-roll__input-layout .dice-input__controls,
.campaign-user-roll .campaign-user-roll__input-layout > .favourite-roll-list {
  min-width: 0;
}
.campaign-user-roll .campaign-user-roll__input-layout .dice-input__controls {
  margin-block-end: 0;
}
.campaign-user-roll .campaign-user-roll__roll-icon {
  --die-line-width: 4;
  block-size: 1.25rem;
  inline-size: 1.25rem;
}
.campaign-user-roll .campaign-user-roll__history .campaign-user-roll__history-row--completed > * {
  animation: campaign-user-roll-result-pulse 1.2s ease-out;
}

@keyframes campaign-user-roll-result-pulse {
  0%, 100% {
    background-color: transparent;
  }
  30% {
    background-color: rgba(212, 175, 55, 0.3);
  }
}
@media (max-width: 767.98px) {
  .campaign-user-roll .campaign-user-roll__input-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .campaign-user-roll .campaign-user-roll__input-layout .dice-input__field {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .campaign-user-roll .campaign-user-roll__history .campaign-user-roll__history-row--completed > * {
    animation: none;
  }
}
.dm-icon {
  display: inline-block;
  flex-shrink: 0;
  height: 1em;
  vertical-align: -0.125em;
  width: 1em;
}
.dm-icon.dm-icon--monochrome {
  background-color: currentColor;
  mask: var(--dm-icon-mask) center/contain no-repeat;
}

/* ── Sidebar reveal-drop nav link ── */
.nav-link.sidebar-reveal-dragging {
  border: 2px dashed currentColor !important;
  border-radius: 0.375rem;
  opacity: 0.9;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-link.sidebar-reveal-drag-over {
  border-color: var(--bs-secondary, #0d6efd) !important;
  background-color: rgba(var(--bs-secondary-rgb, 13, 110, 253), 0.15) !important;
  color: var(--bs-secondary, #0d6efd) !important;
}

/* ── Droppable: file-drop zone styling ── */
[data-droppable-target=area] {
  display: none;
  position: relative;
  border: 2px dashed transparent;
  border-radius: 0.375rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  cursor: default;
  /* The drop-text overlay */
}
[data-droppable-target=area]::after {
  content: attr(data-drop-text);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  text-align: center;
  padding: 1rem;
}

/* ── Visible when dragging ── */
body.dragging [data-droppable-target=area], [data-droppable-target=area].always-visible {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20vh;
  border-color: rgba(255, 255, 255, 0.35);
  background-color: rgba(0, 0, 0, 0.6);
  /* Hover / drag-over highlight */
}
body.dragging [data-droppable-target=area].drag-over, [data-droppable-target=area].always-visible.drag-over {
  border-color: var(--bs-secondary, #0d6efd);
  background-color: rgba(var(--bs-secondary-rgb, 13, 110, 253), 0.6);
}
body.dragging [data-droppable-target=area].drag-over::after, [data-droppable-target=area].always-visible.drag-over::after {
  color: rgba(255, 255, 255, 0.95);
}

.filter-sidebar__title {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

form[aria-busy=true] .upload_preview {
  opacity: 0.9;
}
form[aria-busy=true] .upload_preview:before {
  font-family: "Font Awesome 7 Free";
  color: black;
  font-size: 66px;
  font-weight: bold;
  content: "\f110";
  animation: fa-spin 1s linear infinite;
  position: absolute;
}
form[aria-busy=true] .upload_preview:after {
  font-family: "Font Awesome 7 Free";
  color: white;
  font-size: 64px;
  font-weight: bold;
  content: "\f110";
  animation: fa-spin 1s linear infinite;
  position: absolute;
}

.image-selectable {
  min-width: 0;
}
.image-selectable .image-selectable__trigger {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-lg);
  color: inherit;
  display: block;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.image-selectable .image-selectable__trigger:hover {
  border-color: rgba(var(--bs-secondary-rgb), 0.65);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-secondary-rgb), 0.15);
  transform: translateY(-1px);
}
.image-selectable .image-selectable__trigger:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-secondary-rgb), 0.25);
  outline: 0;
}
.image-selectable .image-selectable__trigger .image-selectable__preview {
  aspect-ratio: 16/9;
  display: block;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.image-selectable .image-selectable__trigger .image-selectable__preview .image-selectable__image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.image-selectable .image-selectable__trigger .image-selectable__preview .image-selectable__placeholder {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}
.image-selectable .image-selectable__trigger .image-selectable__preview .image-selectable__placeholder .image-selectable__upload-icon {
  align-items: center;
  background: rgba(var(--bs-secondary-rgb), 0.14);
  border-radius: 50%;
  color: var(--bs-secondary);
  display: inline-flex;
  font-size: 1.35rem;
  height: 3.25rem;
  justify-content: center;
  width: 3.25rem;
}
.image-selectable .image-selectable__trigger .image-selectable__preview .image-selectable__placeholder .image-selectable__label {
  font-weight: 600;
}
.image-selectable .image-selectable__trigger .image-selectable__preview .image-selectable__placeholder .image-selectable__hint {
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
}
.image-selectable .image-selectable__trigger .image-selectable__preview .image-selectable__change-label {
  background: rgba(0, 0, 0, 0.7);
  border-radius: var(--bs-border-radius);
  bottom: 0.5rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  position: absolute;
  right: 0.5rem;
}
.image-selectable.image-selectable--character-avatar {
  height: 100%;
  margin-bottom: 0 !important;
}
.image-selectable.image-selectable--character-avatar .image-selectable__legend {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.image-selectable.image-selectable--character-avatar .image-selectable__trigger {
  height: 100%;
}
.image-selectable.image-selectable--character-avatar .image-selectable__trigger .image-selectable__preview {
  aspect-ratio: 1;
  height: 100%;
  min-height: 10rem;
}

.image-selectable-dialog .image-selectable-dialog__options {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
}
.image-selectable-dialog .image-selectable-dialog__options .image-selectable-dialog__upload {
  min-width: 0;
}
.image-selectable-dialog .image-selectable-dialog__options .image-selectable-dialog__upload .image-selectable-dialog__option {
  height: 100%;
}
.image-selectable-dialog .image-selectable-dialog__options .image-selectable-dialog__upload:has(input:checked) .image-selectable-dialog__option {
  border-color: var(--bs-secondary);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-secondary-rgb), 0.25);
}
.image-selectable-dialog .image-selectable-dialog__options .image-selectable-dialog__option {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-lg);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.5rem;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.image-selectable-dialog .image-selectable-dialog__options .image-selectable-dialog__option:hover {
  border-color: rgba(var(--bs-secondary-rgb), 0.65);
  transform: translateY(-1px);
}
.image-selectable-dialog .image-selectable-dialog__options .image-selectable-dialog__option:has(.image-selectable-dialog__radio:checked) {
  border-color: var(--bs-secondary);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-secondary-rgb), 0.25);
}
.image-selectable-dialog .image-selectable-dialog__options .image-selectable-dialog__option .image-selectable-dialog__radio {
  left: 0.75rem;
  position: absolute;
  top: 0.75rem;
  z-index: 1;
}
.image-selectable-dialog .image-selectable-dialog__options .image-selectable-dialog__option .image-selectable-dialog__preview {
  aspect-ratio: 16/9;
  border-radius: calc(var(--bs-border-radius-lg) - 0.25rem);
  display: block;
  overflow: hidden;
  width: 100%;
}
.image-selectable-dialog .image-selectable-dialog__options .image-selectable-dialog__option .image-selectable-dialog__preview .image-selectable-dialog__image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.image-selectable-dialog .image-selectable-dialog__options .image-selectable-dialog__option .image-selectable-dialog__preview .image-selectable-dialog__upload-placeholder {
  align-items: center;
  color: var(--bs-secondary);
  display: flex;
  font-size: 2rem;
  height: 100%;
  justify-content: center;
}
.image-selectable-dialog .image-selectable-dialog__options .image-selectable-dialog__option .image-selectable-dialog__label {
  font-weight: 600;
  line-height: 1.2;
}
.image-selectable-dialog .image-selectable-dialog__options .image-selectable-dialog__option .image-selectable-dialog__hint {
  color: var(--bs-secondary-color);
  font-size: 0.8rem;
}
.image-selectable-dialog.image-selectable-dialog--character-avatar .image-selectable-dialog__options .image-selectable-dialog__option .image-selectable-dialog__preview {
  aspect-ratio: 1;
}

.oauth-button {
  height: 40px;
}

.oauth-button-text {
  font-size: 14px;
  font-weight: 500;
  color: #3c4043;
}

.pagination-wrapper .pagy {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.25rem;
}
.pagination-wrapper .pagy a, .pagination-wrapper .pagy .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid transparent;
}
.pagination-wrapper .pagy a {
  color: inherit;
}
.pagination-wrapper .pagy a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.pagination-wrapper .pagy .current {
  background-color: var(--bs-secondary);
  color: #fff;
  font-weight: 600;
}
.pagination-wrapper .pagy .gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
}

.panel {
  background-color: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.55);
  color: var(--bs-light);
  pointer-events: auto;
  z-index: 30;
}

.panel-header {
  align-items: center;
  background-color: transparent;
  border-bottom: 1px solid var(--bs-border-color);
  display: flex;
  gap: 0.5rem;
  padding: 0 1rem;
  line-height: 2rem;
  height: 2rem;
}

.panel-body {
  background-color: transparent;
  padding: 1rem;
}

.sortable-header__link {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.sortable-header__link:hover {
  color: #798ad5;
}
.sortable-header__icon {
  font-size: 0.75rem;
  opacity: 0.4;
  transition: opacity 0.15s ease;
}
.sortable-header--active .sortable-header__icon {
  opacity: 1;
}
.sortable-header--active .sortable-header__link {
  font-weight: 600;
}

.touch-only {
  display: none;
}
@media (hover: none) and (pointer: coarse) {
  .touch-only {
    display: inline-block;
  }
}

.touch-only-flex {
  display: none;
}
@media (hover: none) and (pointer: coarse) {
  .touch-only-flex {
    display: flex;
  }
}

.titled-column {
  min-width: 0;
  gap: 1rem;
  display: flex;
  flex-direction: column;
}
.titled-column .titled-column__header {
  padding: 0 0.5rem;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  min-width: 0;
}
.titled-column .titled-column__header .titled-column__heading .titled-column__title {
  display: flex;
  min-width: 0;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
}
.legal-policy {
  max-width: 52rem;
  overflow-wrap: anywhere;
}
.legal-policy .legal-policy-content h2 {
  margin-top: 2rem;
}
.legal-policy .legal-policy-content table {
  width: 100%;
  margin-bottom: 1rem;
}
.legal-policy .legal-policy-content table th,
.legal-policy .legal-policy-content table td {
  padding: 0.5rem;
  border: 1px solid var(--bs-border-color);
  vertical-align: top;
}

.navigation-layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}
.navigation-layout .navigation-layout__row {
  flex: 1;
  min-height: 0;
  min-width: 0;
}
.navigation-layout .navigation-layout__row > .navigation-layout__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
}
.navigation-layout .navigation-layout__row > .navigation-layout__main #footer {
  flex: 0 0 auto;
}

.navigation-topbar {
  background: #161b22;
  border-bottom: 1px solid #30363d;
  flex: 0 0 auto;
  height: calc(3.5rem + env(safe-area-inset-top));
  min-width: 0;
  padding: env(safe-area-inset-top) max(0.5rem, env(safe-area-inset-right)) 0 max(0.5rem, env(safe-area-inset-left));
  position: relative;
  z-index: 1030;
}
.navigation-topbar .navigation-toggle {
  min-height: 44px;
  min-width: 44px;
}
.navigation-topbar .navigation-topbar__name {
  min-width: 0;
}
.navigation-topbar .navigation-topbar__account {
  max-width: 40%;
}
.navigation-topbar .navigation-topbar__account .nav-link {
  color: #e6edf3;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.navigation-topbar .navigation-topbar__account .nav-link:hover {
  color: #798ad5;
}
.navigation-topbar .navigation-topbar__account .user-dropdown .user-dropdown__toggle {
  min-height: 44px;
  min-width: 44px;
}
.navigation-topbar .navigation-topbar__account .user-dropdown .dropdown-menu {
  position: absolute;
  max-width: calc(100vw - 1rem);
}

.navigation-sidebar.offcanvas-xxl {
  --bs-offcanvas-width: min(22rem, 100vw);
  --bs-offcanvas-bg: #161b22;
  --bs-offcanvas-color: #e6edf3;
  --bs-offcanvas-border-color: #30363d;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.18), 12px 0 32px rgba(0, 0, 0, 0.14);
}
.navigation-sidebar.offcanvas-xxl .sidebar {
  padding-top: max(0.5rem, env(safe-area-inset-top));
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  padding-left: max(0.5rem, env(safe-area-inset-left));
  min-height: 0;
  background-color: rgba(22, 27, 34, 0.8);
}
.navigation-sidebar.offcanvas-xxl .sidebar .sidebar_title {
  gap: 0.5rem;
}
.navigation-sidebar.offcanvas-xxl .sidebar .sidebar_title .sidebar-brand img {
  flex-shrink: 0;
}
.navigation-sidebar.offcanvas-xxl .sidebar .sidebar_title .navigation-close {
  min-width: 44px;
  min-height: 44px;
}
.navigation-sidebar.offcanvas-xxl .sidebar > .nav {
  flex: 1 1 auto;
  flex-wrap: nowrap;
  min-height: 0;
  overflow-y: auto;
}
.navigation-sidebar.offcanvas-xxl .sidebar > .nav .nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
}

@media (max-width: 575.98px) {
  .navigation-topbar .navigation-topbar__account .user-dropdown .user-dropdown__name {
    display: none;
  }
}
@media (min-width: 1400px) {
  body:has(.dm-screen-preview.is-minimized) .navigation-sidebar__bottom::before {
    content: "";
    display: block;
    height: 44px;
  }
  .navigation-sidebar.offcanvas-xxl {
    flex: 0 0 auto;
    width: 16.666667%;
    max-width: 280px;
    z-index: 1030;
  }
}
@media (hover: none), (pointer: coarse) {
  .navigation-sidebar.offcanvas-xxl .sidebar .system-keybind,
  .navigation-sidebar.offcanvas-xxl .sidebar .system-keybind-hint {
    display: none !important;
  }
}
.async-select-modal-form {
  display: flex;
  height: min(45rem, 75dvh);
  min-height: 0;
}
.async-select-modal-form .async-select-modal {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
.async-select-modal-form .async-select-modal .async-select-modal__results {
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.async-select-modal-form .async-select-modal .async-select-modal__results .async-select-option {
  height: 3.625rem;
  cursor: pointer;
  transition: background-color 120ms ease;
}
.async-select-modal-form .async-select-modal .async-select-modal__results .async-select-option .async-select-option__text {
  flex: 1;
  min-width: 0;
  line-height: 1;
}
.async-select-modal-form .async-select-modal .async-select-modal__results .async-select-option .async-select-option__text .async-select-option__name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.async-select-modal-form .async-select-modal .async-select-modal__results .async-select-option .async-select-option__text small {
  margin-top: 2px;
  font-size: 0.75rem;
  line-height: 1.1;
}
.async-select-modal-form .async-select-modal .async-select-modal__results .async-select-option .async-select-option__new-icon {
  color: gray;
}
.async-select-modal-form .async-select-modal .async-select-modal__results .async-select-option input[type=checkbox] {
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.async-select-modal-form .async-select-modal .async-select-modal__results .async-select-option:hover, .async-select-modal-form .async-select-modal .async-select-modal__results .async-select-option:focus-within {
  background-color: var(--bs-tertiary-bg);
}
.async-select-modal-form .async-select-modal .async-select-modal__results .async-select-option:hover input[type=checkbox], .async-select-modal-form .async-select-modal .async-select-modal__results .async-select-option:focus-within input[type=checkbox] {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.15rem rgba(var(--bs-primary-rgb), 0.2);
}
@media (max-width: 575.98px) {
  .async-select-modal-form .async-select-modal .async-select-modal__results .async-select-option {
    height: 2.75rem;
  }
}

@media (hover: none) and (pointer: coarse) {
  .d-touch-none {
    display: none !important;
  }
}
.button_to {
  display: contents;
}

.d-contents {
  display: contents;
}

.cursor-pointer {
  cursor: pointer;
}

.dashboard-page {
  padding-bottom: 3rem;
}

.dashboard-quote {
  max-width: 62rem;
}

.dashboard-layout {
  display: grid;
  gap: 1.5rem;
}

.dashboard-main-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.dashboard-section {
  min-width: 0;
}

.dashboard-campaign-grid > .col {
  display: flex;
}

.dashboard-campaign-grid > .col > a {
  width: 100%;
}

.dashboard-release-notes-card {
  position: sticky;
}

@media (min-width: 1400px) {
  .dashboard-layout {
    grid-template-columns: minmax(0, 2fr) minmax(20rem, 1fr);
    align-items: start;
  }
}
@media (max-width: 575.98px) {
  .dashboard-page {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .dashboard-section .h4 {
    font-size: 1.1rem;
  }
}
.campaign-overview-layout {
  display: grid;
  gap: 1.5rem;
}

.campaign-overview-main,
.campaign-overview-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.campaign-overview-section {
  min-width: 0;
}

.campaign-overview-members {
  display: grid;
  gap: 0.75rem;
}

body.full_screen_with_sidebar #cover {
  background-color: #06080c;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}
body.full_screen_with_sidebar #cover > .background {
  background-image: var(--campaign-background-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(0.9) brightness(0.72);
  height: 100%;
  transform: scale(1.03);
  opacity: 0.25;
  width: 100%;
}
body.full_screen_with_sidebar > .dm_screen_container {
  background: rgba(6, 8, 12, 0.7);
  position: relative;
  z-index: auto;
}

@media (min-width: 1400px) {
  .campaign-overview-layout {
    grid-template-columns: minmax(0, 2fr) minmax(20rem, 1fr);
    align-items: start;
  }
}
body.sessions .navigation-layout__main > .container > .container .card {
  background: rgba(22, 27, 34, 0.5);
}

.conditions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr 100px;
  gap: 1rem;
  margin-top: 2rem;
}
.conditions-grid > turbo-frame, .conditions-grid > turbo-frame > form {
  display: contents;
}

.conditions-grid-header {
  font-weight: bold;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #dee2e6;
}

.condition-row {
  display: contents;
}

.condition-cell {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

.condition-cell input,
.condition-cell textarea {
  width: 100%;
}

.condition-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

html,
body {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#footer {
  min-height: 54px;
}
#footer .footer-copy-short,
#footer .footer-credit-short {
  display: none;
}
#footer .footer-credit {
  gap: 1rem;
}
@media (max-width: 575.98px) {
  #footer .container {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  #footer .footer-content {
    min-width: 0;
  }
  #footer .footer-brand,
  #footer .footer-credit {
    min-width: 0;
  }
  #footer .footer-copy-long,
  #footer .footer-credit-long {
    display: none;
  }
  #footer .footer-copy-short,
  #footer .footer-credit-short {
    display: inline;
  }
}

body.full_screen .navigation-topbar, body.full_screen #navigation, body.full_screen #footer {
  display: none !important;
}

html:has(.full_screen_with_sidebar) {
  height: 100%;
}

body.full_screen_with_sidebar {
  max-width: 100vw;
  height: 100%;
  overflow: hidden;
}
body.full_screen_with_sidebar > .dm_screen_container {
  display: block;
  height: 100vh;
  height: 100dvh;
}
body.full_screen_with_sidebar > .dm_screen_container .campaign-layout-content {
  flex: 1 0 auto;
  padding-bottom: 10rem;
}
body.full_screen_with_sidebar:has(.game-map-editor) .campaign-layout-content {
  padding-bottom: 0;
}

form[aria-busy=true] .select2-container--bootstrap-5 {
  pointer-events: none;
  opacity: 0.6;
}

.select2-container--bootstrap-5 .select2-selection {
  padding: 2px;
  display: flex;
  background-color: #21262d;
  border-color: #30363d;
  color: #e6edf3;
}
.select2-container--bootstrap-5 .select2-selection .select2-selection__rendered {
  color: #e6edf3;
}
.select2-container--bootstrap-5 .select2-selection .select2-selection__placeholder {
  color: #8b949e;
}
.select2-container--bootstrap-5 .select2-selection.select2-selection--multiple .select2-search.select2-search--inline {
  flex-shrink: 1;
  min-width: 100px;
  width: auto;
  height: 33px;
  display: flex;
  align-items: center;
  padding-left: 2px;
}
.select2-container--bootstrap-5 .select2-selection.select2-selection--multiple .select2-selection__rendered {
  gap: 2px;
}
.select2-container--bootstrap-5 .select2-selection.select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
  margin: 0;
  padding: 2px 4px;
  gap: 4px;
  font-size: 12px;
  color: #e6edf3;
  border-color: #30363d;
}
.select2-container--bootstrap-5 .select2-selection.select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
  margin: 0;
  background-position: 50%;
  background-size: 0.5rem;
}
.select2-container--bootstrap-5 .select2-selection.select2-selection--single .select2-selection__rendered {
  padding-left: 8px;
  display: flex;
  align-items: center;
}

.select2-container--bootstrap-5 .select2-dropdown {
  background-color: #161b22;
  border-color: #30363d;
}

.select2-container--bootstrap-5 .select2-search .select2-search__field {
  background-color: #21262d;
  border-color: #30363d;
  color: #e6edf3;
}

.select2-container--bootstrap-5 .select2-results__option {
  color: #e6edf3;
}
.select2-container--bootstrap-5 .select2-results__option.select2-results__option--highlighted, .select2-container--bootstrap-5 .select2-results__option.select2-results__option--selected {
  background-color: #191f2c;
  color: #fff;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice {
  background-color: #161b22;
  border-color: #30363d;
  color: #e6edf3;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice__remove {
  color: #8b949e;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #e6edf3;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected {
  display: none;
}