/*
 *  [ HTML & BODY ]
 */

html,
body {
    background: #f3f6fa;
}

body.pushable>.pusher {
    background: #f3f6fa;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

#wrapper {
    margin-bottom: 1rem;
}

/*
   *  [ NAVIGATION BAR ]
   */

.ui.secondary.menu {
    background: #fff;
    padding: 10px;
    margin: 0;
}

.ui.secondary.menu .toc.item {
    display: none;
}

.ui.secondary.menu .toc.item i {
    margin: 0;
}

#navbar .item i {
    margin-right: 5px;
}

.ui.secondary.menu .ui.medium.label {
    padding: .68em 1em .5em .5em;
}

.ui.secondary.menu .ui.medium.label img {
    font-size: 1.09rem;
    margin: -.6em .5em -.6em -.5em;
}

.ui.secondary.inverted.menu .popup .list a.item {
    color: rgba(0, 0, 0, .87) !important;
}

@media only screen and (max-width: 768px) {

    .ui.secondary.menu .menu,
    .ui.secondary.menu .item {
        display: none;
    }

    .ui.secondary.menu .toc.item {
        display: block;
    }
}

.ui.secondary.menu .ui.popup {
    min-width: 200px;
}

.ui.secondary.menu .ui.popup a:not([href]) {
    cursor: default !important;
}

.ui.vertical.inverted.sidebar.menu.left .item .header span.icon {
    float: right;
}

/*
   *  [ HEADER ]
   */

.ui.masthead {
    background: linear-gradient(90deg, rgb(41, 117, 286) 0%, rgb(2, 117, 216) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 20px;
    padding: 4rem 0;
    border-radius: 0;
    color: #fff;
}

.ui.masthead .connect-server {
    background: rgba(255, 255, 255, .2);
    width: fit-content;
    padding: 1rem 1.5rem;
    margin-left: auto;
    border-radius: .4rem;
    text-align: center;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, .1);
}

@media (max-width: 768px) {
    .ui.masthead .ui.grid .ui.row .column>* {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

.ui.masthead .connect-server .ui.header {
    margin: 0;
    color: #fff;
}

/*
   *  -[ SEGMENT ]-
   */

.ui.segment {
    background: #fff;
    border-radius: .28571429rem;
    border: none;
    -webkit-box-shadow: 0 1px 3px 0 #d4d4d5, 0 0 0 1px #d4d4d5;
    box-shadow: 0 1px 3px 0 #d4d4d5, 0 0 0 1px #d4d4d5;
}

.ui.segment .ui.list .list>.item .header,
.ui.segment .ui.list>.item .header {
    display: inline-block;
}

.ui.secondary.segment.segment.segment.segment.segment:not(.inverted) {
    border-top: none;
}

/*
   *  [ NEWS POST ]
   */

#news-post .badge,
#news-post .ui.label {
    position: absolute;
    margin: 0;
    padding: .75em 1em;
    width: auto;
    top: 0;
    right: 0;
    text-transform: uppercase;
    border-radius: 0 .21428571rem 0 .28571429rem;
}

/*
   *  [ FORUM NODE ]
   */

#forum-node #last-post {
    width: 250px;
}

#forum-node #last-post .avatar {
    margin: 2px 10px 0 0;
}

/*
   *  [ FORUM PAGE ]
   */

#sticky-threads tbody tr td:last-child:not(:first-child),
#normal-threads tbody tr td:last-child:not(:first-child) {
    text-align: right;
}

#sticky-threads tbody tr td:last-child .ui.image.header .image,
#normal-threads tbody tr td:last-child .ui.image.header .image {
    float: right;
    margin-left: 1rem;
    margin-top: .24rem;
}

#sticky-threads .badge,
#sticky-threads .ui.label,
#normal-threads .badge,
#normal-threads .ui.label {
    position: relative;
    top: -1.2px;
    padding: .3rem .5rem;
    font-size: .7rem;
    margin: 0;
    margin-bottom: .1rem;
    margin-right: .2rem;
}

/*
   *  [ TOPIC PAGE ]
   */

#topic-post #post-sidebar .ui.small.image,
#topic-reply #reply-sidebar .ui.small.image {
    width: 120px;
}

#topic-post #post-sidebar h3,
#topic-reply #reply-sidebar h3 {
    margin: 1rem 0;
}

@media (max-width: 768px) {

    #topic-post #post-sidebar .ui.list,
    #topic-reply #reply-sidebar .ui.list {
        display: none;
    }
}

#topic-post #post-meta [class*="res right floated"] {
    margin-top: -5px;
}

@media (max-width: 576px) {
    #topic-post #post-meta {
        text-align: center;
    }

    #topic-post #post-meta [class*="res right floated"] {
        margin-top: 0;
    }
}

@media only screen and (min-width: 768px) {

    #topic-post #post-sidebar,
    #topic-reply #reply-sidebar {
        border-right: solid 1px rgba(0, 0, 0, .1);
        margin-top: -1.5rem;
        margin-bottom: -1.5rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #topic-post #post-sidebar:before,
    #topic-reply #reply-sidebar:before {
        content: "";
        height: 0;
        border: 8px solid transparent;
        border-right: 8px solid rgba(0, 0, 0, .2);
        position: absolute;
        top: 75px;
        right: 0;
    }

    #topic-post #post-sidebar:after,
    #topic-reply #reply-sidebar:after {
        content: "";
        height: 0;
        border: 8px solid transparent;
        border-right: 8px solid #fff;
        position: absolute;
        top: 75px;
        right: -1px;
    }
}

@media only screen and (max-width: 768px) {

    #topic-post #post-sidebar,
    #topic-reply #reply-sidebar {
        border-bottom: solid 1px rgba(0, 0, 0, .1);
    }
}

.ui.comments {
    max-width: none;
}

.ui.grid.segment.leaderboard_table {
    margin-top: 0;
}

.leaderboard_table .ui.list {
    margin-left: -10px;
}

.leaderboard_table .ui.list li a {
    display: block;
    height: 100%;
    width: 100%;
}

.leaderboard_table .middle.aligned.content {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;;
    white-space: nowrap;
}

.leaderboard_table ol li:before {
    display: none;
}

#reactions {
    margin-top: 1rem;
    padding: .7em 1.2em .7em 1.2em;
    min-height: 32.5px;
    font-size: 12px;
}

#topic-post #post-content {
    display: flex;
    flex-direction: column;
}

#topic-post #post-content {
    padding: .7em 1.2em .7em 1.2em;
    min-height: 32.5px;
}

#post-content #reactions {
    margin-top: auto;
}

.reaction-button, .reaction-button-selected {
    margin-left: 5px;
    margin-right: 5px;
}

.reaction-button {
    opacity: 50%;
}

.reaction-button:hover, .reaction-button-selected {
    opacity: 100%;
    cursor: pointer;
}

#modal-reactions .ui.menu {
    overflow-x: auto;
}

/** Reaction modal tab buttons display non-native emojis as 2.5em wide by default */
.ui.menu .item > img:not(.ui) {
    width: 1em;
}

#topic-post #post-meta {
    margin-right: 1.3em;
}

#topic-post #post-sidebar .groups {
    text-align: center;
}

.inline.fields.labels {
    flex-wrap: wrap;
}

.ui.form .inline.fields.labels .field {
    padding-bottom: 1em;
}

.blockquote {
    border-left: 2px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
}

/*
   *  [ ACCOUNT MESSAGES ]
   */

#view-message #message .header {
    font-size: 1.15rem;
    margin-top: 0.01rem;
}

#view-message #message .meta {
    line-height: 0.95rem;
}

@media (max-width: 768px) {
    #messages table thead tr th:first-child {
        width: 100%;
    }

    #messages table thead tr th:not(:first-child),
    #messages table tbody tr td:not(:first-child) {
        display: none;
    }
}

/*
   *  -[ 404 ERROR ]-
   */

#error-403 .ui.container,
#error-404 .ui.container,
#maintenance .ui.container {
    position: relative;
    min-height: 100vh;
}

#error-403 .ui.segment,
#error-404 .ui.segment,
#maintenance .ui.segment {
    position: absolute;
    transform: translate(-50%, -70%);
    top: 50%;
    left: 50%;
    width: 500px;
    text-align: center;
}

/*
   *  [ PROFILE PAGE ]
   */

#profile-header {
    background: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#profile-header .ui.header {
    margin: 8px 0;
}

#profile-header .ui.label {
    margin: 0;
}

#profile-header .actions {
    position: absolute;
    right: 1rem;
}

#profile a.ui.circular.image.avatar img {
    max-height: 35px;
}

/* Fix avatar images in labels being a few px from touching the top */
.ui.image.label img {
    vertical-align: top !important;
}

/*
   *  [ FORUM SEARCH ]
   */

#forum-search-result h3.ui.header {
    margin-top: 0;
    margin-bottom: 1rem;
}

/*
   *  [ SERVER PAGE ]
   */

[id*="server"] #server-players a:not(:last-child) {
    margin-right: .3rem;
}

/*
   *  [ WIDGETS ]
   */

