.label-default {
    color: #fff;
    background-color: #535353;
}

.label-primary {
    color: rgb(117, 178, 208);
    background-color: rgb(14, 48, 65);
    border-color: rgb(22, 90, 104);
}

.label-success {
    color: #c9ffb5;
    background-color: #318031;
}

.label-info {
    color: #c8faff;
    background-color: #0c8cb3;
}

.label-warning {
    color: #ffdeca;
    background-color: #b16800;
}

.label-danger {
    color: #ffc4c4;
    background-color: #b10000;
}

.label-purple {
    color: #fa9ffd;
    background-color: purple
}

.label-yellow {
    color: #000;
    background-color: #d9b500
}

.mailing-address-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mailing-address-field {
    margin-bottom: 0;
}

.mailing-address-field .text-muted.small {
    margin-top: 4px;
}

.label-pink {
    color: #ffdef8;
    background-color: #ee00ff
}

.label-light-blue {
    color: #000;
    background-color: #00d5ff
}

.status-offline {
    color: #bbb
}

.status-ok {
    color: #2a5
}

.status-warning {
    color: #f80
}

.status-error {
    color: #d22
}

.transaction-payed {
    color: #2a5
}

.transaction-declined {
    color: #d22
}

.transaction-refunded {
    color: #22a
}

.transaction-invalid {
    color: #f80
}

@media all {
    .page-break { display: none; }
}

@media print {
    .page-break { display: block; page-break-before: always; }
}

.modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    background-color: #131516 !important;
}

.form-control {
    color: #b1b1b1;
    background-color: #111111 !important;
}

.select2-container {
    margin: 0;
    position: relative;
    display: inline-block;
    zoom: 1;
    *display: inline;
    vertical-align: middle
}