[id*="widget"] .item .content {
    width: calc(100% - 40px) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[id*="widget"] .item .content * {
    overflow: hidden;
    text-overflow: ellipsis;
}

[id*="widget"] .item .description {
    width: calc(100% - 120px) !important;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[id*="widget"] .item .description * {
    overflow: hidden;
}

#widget-online-users .content {
    padding-bottom: .5rem;
}

#widget-online-users .ui.image.label {
    margin-bottom: .5rem;
}

#widget-online-staff .ui.list .item {
    display: flex;
    align-items: center;
}

#widget-online-staff .ui.list .item .content {
    display: flex;
    align-items: center;
}

#widget-online-staff .ui.list .item .content .badge {
    margin-left: .35rem;
}

.fb-page {
    padding-bottom: 14px;
}

/*
   *  -[ FOOTER ]-
   */

.ui.footer.segment {
    position: relative;
    margin: auto 0 -.5rem 0;
    padding: 3em 0;
}

@media only screen and (max-width: 768px) {
    .ui.footer.segment {
        text-align: center;
    }
}

.ui.link.list.list .active.item {
    color: rgba(255, 255, 255, .5);
}

.ui.link.list.list .active.item a:not(.ui) {
    color: rgba(0, 0, 0, .87) !important;
}

.ui.link.list.list .active.item a:not(.ui):hover {
    background: rgba(0, 0, 0, .05) !important;
}

/*
   *  [ TABLE ]
   */

@media (max-width: 576px) {
    .ui.table.res thead tr th:first-child {
        width: 100%;
    }

    .ui.table.res thead tr th:not(:first-child),
    .ui.table.res tbody tr td:not(:first-child) {
        display: none;
    }
}

@media (max-width: 992px) {

    .ui.table.res thead tr th:first-child,
    .ui.table.res thead tr th:last-child {
        width: 50%;
    }

    .ui.table.res thead tr th:not(:first-child):not(:last-child),
    .ui.table.res tbody tr td:not(:first-child):not(:last-child) {
        display: none;
    }
}

/*
   *  -[ GRID ]-
   */

.ui.grid+.grid {
    margin-top: 0.3rem;
}

.ui.row+.row {
    padding-top: 0.3rem;
}

.ui.padded.grid:not(.vertically):not(.horizontally) {
    margin: 0 -1rem 0 -1rem !important;
}

@media only screen and (max-width: 768px) {
    .ui.padded.grid:not(.vertically):not(.horizontally) {
        margin: 0 !important;
    }
}

/*
   *  [ LINK LIST ]
   */

.ui.link.list.list .item a:not(.ui):hover,
.ui.link.list.list a.item:hover {
    background: none;
}

.ui.link.list.list .ui.divider {
    margin: 0.5rem 0;
}

/*
   *  [ USES POPUP ]
   */

#user-popup .header {
    text-align: center;
}

#user-popup .header .ui.header {
    padding: .5rem 0;
}

#user-popup .header .ui.image {
    margin: auto;
}

/*
   *  [ COOKIE NOTICE ]
   */

.cc-window.cc-floating {
    padding: 1rem 1.5rem;
    background-color: #fff !important;
    color: rgba(0, 0, 0, .68) !important;
    -webkit-box-shadow: 0 1px 3px 0 #bababb, 0 0 1px 1px #bababb;
    box-shadow: 0 1px 3px 0 #bababb, 0 0 1px 1px #bababb;
    border: none;
    border-radius: .28571429rem;
    cursor: default;
    font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 18px;
    opacity: 1;
    transition: .5s all ease;
}

.cc-window.cc-floating .cc-highlight .cc-btn:first-child {
    color: rgba(0, 0, 0, .68);
}

.cc-window.cc-floating .cc-highlight .cc-btn.cc-allow {
    -webkit-box-shadow: 0 0 0 0 rgb(34 36 38 / 15%) inset;
    box-shadow: 0 0 0 0 rgb(34 36 38 / 15%) inset;
    background-color: #2185d0;
    border-color: #fff;
    border-radius: 5px;
    color: #fff;
}

.cc-revoke.cc-bottom.cc-right {
    color: #fff;
}

/*
   *  [ SPOILER ]
   */

#tinymce .spoiler,
.spoiler {
    color: rgba(0, 0, 0, .87);
    border-radius: .28571429rem;
    -webkit-box-shadow: 0 0 0 1px rgba(34, 36, 38, .22) inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px rgba(34, 36, 38, .22) inset, 0 0 0 0 transparent;
    border: none;
}

#tinymce .spoiler-toggle,
.spoiler-toggle {
    color: rgba(0, 0, 0, .87);
}

#tinymce .spoiler-text,
.spoiler-text {
    color: rgba(0, 0, 0, .87);
}

/*
   *  [ MESSAGE ]
   */

.ui.message>.close.icon {
    right: .8em;
}

/*
   *  [ UPDATE MESSAGE ]
   */

#update-message {
    margin-bottom: 1rem;
}

#update-message>a {
    color: inherit;
    transition: all .2s ease;
}

#update-message>a:hover {
    filter: contrast(2);
}

#update-message>a>.icon {
    margin-right: .5em;
}

#update-message>a>.icon:not(.close) {
    display: block;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    line-height: 1;
    font-size: 3em;
    opacity: .8;
}

/*
   *  [ PAGINATION ]
   */

.ui.mini.pagination.menu .item:first-child,
.ui.mini.pagination.menu .item:last-child {
    padding-top: .5rem;
}

/*
   *  -[ ALIGNMENTS ]-
   */

[class*="left aligned"] {
    text-align: left;
}

[class*="center aligned"] {
    text-align: center;
}

[class*="right aligned"] {
    text-align: right;
}

/*
   *  [ FLOATS ]
   */

[class*="left floated"],
[class*="res left floated"] {
    float: left;
}

[class*="right floated"],
[class*="res right floated"] {
    float: right;
}

[class*="right floated"]+.ui.segment,
[class*="res right floated"]+.ui.segment {
    margin-top: 1rem;
}

@media only screen and (max-width: 576px) {

    [class*="res right floated"],
    [class*="res left floated"] {
        margin-top: 1rem;
        float: none;
    }

    [class*="res right floated"] .button:not(.mini),
    [class*="res left floated"] .button:not(.mini) {
        width: 100%;
        text-align: center;
    }

    [class*="res right floated"] .button:not(:first-child),
    [class*="res left floated"] .button:not(:first-child) {
        margin-top: 0.5rem;
    }
}

/*
   *  [ DISPLAY ]
   */

[display="block"] {
    display: block !important;
}

[display="inline"] {
    display: inline !important;
}

[display="inline block"] {
    display: inline-block !important;
}

/*
   *  [ VISIBILITY ]
   */

@media only screen and (max-width: 576px) {

    [class*="mobile hidden"],
    [class*="tablet only"]:not(.mobile),
    [class*="computer only"]:not(.mobile),
    [class*="large screen only"]:not(.mobile),
    [class*="widescreen only"]:not(.mobile),
    [class*="or lower hidden"] {
        display: none !important;
    }
}

@media only screen and (min-width: 576px) and (max-width: 768px) {

    [class*="mobile only"]:not(.tablet),
    [class*="tablet hidden"],
    [class*="computer only"]:not(.tablet),
    [class*="large screen only"]:not(.tablet),
    [class*="widescreen only"]:not(.tablet),
    [class*="or lower hidden"]:not(.mobile) {
        display: none !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {

    [class*="mobile only"]:not(.computer),
    [class*="tablet only"]:not(.computer),
    [class*="computer hidden"],
    [class*="large screen only"]:not(.computer),
    [class*="widescreen only"]:not(.computer),
    [class*="or lower hidden"]:not(.tablet):not(.mobile) {
        display: none !important;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1280px) {

    [class*="mobile only"]:not([class*="large screen"]),
    [class*="tablet only"]:not([class*="large screen"]),
    [class*="computer only"]:not([class*="large screen"]),
    [class*="large screen hidden"],
    [class*="widescreen only"]:not([class*="large screen"]),
    [class*="or lower hidden"]:not(.computer):not(.tablet):not(.mobile) {
        display: none !important;
    }
}

@media only screen and (min-width: 1280px) {

    [class*="mobile only"]:not([class*="widescreen"]),
    [class*="tablet only"]:not([class*="widescreen"]),
    [class*="computer only"]:not([class*="widescreen"]),
    [class*="large screen only"]:not([class*="widescreen"]),
    [class*="widescreen hidden"],
    [class*="widescreen or lower hidden"] {
        display: none !important;
    }
}

/*
   *  [ USER BADGES ]
   */

.badge {
    display: inline-block;
    line-height: 1;
    vertical-align: baseline;
    margin: 0 .14285714em;
    background-color: #e8e8e8;
    background-image: none;
    padding: 0.3em .3em;
    color: rgba(0, 0, 0, .6);
    text-transform: none;
    font-size: .85714286rem;
    font-weight: 700;
    border: 0 solid transparent;
    border-radius: .28571429rem;
    -webkit-transition: background .1s ease;
    transition: background .1s ease;
}

a.badge:hover,
a.badge:focus {
    text-decoration: none;
}

.badge:empty {
    display: none;
}

.badge-primary {
    color: #fff;
    background-color: #007bff;
}

a.badge-primary:hover,
a.badge-primary:focus {
    color: #fff;
    background-color: #0062cc;
}

.badge-secondary {
    color: #fff;
    background-color: #6c757d;
}

a.badge-secondary:hover,
a.badge-secondary:focus {
    color: #fff;
    background-color: #545b62;
}

.badge-success {
    color: #fff;
    background-color: #28a745;
}

a.badge-success:hover,
a.badge-success:focus {
    color: #fff;
    background-color: #1e7e34;
}

.badge-info {
    color: #fff;
    background-color: #17a2b8;
}

a.badge-info:hover,
a.badge-info:focus {
    color: #fff;
    background-color: #117a8b;
}

.badge-warning {
    color: #212529;
    background-color: #ffc107;
}

a.badge-warning:hover,
a.badge-warning:focus {
    color: #212529;
    background-color: #d39e00;
}

.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

a.badge-danger:hover,
a.badge-danger:focus {
    color: #fff;
    background-color: #bd2130;
}

.badge-light {
    color: #212529;
    background-color: #f8f9fa;
}

a.badge-light:hover,
a.badge-light:focus {
    color: #212529;
    background-color: #dae0e5;
}

.badge-dark {
    color: #fff;
    background-color: #343a40;
}

a.badge-dark:hover,
a.badge-dark:focus {
    color: #fff;
    background-color: #1d2124;
}

/*
   *  [ OTHER ]
   */

select {
    font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    padding: 10px !important;
}

.ui.popup {
    z-index: 99999;
    text-align: left;
}

.ui.popup .ui.header {
    margin: 0;
}

.ui.message {
    margin: 0.5em 0;
}

.tox-tinymce {
    min-height: 300px;
}

.forum_post {
    word-wrap: break-word;
}

.forum_post img {
    overflow: auto;
    max-width: 100%;
    height: auto;
}

#post-content .forum_post {
    margin-bottom: 1rem;
}

.ui.checkbox .box:before {
    margin-top: 4px;
}

.ui.checkbox input:checked~.box:after {
    margin-top: 4px;
}

.ui.header .topic.title .label,
.ui.header .topic.title .badge {
    margin-top: -4px;
    vertical-align: middle;
}

#ie-message {
    display: none;
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    #ie-message {
        display: initial;
    }
}

#darkmode {
    display: inline-block;
}

.darkmode-toggle {
    opacity: 0;
    position: absolute;
}

.darkmode-toggle:checked+.darkmode-toggle-label .darkmode-ball {
    transform: translateX(24px);
}

.darkmode-toggle-label {
    background-color: #111;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 50px;
    position: relative;
    padding: 5px;
    height: 26px;
    width: 50px;
    cursor: pointer;
}

.darkmode-ball {
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    height: 22px;
    width: 22px;
    transition: transform 0.2s linear;
}

.fa-moon {
    color: #f1c400;
}

.fa-sun {
    color: #f39c00;
}

/*
 Member list search images
 */
.ui.search>.results .result .image {
    border-radius: 0;
}

/*
 Make new members grid avatars fit nicer
 */
#new-members-grid {
    padding: 0.5em;
}

#new-members-grid .column {
    padding: 0.5em;
}

/*
 *  [ EMOJI SIZING ]
 */

.joypixels,
.twemoji {
    height: 1em;
    width: 1em;
    vertical-align: middle;
}

/*
   *  [ DARK MODE ]
   */

body.dark,
body.dark>.pusher,
body.dark .ui.pointing.dropdown>.menu:after {
    background: #222;
}

body.dark .ui.secondary.menu:not(.inverted) {
    background: #303030;
    color: #fff;
}

body.dark .ui.secondary.menu .item.active {
    color: #fff;
}

body.dark .ui.top.attached.menu:not(.inverted) {
    background: #282828;
    border: 1px solid #282828;
}

body.dark .ui.top.attached.menu:not(.inverted) .item {
    color: #fff;
}

body.dark .ui.form input:not(.button) {
    background-color: #303030 !important;
}

body.dark .ui.modal {
    background-color: #303030;
    border: none;
}

body.dark .ui.modal>.content {
    background-color: #303030;
    border: 1px solid rgba(0, 0, 0, 0.125);
    color: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
}

body.dark .ui.modal>.actions,
body.dark .ui.modal>.header {
    color: rgba(255, 255, 255, 0.6);
    background-color: #444;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

body.dark .ui.popup,
body.dark .ui.secondary.menu .ui.popup,
body.dark .ui.menu .dropdown.item .menu,
body.dark .ui.dropdown .menu {
    background-color: #222;
    border: 1px solid #444;
    color: rgba(255, 255, 255, 0.6);
}

body.dark .ui.default.button,
body.dark .ui.mini.icon.button,
body.dark .ui.top.right.attached.label {
    background-color: #282828;
    color: rgba(255, 255, 255, 0.6);
}

body.dark .ui.button.red {
    background-color: #db2828;
    color: #fff;
}

body.dark .ui.image.label,
body.dark .ui.selection.dropdown,
body.dark .ui.selection.visible.dropdown>.text:not(.default) {
    background-color: #282828;
    color: #fff;
}

body.dark .ui.selection.dropdown .ui.label {
    background-color: #303030;
    color: #fff;
}

body.dark .ui.form .ui.selection.dropdown input:not(.button) {
    background-color: #282828 !important;
}

body.dark .ui.form .field .ui.selection.active.dropdown .menu {
    border: 1px solid #282828;
}

body.dark .ui.form .field .ui.dropdown .menu .item {
    background-color: #282828;
    border-top: 1px solid #303030;
    color: #fff;
}

body.dark .ui.form .ui.text input:not(.button) {
    background-color: #282828 !important;
}

body.dark .ui.form .field input {
    background-color: #282828 !important;
}

body.dark .ui.card,
body.dark .ui.segment,
body.dark .ui.segment.attached:not(.basic),
body.dark .ui.vertical.menu {
    background-color: #303030;
    border: 1px solid rgba(0, 0, 0, 0.125);
    -webkit-box-shadow: none;
    box-shadow: none;
}

body.dark .ui.vertical.menu .active.item {
    background-color: #464646;
}

body.dark .ui.vertical.pointing.menu .active.item:after {
    background-color: #464646;
    border-top: 1px solid #464646;
    border-right: 1px solid #464646;
}

body.dark .ui.segment#profile-header {
    border: none;
}

body.dark .ui.attached.tabular.menu {
    border-bottom: none;
}

body.dark .ui.attached.tabular.menu .item.active {
    background-color: #303030;
    border-color: transparent;
}