.select2-container, .select2-drop, .select2-search, .select2-search input {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.select2-container .select2-choice {
    display: block;
    height: 26px;
    padding: 0 0 0 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid #2a2f35;
    white-space: nowrap;
    line-height: 26px;
    color: #e6e6e6;
    text-decoration: none;
    border-radius: 4px;
    background-clip: padding-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #131516;
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #111), color-stop(0.5, #222));
    background-image: -webkit-linear-gradient(center bottom, #111 0%, #222 50%);
    background-image: -moz-linear-gradient(center bottom, #111 0%, #222 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222222', endColorstr='#111111', GradientType=0);
    background-image: linear-gradient(to top, #111 0%, #222 50%)
}

html[dir="rtl"] .select2-container .select2-choice {
    padding: 0 8px 0 0
}

.select2-container.select2-drop-above .select2-choice {
    border-bottom-color: #2a2f35;
    border-radius: 0 0 4px 4px;
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #111), color-stop(0.9, #222));
    background-image: -webkit-linear-gradient(center bottom, #111 0%, #222 90%);
    background-image: -moz-linear-gradient(center bottom, #111 0%, #222 90%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222222', endColorstr='#111111', GradientType=0);
    background-image: linear-gradient(to bottom, #111 0%, #222 90%)
}

.select2-container.select2-allowclear .select2-choice .select2-chosen {
    margin-right: 42px
}

.select2-container .select2-choice > .select2-chosen {
    margin-right: 26px;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    float: none;
    width: auto
}

html[dir="rtl"] .select2-container .select2-choice > .select2-chosen {
    margin-left: 26px;
    margin-right: 0
}

.select2-container .select2-choice abbr {
    display: none;
    width: 12px;
    height: 12px;
    position: absolute;
    right: 24px;
    top: 8px;
    font-size: 1px;
    text-decoration: none;
    border: 0;
    background: url(https://twilightgamez.net/assets/img/select2.png) right top no-repeat;
    cursor: pointer;
    outline: 0
}

.select2-container.select2-allowclear .select2-choice abbr {
    display: inline-block
}

.select2-container .select2-choice abbr:hover {
    background-position: right -11px;
    cursor: pointer
}


.select2-drop-mask {
    border: 0;
    margin: 0;
    padding: 0;
    position: fixed;
    left: 0;
    top: 0;
    min-height: 100%;
    min-width: 100%;
    height: auto;
    width: auto;
    opacity: 0;
    z-index: 9998;
    background-color: #0f1113;
    filter: alpha(opacity=0)
}

.select2-drop {
    width: 100%;
    margin-top: -1px;
    position: absolute;
    z-index: 9999;
    top: 100%;
    background: #131516;
    color: #e6e6e6;
    border: 1px solid #2a2f35;
    border-top: 0;
    border-radius: 0 0 4px 4px;
    -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15)
}

.select2-drop.select2-drop-above {
    margin-top: 1px;
    border-top: 1px solid #2a2f35;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
    -webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, 0.15);
    box-shadow: 0 -4px 5px rgba(0, 0, 0, 0.15)
}

.select2-drop-active {
    border: 1px solid #5897fb;
    border-top: none
}

.select2-drop.select2-drop-above.select2-drop-active {
    border-top: 1px solid #5897fb
}

.select2-drop-auto-width {
    border-top: 1px solid #2a2f35;
    width: auto
}

.select2-drop-auto-width .select2-search {
    padding-top: 4px
}

.select2-container .select2-choice .select2-arrow {
    display: inline-block;
    width: 18px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border-left: 1px solid #2a2f35;
    border-radius: 0 4px 4px 0;
    background-clip: padding-box;
    background: #1a1d21;
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #111), color-stop(0.6, #222));
    background-image: -webkit-linear-gradient(center bottom, #111 0%, #222 60%);
    background-image: -moz-linear-gradient(center bottom, #111 0%, #222 60%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222222', endColorstr='#111111', GradientType=0);
    background-image: linear-gradient(to top, #111 0%, #222 60%)
}

html[dir="rtl"] .select2-container .select2-choice .select2-arrow {
    left: 0;
    right: auto;
    border-left: none;
    border-right: 1px solid #2a2f35;
    border-radius: 4px 0 0 4px
}

.select2-container .select2-choice .select2-arrow b {
    display: block;
    width: 100%;
    height: 100%;
    background: url(https://twilightgamez.net/assets/img/select2.png) no-repeat 0 1px
}

html[dir="rtl"] .select2-container .select2-choice .select2-arrow b {
    background-position: 2px 1px
}

.select2-search {
    display: inline-block;
    width: 100%;
    min-height: 26px;
    margin: 0;
    padding-left: 4px;
    padding-right: 4px;
    position: relative;
    z-index: 10000;
    white-space: nowrap
}

.select2-search input {
    width: 100%;
    height: auto !important;
    min-height: 26px;
    padding: 4px 20px 4px 5px;
    margin: 0;
    outline: 0;
    font-family: sans-serif;
    font-size: 1em;
    border: 1px solid #2a2f35;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #e6e6e6;
    background: #131516 url(https://twilightgamez.net/assets/img/select2.png) no-repeat 100% -22px;
    background: url(https://twilightgamez.net/assets/img/select2.png) no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #131516), color-stop(0.99, #111));
    background: url(https://twilightgamez.net/assets/img/select2.png) no-repeat 100% -22px, -webkit-linear-gradient(center bottom, #131516 85%, #111 99%);
    background: url(https://twilightgamez.net/assets/img/select2.png) no-repeat 100% -22px, -moz-linear-gradient(center bottom, #131516 85%, #111 99%);
    background: url(https://twilightgamez.net/assets/img/select2.png) no-repeat 100% -22px, linear-gradient(to bottom, #131516 85%, #111 99%) 0 0
}

html[dir="rtl"] .select2-search input {
    padding: 4px 5px 4px 20px;
    background: #131516 url(https://twilightgamez.net/assets/img/select2.png) no-repeat -37px -22px;
    background: url(https://twilightgamez.net/assets/img/select2.png) no-repeat -37px -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #131516), color-stop(0.99, #111));
    background: url(https://twilightgamez.net/assets/img/select2.png) no-repeat -37px -22px, -webkit-linear-gradient(center bottom, #131516 85%, #111 99%);
    background: url(https://twilightgamez.net/assets/img/select2.png) no-repeat -37px -22px, -moz-linear-gradient(center bottom, #131516 85%, #111 99%);
    background: url(https://twilightgamez.net/assets/img/select2.png) no-repeat -37px -22px, linear-gradient(to bottom, #131516 85%, #111 99%) 0 0
}

.select2-drop.select2-drop-above .select2-search input {
    margin-top: 4px
}

.select2-search input.select2-active {
    background: #131516 url(https://twilightgamez.net/assets/img/select2-spinner.gif) no-repeat 100%;
    background: url(https://twilightgamez.net/assets/img/select2-spinner.gif) no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #131516), color-stop(0.99, #111));
    background: url(https://twilightgamez.net/assets/img/select2-spinner.gif) no-repeat 100%, -webkit-linear-gradient(center bottom, #131516 85%, #111 99%);
    background: url(https://twilightgamez.net/assets/img/select2-spinner.gif) no-repeat 100%, -moz-linear-gradient(center bottom, #131516 85%, #111 99%);
    background: url(https://twilightgamez.net/assets/img/select2-spinner.gif) no-repeat 100%, linear-gradient(to bottom, #131516 85%, #111 99%) 0 0
}

.select2-container-active .select2-choice, .select2-container-active .select2-choices {
    border: 1px solid #5897fb;
    outline: none;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
}

.select2-dropdown-open .select2-choice {
    border-bottom-color: transparent;
    -webkit-box-shadow: 0 1px 0 #111 inset;
    box-shadow: 0 1px 0 #111 inset;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #131516;
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #111), color-stop(0.5, #222));
    background-image: -webkit-linear-gradient(center bottom, #111 0%, #222 50%);
    background-image: -moz-linear-gradient(center bottom, #111 0%, #222 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222222', endColorstr='#111111', GradientType=0);
    background-image: linear-gradient(to top, #111 0%, #222 50%)
}

.select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices {
    border: 1px solid #5897fb;
    border-top-color: transparent;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #222), color-stop(0.5, #111));
    background-image: -webkit-linear-gradient(center top, #222 0%, #111 50%);
    background-image: -moz-linear-gradient(center top, #222 0%, #111 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222222', endColorstr='#111111', GradientType=0);
    background-image: linear-gradient(to bottom, #222 0%, #111 50%)
}

.select2-dropdown-open .select2-choice .select2-arrow {
    background: transparent;
    border-left: none;
    filter: none
}

html[dir="rtl"] .select2-dropdown-open .select2-choice .select2-arrow {
    border-right: none
}

.select2-dropdown-open .select2-choice .select2-arrow b {
    background-position: -18px 1px
}

html[dir="rtl"] .select2-dropdown-open .select2-choice .select2-arrow b {
    background-position: -16px 1px
}

.select2-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px
}

.select2-results {
    max-height: 200px;
    padding: 0 0 0 4px;
    margin: 4px 4px 4px 0;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-tap-highlight-color: transparent
}

html[dir="rtl"] .select2-results {
    padding: 0 4px 0 0;
    margin: 4px 0 4px 4px
}

.select2-results ul.select2-result-sub {
    margin: 0;
    padding-left: 0
}

.select2-results li {
    list-style: none;
    display: list-item;
    background-image: none
}

.select2-results li.select2-result-with-children > .select2-result-label {
    font-weight: bold
}

.select2-results .select2-result-label {
    padding: 3px 7px 4px;
    margin: 0;
    cursor: pointer;
    min-height: 1em;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.select2-results-dept-1 .select2-result-label {
    padding-left: 20px
}

.select2-results-dept-2 .select2-result-label {
    padding-left: 40px
}

.select2-results-dept-3 .select2-result-label {
    padding-left: 60px
}

.select2-results-dept-4 .select2-result-label {
    padding-left: 80px
}

.select2-results-dept-5 .select2-result-label {
    padding-left: 100px
}

.select2-results-dept-6 .select2-result-label {
    padding-left: 110px
}

.select2-results-dept-7 .select2-result-label {
    padding-left: 120px
}

.select2-results .select2-highlighted {
    background: #2b3a45;
    color: #f5f7fa
}

.select2-results li em {
    background: #2a2f35;
    font-style: normal
}

.select2-results .select2-highlighted em {
    background: transparent
}

.select2-results .select2-highlighted ul {
    background: #131516;
    color: #e6e6e6
}

.select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-ajax-error, .select2-results .select2-selection-limit {
    background: #1a1d21;
    display: list-item;
    padding-left: 5px
}

.select2-results .select2-disabled.select2-highlighted {
    color: rgb(168,160,149);
    background: #1a1d21;
    display: list-item;
    cursor: default
}

.select2-results .select2-disabled {
    background: #1a1d21;
    display: list-item;
    cursor: default
}

.select2-results .select2-selected {
    display: none
}

.select2-more-results.select2-active {
    background: #1a1d21 url(https://twilightgamez.net/assets/img/select2-spinner.gif) no-repeat 100%
}

.select2-results .select2-ajax-error {
    background: rgba(255, 50, 50, 0.2)
}

.select2-more-results {
    background: #1a1d21;
    display: list-item
}

.select2-container.select2-container-disabled .select2-choice {
    background-color: #1a1d21;
    background-image: none;
    border: 1px solid #2a2f35;
    cursor: default
}

.select2-container.select2-container-disabled .select2-choice .select2-arrow {
    background-color: #1a1d21;
    background-image: none;
    border-left: 0
}

.select2-container.select2-container-disabled .select2-choice abbr {
    display: none
}

.select2-container-multi .select2-choices {
    height: auto !important;
    height: 1%;
    margin: 0;
    padding: 0 5px 0 0;
    position: relative;
    border: 1px solid #2a2f35;
    cursor: text;
    overflow: hidden;
    background-color: #131516;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #111), color-stop(15%, #222));
    background-image: -webkit-linear-gradient(top, #111 1%, #222 15%);
    background-image: -moz-linear-gradient(top, #111 1%, #222 15%);
    background-image: linear-gradient(to bottom, #111 1%, #222 15%)
}

html[dir="rtl"] .select2-container-multi .select2-choices {
    padding: 0 0 0 5px
}

.select2-locked {
    padding: 3px 5px 3px 5px !important
}

.select2-container-multi .select2-choices {
    min-height: 26px
}

.select2-container-multi.select2-container-active .select2-choices {
    border: 1px solid #5897fb;
    outline: none;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
}

.select2-container-multi .select2-choices li {
    float: left;
    list-style: none
}

html[dir="rtl"] .select2-container-multi .select2-choices li {
    float: right
}

.select2-container-multi .select2-choices .select2-search-field {
    margin: 0;
    padding: 0;
    white-space: nowrap
}

.select2-container-multi .select2-choices .select2-search-field input {
    padding: 5px;
    margin: 1px 0;
    font-family: sans-serif;
    font-size: 100%;
    color: rgb(168,160,149);
    outline: 0;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: transparent !important
}

.select2-container-multi .select2-choices .select2-search-field input.select2-active {
    background: #4b4b4b url(https://twilightgamez.net/assets/img/select2-spinner.gif) no-repeat 100% !important
}

.select2-default {
    color: #999 !important
}

.select2-container-multi .select2-choices .select2-search-choice {
    padding: 3px 5px 3px 18px;
    margin: 3px 0 3px 5px;
    position: relative;
    line-height: 13px;
    color: #e6e6e6;
    cursor: default;
    border: 1px solid #2a2f35;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px #1a1d21 inset, 0 1px 0 rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 2px #1a1d21 inset, 0 1px 0 rgba(0, 0, 0, 0.35);
    background-clip: padding-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #131516;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222222', endColorstr='#111111', GradientType=0);
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #222), color-stop(50%, #1a1d21), color-stop(52%, #15181b), color-stop(100%, #111));
    background-image: -webkit-linear-gradient(top, #222 20%, #1a1d21 50%, #15181b 52%, #111 100%);
    background-image: -moz-linear-gradient(top, #222 20%, #1a1d21 50%, #15181b 52%, #111 100%);
    background-image: linear-gradient(to top, #222 20%, #1a1d21 50%, #15181b 52%, #111 100%)
}

html[dir="rtl"] .select2-container-multi .select2-choices .select2-search-choice {
    margin: 3px 5px 3px 0;
    padding: 3px 18px 3px 5px
}

.select2-container-multi .select2-choices .select2-search-choice .select2-chosen {
    cursor: default
}

.select2-container-multi .select2-choices .select2-search-choice-focus {
    background: #1f252b
}

.select2-search-choice-close {
    display: block;
    width: 12px;
    height: 13px;
    position: absolute;
    right: 3px;
    top: 4px;
    font-size: 1px;
    outline: none;
    background: url(https://twilightgamez.net/assets/img/select2.png) right top no-repeat
}

html[dir="rtl"] .select2-search-choice-close {
    right: auto;
    left: 3px
}

.select2-container-multi .select2-search-choice-close {
    left: 3px
}

html[dir="rtl"] .select2-container-multi .select2-search-choice-close {
    left: auto;
    right: 2px
}

.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
    background-position: right -11px
}

.select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close {
    background-position: right -11px
}

.select2-container-multi.select2-container-disabled .select2-choices {
    background-color: #1a1d21;
    background-image: none;
    border: 1px solid #2a2f35;
    cursor: default
}

.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice {
    padding: 3px 5px 3px 5px;
    border: 1px solid #2a2f35;
    background-image: none;
    background-color: #1a1d21
}

.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close {
    display: none;
    background: none
}

.select2-result-selectable .select2-match, .select2-result-unselectable .select2-match {
    text-decoration: underline
}

.select2-offscreen, .select2-offscreen:focus {
    clip: rect(0 0 0 0) !important;
    width: 1px !important;
    height: 1px !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    outline: 0 !important;
    left: 0px !important;
    top: 0px !important
}

.select2-display-none {
    display: none
}

.select2-measure-scrollbar {
    position: absolute;
    top: -10000px;
    left: -10000px;
    width: 100px;
    height: 100px;
    overflow: scroll
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 2dppx) {
    .select2-search input, .select2-search-choice-close, .select2-container .select2-choice abbr, .select2-container .select2-choice .select2-arrow b {
        background-image: url(https://twilightgamez.net/assets/img/select2x2.png) !important;
        background-repeat: no-repeat !important;
        background-size: 60px 40px !important
    }

    .select2-search input {
        background-position: 100% -21px !important
    }
}

.form-control .select2-choice {
    border: 0;
    border-radius: 2px
}

.form-control .select2-choice .select2-arrow {
    border-radius: 0 2px 2px 0
}

.form-control.select2-container {
    height: auto !important;
    padding: 0
}

.form-control.select2-container.select2-dropdown-open {
    border-color: #5897FB;
    border-radius: 3px 3px 0 0
}

.form-control .select2-container.select2-dropdown-open .select2-choices {
    border-radius: 3px 3px 0 0
}

.form-control.select2-container .select2-choices {
    border: 0 !important;
    border-radius: 3px
}

.control-group.warning .select2-container .select2-choice, .control-group.warning .select2-container .select2-choices, .control-group.warning .select2-container-active .select2-choice, .control-group.warning .select2-container-active .select2-choices, .control-group.warning .select2-dropdown-open.select2-drop-above .select2-choice, .control-group.warning .select2-dropdown-open.select2-drop-above .select2-choices, .control-group.warning .select2-container-multi.select2-container-active .select2-choices {
    border: 1px solid #C09853 !important
}

.control-group.warning .select2-container .select2-choice div {
    border-left: 1px solid #C09853 !important;
    background: #FCF8E3 !important
}

.control-group.error .select2-container .select2-choice, .control-group.error .select2-container .select2-choices, .control-group.error .select2-container-active .select2-choice, .control-group.error .select2-container-active .select2-choices, .control-group.error .select2-dropdown-open.select2-drop-above .select2-choice, .control-group.error .select2-dropdown-open.select2-drop-above .select2-choices, .control-group.error .select2-container-multi.select2-container-active .select2-choices {
    border: 1px solid #B94A48 !important
}

.control-group.error .select2-container .select2-choice div {
    border-left: 1px solid #B94A48 !important;
    background: #F2DEDE !important
}

.control-group.info .select2-container .select2-choice, .control-group.info .select2-container .select2-choices, .control-group.info .select2-container-active .select2-choice, .control-group.info .select2-container-active .select2-choices, .control-group.info .select2-dropdown-open.select2-drop-above .select2-choice, .control-group.info .select2-dropdown-open.select2-drop-above .select2-choices, .control-group.info .select2-container-multi.select2-container-active .select2-choices {
    border: 1px solid #3A87AD !important
}

.control-group.info .select2-container .select2-choice div {
    border-left: 1px solid #3A87AD !important;
    background: #D9EDF7 !important
}

.control-group.success .select2-container .select2-choice, .control-group.success .select2-container .select2-choices, .control-group.success .select2-container-active .select2-choice, .control-group.success .select2-container-active .select2-choices, .control-group.success .select2-dropdown-open.select2-drop-above .select2-choice, .control-group.success .select2-dropdown-open.select2-drop-above .select2-choices, .control-group.success .select2-container-multi.select2-container-active .select2-choices {
    border: 1px solid #468847 !important
}

.control-group.success .select2-container .select2-choice div {
    border-left: 1px solid #468847 !important;
    background: #DFF0D8 !important
}

.tipsy {
    font-size: 12px;
    position: absolute;
    padding: 5px;
    z-index: 100000
}

.tipsy-inner {
    background-color: #1a1f27;
    color: #f4f7fb;
    max-width: 240px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.4;
    border: 1px solid #2a3341;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    text-align: center
}

.tipsy-inner {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px
}

.tipsy-arrow {
    position: absolute;
    width: 0;
    height: 0;
    line-height: 0;
    border: 5px dashed #1a1f27
}

.tipsy-arrow-n {
    border-bottom-color: #1a1f27
}

.tipsy-arrow-s {
    border-top-color: #1a1f27
}

.tipsy-arrow-e {
    border-left-color: #1a1f27
}

.tipsy-arrow-w {
    border-right-color: #1a1f27
}

/* Bootstrap tooltip dark-mode hardening */
.tooltip {
    --bs-tooltip-bg: #1a1f27;
    --bs-tooltip-color: #f4f7fb;
    --bs-tooltip-opacity: 1;
    --bs-tooltip-padding-x: 0.625rem;
    --bs-tooltip-padding-y: 0.4rem;
    --bs-tooltip-font-size: 0.75rem;
    --bs-tooltip-border-radius: 0.375rem;
    --bs-tooltip-max-width: 240px;
}

.tooltip .tooltip-inner {
    border: 1px solid #2a3341;
    line-height: 1.35;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.tipsy-n .tipsy-arrow {
    top: 0px;
    left: 50%;
    margin-left: -5px;
    border-bottom-style: solid;
    border-top: none;
    border-left-color: transparent;
    border-right-color: transparent
}

.tipsy-nw .tipsy-arrow {
    top: 0;
    left: 10px;
    border-bottom-style: solid;
    border-top: none;
    border-left-color: transparent;
    border-right-color: transparent
}

.tipsy-ne .tipsy-arrow {
    top: 0;
    right: 10px;
    border-bottom-style: solid;
    border-top: none;
    border-left-color: transparent;
    border-right-color: transparent
}

.tipsy-s .tipsy-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -5px;
    border-top-style: solid;
    border-bottom: none;
    border-left-color: transparent;
    border-right-color: transparent
}

.tipsy-sw .tipsy-arrow {
    bottom: 0;
    left: 10px;
    border-top-style: solid;
    border-bottom: none;
    border-left-color: transparent;
    border-right-color: transparent
}

.tipsy-se .tipsy-arrow {
    bottom: 0;
    right: 10px;
    border-top-style: solid;
    border-bottom: none;
    border-left-color: transparent;
    border-right-color: transparent
}

.tipsy-e .tipsy-arrow {
    right: 0;
    top: 50%;
    margin-top: -5px;
    border-left-style: solid;
    border-right: none;
    border-top-color: transparent;
    border-bottom-color: transparent
}

.tipsy-w .tipsy-arrow {
    left: 0;
    top: 50%;
    margin-top: -5px;
    border-right-style: solid;
    border-left: none;
    border-top-color: transparent;
    border-bottom-color: transparent
}

#peek {
    background: #000;
    height: 35px;
    line-height: 35px;
    color: #999;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.75)
}

#peek .hidden {
    display: none;
    visibility: visible
}

#peek.disabled {
    display: none
}

#peek.production {
    background: url(https://twilightgamez.net/assets/img/peek/bar/production.gif) repeat 0 0
}

#peek.staging {
    background: url(https://twilightgamez.net/assets/img/peek/bar/staging.gif) repeat 0 0
}

#peek.development {
    background: url(https://twilightgamez.net/assets/img/peek/bar/development.gif) repeat 0 0
}

#peek .wrapper {
    width: 800px;
    margin: 0 auto
}

#peek .bucket {
    background: #111;
    display: inline-block;
    padding: 4px 6px;
    font-family: Consolas, "Liberation Mono", Courier, monospace;
    line-height: 1;
    color: #ccc;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.25)
}

#peek .bucket .hidden {
    display: none
}

#peek .bucket:hover .hidden {
    display: inline
}

#peek strong {
    color: #fff
}

#peek .view {
    margin-right: 15px;
    float: left
}

#peek .view:last-child {
    margin-right: 0
}

#peek .css-truncate.css-truncate-target, #peek .css-truncate .css-truncate-target {
    display: inline-block;
    max-width: 125px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top
}

#peek .css-truncate.expandable:hover .css-truncate-target, #peek .css-truncate.expandable:hover.css-truncate-target {
    max-width: 10000px !important
}

.performance-bar {
    position: relative;
    top: 2px;
    display: inline-block;
    width: 75px;
    height: 10px;
    margin: 0 0 0 5px;
    list-style: none;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.7);
    border-radius: 2px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15)
}

.performance-bar li {
    position: absolute;
    top: 0;
    bottom: 0;
    overflow: hidden;
    opacity: .8;
    color: transparent
}

.performance-bar li:hover {
    opacity: 1;
    cursor: default
}

.peek-rblineprof-modal {
    width: 900px;
    position: absolute;
    z-index: 10000;
    left: 50%;
    top: 50px;
    margin-left: -450px
}

.peek-rblineprof-modal pre, .peek-rblineprof-modal pre span {
    font: 12px/18px monospace
}

.peek-dropdown {
    background: #fff;
    position: absolute;
    display: none;
    z-index: 10001;
    border-radius: 5px;
    line-height: 18px;
    min-width: 150px;
    padding: 5px;
    color: #333;
    text-shadow: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25)
}

.peek-dropdown a {
    color: #333
}

#peek .view:hover .peek-dropdown {
    display: block
}

.peek-rblineprof-file {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    margin-bottom: 10px
}

.peek-rblineprof-file .heading {
    background: #333;
    color: #aaa;
    padding: 10px 15px;
    text-shadow: 0 1px 0 #000
}

.peek-rblineprof-file .heading .duration {
    margin: 0 65px 0 40px
}

.peek-rblineprof-file .heading a {
    color: #fff
}

.peek-rblineprof-file .data {
    overflow: hidden
}

.peek-rblineprof-file .code {
    overflow-x: scroll;
    border-left: 1px solid #ccc
}

.peek-rblineprof-file pre {
    padding: 15px
}

.peek-rblineprof-file pre.duration {
    float: left;
    width: 230px
}

body {
    color: rgb(197, 186, 169);
    color-scheme: dark !important;
    background-color: #131516 !important;
    padding-bottom: 40px;
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif
}

hr {
    border-top-color: #BBB
}

@media (max-width: 991px) {
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .navbar-nav {
        margin-top: 7.5px;
        background-color: rgb(38,41,42);
        border-radius: 4px;
    }

    .navbar-nav .nav-link {
        padding-top: 10px;
        padding-bottom: 10px;
        color: #d1d1d1;
        background-color: rgb(56, 60, 61);
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        color: #f1f1f1;
        background-color: rgb(56, 60, 61);
    }

    .navbar-nav .dropdown-menu {
        background-color: rgb(38, 41, 42);
        border-color: rgb(104,96,85);
    }

    .navbar-nav .dropdown-item {
        color: #d1d1d1;
    }

    .navbar-nav .dropdown-item:hover,
    .navbar-nav .dropdown-item:focus {
        color: #f1f1f1;
        background-color: rgb(56, 60, 61);
    }
}

@media (max-width: 767px) {
    .tk-page-title small {
        display: none
    }
}

.forum-sidebar h4 {
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd
}

@media (min-width: 992px) {
    #subforum-list.collapse {
        display: block !important
    }
}

@media (max-width: 991px) {
    #subforum-list {
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #ddd
    }
}

.forum-footer {
    border-top: 1px solid #ddd;
    margin-top: 20px
}

.hidden-post {
    background-color: rgba(0, 0, 0, 0.1)
}

.pagination {
    margin: 0
}

.tk-card.post img,
.card.post img {
    max-width: 660px
}

.navbar-default {
    margin-bottom: 0;
    color: rgb(184, 173, 160);
    background-color: rgb(18,19,20);
    border-bottom: 1px solid rgb(104,96,85);
}

.navbar-default .navbar-brand {
    font-weight: 300;
    color: rgb(157,148,136);
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #d1d1d1;
}

.navbar-default .navbar-brand img {
    margin-top: -2px;
    margin-right: 6px
}

.navbar-default .nav-link {
    color: rgb(184, 173, 160);
}

.navbar-default .nav-link:hover,
.navbar-default .nav-link:focus {
    color: #d1d1d1;
    background-color: rgb(56, 60, 61);
}

.navbar-default .nav-link.active {
    color: #8d8d8d;
}

.navbar-default .dropdown-menu {
    background-color: rgb(18,19,20);
    border-color: rgb(104,96,85);
}

.navbar-default .dropdown-item {
    color: rgb(184, 173, 160);
}

.navbar-default .dropdown-item:hover,
.navbar-default .dropdown-item:focus {
    color: #d1d1d1;
    background-color: rgb(56, 60, 61);
}

.tk-page-heading {
    margin-top: 0;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--bs-border-color);
}

.tk-page-title {
    margin: 0;
    font-weight: 600;
}

.tk-page-subtitle {
    margin-top: 8px;
    margin-bottom: 0;
    color: var(--bs-secondary-color);
}

.tk-card {
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    color: var(--bs-body-color);
}

.tk-card .card-header {
    background-color: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--bs-border-color);
}

.tk-card-subtle {
    background-color: rgba(255, 255, 255, 0.02);
}

.dropdown-menu .dropdown-item.active {
    color: #757575;
    background-color: transparent;
}

.dropdown-menu .dropdown-item.active:hover,
.dropdown-menu .dropdown-item.active:focus {
    color: #d1d1d1;
    background-color: rgb(56, 60, 61);
}

#subforum-list .nav li a {
    padding: 3px 40px 3px 10px
}

#subforum-list .nav .unread {
    position: relative;
    top: -1px;
    right: -30px
}

#subforum-list.affix {
    top: 10px
}

#subforum-list.affix-bottom {
    top: auto;
    bottom: 260px;
    position: fixed
}

.label, .badge {
    text-shadow: none
}

.avatar {
    display: inline-block;
    object-fit: cover;
    object-position: center
}

[class^="icon-"], [class*=" icon-"] {
    margin-top: 2px
}

.carousel {
    height: 400px;
    overflow: hidden;
    max-width: 100%
}

.carousel img {
    min-height: 400px;
}

.popover-body > p {
    font-size: 14px
}

span.label > [class^="icon-"], [class*=" icon-"] {
    margin-top: 1px
}

ul.dropdown-menu {
    z-index: 2000
}

.listing {
    clear: both;
    padding-left: 10px;
    padding-right: 15px
}

.listing .headings {
    font-weight: bold
}

.listing .row {
    padding-top: 10px;
    padding-bottom: 10px
}

.listing .row.topic {
    border-top: 1px solid #ddd
}

.listing > .row > div {
    padding-left: 6px;
    padding-right: 6px
}

.listing > .row:nth-of-type(even) {
    background-color: #f9f9f9
}

@media (max-width: 767px) {
    .listing .latest-post {
        margin-top: 8px;
        padding-left: 40px;
        font-size: 85%
    }

    .listing .latest-post small {
        font-size: inherit
    }
}

.forum-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px
}

.forum-header h3 {
    margin-top: 0
}

.posts {
    margin-top: 25px
}

.forum-post {
    overflow: hidden;
    padding-bottom: 5px
}

.post-content {
    line-height: 22px
}

.post-content.not-converted {
    margin-bottom: 15px
}

.post-content > * {
    margin-bottom: 15px
}

.post-divider {
    margin-top: 0px
}

.peek-rblineprof-file pre {
    white-space: pre;
    word-wrap: normal
}

.jumbotron.main {
    background-color: transparent;
    height: 400px; 
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.1);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#020031', endColorstr='#6d3353', GradientType=1);
    -webkit-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.2), inset 0 -3px 7px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.2), inset 0 -3px 7px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.2), inset 0 -3px 7px rgba(0, 0, 0, 0.2)
}

.jumbotron.main h1 {
    font-size: 80px;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 1
}

.jumbotron.main p {
    font-size: 24px;
    font-weight: 300;
    line-height: 30px;
    margin-bottom: 30px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.9)
}

.jumbotron.main a {
    color: #fff;
    color: rgba(255, 255, 255, 0.5);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out
}

.jumbotron.main a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.25)
}

.masthead.main .btn {
    padding: 20px 24px;
    font-size: 28px;
    font-weight: 400;
    color: #fff;
    border: 0;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 5px rgba(0, 0, 0, 0.25), 0 2px 10px rgba(0, 68, 204, 0.01);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 5px rgba(0, 0, 0, 0.25), 0 2px 10px rgba(0, 68, 204, 0.01);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 5px rgba(0, 0, 0, 0.25), 0 2px 10px rgba(0, 68, 204, 0.01)
}

.masthead.main .btn:active {
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
    -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1)
}

.masthead.main {
    padding: 70px 0 80px;
    margin-bottom: 0;
    color: #fff
}

.masthead.main h1 {
    font-size: 110px;
    line-height: 1;
    letter-spacing: -2px
}

.masthead.main p {
    font-size: 40px;
    font-weight: 200;
    line-height: 1.25
}

@media screen and (min-width: 480px) {
    .masthead.main p {
        font-size: 24px
    }
}

@media screen and (min-width: 768px) {
    .masthead.main p {
        font-size: 32px
    }
}

@media screen and (min-width: 992px) {
    .masthead.main h1 {
        font-size: 110px
    }

    .masthead.main p {
        font-size: 40px
    }
}

.masthead-links {
    margin: 0;
    list-style: none
}

.masthead-links li {
    display: inline;
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.25)
}

.bs-docs-social {
    padding: 15px 0;
    text-align: center;
    background-color: #f5f5f5;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #ddd
}

.bs-docs-social-buttons {
    margin-left: 0;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none
}

.bs-docs-social-buttons li {
    display: inline-block;
    padding: 5px 8px;
    line-height: 1;
}

.subhead {
    text-align: left;
    border-bottom: 1px solid #ddd
}

.subhead h1 {
    font-size: 60px
}

.subhead p {
    margin-bottom: 20px
}

.subhead .navbar {
    display: none
}

.profile-timestamp {
    color: grey;
    font-size: 75%
}

.post-timestamp {
    color: grey
}

.marketing {
    text-align: center;
    color: #5a5a5a
}

.marketing h1 {
    margin: 60px 0 10px;
    font-size: 60px;
    font-weight: 200;
    line-height: 1;
    letter-spacing: -1px
}

.marketing h2 {
    font-weight: 200;
    margin-bottom: 5px
}

.marketing p {
    font-size: 16px;
    line-height: 1.5
}

.marketing .marketing-byline {
    margin-bottom: 40px;
    font-size: 20px;
    font-weight: 300;
    line-height: 25px;
    color: #999
}

.marketing img {
    display: block;
    margin: 0 auto 0px
}

.tournament-banner img {
    width: 940px;
    height: auto;
    border-radius: 6px;
    margin-bottom: 36px;
    -webkit-transition: box-shadow .05s ease-in-out;
    -moz-transition: box-shadow .05s ease-in-out;
    transition: box-shadow .05s ease-in-out
}

a.tournament-banner:hover img {
    -webkit-box-shadow: 0 0 4px 0 #04c;
    -moz-box-shadow: 0 0 4px 0 #04c;
    box-shadow: 0 0 4px 0 #04c
}

.trophy h4 {
    color: #d5d5d5;
    text-align: center;
}

.thumbnail {
    color: #6b6b6b;
    background-color: #272727;
}

.thumbnail.staff {
    text-decoration: none !important;
    text-align: center;
    color: #888;
    font-size: 12px
}

.thumbnails.staff li {
    width: 100px;
    display: inline-block;
    margin-right: 16px
}

.thumbnail.staff .staff-caption {
    margin-top: 4px;
    overflow: hidden
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
}

.thumbnails .trophy-item {
    list-style: none;
    margin: 0;
}

.tiny-input {
    font-size: 10px !important;
    height: 12px !important;
    margin-bottom: 0 !important
}

.dns-disabled {
    float: left;
    height: 16px;
    background-color: #ddd
}

.dns-enabled {
    float: left;
    height: 16px;
    background-color: #2c6
}

.tiny-text {
    font-size: 80%
}

.tp-button {
    display: inline-block;
    border-radius: 10px;
    width: 20px;
    height: 20px;
    background-color: #0088cc;
    font-size: 11px;
    font-weight: normal;
    line-height: 20px;
    position: relative;
    top: -2px
}

.tp-button .fa {
    color: white;
    font-size: 11px;
    font-weight: normal;
    line-height: 20px;
    margin-left: 7px
}

.breadcrumb > li + li:before {
    content: "» "
}

.nav.nav-tabs {
    margin-bottom: 20px
}

.nav-tabs .nav-link {
    color: #b1b1b1;
    background-color: transparent;
    border: 1px solid transparent;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
    color: #b1b1b1;
    background-color: #111111;
    border-color: #242424 #242424 transparent;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link.active:focus,
.nav-tabs .nav-link.active:hover {
    color: #b1b1b1;
    background-color: #242424;
    border-color: #242424 #242424 transparent;
}

section .navbar {
    margin-bottom: 20px
}

.forum-post img, .about-me img {
    max-width: 100%;
    height: auto
}

blockquote {
    font-size: inherit;
    padding-top: 0;
    padding-bottom: 0
}

.mass-moderation {
    padding: 3px 8px;
    margin-right: 8px
}

.table-container {
    clear: both;
    overflow: auto;
    overflow-y: hidden
}

.account-label {
    margin-top: 16px
}

.account-logo img {
    margin: 8px 0 12px;
    height: 40px
}

.player-search {
    width: 200px;
    padding: 10px 20px
}

@media (max-width: 991px) {
    .navbar-static-top i[class^="fa-"],
    .navbar-static-top i[class*=" fa-"] {
        width: 24px
    }
}

pre.about-me, .about-me pre, .about-me {
    color: #b1b1b1;
    background-color: #111111 !important;
    white-space: pre-wrap !important;
}

.about-me {
    padding: 12px 16px;
    border-radius: 4px;
}

.about-me .btn {
    white-space: normal
}

.simple-forum-style .row.topic {
    border-top: 0
}

.simple-forum-style .topic-listing-entry-title {
    font-size: 140%
}

.simple-forum-style .started-by {
    color: #999
}

.posts.simple-forum-style {
    margin-top: 0 !important
}

.topic-listing-entry {
    padding-left: 40px
}

.dropdown-menu {
    background-color: rgb(15,17,17);
    border-color: rgba(111,103,91,0.15);
}

.dropdown-menu > li {
    color: rgb(193, 188, 180);
    background-color: rgb(15,17,17);
}

.dropdown-submenu {
    position: relative
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px
}

.dropdown-submenu-left > .dropdown-menu {
    left: -100%;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #333;
    margin-top: 5px;
    margin-right: -10px
}

.dropdown-submenu.pull-left {
    float: none
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px
}

.dropdown-scrollable {
    height: auto;
    max-height: 500px;
    overflow-x: hidden
}

div.dataTables_length label {
    float: left;
    text-align: left
}

div.dataTables_length select {
    width: 75px
}

div.dataTables_filter label {
    float: right
}

div.dataTables_info {
    padding-top: 8px
}

div.dataTables_paginate {
    float: right;
    margin: 0
}

table.table {
    clear: both;
    margin-bottom: 6px !important;
    max-width: none !important
}

table.table thead .sorting, table.table thead .sorting_asc, table.table thead .sorting_desc, table.table thead .sorting_asc_disabled, table.table thead .sorting_desc_disabled {
    cursor: pointer;
}

table.table thead .sorting {
    background: url("/assets/datatables/sort_both.png") no-repeat center right
}

table.table thead .sorting_asc {
    background: url("/assets/datatables/sort_asc.png") no-repeat center right
}

table.table thead .sorting_desc {
    background: url("/assets/datatables/sort_desc.png") no-repeat center right
}

table.table thead .sorting_asc_disabled {
    background: url("/assets/datatables/sort_asc_disabled.png") no-repeat center right
}

table.table thead .sorting_desc_disabled {
    background: url("/assets/datatables/sort_desc_disabled.png") no-repeat center right
}

table.dataTable th:active {
    outline: none
}

div.dataTables_scrollHead table {
    margin-bottom: 0 !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0
}

div.dataTables_scrollHead table thead tr:last-child th:first-child, div.dataTables_scrollHead table thead tr:last-child td:first-child {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important
}

div.dataTables_scrollBody table {
    border-top: none;
    margin-bottom: 0 !important
}

div.dataTables_scrollBody tbody tr:first-child th, div.dataTables_scrollBody tbody tr:first-child td {
    border-top: none
}

div.dataTables_scrollFoot table {
    border-top: none
}

.table tbody tr.active td, .table tbody tr.active th {
    background-color: #08C;
    color: white
}

.table tbody tr.active:hover td, .table tbody tr.active:hover th {
    background-color: #0075b0 !important
}

.table-striped tbody tr.active:nth-child(odd) td, .table-striped tbody tr.active:nth-child(odd) th {
    background-color: #017ebc
}

table.DTTT_selectable tbody tr {
    cursor: pointer;
}

div.DTTT .btn {
    color: #8f8f8f !important;
    font-size: 12px
}

div.DTTT .btn:hover {
    text-decoration: none !important
}

ul.DTTT_dropdown.dropdown-menu a {
    color: #8f8f8f !important
}

ul.DTTT_dropdown.dropdown-menu li:hover a {
    background-color: #0088cc;
    color: white !important
}

div.DTTT_print_info.modal {
    height: 150px;
    margin-top: -75px;
    text-align: center
}

div.DTTT_print_info h6 {
    font-weight: normal;
    font-size: 28px;
    line-height: 28px;
    margin: 1em
}

div.DTTT_print_info p {
    font-size: 14px;
    line-height: 20px
}

div.DTFC_LeftHeadWrapper table, div.DTFC_LeftFootWrapper table, table.DTFC_Cloned tr.even {
    background-color: white
}

div.DTFC_LeftHeadWrapper table {
    margin-bottom: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important
}

div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child, div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important
}

div.DTFC_LeftBodyWrapper table {
    border-top: none;
    margin-bottom: 0 !important
}

div.DTFC_LeftBodyWrapper tbody tr:first-child th, div.DTFC_LeftBodyWrapper tbody tr:first-child td {
    border-top: none
}

div.DTFC_LeftFootWrapper table {
    border-top: none
}

.shop h2 {
    margin-top: 0;
    font-size: 31px;
    font-weight: 200
}

.shop .lead {
    margin-top: 25px;
    font-size: 18px
}

.shop .package-select {
    margin-left: -8px;
    margin-top: -8px;
    padding: 4px;
    border: 4px solid transparent;
    border-radius: 12px;
    transition: border-color 0.1s
}

.shop .package-select.selected {
    border-color: #009cde !important;
    transition: border-color 0.1s
}

.shop .package-select:hover {
    border-color: #ddd;
    cursor: pointer;
    transition: border-color 0.1s
}

.shop .package-select.disabled {
    border-color: transparent
}

.shop .package-select.disabled:hover {
    border-color: transparent
}

.shop .package {
    background-color: #eee;
    border-radius: 6px
}

.shop .disabled .package {
    opacity: 0.5 !important
}

.shop .package .title {
    border-radius: 6px 6px 0 0;
    padding: 12px;
    text-align: center;
    font-size: 20px;
    font-weight: bold
}

.shop .package#perks .title {
    color: white;
    background-color: #009cde;
    font-size: 20px
}