body.dark .ui.card .content.header {
    background-color: #444;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

body.dark .ui.card>.content>.description,
body.dark .ui.cards>.card>.content>.description,
body.dark .ui.card>.content>.description .list .right.floated,
body.dark .ui.card>.content>.header a,
body.dark .ui.segment a,
body.dark .ui.checkbox label,
body.dark .ui.checkbox+label,
body.dark .ui.list .list>.item .description,
body.dark .ui.list>.item .description,
body.dark .ui.vertical.menu .item.active,
body.dark .ui.vertical.menu .item:hover,
body.dark #user-popup .description,
body.dark .ui.search.dropdown.active>input.search,
body.dark .ui.search.selection.dropdown>input.search,
body.dark .ui.selection.dropdown .menu>.message,
body.dark .ui.attached.tabular.menu .item.active,
body.dark .ui.threaded.comments .comment .text {
    color: #fff;
}

body.dark .ui.segment .forum_post a,
body.dark .ui.comments .comment .forum_post a {
    color: #62b6f7;
}

body.dark .ui.card .meta,
.ui.cards>.card .meta,
body.dark .ui.header,
body.dark .ui.header .sub.header,
body.dark .ui.card>.content>.header,
body.dark .ui.cards>.card>.content>.header,
body.dark .ui.secondary.menu .item:not(.active),
body.dark .ui.card>.content>.description .list .item .text,
body.dark .ui.card>.extra,
body.dark .ui.cards>.card>.extra,
body.dark .ui.pointing.dropdown>.menu>.header,
body.dark .ui.dropdown .menu>.item,
body.dark .ui.breadcrumb .icon.divider,
body.dark .ui.vertical.menu .item,
body.dark .ui.segment,
body.dark .ui.form .field>label,
body.dark .ui.list .list>.item .header,
body.dark .ui.list>.item .header,
body.dark .ui.attached.tabular.menu .item,
body.dark .ui.comments .comment .metadata,
body.dark .ui.comments .comment .actions a,
body.dark .ui.card>.extra a:not(.ui),
body.dark .ui.cards>.card>.extra a:not(.ui),
body.dark .ui.relaxed.list .item .content,
body.dark .ui.horizontal.divider,
body.dark .ui.dropdown .menu>.header:not(.ui),
body.dark .ui.link.list.list .active.item,
body.dark .ui.link.list.list .active.item a:not(.ui) {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.dark .ui.menu .ui.dropdown .menu>.item:hover {
    background-color: rgba(0, 0, 0, .05) !important;
}

body.dark .ui.secondary.inverted.menu .popup .list a.item,
body.dark .ui.pointing.dropdown>.menu>.item {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.dark .ui.menu .ui.dropdown .menu>.item:hover,
body.dark .ui.dropdown .menu>.item:hover,
body.dark .ui.menu .ui.dropdown .menu>.item.active,
body.dark .ui.list>.item a.header,
body.dark .ui.link.list.list .active.item a:not(.ui):hover {
    color: #fff !important;
}

body.dark .ui.top.left.popup:before {
    background: #222;
    -webkit-box-shadow: 1px 1px 0 0 #444;
    box-shadow: 1px 1px 0 0 #444;
}

body.dark .ui.right.center.popup:before {
    background: #222;
    -webkit-box-shadow: -1px 1px 0 0 #444;
    box-shadow: -1px 1px 0 0 #444;
}

body.dark .ui.left.center.popup:before {
    background: #222;
    -webkit-box-shadow: 1px -1px 0 0 #444;
    box-shadow: 1px -1px 0 0 #444;
}

body.dark .ui.bottom.left.popup:before {
    background: #222;
    -webkit-box-shadow: 1px 1px 0 0 #222;
    box-shadow: 1px 1px 0 0 #222;
}

body.dark .ui.form textarea {
    background-color: #303030;
    border: 2px solid #282828;
    color: #fff;
}

body.dark .ui.form input:not([type]),
body.dark .ui.form input[type=date],
body.dark .ui.form input[type=datetime-local],
body.dark .ui.form input[type=email],
body.dark .ui.form input[type=file],
body.dark .ui.form input[type=number],
body.dark .ui.form input[type=password],
body.dark .ui.form input[type=search],
body.dark .ui.form input[type=tel],
body.dark .ui.form input[type=text],
body.dark .ui.form input[type=time],
body.dark .ui.form input[type=url] {
    color: #fff;
}

body.dark .ui.mini.message,
body.dark .ui.mini.info.message {
    background-color: #282828;
    box-shadow: 0 0 0 1px #282828 inset, 0 0 0 0 transparent;
    -webkit-box-shadow: 0 0 0 1px #282828 inset, 0 0 0 0 transparent;
}

body.dark .ui.pagination {
    background-color: #303030;
}

body.dark .ui.pagination.menu .item {
    color: #fff;
}

body.dark .ui.pagination.menu .item.active {
    background-color: #282828;
}

body.dark .ui.pagination .disabled.item {
    background-color: rgba(0, 0, 0, .05) !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

body.dark .ui.table {
    background: #303030;
    color: rgba(255, 255, 255, 0.6);
}

body.dark .ui.table thead th {
    background-color: #282828;
    color: rgba(255, 255, 255, 0.6);
}

body.dark .ui.top.attached.header {
    background-color: #282828;
    border-color: #282828;
    color: rgba(255, 255, 255, 0.6);
}

body.dark .ui.table a {
    color: #fff;
}

body.dark .ui.selectable.table tbody tr:hover,
body.dark .ui.table tbody tr td.selectable:hover {
    color: rgba(255, 255, 255, 0.6) !important;
}

@media only screen and (min-width: 768px) {

    body.dark #topic-post #post-sidebar:after,
    #topic-reply #reply-sidebar:after {
        border-right: none;
    }
}

body.dark .forum_post,
body.dark .ui.comments .forum_post.text {
    color: #fff;
}

body.dark .ui.comments .comment .author {
    color: #fff;
}

body.dark .tox .tox-toolbar {
    background-color: #222;
}

body.dark .tox .tox-tbtn {
    color: #fff;
}

body.dark .tox .tox-tbtn:hover,
body.dark .tox .tox-tbtn--enabled,
body.dark .tox .tox-split-button:focus,
body.dark .tox .tox-edit-area__iframe {
    color: #fff;
}

body.dark .tox .tox-tbtn svg {
    fill: #fff;
}

/* Override TinyMCE blue-ish dark theme with neutral dark theme */

body.dark .tox .tox-menu,
body.dark .tox .tox-statusbar,
body.dark .tox .tox-menubar,
body.dark .tox .tox-toolbar,
body.dark .tox .tox-toolbar__overflow,
body.dark .tox .tox-toolbar__primary,
body.dark .tox .tox-dialog,
body.dark .tox .tox-dialog__header,
body.dark .tox .tox-dialog__footer,
body.dark .tox .tox-listboxfield .tox-listbox--select,
body.dark .tox .tox-textarea,
body.dark .tox .tox-textfield,
body.dark .tox .tox-toolbar-textfield,
body.dark .tox .tox-selectfield select {
    background-color: #222;
}

body.dark .tox .tox-dialog-wrap__backdrop {
    background-color: rgba(34, 34, 34, 0.7);
}

body.dark .tox .tox-collection--list .tox-collection__item--enabled {
    background-color: #444;
}

body.dark .tox .tox-collection--list .tox-collection__item--active {
    background-color: #666;
}

body.dark .ui.cards>.green.card,
body.dark .ui.green.card,
body.dark .ui.green.cards>.card {
    -webkit-box-shadow: 0 0 0 1px #d4d4d5, 0 5px 0 0 #178f2b, 0 1px 3px 0 #d4d4d5;
    box-shadow: 0 0 0 1px #d4d4d5, 0 5px 0 0 #178f2b, 0 1px 3px 0 #d4d4d5;
}

body.dark .ui.cards>.red.card,
body.dark .ui.red.card,
body.dark .ui.red.cards>.card {
    -webkit-box-shadow: 0 0 0 1px #d4d4d5, 0 5px 0 0 #db2828, 0 1px 3px 0 #d4d4d5;
    box-shadow: 0 0 0 1px #d4d4d5, 0 5px 0 0 #db2828, 0 1px 3px 0 #d4d4d5;
}

body.dark .ui.tabular.menu {
    border-color: #282828;
}

body.dark .ui.tabular.menu .item {
    color: #fff;
}

body.dark .ui.tabular.menu .active.item {
    background-color: #282828;
    border-color: #282828;
}

body.dark .cc-window.cc-floating {
    -webkit-box-shadow: 0 1px 3px 0 #444, 0 0 1px 1px #444;
    box-shadow: 0 1px 3px 0 #444, 0 0 1px 1px #444;
    background-color: #303030 !important;
    border: 1px solid rgba(0, 0, 0, 0.125);
    color: #fff !important;
}

body.dark .cc-window.cc-floating .cc-highlight .cc-btn:first-child,
body.dark .cc-window.cc-floating .cc-link {
    color: rgba(255, 255, 255, 0.6);
}

body.dark .cc-window.cc-floating .cc-highlight .cc-btn.cc-allow {
    background-color: #282828;
    border-color: transparent;
}

body.dark #reactions.ui.mini.message span {
    color: #fff;
}

body.dark #modal-reactions .ui.menu {
    background-color: #282828;
}

body.dark #modal-reactions .ui.menu .item {
    color: #fff;
}

body.dark #modal-reactions .ui.menu .item.active {
    background-color: #222;
}

body.dark #modal-reactions .ui.large.selection.divided.list.middle.aligned .item .content {
    color: #fff;
}

body.dark ::-webkit-scrollbar-corner {
    background-color: transparent;
}

/*
 * Colours
 */

body.dark .white {
    color: #fff;
}

/*
 * Accessiblity
 */

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

/* Scorch.PvP — Ash & Ember. Append after NamelessMC DefaultRevamp custom.css.
 * Original design for Scorch.PvP; retains the native Fomantic UI behaviors.
 * Set --sc-hero-image: url('YOUR-IMAGE-URL') on .sc-hero or :root.
 */