.shop #perks ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.shop #perks li:first-child {
    margin-top: 0
}

.shop #perks li {
    margin-top: 12px
}

.shop #perks .fa {
    margin-right: 3px
}

.shop .user-search-error {
    margin-left: 20px;
    color: red
}

.shop .package .content {
    padding: 16px
}

.shop .package .time {
    font-size: 14px
}

.shop .package .price {
    float: right;
    font-weight: bold;
    font-size: 14px
}

.shop .package .sale .price {
    color: #009cde
}

.shop .discounted .package .regular .price {
    text-decoration: line-through;
    opacity: 0.3
}

.shop .package .sale {
    display: none;
    margin-top: 10px
}

.shop .discounted .package .sale {
    display: block
}

.shop .package .sale .badge {
    background-color: #009cde
}

.shop .package .purchased {
    font-size: 14px;
    text-align: center;
    height: 0
}

.shop .discounted .package .purchased {
    line-height: 47px
}

.shop .package .details {
    visibility: hidden
}

.shop .available .package .purchased {
    display: none
}

.shop .available .package .details {
    visibility: visible
}

#payment-container {
    height: 196px
}

.shop .buy-button {
    float: left
}

.shop .fine-print {
    float: right;
    font-size: 85%
}

li.friendship {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px
}

.friend-icon {
    position: relative;
    display: inline-block
}

.friend-icon > a.label {
    position: absolute;
    right: 0;
    top: 10px
}

a.remove-friend {
    position: relative;
    float: right;
    color: black;
    top: -8px;
    right: -8px;
    height: 0;
    margin: 0;
    padding: 0;
    display: none
}

a.remove-friend:hover {
    text-decoration: none;
    color: #333
}

.playerstats select {
    margin: 0;
    margin-top: -1px;
    margin-right: 10px
}

.playerstats small {
    font-size: 60%
}

.playerstats .controls {
    margin-top: 13px
}

.jumbotron.beastnode {
    margin: 60px 0;
    text-align: center
}

.jumbotron.beastnode h1 {
    font-size: 72px;
    line-height: 1
}

@media (max-width: 771px) {
    .jumbotron.beastnode h1 {
        font-size: 48px
    }
}

.jumbotron.beastnode .btn {
    font-size: 21px;
    padding: 14px 24px;
    white-space: normal
}

.beastnodepromo .row img {
    margin-top: 20px
}

.center {
    text-align: center
}

.host-promo, .host-promo i, .host-promo span {
    height: 150px;
    width: 150px
}

.host-promo {
    position: relative
}

.host-promo i {
    font-size: 150px;
    color: #bd362f
}

.host-promo span {
    text-align: center;
    position: absolute;
    font-size: 20px;
    color: white;
    top: 55px;
    left: 0px
}