:root {
  --sc-bg: #0b0d10;
  --sc-hero-image: url("/custom/templates/Scorch/img/scorchpvp-fortress-hero.jpg");
  --sc-surface: #14171c;
  --sc-surface-raised: #1c2027;
  --sc-surface-hover: #242930;
  --sc-line: #2d323a;
  --sc-line-soft: rgba(255, 255, 255, .085);
  --sc-text: #f3f0e9;
  --sc-muted: #a8acb3;
  --sc-quiet: #858d98;
  --sc-ember: #ff7b35;
  --sc-ember-bright: #ffad72;
  --sc-ember-dark: #22150f;
  --sc-success: #92d6aa;
  --sc-radius: 5px;
  --sc-width: 1180px;
  --sc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --sc-display: "Arial Black", "Segoe UI", Arial, sans-serif;
  --sc-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  color-scheme: dark;
}
html { background: var(--sc-bg); scroll-behavior: smooth; }
:root body,
:root body > .pusher,
:root body.pushable > .pusher {
  background: var(--sc-bg);
  color: var(--sc-text);
  font-family: var(--sc-font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
:root body.pushable > .pusher { min-height: 100vh; }
:root body #wrapper { flex: 1 0 auto; margin-bottom: 64px; }
:root body .ui.container { width: min(var(--sc-width), calc(100% - 64px)); }
:root body a { color: var(--sc-ember-bright); }
:root body a:hover { color: #ffca9f; }
:root body a, :root body button, :root body input { -webkit-tap-highlight-color: transparent; }
:root body :focus-visible { outline: 2px solid var(--sc-ember-bright); outline-offset: 4px; }
:root body ::selection { background: #a4431a; color: #fff; }
:root body h1, :root body h2, :root body h3, :root body h4, :root body .ui.header {
  color: var(--sc-text);
  font-family: var(--sc-font);
  letter-spacing: -.025em;
}
:root body p { line-height: 1.75; }

/* The native menu, account popups and mobile sidebar remain functional. */
:root body #navbar.ui.secondary.menu {
  background: #101216;
  border-bottom: 1px solid var(--sc-line-soft);
  border-radius: 0;
  padding: 0;
  min-height: 82px;
  box-shadow: none;
  position: relative;
  z-index: 20;
}
:root body #navbar > .ui.container { align-items: center; gap: 5px; min-height: 82px; }
:root body #navbar .item { color: #b8bcc3; font-size: 13px; font-weight: 650; letter-spacing: .02em; padding: 13px 14px; border-radius: 3px; }
:root body #navbar .item:hover,
:root body #navbar .item.active { color: #fff; background: rgba(255, 123, 53, .09); }
:root body #navbar .item.active { box-shadow: inset 0 -2px var(--sc-ember); }
:root body #navbar .right.menu { align-items: center; gap: 8px; }
:root body #navbar .ui.button { margin: 0; border-radius: 3px; }
:root body #navbar .ui.image.label { background: var(--sc-surface-raised); color: var(--sc-text); border: 1px solid var(--sc-line); border-radius: 3px; }
:root body #navbar .sc-wordmark,
:root body .sc-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--sc-display);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.055em;
  color: #f8f3e9;
  white-space: nowrap;
  text-decoration: none;
}
:root body #navbar .sc-wordmark { margin-right: 27px; padding: 18px 0; }
:root body .sc-wordmark span,
:root body .sc-wordmark em { color: var(--sc-ember); font-style: normal; }
:root body .sc-wordmark small { font-family: var(--sc-font); font-size: 12px; font-weight: 800; letter-spacing: .04em; margin-left: 4px; }
:root body #toc.ui.sidebar { background: #101216; border-right: 1px solid var(--sc-line); }
:root body #toc.ui.sidebar .item { color: var(--sc-text); padding-top: 17px; padding-bottom: 17px; }
:root body #toc.ui.sidebar .active.item { background: var(--sc-ember-dark); color: var(--sc-ember-bright); }

/* Compact banner for functional pages: home uses the original custom hero. */
:root body .ui.masthead {
  background-color: #171510;
  background-image: linear-gradient(105deg, #221810, #14171c 62%, #15171b);
  background-position: center 50%;
  padding: 40px 0;
  margin-bottom: 40px;
  border-bottom: 1px solid #443023;
}
:root body .ui.masthead h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 850; color: #fff; }
:root body .ui.masthead .connect-server { background: #111418; border: 1px solid #4c382b; box-shadow: none; border-radius: 4px; text-align: left; }
:root body .ui.masthead .connect-server .ui.header { color: #e6ded5; font-size: 13px; line-height: 1.8; }

/* Home: image-led masthead with restrained industrial detail. */
.sc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 566px;
  background-color: #141312;
  background-image: linear-gradient(90deg, rgba(9,11,14,.95) 0%, rgba(9,11,14,.82) 28%, rgba(9,11,14,.23) 70%, rgba(9,11,14,.28) 100%), linear-gradient(0deg, #0b0d10 0%, transparent 38%), var(--sc-hero-image, none);
  background-size: cover;
  background-position: center, center, center 45%;
  border-bottom: 1px solid var(--sc-line-soft);
}
.sc-hero::after { content: ""; pointer-events: none; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, transparent, #bd5527 35%, #ff9b51 50%, transparent 90%); opacity: .55; }
.sc-hero > .ui.container,
.sc-hero-inner { position: relative; display: flex; justify-content: space-between; align-items: center; min-height: 566px; padding-top: 76px; padding-bottom: 78px; gap: 48px; }
.sc-hero-content { max-width: 660px; position: relative; z-index: 1; }
.sc-kicker,
.sc-brand-eyebrow,
.sc-card-label { display: block; color: var(--sc-ember-bright); font-family: var(--sc-mono); font-size: 11px; font-weight: 600; letter-spacing: .17em; line-height: 1.7; text-transform: uppercase; }
.sc-kicker { margin: 0 0 23px; }
.sc-kicker::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--sc-ember); margin-right: 12px; vertical-align: middle; }
:root body .sc-hero-title { color: #fff8ed; font-family: var(--sc-display); font-size: clamp(46px, 5.8vw, 76px); font-weight: 900; letter-spacing: -.045em; line-height: 1.02; margin: 0 0 24px; text-transform: uppercase; text-wrap: balance; }
.sc-hero-title span,
.sc-hero-title em { color: var(--sc-ember); font-style: normal; }
:root body .sc-hero-copy { max-width: 505px; color: #c2c0bd; font-size: 16px; line-height: 1.8; margin: 0 0 31px; }
.sc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
:root body .sc-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 14px 22px; border: 1px solid var(--sc-ember); border-radius: 3px; background: var(--sc-ember); color: #1a100a; font-family: var(--sc-font); font-size: 13px; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .16s ease, border-color .16s ease, color .16s ease; }
:root body .sc-button:hover { background: #ff995f; border-color: #ff995f; color: #120c08; }
:root body .sc-button-secondary { color: #f1eae1; background: rgba(15,17,20,.72); border-color: #5c5147; }
:root body .sc-button-secondary:hover { color: #fff; background: #29241f; border-color: #ab7859; }
.sc-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 24px; color: #a3a4a4; font-family: var(--sc-mono); font-size: 11px; line-height: 1.7; }
.sc-hero-meta strong { font-weight: 500; color: #d4d0c9; }
.sc-hero-aside { flex: 0 0 235px; align-self: flex-end; margin-bottom: 6px; border-left: 2px solid var(--sc-ember); padding: 17px 20px; background: rgba(11,13,16,.83); }
.sc-hero-aside strong { display: block; color: #fff2e4; font-size: 18px; letter-spacing: -.02em; }
.sc-hero-aside p { color: var(--sc-muted); font-size: 12px; margin: 8px 0 0; }
.sc-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid #4d3a2c; color: #dcb28f; background: #1e1712; font-family: var(--sc-mono); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; }
.sc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--sc-line-soft); }
.sc-stats > * { padding: 2px 24px; border-left: 1px solid var(--sc-line); }
.sc-stats > :first-child { padding-left: 0; border-left: 0; }
.sc-stats strong { display: block; color: var(--sc-text); font-size: 20px; font-weight: 750; letter-spacing: -.025em; }
.sc-stats span, .sc-stats small { display: block; color: var(--sc-quiet); font-family: var(--sc-mono); font-size: 10px; line-height: 1.7; letter-spacing: .1em; text-transform: uppercase; }

/* Editorial content and sidebar. */
.sc-page-shell { padding-top: 45px; }
.sc-home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 38px; margin: 48px 0 0; align-items: start; }
.sc-home-layout > * { min-width: 0; }
.sc-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 17px; margin: 0 0 22px; border-bottom: 1px solid var(--sc-line); }
:root body .sc-section-heading h2,
:root body h2.sc-section-heading { margin-top: 0; font-size: 22px; font-weight: 750; letter-spacing: -.035em; }
:root body .sc-section-heading h2 { margin-bottom: 0; }
.sc-section-heading small { color: var(--sc-quiet); font-family: var(--sc-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
:root body .sc-link { display: inline-flex; align-items: center; gap: 8px; color: var(--sc-ember-bright); font-size: 12px; font-weight: 750; text-decoration: none; }
:root body .sc-link:hover { color: #ffd5ae; text-decoration: underline; text-underline-offset: 4px; }
.sc-card { background: var(--sc-surface); border: 1px solid var(--sc-line); border-radius: var(--sc-radius); margin-bottom: 20px; overflow: hidden; }
.sc-card-body { padding: 27px 29px; }
.sc-card-label { margin-bottom: 12px; }
:root body .sc-card-title { color: var(--sc-text); margin: 0 0 13px; font-size: 26px; line-height: 1.2; font-weight: 750; letter-spacing: -.035em; }
.sc-card p { color: #b5b7bc; font-size: 14px; line-height: 1.75; }
.sc-card-image { display: block; width: 100%; aspect-ratio: 2.6 / 1; object-fit: cover; }
.sc-card-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--sc-line-soft); font-family: var(--sc-mono); font-size: 10px; color: var(--sc-quiet); }
.sc-card-accent { border-top: 2px solid var(--sc-ember); }
.sc-sidebar-block { border-top: 2px solid #70452f; margin-bottom: 28px; padding-top: 20px; }
.sc-sidebar-block h3 { font-size: 17px; margin: 0 0 13px; }
.sc-sidebar-block p { color: var(--sc-muted); font-size: 13px; }
.sc-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 48px 0; padding: 32px 0; border-top: 1px solid var(--sc-line); border-bottom: 1px solid var(--sc-line); }
.sc-feature { padding-right: 16px; }
.sc-feature > i { display: block; color: var(--sc-ember); font-size: 20px; margin-bottom: 17px; }
.sc-feature h3 { font-size: 16px; margin: 0 0 8px; }
.sc-feature p { color: var(--sc-muted); font-size: 13px; margin: 0; }
.sc-server-address { display: block; font-family: var(--sc-mono); font-size: 14px; color: var(--sc-text); overflow-wrap: anywhere; }
.sc-notice { padding: 16px 19px; color: #cfb799; background: #201b15; border-left: 2px solid #aa7748; font-size: 13px; line-height: 1.75; }

/* Discord community links use the site's red accent and existing icon font. */
:root body a.sc-discord-link,
:root body #navbar a.sc-discord-link,
:root body #toc a.sc-discord-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff626b;
  font-weight: 750;
}
:root body a.sc-discord-link .sc-discord-icon {
  color: #ff4655;
  font-size: 1.2em;
  width: 1.25em;
  margin: 0;
  flex: 0 0 auto;
}
:root body a.sc-discord-link:hover,
:root body #navbar a.sc-discord-link:hover,
:root body #toc a.sc-discord-link:hover { color: #ff969c; }
:root body a.sc-discord-link:focus-visible {
  outline: 2px solid #ff626b;
  outline-offset: 4px;
  border-radius: 3px;
}

/* Match native forum, profile, account and custom-page surfaces. */
:root body .ui.card,
:root body .ui.cards > .card,
:root body .ui.segment,
:root body .ui.segment.attached:not(.basic),
:root body .ui.vertical.menu,
:root body .ui.table,
:root body .ui.menu:not(.secondary):not(.inverted),
:root body .ui.modal { background: var(--sc-surface); color: var(--sc-text); border-color: var(--sc-line); border-radius: var(--sc-radius); box-shadow: 0 0 0 1px var(--sc-line); }
:root body .ui.basic.segment { background: transparent; border: 0; box-shadow: none; }
:root body .ui.secondary.segment.segment.segment.segment.segment:not(.inverted) { background: var(--sc-surface-raised); color: var(--sc-text); box-shadow: 0 0 0 1px var(--sc-line); }
:root body .ui.card > .content,
:root body .ui.cards > .card > .content { border-top-color: var(--sc-line-soft); }
:root body .ui.card > .content > .header,
:root body .ui.cards > .card > .content > .header,
:root body .ui.list .item .header,
:root body .ui.comments .comment .author { color: var(--sc-text); }
:root body .ui.card > .content > .description,
:root body .ui.cards > .card > .content > .description,
:root body .ui.comments .comment .text,
:root body .ui.list .item .description,
:root body .forum_post { color: #c2c4c9; }
:root body .ui.card .meta,
:root body .ui.card > .extra,
:root body .ui.cards > .card > .extra,
:root body .ui.comments .comment .metadata,
:root body .ui.comments .comment .actions a,
:root body .ui.header .sub.header,
:root body .ui.breadcrumb .icon.divider { color: var(--sc-muted); }
:root body .ui.segment a:not(.ui):not(.sc-button),
:root body .ui.card a:not(.ui):not(.sc-button),
:root body .ui.table a,
:root body .ui.comments .forum_post a,
:root body .ui.card > .content > .header a { color: var(--sc-ember-bright); }
:root body .ui.segment a:not(.ui):not(.sc-button):hover,
:root body .ui.table a:hover { color: #ffd0a9; }
:root body .ui.divider,
:root body .ui.horizontal.divider:before,
:root body .ui.horizontal.divider:after { border-color: var(--sc-line); }
:root body .ui.horizontal.divider { color: var(--sc-muted); }
:root body .ui.table thead th { background: #1b1f25; color: #e2e0db; border-color: var(--sc-line); font-size: 12px; font-weight: 700; }
:root body .ui.table tbody td { border-color: var(--sc-line-soft); }
:root body .ui.table tfoot th { background: #15191e; color: var(--sc-muted); border-color: var(--sc-line); }
:root body .ui.selectable.table tbody tr:hover,
:root body .ui.table tbody tr td.selectable:hover { background: #20252c !important; color: var(--sc-text) !important; }
:root body #forum-node { margin-bottom: 26px; border-top: 2px solid #9d522d; padding: 25px; }
:root body #forum-node > .ui.header { font-size: 19px; margin-bottom: 19px; }
:root body #forum-node > .ui.header a { color: var(--sc-text); }
:root body #forum-node .row + .row { border-top: 1px solid var(--sc-line-soft); }
:root body #forum-node .row { padding-top: 17px; padding-bottom: 17px; }
:root body #forum-node .description { font-size: 12px; color: var(--sc-quiet); margin-top: 5px; }
:root body #forum-node .large.comment.icon { color: #b76f48; }
:root body #news-post { margin-bottom: 26px; }
:root body #news-post > .content { padding: 25px 27px; }
:root body #news-post > .extra.content { padding: 17px 27px; background: rgba(0,0,0,.1); }
:root body #news-post > .content > .header { font-size: 24px; line-height: 1.3; }
:root body #news-post > .content > .meta { margin: 8px 0 18px; font-family: var(--sc-mono); font-size: 10px; }
:root body #news-post .forum_post { line-height: 1.85; }
:root body .forum_post blockquote { border-left: 3px solid #93613f; background: #1e2024; color: #bfc0c4; padding: 16px 20px; margin-left: 0; margin-right: 0; }
:root body .forum_post pre { background: #0d1014; color: #d9dcdf; border: 1px solid var(--sc-line); padding: 16px; border-radius: 3px; overflow: auto; }
:root body .forum_post code { color: #ffc593; }
:root body #profile-header.ui.segment { background-color: #26221e; }
:root body .ui.top.attached.header { background: #1d1f22; color: var(--sc-text); border-color: var(--sc-line); }

/* Controls keep their native layout, states and meaningful status colors. */
:root body .ui.button { font-family: var(--sc-font); border-radius: 3px; font-weight: 700; }
:root body .ui.primary.button,
:root body .ui.primary.buttons .button { background: var(--sc-ember); color: #1c1008; box-shadow: none; }
:root body .ui.primary.button:hover,
:root body .ui.primary.buttons .button:hover { background: #ff995f; color: #150b04; }
:root body .ui.default.button,
:root body .ui.basic.button,
:root body .ui.mini.icon.button:not(.primary):not(.red):not(.green) { background: var(--sc-surface-raised) !important; color: #e0e2e5 !important; box-shadow: inset 0 0 0 1px #414751 !important; }
:root body .ui.default.button:hover,
:root body .ui.basic.button:hover { background: #30353e !important; color: #fff !important; }
:root body .ui.form .field > label,
:root body .ui.checkbox label,
:root body .ui.checkbox + label { color: #d3d4d6; font-size: 13px; }
:root body .ui.form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
:root body .ui.form textarea,
:root body .ui.input > input,
:root body .ui.selection.dropdown { background: #0f1217; color: #e9e9e8; border: 1px solid #3c434e; border-radius: 3px; font-family: var(--sc-font); }
:root body .ui.form input::placeholder,
:root body .ui.form textarea::placeholder,
:root body .ui.input > input::placeholder { color: #87909c; opacity: 1; }
:root body .ui.form input:not(.button):focus,
:root body .ui.form textarea:focus,
:root body .ui.input > input:focus,
:root body .ui.selection.active.dropdown { color: #fff; background: #11161c; border-color: #d58351; }
:root body .ui.form .field.error input,
:root body .ui.form .field.error textarea { border-color: #d97973 !important; background: #28181a !important; color: #ffd1ce !important; }
:root body .ui.checkbox .box:before,
:root body .ui.checkbox label:before { background: #11161c; border-color: #56606d; }
:root body .ui.checkbox input:checked ~ label:before { background: var(--sc-ember); border-color: var(--sc-ember); }
:root body .ui.checkbox input:checked ~ label:after { color: #1a110a; }
:root body .ui.toggle.checkbox input:checked ~ label:before { background: #d8783e !important; }
:root body .ui.popup,
:root body .ui.secondary.menu .ui.popup,
:root body .ui.dropdown .menu,
:root body .ui.menu .dropdown.item .menu,
:root body .ui.search > .results { background: #1b2027; border: 1px solid #434951; color: #dce0e5; box-shadow: 0 16px 48px #0008; }
:root body .ui.popup:before,
:root body .ui.pointing.dropdown > .menu:after { background: #1b2027; box-shadow: 1px 1px 0 0 #434951; }
:root body .ui.dropdown .menu > .item,
:root body .ui.menu .ui.dropdown .menu > .item,
:root body .ui.dropdown .menu > .header:not(.ui),
:root body .ui.selection.visible.dropdown > .text:not(.default),
:root body .ui.search.dropdown.active > input.search { color: #e4e5e7; }
:root body .ui.secondary.inverted.menu .popup .list a.item { color: #e4e5e7 !important; }
:root body .ui.dropdown .menu > .item:hover,
:root body .ui.menu .ui.dropdown .menu > .item:hover,
:root body .ui.dropdown .menu > .selected.item { background: #333131; color: #ffb883; }
:root body .ui.popup .ui.header { color: #f5eee7; }
:root body .ui.modal > .header,
:root body .ui.modal > .actions { background: #191d23; color: var(--sc-text); border-color: var(--sc-line); }
:root body .ui.modal > .content { background: #12161b; color: #d0d3d8; }
:root body .ui.tabular.menu { background: transparent; border-bottom-color: var(--sc-line); box-shadow: none; }
:root body .ui.tabular.menu .item,
:root body .ui.vertical.menu .item,
:root body .ui.top.attached.menu:not(.inverted) .item { color: var(--sc-muted); }
:root body .ui.tabular.menu .active.item,
:root body .ui.vertical.menu .active.item { background: #1b2026; color: #ffc391; border-color: var(--sc-line); }
:root body .ui.pointing.vertical.menu .active.item:after { background: #1b2026; border-color: var(--sc-line); }
:root body .ui.pagination.menu .item { color: #c4c8ce; }
:root body .ui.pagination.menu .active.item { background: #392417; color: #ffbe8b; }
:root body .ui.pagination.menu .disabled.item { color: #626974; }
:root body .ui.message:not(.announcement) { background: #1c242e; color: #c0cddd; border: 1px solid #38495d; box-shadow: none; border-radius: 3px; }
:root body .ui.message:not(.announcement) .header { color: inherit; }
:root body .ui.positive.message,
:root body .ui.success.message { background: #17291e; color: #abd6b9; border-color: #3c654b; }
:root body .ui.negative.message,
:root body .ui.error.message { background: #2d1b1e; color: #f1b3b3; border-color: #7b4449; }
:root body .ui.warning.message { background: #2c2418; color: #e0c294; border-color: #78603b; }
:root body .ui.label:not(.red):not(.green):not(.blue):not(.yellow):not(.orange):not(.teal):not(.purple):not(.violet):not(.pink):not(.brown) { background: #292e36; color: #ccd1d8; border-color: #3a414b; }
:root body .ui.list .item .content .header { color: #eee9e2; }
:root body .ui.link.list.list .active.item a:not(.ui) { color: var(--sc-ember-bright) !important; }

/* TinyMCE chrome; the configured editor content stylesheet remains native. */
:root body .tox.tox-tinymce { border-color: #424954; border-radius: 3px; }
:root body .tox .tox-toolbar,
:root body .tox .tox-toolbar__primary,
:root body .tox .tox-menubar,
:root body .tox .tox-statusbar { background: #1c222a; border-color: #424954; }
:root body .tox .tox-tbtn svg { fill: #d4d9df; }
:root body .tox .tox-tbtn:hover,
:root body .tox .tox-tbtn--enabled { background: #39404b; }

/* Footer and cookie preferences. */
:root body #footer.ui.footer.segment,
.sc-footer { background: #101216; border: 0; border-top: 1px solid var(--sc-line); box-shadow: none; border-radius: 0; padding: 40px 0 28px; color: var(--sc-muted); text-align: left; }
.sc-footer-inner { display: flex; justify-content: space-between; gap: 48px; }
.sc-footer p { max-width: 430px; margin: 16px 0 0; font-size: 12px; color: var(--sc-quiet); line-height: 1.8; }
.sc-footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 16px 25px; }
.sc-footer-links a { color: #b9bec6; font-size: 12px; }
.sc-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; border-top: 1px solid var(--sc-line-soft); margin-top: 30px; padding-top: 20px; font-size: 11px; color: var(--sc-quiet); }
:root body #footer .ui.link.list .item { font-size: 12px; color: #a9afb8; line-height: 1.65; }
:root body #footer .ui.link.list a.item:hover { color: var(--sc-ember-bright); }
:root body .cc-window.cc-floating { background: #191e25; border: 1px solid #48505a; color: #d0d4da; box-shadow: 0 12px 50px #0008; }
:root body .cc-window .cc-btn.cc-allow { background: var(--sc-ember); color: #201209; border-color: var(--sc-ember); }
:root body .cc-window .cc-link { color: var(--sc-ember-bright); }

@media (min-width: 769px) and (max-width: 1100px) {
  :root body #navbar .sc-wordmark { font-size: 22px; margin-right: 14px; }
  :root body #navbar .item { padding-left: 10px; padding-right: 10px; font-size: 12px; }
  .sc-home-layout { grid-template-columns: minmax(0, 1fr) 265px; gap: 26px; }
  .sc-hero-aside { flex-basis: 205px; padding: 15px; }
}
@media (max-width: 768px) {
  :root body .ui.container { width: calc(100% - 36px) !important; margin-left: 18px !important; margin-right: 18px !important; }
  :root body #navbar.ui.secondary.menu,
  :root body #navbar > .ui.container { min-height: 68px; }
  :root body #navbar .sc-wordmark { display: inline-flex; margin-right: auto; font-size: 24px; }
  :root body #navbar .toc.item { display: flex; align-items: center; min-height: 42px; min-width: 42px; justify-content: center; margin-left: auto; border: 1px solid var(--sc-line); }
  :root body #navbar .right.menu { display: flex; margin-left: 5px !important; }
  :root body #navbar .right.menu > .ui.button { min-height: 38px; font-size: 11px; padding: 11px 12px; }
  :root body #navbar .right.menu > .ui.image.label { font-size: 11px; }
  :root body #navbar .right.menu > .ui.popup { position: absolute; }
  :root body #navbar .right.menu .list .item { display: block; }
  :root body #wrapper { margin-bottom: 40px; }
  .sc-hero, .sc-hero > .ui.container, .sc-hero-inner { min-height: 510px; }
  .sc-hero { background-position: center, center, 63% center; background-image: linear-gradient(90deg, rgba(9,11,14,.93), rgba(9,11,14,.61)), linear-gradient(0deg, #0b0d10, transparent 50%), var(--sc-hero-image, none); }
  .sc-hero > .ui.container, .sc-hero-inner { padding-top: 59px; padding-bottom: 53px; display: block; }
  :root body .sc-hero-title { font-size: clamp(42px, 10vw, 64px); max-width: 580px; }
  :root body .sc-hero-copy { font-size: 14px; max-width: 455px; }
  .sc-kicker { font-size: 10px; margin-bottom: 19px; }
  .sc-hero-aside { display: none; }
  .sc-hero-meta { font-size: 10px; gap: 8px 15px; }
  .sc-stats { gap: 0; padding: 21px 0; }
  .sc-stats > * { padding-left: 14px; padding-right: 10px; }
  .sc-stats strong { font-size: 16px; }
  .sc-stats span, .sc-stats small { font-size: 9px; letter-spacing: .025em; }
  .sc-home-layout { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .sc-section-heading { padding-bottom: 14px; margin-bottom: 18px; }
  :root body .sc-section-heading h2 { font-size: 21px; }
  .sc-card-body { padding: 23px; }
  :root body .sc-card-title { font-size: 24px; }
  .sc-feature-grid { grid-template-columns: 1fr; gap: 23px; margin: 30px 0; padding: 27px 0; }
  .sc-feature { padding: 0 0 20px; border-bottom: 1px solid var(--sc-line-soft); }
  .sc-feature:last-child { padding-bottom: 0; border-bottom: 0; }
  .sc-feature > i { float: left; margin: 2px 14px 24px 0; }
  .sc-footer-inner { flex-direction: column; gap: 24px; }
  .sc-footer-bottom { margin-top: 25px; }
  :root body .ui.masthead { padding: 28px 0; margin-bottom: 27px; }
  :root body .ui.masthead .connect-server { text-align: left; margin-left: 0; margin-right: auto; }
  :root body .ui.masthead .ui.grid .ui.row .column > * { text-align: left; }
  :root body #forum-node { padding: 20px; }
  :root body #news-post > .content { padding: 22px; }
  :root body #news-post > .extra.content { padding: 16px 22px; }
}
@media (max-width: 420px) {
  :root body #navbar .sc-wordmark { font-size: 21px; }
  :root body #navbar .right.menu { gap: 4px; }
  :root body #navbar .right.menu > .ui.button { padding: 10px 9px; }
  :root body #navbar .right.menu > .ui.image.label { max-width: 100px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .sc-actions { gap: 10px; }
  :root body .sc-button { padding: 14px 18px; font-size: 12px; }
  .sc-stats > * { padding-left: 10px; padding-right: 6px; }
  .sc-stats strong { font-size: 14px; }
  .sc-stats span, .sc-stats small { font-size: 8px; }
  .sc-section-heading small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Theme-specific finishing details and keyboard navigation. */
.sc-skip-link { position: absolute; top: 8px; left: 12px; z-index: 1000; padding: 10px 16px; background: #ffad72; color: #140d08 !important; transform: translateY(-170%); font-weight: 750; }
.sc-skip-link:focus { transform: translateY(0); }
:root body #navbar .sc-menu-toggle { font-family: var(--sc-font); border: 0; background: transparent; cursor: pointer; }
.sc-server-section { margin-top: 52px; scroll-margin-top: 24px; }
.sc-server-section .sc-feature-grid { margin-top: 0; padding-top: 8px; border-top: 0; }
.sc-support-strip { display: flex; align-items: center; justify-content: space-between; gap: 36px; background: linear-gradient(115deg, #261b14, #14171c 70%); border: 1px solid #59402d; border-left: 3px solid var(--sc-ember); padding: 30px 34px; scroll-margin-top: 24px; }
.sc-support-strip > div { max-width: 670px; }
.sc-support-strip .sc-card-label { margin-bottom: 8px; }
.sc-support-strip h2 { font-size: 27px; margin: 0 0 9px; }
.sc-support-strip p { color: #b9b0a7; font-size: 13px; margin: 0; }
.sc-support-strip .sc-button { flex-shrink: 0; }
.sc-hero-aside .sc-kicker { font-size: 9px; letter-spacing: .08em; margin-bottom: 11px; }
.sc-hero-aside .sc-kicker::before { display: none; }
:root body #footer .sc-wordmark { display: inline-flex; margin: 0 0 4px; }
:root body #footer .ui.inverted.divided.grid > .column { box-shadow: -1px 0 0 var(--sc-line-soft); }
@media (max-width: 768px) {
  .sc-server-section { margin-top: 35px; }
  .sc-support-strip { flex-direction: column; align-items: flex-start; gap: 22px; padding: 26px; }
  :root body #footer .ui.inverted.divided.grid > .column { box-shadow: none; }
  :root body #navbar .sc-menu-toggle { border: 1px solid var(--sc-line); }
}

.sc-guidelines { margin: 0 0 38px; scroll-margin-top: 24px; }
.sc-guidelines-intro { color: var(--sc-muted); max-width: 760px; font-size: 13px; margin: 0 0 23px; }
.sc-guidelines details { border-bottom: 1px solid var(--sc-line); padding: 0 2px; }
.sc-guidelines summary { padding: 17px 0; cursor: pointer; color: #dfdedb; font-size: 14px; font-weight: 650; }
.sc-guidelines summary::marker { color: var(--sc-ember); }
.sc-guidelines details[open] summary { color: var(--sc-ember-bright); }
.sc-guidelines details p { margin: 0; padding: 0 0 21px 20px; max-width: 890px; color: var(--sc-muted); font-size: 13px; }
@media (min-width: 769px) and (max-width: 991px) {
  :root body #navbar > .ui.container > .item:not(.sc-menu-toggle) { display: none; }
  :root body #navbar .sc-wordmark { margin-right: auto; }
  :root body #navbar .sc-menu-toggle { display: flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; border: 1px solid var(--sc-line); }
  :root body #navbar .right.menu { display: flex; margin-left: 6px !important; }
}

/* Free-to-play launch plan and inactive Community Forge. */
.sc-launch-section { margin-top: 48px; scroll-margin-top: 24px; }
.sc-section-intro { max-width: 760px; color: var(--sc-muted); font-size: 15px; }
.sc-launch-section .sc-feature-grid { margin: 25px 0 16px; padding: 25px 0; }
.sc-launch-note { color: var(--sc-muted); font-size: 12px; max-width: 900px; }
.sc-forge-section { margin: 46px 0 0; padding: 36px; border: 1px solid #60402c; border-top: 2px solid var(--sc-ember); border-radius: var(--sc-radius); background: radial-gradient(ellipse at 85% 0, #41241466, transparent 60%), var(--sc-surface); scroll-margin-top: 24px; }
.sc-forge-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 42px; align-items: center; }
:root body .sc-forge-copy h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; margin: 0 0 20px; font-weight: 850; }
.sc-forge-copy p { color: #b9bcc3; font-size: 14px; max-width: 580px; }
.sc-forge-copy .sc-link { margin-top: 6px; }
.sc-forge-status { background: #0c0f13; border: 1px solid #49362b; padding: 26px; text-align: center; border-radius: 4px; }
.sc-forge-emblem { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin: 23px auto 19px; border: 1px solid #89522e; border-radius: 50%; color: var(--sc-ember); background: radial-gradient(circle, #4a2b1b, #17130f); font-size: 28px; box-shadow: 0 0 35px #dc682a16; }
.sc-forge-status h3 { font-size: 20px; margin: 0 0 12px; }
.sc-forge-status p { color: var(--sc-muted); font-size: 13px; }
.sc-forge-status .sc-forge-unavailable { border-top: 1px solid var(--sc-line); padding-top: 16px; margin: 18px 0 0; color: #dfc3ad; font-size: 12px; }
.sc-forge-unavailable i { margin-right: 5px; }
.sc-forge-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; border-top: 1px solid #413327; margin-top: 32px; padding-top: 25px; }
.sc-step-number { display: block; color: var(--sc-ember-bright); font-family: var(--sc-mono); font-size: 12px; margin-bottom: 10px; }
.sc-forge-steps h3 { font-size: 15px; margin: 0 0 8px; }
.sc-forge-steps p { color: var(--sc-muted); font-size: 12px; margin: 0; }
@media (min-width: 992px) and (max-width: 1200px) {
  :root body #navbar .sc-wordmark { margin-right: 12px; font-size: 23px; }
  :root body #navbar .item { padding-left: 9px; padding-right: 9px; font-size: 12px; }
}
@media (max-width: 768px) {
  .sc-launch-section { margin-top: 34px; }
  .sc-launch-section .sc-section-heading { align-items: flex-start; flex-direction: column; }
  .sc-forge-section { margin-top: 32px; padding: 24px 21px; }
  .sc-forge-layout, .sc-forge-steps { grid-template-columns: 1fr; gap: 25px; }
  .sc-forge-status { padding: 23px 19px; }
  .sc-forge-steps { margin-top: 25px; }
  .sc-forge-steps > div + div { border-top: 1px solid var(--sc-line); padding-top: 20px; }
}
@media (max-width: 480px) {
  :root body #navbar > .ui.container { flex-wrap: wrap; padding: 6px 0 12px; gap: 4px; }
  :root body #navbar .sc-wordmark { padding: 14px 0; }
  :root body #navbar .right.menu { flex: 1 0 100%; justify-content: flex-end; margin-left: 0 !important; }
}
/* Layered Forge artwork. Only .sc-forge-depth moves; the furnace stays fixed. */
.sc-forge-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 34px; }
.sc-forge-status.sc-forge-status-art { padding: 0; overflow: hidden; }
.sc-forge-art { position: relative; isolation: isolate; aspect-ratio: 1; width: 100%; overflow: hidden; background: #100c09; touch-action: pan-y pinch-zoom; user-select: none; }
.sc-forge-furnace, .sc-forge-depth, .sc-forge-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-forge-furnace { display: block; object-fit: cover; pointer-events: none; transform: none; }
.sc-forge-shade { background: linear-gradient(180deg, #07080b33, transparent 38%, #07080b33 72%, #07080bee); pointer-events: none; }
.sc-forge-depth { --forge-x: 0px; --forge-y: 0px; --forge-rx: 0deg; --forge-ry: 0deg; transform: perspective(800px) translate3d(var(--forge-x), var(--forge-y), 0) rotateX(var(--forge-rx)) rotateY(var(--forge-ry)); transform-origin: 50% 63%; will-change: transform; pointer-events: none; }
.sc-forge-anvil { position: absolute; width: 75%; height: auto; left: 12.5%; top: 26%; filter: drop-shadow(0 15px 8px #0009); pointer-events: none; }
.sc-forge-hammer { position: absolute; width: 53%; aspect-ratio: 1; left: 40%; top: 15%; transform-origin: 91% 86%; transform: translateY(var(--hammer-lift, 0px)) rotate(var(--hammer-angle, 0deg)); will-change: transform; }
.sc-forge-hammer img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 8px 4px #0009); }
.sc-forge-sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sc-forge-art > .sc-pill { position: absolute; top: 17px; left: 17px; z-index: 2; background: #17100ce8; color: #ffd5af; border-color: #a6693d; }
.sc-forge-art-controls { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; z-index: 3; }
:root body .sc-forge-art-controls button { font: 650 11px var(--sc-font); min-height: 38px; padding: 9px 13px; border: 1px solid #936043; border-radius: 3px; background: #12100fe8; color: #ffe8d1; cursor: pointer; }
:root body .sc-forge-art-controls button:hover { background: #392319; border-color: var(--sc-ember); }
:root body .sc-forge-art-controls button:disabled { color: #baa797; cursor: default; }
.sc-forge-art-controls [hidden] { display: none !important; }
.sc-forge-status .sc-forge-art-hint { position: absolute; z-index: 3; bottom: 63px; left: 18px; right: 18px; margin: 0; color: #e0c4a9; font-size: 11px; line-height: 1.45; text-shadow: 0 1px 4px #000; pointer-events: none; }
.sc-forge-status-copy { padding: 23px 24px 22px; border-top: 1px solid #49362b; }
.sc-forge-status-copy h3 { font-size: 19px; }
.sc-forge-status-copy .sc-forge-unavailable { margin-top: 16px; padding-top: 14px; }
@media (max-width: 768px) {
  .sc-forge-layout { grid-template-columns: minmax(0, 1fr); }
  .sc-forge-status-copy { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-forge-depth, .sc-forge-hammer { will-change: auto; }
}

/* Supplied Scorch badge: fixed image slots preserve layout while assets load. */
:root body #navbar .sc-brand-lockup { align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
:root body #navbar .sc-nav-logo { display: block; flex: 0 0 54px; width: 54px; height: 54px; object-fit: contain; }
:root body #footer .sc-brand-lockup { align-items: center; gap: 12px; }
:root body #footer .sc-footer-logo { display: block; flex: 0 0 70px; width: 70px; height: 70px; object-fit: contain; }
.sc-hero-aside > .sc-hero-logo { display: block; width: 180px; max-width: 100%; height: 180px; object-fit: contain; margin: 0 auto 18px; }
@media (max-width: 991px) {
  :root body #navbar .sc-brand-lockup { gap: 8px; }
  :root body #navbar .sc-nav-logo { flex-basis: 48px; width: 48px; height: 48px; }
}