.trophy div {
    font-size: 110px;
    width: 100%;
    height: 175px;
    vertical-align: bottom;
    text-align: center;
    line-height: 175px
}

.trophy div i {
    height: 100%;
    width: 100%
}

.trophy h4 {
    text-align: center
}

#trophies.collapse {
    position: static
}

.like-icon {
    color: rgb(157,148,136);
}

.like-icon:hover {
    color: #555;
    text-decoration: none
}

.like-icon.liked {
    color: red
}

.dropdown-maps {
    min-width: 120px
}

.maps {
    margin-top: 20px
}

.maps > div {
    text-align: center
}

.map-container {
    display: inline-block
}

.map.thumbnail h1 {
    margin-bottom: 0
}

.map.thumbnail > .img {
    position: relative
}

.map.thumbnail > .img > img {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px
}

.map.thumbnail > .img > .actions {
    position: absolute;
    width: 290px
}

.map.thumbnail > .img > .actions > .servers {
    margin-left: 6px;
    margin-top: 5px
}

.map .stars {
    margin: auto
}

@media (max-width: 991px) {
    .rating .stars {
        margin: auto
    }

    .rating h1 {
        text-align: center
    }
}

@media (min-width: 992px) {
    .pull-right-md {
        float: right
    }
}

.variant-select {
    margin-bottom: 16px
}

.stars {
    position: relative
}

.stars-inner {
    position: absolute
}

.stars-bg {
    color: #ccc;
    float: left
}

.stars-fg {
    color: #f89406;
    float: left;
    overflow: hidden
}

dd {
    margin-bottom: 16px
}

#post-editor.tab-content {
    overflow: visible
}

.sceditor-container {
    background: #111418;
    border: 1px solid #2b2f36;
    border-radius: 6px;
    box-shadow: none
}

.sceditor-toolbar {
    background: #161a20;
    border-bottom: 1px solid #2b2f36
}

.sceditor-group {
    border-right: 1px solid #2b2f36
}

.sceditor-button {
    color: #e6e6e6
}

.sceditor-button div {
    color: inherit
}

.sceditor-button:hover {
    background: #202632
}

.sceditor-button.active {
    background: #2b3650
}

.sceditor-dropdown {
    background: #111418;
    color: #e6e6e6;
    border: 1px solid #2b2f36
}

.sceditor-dropdown input,
.sceditor-dropdown textarea,
.sceditor-dropdown select {
    background: #0f1113;
    color: #e6e6e6;
    border: 1px solid #2b2f36
}

.sceditor-color-option {
    border: 1px solid #0f1113
}

.sceditor-grip {
    background: #161a20;
    border-left: 1px solid #2b2f36
}

.sceditor-container iframe,
.sceditor-container textarea {
    background: #0f1113;
    color: #e6e6e6
}

[data-role="editor"] {
    background: #0f1113;
    color: #e6e6e6;
    border: 1px solid #2b2f36;
    border-radius: 6px;
    padding: 12px;
    min-height: 200px
}

[data-role="editor"]:focus {
    outline: 2px solid #2f6fed;
    outline-offset: 2px
}

#wmd-input-text {
    margin-top: 10px;
    height: 400px;
    max-height: 900px
}

li.textcomplete-item img {
    margin-right: 10px
}

.dropdown-menu > li.textcomplete-item > a {
    font-weight: bold
}

.textcomplete-wrapper .dropdown-menu a:hover {
    cursor: pointer
}

.attachment-regulars_faq h2 {
    margin-top: 40px
}

.attachment-regulars_faq h4 {
    font-size: 120%;
    font-weight: bold;
    margin-top: 24px;
    margin-bottom: 8px
}

.attachment-regulars_faq li {
    margin-bottom: 10px
}

@media (min-width: 768px) {
    .play .sidebar {
        width: 340px;
        float: left;
        margin-right: 20px
    }

    .play .navbar-container {
        display: inline-block;
        width: 360px
    }
}

@media (min-width: 992px) {
    .play .sidebar {
        width: 300px
    }

    .play .navbar-container {
        width: 620px
    }
}

.play .navbar-container .navbar {
    margin: 0
}

.play .server-container {
    display: inline-block;
    width: 300px;
    margin-right: 20px;
    margin-top: 20px
}

@media (max-width: 991px) {
    .play .server-container {
        margin: 10px 30px
    }
}

@media (max-width: 767px) {
    .play .server-container {
        display: block;
        margin: 10px auto
    }
}

.play .sidebar small {
    font-weight: normal;
    color: rgb(168,160,149);
}

.play .sidebar table {
    width: 100%
}

.play .sidebar th {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    padding: 0 0 20px 0
}

.play .connect td {
    padding: 20px 0
}

.play .connect .details {
    font-size: 14px;
    padding-left: 30px
}

.play .connect .details .location {
    font-size: 16px;
    font-weight: bold
}

.play .connect .hostname input {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    width: 136px;
    height: 60px;
    border: 0;
    border-radius: 4px;
    box-shadow: none;
    color: white;
    background-color: #0088cc;
    padding: 20px;
    margin: 0
}

.play .connect .hostname input:hover {
    cursor: pointer
}

.play .seen {
    font-size: 14px
}

.play .seen .disguised {
    font-size: 14px;
    text-decoration: line-through
}

.play .seen .server {
    width: 100px;
    text-align: right;
    font-weight: bold
}

.play .thumbnail {
    margin-bottom: 0
}

.play .server-box {
    width: 290px;
    height: 244px;
    margin: 0
}

.play .server-box .top-box {
    height: 42px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 8px
}

.play .server-box .top-box small {
    font-size: 14px;
    font-weight: normal;
    color: rgb(168,160,149);
}

.play .server-box a {
    color: black
}

.play .server-box .title {
    display: inline;
    font-size: 18px;
    font-weight: bold
}

.play .server-box .players {
    display: inline;
    float: right;
    font-size: 18px
}

.play .server-box .bottom-box {
    position: relative;
    height: 52px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 8px;
    margin-top: 150px
}

.play .server-box .bottom-box small {
    font-size: 12px;
    font-weight: normal;
    color: rgb(168,160,149);
}

.play .server-box .current-map-label {
    display: block;
    position: absolute;
    width: 40px;
    padding-right: 8px;
    text-align: right;
    font-size: 12px;
    color: rgb(168,160,149);
}

.play .server-box .current-map {
    display: block;
    position: absolute;
    left: 56px;
    font-size: 16px
}

.play .server-box .next-map-label {
    display: block;
    position: absolute;
    top: 28px;
    width: 40px;
    padding-right: 8px;
    text-align: right;
    font-size: 12px;
    color: rgb(168,160,149);
}

.play .server-box .next-map {
    display: block;
    position: absolute;
    top: 28px;
    left: 56px;
    font-size: 12px
}

.last-seen .online {
    font-size: 16px;
    font-weight: bold;
    color: #468847
}

.last-seen .offline {
    font-size: 16px;
    font-weight: bold;
    color: #999
}

.last-seen .time {
    font-size: 14px;
    font-weight: bold;
    color: #999
}

.last-seen .server {
    font-size: 18px;
    font-weight: bold
}

.last-seen .datacenter {
    display: inline;
    font-size: 16px
}

.last-seen .nickname {
    font-size: 13px;
    font-weight: bold;
    color: #999
}

.heads, .last-seen {
    margin-bottom: 15px
}

.heads .name {
    font-size: 16px;
    font-weight: bold;
    color: #999
}

.heads .number {
    font-size: 32px;
    font-weight: bold
}

.heads .mutual-friends {
    font-size: 13px;
    font-weight: bold;
    color: #999
}

.heads .avatar {
    margin-bottom: 3px;
    margin-right: 3px
}

.heads > div {
    padding-left: 10px;
    padding-right: 10px
}

.glow {
    outline: none;
    border-color: #9ecaed;
    box-shadow: 0 0 4px 1px #0CB035
}

.stats {
    margin-bottom: 15px
}

.stats .card {
    padding: 19px
}

.stats a {
    color: inherit;
    text-decoration: inherit
}

.stats .name {
    font-weight: bold;
    color: #999
}

.stats .number {
    font-weight: bold
}

.stats .rank {
    display: inline-block;
    width: 50%;
    min-width: 130px;
    height: 52px
}

.stats .rank .name {
    font-size: 16px;
    margin-bottom: 3px
}

.stats .rank .number {
    font-size: 36px
}

.stats .unqualified {
    font-size: 13px;
    font-weight: bold;
    color: #999;
    text-align: center
}

.stats .rule {
    background-color: #ddd;
    height: 1px;
    margin-top: 25px
}

.stats .total {
    display: inline-block;
    width: 25%;
    min-width: 65px;
    padding-top: 20px
}

.stats .total .name {
    font-size: 13px;
    font-weight: bold;
    color: #999
}

.stats .total .number {
    font-size: 24px;
    font-weight: bold
}

.result-win {
    color: #2a5
}

.result-tie {
    color: #03a
}

.result-loss {
    color: #d22
}

.result-forfeit {
    color: #999
}

footer.site-footer {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    max-width: 1200px;
    padding: 1.5rem .75rem .5rem
}

footer.site-footer > .row {
    justify-content: center;
}

footer .footer-section {
    background: rgba(9,12,18,.8);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    height: 100%;
    padding: 14px 16px
}

footer .heading {
    color: #eef3ff;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .03em;
    margin: 0 0 10px;
    text-transform: uppercase
}

footer .footer-links li {
    margin-bottom: 6px
}

footer .footer-links li:last-child {
    margin-bottom: 0
}

footer .footer-links a {
    align-items: center;
    border-radius: 6px;
    color: #d7deea;
    display: inline-flex;
    font-size: .86rem;
    gap: 8px;
    line-height: 1.35;
    min-height: 32px;
    padding: 5px 8px;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease
}

footer .footer-links a:hover,
footer .footer-links a:focus-visible {
    background-color: rgba(95,168,255,.18);
    color: #fff;
    outline: none
}

footer .follow-us .footer-links a {
    width: 100%
}

footer .follow-us img {
    flex: 0 0 18px;
    height: 18px;
    width: 18px
}

footer .footer-meta {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: .5rem;
    padding-top: 1rem;
    text-align: center
}

footer .footer-meta p {
    font-size: .82rem;
    line-height: 1.5;
    max-width: 980px
}

footer .copyright {
    font-size: .75rem
}

footer .img-responsive {
    margin: 0 auto
}

input.gsc-input, .gsc-input-box, .gsc-input-box-hover, .gsc-input-box-focus, .gsc-search-button {
    box-sizing: content-box;
    line-height: normal;
    font-size: 14px !important
}

input.gsc-input {
    background-image: url("https://twilightgamez.net/assets/img/search_placeholder.png") !important;
    background-size: 200px 16px;
    background-repeat: no-repeat
}

input.gsc-input:focus {
    background-image: none !important
}

.gsc-search-button {
    display: none
}

.gsc-control-searchbox-only {
    padding-top: 10px
}

td.gsc-input {
    padding-right: 0 !important
}

.gsc-input-box span {
    font-size: 20px
}

.staff-entry {
    display: block;
    text-align: center;
    color: rgb(168,160,149);
    margin-bottom: 40px
}

.staff-entry a {
    text-decoration: none !important;
    color: rgb(168,160,149);
}

.staff-entry > a > * {
    margin-left: auto;
    margin-right: auto;
    display: block
}

.staff-entry .staff-username {
    display: inline-block;
    margin: 0.75em auto 0.3em;
    padding-bottom: 0.3em;
    border-bottom: 0.125em solid #666;
    font-size: 150%;
    overflow: hidden
}

.staff-entry .staff-role {
    font-size: 85%
}

.staff-entry .staff-social {
    margin-top: 0.5em;
    font-size: 130%
}

.staff-entry .staff-social a {
    color: #999
}

.staff-entry .staff-social img {
    width: 32px;
    height: 32px;
    display: inline-block
}

.staff-entry .staff-social .social-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 0.4rem;
    color: inherit
}

/* Enforced dark mode overrides */
:root {
    color-scheme: dark;
}

html,
body {
    background-color: #0b0d10 !important;
    color: #e6e6e6 !important;
}

body {
    text-rendering: optimizeLegibility;
}

a,
a:visited {
    color: #7cc4ff;
}

a:hover,
a:focus {
    color: #9ad3ff;
}

hr {
    border-top: 1px solid #2a2f35;
}

.text-muted {
    color: #9aa3ad !important;
}

.bg-light,
.bg-white,
.bg-body,
.bg-default {
    background-color: #0f1216 !important;
    color: #e6e6e6 !important;
}

.panel,
.panel-heading,
.panel-body,
.panel-footer,
.well,
.jumbotron,
.thumbnail,
.card,
.card-body,
.card-header,
.card-footer {
    background-color: #11151a !important;
    color: #e6e6e6 !important;
    border-color: #2a2f35 !important;
}

.navbar,
.navbar-default,
.navbar-inverse,
.nav,
.nav-tabs > li > a,
.nav-pills > li > a {
    background-color: #0f1216 !important;
    color: #e6e6e6 !important;
    border-color: #2a2f35 !important;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover,
.nav-pills > li.active > a,
.nav-pills > li.active > a:focus,
.nav-pills > li.active > a:hover {
    background-color: #151a20 !important;
    color: #ffffff !important;
    border-color: #2a2f35 !important;
}

.dropdown-menu {
    background-color: #11151a !important;
    color: #e6e6e6 !important;
    border-color: #2a2f35 !important;
}

.dropdown-menu > li > a {
    color: #e6e6e6 !important;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background-color: #1b2128 !important;
    color: #ffffff !important;
}

.table {
    color: #e6e6e6 !important;
    background-color: #0f1216 !important;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    border-color: #2a2f35 !important;
}

.table-striped > tbody > tr:nth-of-type(odd),
.table-hover > tbody > tr:hover {
    background-color: #151a20 !important;
}

.form-control,
input,
select,
textarea,
select.form-control,
textarea.form-control {
    background-color: #101418 !important;
    color: #e6e6e6 !important;
    border-color: #2a2f35 !important;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus {
    border-color: #3b4a5a !important;
    box-shadow: 0 0 0 2px rgba(71, 131, 201, 0.2) !important;
}

::placeholder {
    color: #8b94a0 !important;
}

.input-group-addon {
    background-color: #151a20 !important;
    color: #e6e6e6 !important;
    border-color: #2a2f35 !important;
}

.btn-default {
    background-color: #1a2027 !important;
    color: #e6e6e6 !important;
    border-color: #2a2f35 !important;
}

.btn-default:hover,
.btn-default:focus {
    background-color: #232b34 !important;
    color: #ffffff !important;
    border-color: #3b4a5a !important;
}

.list-group-item {
    background-color: #11151a !important;
    color: #e6e6e6 !important;
    border-color: #2a2f35 !important;
}

.list-group-item.active,
.list-group-item.active:focus,
.list-group-item.active:hover {
    background-color: #1b2128 !important;
    border-color: #2a2f35 !important;
}

.breadcrumb {
    background-color: #11151a !important;
    border-color: #2a2f35 !important;
}

.pagination > li > a,
.pagination > li > span {
    background-color: #11151a !important;
    color: #e6e6e6 !important;
    border-color: #2a2f35 !important;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    background-color: #1b2128 !important;
    color: #ffffff !important;
    border-color: #3b4a5a !important;
}

.modal-header,
.modal-body,
.modal-footer {
    background-color: #11151a !important;
    color: #e6e6e6 !important;
    border-color: #2a2f35 !important;
}

.alert {
    color: #e6e6e6 !important;
    background-color: #1b2128 !important;
    border-color: #2a2f35 !important;
}

.alert-info {
    background-color: #1b2128 !important;
    border-color: #3b4a5a !important;
    color: #e6e6e6 !important;
}

.alert-success {
    background-color: #0f1d16 !important;
    border-color: #1f3c2d !important;
    color: #cfe9db !important;
}

.alert-warning {
    background-color: #241c0b !important;
    border-color: #4a3a1a !important;
    color: #f0d6a8 !important;
}

.alert-danger,
.alert-error {
    background-color: #2a1212 !important;
    border-color: #4d1f1f !important;
    color: #f0c2c2 !important;
}

.alert-primary {
    background-color: #0f1b2b !important;
    border-color: #223b5a !important;
    color: #c5d9f5 !important;
}

.alert-secondary {
    background-color: #1a1e24 !important;
    border-color: #2f3a44 !important;
    color: #d1d8e0 !important;
}

.alert-dark {
    background-color: #11151a !important;
    border-color: #2a2f35 !important;
    color: #e6e6e6 !important;
}

.alert-light {
    background-color: #1b2128 !important;
    border-color: #3b4a5a !important;
    color: #e6e6e6 !important;
}

.alert a,
.alert .alert-link {
    color: #9fd0ff !important;
}

.alert a:hover,
.alert a:focus,
.alert .alert-link:hover,
.alert .alert-link:focus {
    color: #c7e4ff !important;
}

.select2-container .select2-choice,
.select2-drop,
.select2-search input,
.select2-container .select2-choice .select2-chosen,
.select2-container .select2-choice .select2-arrow,
.select2-container .select2-choice .select2-arrow b,
.select2-results,
.select2-results .select2-result-label,
.select2-results .select2-highlighted {
    background-color: #101418 !important;
    color: #e6e6e6 !important;
    border-color: #2a2f35 !important;
    background-image: none !important;
}

.select2-results .select2-highlighted {
    background-color: #1b2128 !important;
}

/* Enforced dark mode overrides */
:root {
    color-scheme: dark;
    --bs-body-bg: #0f1113;
    --bs-body-color: #e6e6e6;
    --bs-secondary-color: #b6c0cc;
    --bs-tertiary-color: #9aa6b2;
    --bs-border-color: #2a2f35;
    --bs-card-bg: #151a1f;
    --bs-card-cap-bg: #13181d;
    --bs-modal-bg: #11151a;
    --bs-dropdown-bg: #151a1f;
    --bs-dropdown-link-color: #e6e6e6;
    --bs-dropdown-link-hover-bg: #1b2128;
    --bs-link-color: #78b2e2;
    --bs-link-hover-color: #9fd0ff;
}

html,
body {
    background-color: #0f1113 !important;
    color: #e6e6e6 !important;
}

body * {
    color-scheme: dark;
}

a,
.btn-link,
.nav-link,
.dropdown-item,
.pagination > li > a,
.pagination > li > span {
    color: #78b2e2 !important;
}

a:hover,
a:focus,
.btn-link:hover,
.btn-link:focus,
.nav-link:hover,
.nav-link:focus,
.dropdown-item:hover,
.dropdown-item:focus,
.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
    color: #9fd0ff !important;
}

.bg-white,
.bg-light,
.table-light,
.bg-body,
.bg-body-tertiary,
.navbar-light,
.text-dark {
    background-color: #151a1f !important;
    color: #e6e6e6 !important;
}

.text-muted {
    color: #b6c0cc !important;
}

.card,
.card-header,
.card-footer,
.list-group-item,
.dropdown-menu,
.dropdown-item,
.navbar,
.navbar-collapse,
.modal-content,
.modal-header,
.modal-body,
.modal-footer,
.offcanvas,
.offcanvas-header,
.offcanvas-body,
.popover,
.toast,
.breadcrumb {
    background-color: #151a1f !important;
    color: #e6e6e6 !important;
    border-color: #2a2f35 !important;
}

.app-toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1085;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: min(90vw, 360px);
}

.app-toast {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #2a2f35;
    background-color: #151a1f;
    color: #e6e6e6;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-toast--show {
    opacity: 1;
    transform: translateY(0);
}

.app-toast__message {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.35;
}

.app-toast__close {
    background: none;
    border: 0;
    padding: 0;
    color: #e6e6e6;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.app-toast--success {
    border-left: 4px solid #2f9e58;
}

.app-toast--error {
    border-left: 4px solid #d94848;
}

.app-toast--warning {
    border-left: 4px solid #f2c94c;
}

.app-toast--info {
    border-left: 4px solid #4b9cf5;
}

@media (max-width: 575px) {
    .app-toast-container {
        left: 1rem;
        right: 1rem;
        top: 0.75rem;
    }
}

.table {
    --bs-table-bg: #151a1f;
    --bs-table-color: #e6e6e6;
    --bs-table-border-color: #2a2f35;
    color: #e6e6e6 !important;
    background-color: #151a1f !important;
}

.table-responsive,
.table-responsive > .table,
.table-responsive > .table > :not(caption) > * > * {
    background-color: #151a1f !important;
    color: #e6e6e6 !important;
    border-color: #2a2f35 !important;
}

.table > :not(caption) > * > * {
    background-color: #151a1f !important;
    color: #e6e6e6 !important;
    border-color: #2a2f35 !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: #13181d !important;
    color: #e6e6e6 !important;
}

.table-hover > tbody > tr:hover > * {
    background-color: #1b2128 !important;
    color: #ffffff !important;
}

.form-control,
.form-select,
.input-group-text,
.form-check-input,
.form-range,
.form-floating > label,
.form-control:focus,
.form-select:focus {
    background-color: #101418 !important;
    color: #e6e6e6 !important;
    border-color: #2a2f35 !important;
    box-shadow: none !important;
}

.form-control::placeholder,
.form-select::placeholder {
    color: #8f9aa6 !important;
}

.btn,
.btn-secondary,
.btn-outline-secondary,
.btn-outline-light,
.btn-light {
    background-color: #1b2128 !important;
    color: #e6e6e6 !important;
    border-color: #2a2f35 !important;
}

.btn-primary {
    background-color: #1f3b53 !important;
    border-color: #2a5f7a !important;
    color: #e6f1ff !important;
}

.btn-success {
    background-color: #1f4b2b !important;
    border-color: #2f6b3f !important;
    color: #e6ffe9 !important;
}

.btn-danger {
    background-color: #5a1e1e !important;
    border-color: #7a2a2a !important;
    color: #ffe6e6 !important;
}

.btn-warning {
    background-color: #5a3b1e !important;
    border-color: #7a522a !important;
    color: #ffeed6 !important;
}

.btn:hover,
.btn:focus,
.btn-primary:hover,
.btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-success:hover,
.btn-success:focus,
.btn-danger:hover,
.btn-danger:focus,
.btn-warning:hover,
.btn-warning:focus {
    background-color: #243140 !important;
    border-color: #3b4a5a !important;
    color: #ffffff !important;
}

.nav-tabs,
.nav-pills,
.nav-tabs .nav-link,
.nav-pills .nav-link {
    background-color: #151a1f !important;
    color: #e6e6e6 !important;
    border-color: #2a2f35 !important;
}

.nav-tabs .nav-link.active,
.nav-pills .nav-link.active,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover,
.nav-pills .nav-link:focus,
.nav-pills .nav-link:hover {
    background-color: #1b2128 !important;
    color: #ffffff !important;
    border-color: #3b4a5a !important;
}

.dropdown-divider,
.list-group-item + .list-group-item,
hr {
    border-color: #2a2f35 !important;
    background-color: #2a2f35 !important;
}

:root {
    color-scheme: dark;
    --tk-brand-primary: #6fe2ff;
    --tk-brand-secondary: #72ff72;
    --tk-brand-accent: #ffb347;
    --tk-surface-0: #0b0c0f;
    --tk-surface-1: #131516;
    --tk-surface-2: #1b1e22;
    --tk-surface-3: #22262b;
    --tk-border-subtle: rgba(111, 226, 255, 0.2);
    --tk-border-strong: rgba(111, 226, 255, 0.45);
    --tk-text-1: #f5f7fa;
    --tk-text-2: #c9d0d8;
    --tk-text-muted: #9aa3ad;
    --tk-glow-primary: 0 0 30px rgba(111, 226, 255, 0.25);
    --tk-glow-accent: 0 0 24px rgba(255, 179, 71, 0.3);
    --tk-gradient-hero: linear-gradient(135deg, rgba(111, 226, 255, 0.18), rgba(34, 38, 43, 0.9));
    --tk-gradient-sponsor: linear-gradient(90deg, rgba(111, 226, 255, 0.16), rgba(114, 255, 114, 0.12));
    --tk-radius-lg: 18px;
    --tk-radius-md: 12px;
    --tk-radius-sm: 8px;
    --tk-space-1: 8px;
    --tk-space-2: 12px;
    --tk-space-3: 16px;
    --tk-space-4: 24px;
    --tk-space-5: 32px;
    --tk-space-6: 48px;
    --tk-font-xs: 0.75rem;
    --tk-font-sm: 0.875rem;
    --tk-font-md: 1rem;
    --tk-font-lg: 1.25rem;
    --tk-font-xl: 1.5rem;
    --tk-font-2xl: 2rem;
    --tk-font-3xl: 2.75rem;
}

body {
    background-color: var(--tk-surface-0);
    color: var(--tk-text-1);
}

.tk-layout {
    background-color: var(--tk-surface-1);
    border-radius: var(--tk-radius-lg);
    padding: var(--tk-space-6) var(--tk-space-5);
    margin-top: var(--tk-space-5);
    margin-bottom: var(--tk-space-6);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.tk-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

.tk-section {
    padding: var(--tk-space-5) 0;
}

.tk-section + .tk-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tk-section--full {
    width: 100%;
}

.tk-section--surface {
    background-color: var(--tk-surface-1);
}

.tk-section--hero {
    background: var(--tk-gradient-hero);
    border-bottom: 1px solid var(--tk-border-subtle);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.tk-section--sponsor {
    background: var(--tk-gradient-sponsor);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tk-hero {
    padding: var(--tk-space-6) 0;
}

.tk-hero .tk-page-title {
    font-size: var(--tk-font-3xl);
    margin-bottom: var(--tk-space-3);
}

.tk-section-header {
    display: flex;
    flex-direction: column;
    gap: var(--tk-space-2);
    margin-bottom: var(--tk-space-4);
}

.tk-section-title {
    font-size: var(--tk-font-2xl);
    color: var(--tk-section-accent, var(--tk-brand-primary));
    margin: 0;
}

.tk-section-subtitle {
    color: var(--tk-text-muted);
    margin: 0;
    font-size: var(--tk-font-sm);
}

.tk-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tk-space-2);
}

.tk-cta-group--stack {
    flex-direction: column;
}

.tk-cta-group .btn {
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.tk-roster-card {
    background-color: var(--tk-surface-2);
    border-radius: var(--tk-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--tk-space-4);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tk-roster-card:hover {
    transform: translateY(-4px);
    border-color: var(--tk-border-strong);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35), var(--tk-glow-primary);
}

.tk-roster-avatar {
    width: 90px;
    height: 90px;
    border-radius: var(--tk-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tk-roster-name {
    color: var(--tk-section-accent, var(--tk-brand-primary));
    border-bottom: 2px solid var(--tk-section-accent, var(--tk-brand-primary));
    padding-bottom: 4px;
    margin-top: var(--tk-space-2);
    font-weight: 600;
}

.tk-sponsor-strip {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tk-space-3);
    align-items: center;
    padding: var(--tk-space-4);
    border-radius: var(--tk-radius-md);
    background: var(--tk-gradient-sponsor);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tk-sponsor-strip img {
    max-height: 48px;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.35));
}

.tk-section-header--management,
.tk-roster-card--management {
    --tk-section-accent: var(--tk-brand-secondary);
}

.tk-section-header--developers,
.tk-roster-card--developers {
    --tk-section-accent: var(--tk-brand-accent);
}

.tk-section-header--members,
.tk-roster-card--members {
    --tk-section-accent: var(--tk-brand-primary);
}

.tk-roster-card--creators {
    --tk-section-accent: #8300dd;
}

/* Top navigation refinements */
.tk-top-nav {
    position: sticky;
    top: 0;
    z-index: 1040;
    margin-bottom: 0.75rem;
    background: linear-gradient(120deg, rgba(18, 24, 31, 0.98), rgba(14, 20, 27, 0.98)) !important;
    border-bottom: 1px solid rgba(99, 118, 138, 0.32) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.tk-top-nav .navbar-brand {
    padding: 0.3rem 0.25rem;
}

.tk-top-nav__logo {
    border-radius: 999px;
    border: 1px solid rgba(131, 178, 224, 0.55);
    box-shadow: 0 0 0 4px rgba(120, 178, 226, 0.1);
}

.tk-top-nav__brand-text {
    font-weight: 600;
    letter-spacing: 0.2px;
}

.tk-top-nav__links {
    gap: 0.25rem;
}

.tk-top-nav .nav-item {
    flex: 0 0 auto;
}

.tk-top-nav .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0.1rem;
    padding: 0.42rem 0.68rem;
    border-radius: 0.6rem;
    color: #9ecfff !important;
    border: 1px solid transparent;
    line-height: 1.15;
    white-space: nowrap;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.tk-top-nav .nav-link i {
    width: 1rem;
    text-align: center;
    font-size: 0.95rem;
}

.tk-top-nav .nav-link:hover,
.tk-top-nav .nav-link:focus-visible {
    color: #d7ebff !important;
    border-color: rgba(131, 178, 224, 0.35);
    background-color: rgba(90, 133, 176, 0.15);
}

.tk-top-nav .nav-link.active,
.tk-top-nav .nav-link[aria-current='page'] {
    color: #eff8ff !important;
    border-color: rgba(146, 197, 247, 0.54);
    background-color: rgba(87, 145, 201, 0.24);
    box-shadow: inset 0 0 0 1px rgba(190, 224, 255, 0.16);
}

.tk-top-nav .navbar-toggler {
    border-color: rgba(130, 161, 192, 0.35);
}

.tk-watch-live-btn {
    border: 1px solid rgba(255, 110, 110, 0.6) !important;
    box-shadow: 0 0 0 2px rgba(194, 34, 34, 0.22);
}

.tk-account-toggle {
    border: 1px solid rgba(130, 161, 192, 0.3);
    background-color: rgba(27, 34, 42, 0.7);
}

@media (max-width: 991.98px) {
    .tk-top-nav .navbar-collapse {
        margin-top: 0.6rem;
        padding-top: 0.6rem;
        border-top: 1px solid rgba(90, 112, 135, 0.35);
    }

    .tk-top-nav .navbar-nav .nav-link {
        margin-right: 0;
        margin-left: 0;
        justify-content: flex-start;
    }

    .tk-top-nav .navbar-nav.ms-auto {
        margin-top: 0.5rem;
    }
}
