/*
 *  [ 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;
}

/* ==========================================================================
   TaletMC — Unified LeaderOS Multi-Theme Fusion (Hyterra/Gale/Valley/Abyss)
   Obsidian-Navy (#090b12) + Elevated Slate (#111522) + Amber-Gold (#f59e0b)
   ========================================================================== */

:root {
  --tmc-bg: #090b12;
  --tmc-surface: #111522;
  --tmc-stage: #0c0f1a;
  --tmc-border: rgba(255, 255, 255, 0.07);
  --tmc-border-hover: rgba(245, 158, 11, 0.45);
  --tmc-gold: #f59e0b;
  --tmc-gold-light: #fbbf24;
  --tmc-amber: #ea580c;
  --tmc-emerald: #10b981;
  --tmc-indigo: #818cf8;
  --tmc-discord: #5865F2;
  --tmc-text: #f1f5f9;
  --tmc-text-body: #cbd5e1;
  --tmc-muted: #94a3b8;
  --tmc-subtle: #94a3b8;
  --tmc-radius-card: 14px;
  --tmc-radius-ctrl: 10px;
  --tmc-shadow-card: 0 6px 24px rgba(0, 0, 0, 0.28);
  --tmc-shadow-cta: 0 8px 24px rgba(245, 158, 11, 0.28);
}

html, body {
  overflow-x: clip;
}

body.dark, body,
body.dark > .pusher,
body.pushable > .pusher {
  background: radial-gradient(ellipse 80% 420px at 50% 0%, rgba(245, 158, 11, 0.06), transparent 70%), #090b12 !important;
  background-color: #090b12 !important;
  color: var(--tmc-text-body) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .ui.header {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important;
  letter-spacing: -0.02em;
  color: #ffffff;
}

#ie-message { display: none !important; }
#page-index > .pusher > #wrapper > .ui.container { display: none !important; }
#page-index .ui.stackable.grid > .ui.centered.row,
#page-index .ui.ten.wide.column > .ui.segment,
#page-index #announcements + .ui.stackable.grid { display: none !important; }

:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile Sidebar Drawer */
#toc.ui.vertical.inverted.sidebar.menu {
  background: #0c0f1a !important;
  border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
  padding: 0.75rem 0.5rem !important;
}
#toc .tmc-drawer-brand {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  padding: 0.85rem 0.9rem !important;
  margin-bottom: 0.35rem !important;
}
#toc .tmc-drawer-brand img {
  height: 28px !important;
  width: auto !important;
}
#toc .tmc-drawer-brand span {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffffff;
}
#toc a.item {
  border-radius: 10px !important;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  color: #cbd5e1 !important;
  padding: 0.75rem 0.95rem !important;
}
#toc a.item.active, #toc a.item:hover {
  background: rgba(245, 158, 11, 0.14) !important;
  color: #fbbf24 !important;
}

/* ==========================================================================
   Top Navigation Bar (68px, Clean 6-Link LeaderOS Structure)
   ========================================================================== */
#navbar.ui.menu {
  height: 68px !important;
  min-height: 68px !important;
  background: rgba(9, 11, 18, 0.92) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.32) !important;
  padding: 0 !important;
  margin: 0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  overflow: visible !important;
}

#navbar .tmc-nm-nav-container {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 0.5rem !important;
  width: 100% !important;
  max-width: 1340px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  height: 68px !important;
  padding: 0 1.25rem !important;
  overflow: visible !important;
}

#navbar .tmc-nm-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  padding: 0.25rem 0.5rem 0.25rem 0 !important;
  margin-right: 0.75rem !important;
  background: transparent !important;
  border: none !important;
  flex-shrink: 0 !important;
}
#navbar .tmc-nm-brand:hover {
  background: transparent !important;
}
#navbar .tmc-nm-brand img {
  height: 28px !important;
  width: auto !important;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.4));
}
#navbar .tmc-nm-brand-name {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.08rem !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
  text-transform: none !important;
}

#navbar .tmc-nm-links-group {
  display: flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
}

#navbar .tmc-nm-navlink {
  display: inline-flex !important;
  align-items: center !important;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  letter-spacing: -0.005em !important;
  text-transform: none !important;
  color: #94a3b8 !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  white-space: nowrap !important;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease !important;
}
#navbar .tmc-nm-navlink:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}
#navbar .tmc-nm-navlink.active {
  color: #fbbf24 !important;
  background: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.28) !important;
}

#navbar .tmc-nm-right-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
}

.tmc-nav-cart-btn {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1 !important;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.tmc-nav-cart-btn:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24 !important;
}
.tmc-nav-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9999px;
  background: #f59e0b;
  color: #090b12;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #090b12;
  font-variant-numeric: tabular-nums;
}

#navbar .tmc-nm-login-btn,
#navbar .ui.default.button {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 10px !important;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 0.56rem 1rem !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease !important;
}
#navbar .tmc-nm-login-btn:hover,
#navbar .ui.default.button:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

#navbar .tmc-nm-reg-btn,
#navbar .ui.primary.button,
.ui.primary.button {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #ea580c 100%) !important;
  color: #090b12 !important;
  border: none !important;
  border-radius: 10px !important;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  padding: 0.58rem 1.08rem !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.28) !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease !important;
}
#navbar .tmc-nm-reg-btn:hover,
#navbar .ui.primary.button:hover,
.ui.primary.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.42) !important;
}

#navbar .tmc-nm-panel-btn {
  background: rgba(239, 68, 68, 0.14) !important;
  color: #fca5a5 !important;
  border: 1px solid rgba(239, 68, 68, 0.32) !important;
  border-radius: 10px !important;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  padding: 0.52rem 0.85rem !important;
  margin: 0 !important;
}

/* User Account Pill & Dropdown */
.tmc-user-menu-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: visible !important;
}
#navbar .tmc-user-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.28rem 0.78rem 0.28rem 0.34rem !important;
  border-radius: 9999px !important;
  background: #111522 !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #f1f5f9 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: border-color 0.16s ease, background 0.16s ease !important;
}
#navbar .tmc-user-pill:hover {
  background: rgba(245, 158, 11, 0.10) !important;
  border-color: rgba(245, 158, 11, 0.45) !important;
}
#navbar .tmc-user-pill img {
  width: 26px !important;
  height: 26px !important;
  border-radius: 9999px !important;
}
.tmc-up-bal {
  padding: 0.16rem 0.5rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  font-size: 0.74rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.tmc-up-chev {
  font-size: 0.65rem;
  opacity: 0.65;
}

.tmc-user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(300px, calc(100vw - 1.7rem));
  background: #111522;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
  padding: 14px;
  z-index: 9999 !important;
  text-align: left;
}
.tmc-user-dropdown.open { display: block; }
.tmc-ud-head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.tmc-ud-head img { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(245, 158, 11, 0.35); }
.tmc-ud-name { font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif; font-weight: 800; font-size: 0.98rem; color: #fff; line-height: 1.15; }
.tmc-ud-role { font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif; font-weight: 800; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fbbf24; margin-top: 2px; }
.tmc-ud-bal {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px; border-radius: 10px; background: #0c0f1a;
  border: 1px solid rgba(255, 255, 255, 0.07); margin-bottom: 12px;
}
.tmc-ud-bal-lbl { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #94a3b8; }
.tmc-ud-bal-val { font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif; font-weight: 800; font-size: 1.05rem; color: #34d399; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tmc-ud-topup {
  display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 8px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #090b12 !important;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif; font-weight: 800; font-size: 0.72rem; white-space: nowrap;
}
.tmc-ud-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 11px; }
.tmc-ud-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 10px 8px; border-radius: 10px; background: #0c0f1a;
  border: 1px solid rgba(255, 255, 255, 0.06); color: #cbd5e1 !important;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 700; font-size: 0.78rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tmc-ud-tile:hover { background: rgba(245, 158, 11, 0.10); border-color: rgba(245, 158, 11, 0.35); color: #fbbf24 !important; }
.tmc-ud-logout {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 12px; border-radius: 10px; background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.35) !important; color: #fca5a5 !important;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif; font-weight: 700; font-size: 0.8rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.tmc-ud-logout:hover { background: #ef4444; color: #ffffff !important; }

/* ==========================================================================
   Homepage 3-Part LeaderOS Hero + Floating Quick-Action Strip
   ========================================================================== */
@keyframes tmcNmFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}
@keyframes tmcEmberRise {
  0% { transform: translate3d(0, 20px, 0) scale(0.6); opacity: 0; }
  20% { opacity: 0.75; }
  80% { opacity: 0.5; }
  100% { transform: translate3d(16px, -240px, 0) scale(1.05); opacity: 0; }
}
@keyframes tmcLiveRing {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.tmc-sparks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.tmc-spark {
  position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%;
  background: radial-gradient(circle, #fde047 0%, #f59e0b 60%, transparent 100%);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
  animation: tmcEmberRise var(--d, 6.5s) linear var(--dl, 0s) infinite;
  will-change: transform, opacity;
}
.tmc-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  display: inline-block; flex-shrink: 0;
  animation: tmcLiveRing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ui.masthead.tmc-nm-hero {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 210px !important;
  padding: 2rem 0 2rem !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  background-image: url('/uploads/template_banners/hero_obsidian_gold_canyon.webp?v=5') !important;
  background-size: cover !important;
  background-position: center 42% !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  border: none !important;
  overflow: hidden !important;
}
.ui.masthead.tmc-nm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 11, 18, 0.34) 0%, rgba(9, 11, 18, 0.66) 68%, #090b12 100%);
  z-index: 1;
}
.ui.masthead.tmc-nm-hero > .tmc-lo-hero-container {
  position: relative;
  z-index: 2;
  width: 100% !important;
  max-width: 1340px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  padding: 0 1.25rem !important;
}

.tmc-nm-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.tmc-nm-hero-left { display: flex; justify-content: flex-start; }
.tmc-nm-hero-right { display: flex; justify-content: flex-end; }
.tmc-nm-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tmc-nm-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tmc-nm-logo-wrap::before {
  content: "";
  position: absolute;
  width: 185px;
  height: 185px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.06) 50%, transparent 72%);
  z-index: -1;
  pointer-events: none;
}
.ui.masthead.tmc-nm-hero img.logo,
.tmc-nm-logo-wrap img {
  height: 124px !important;
  max-height: 124px !important;
  width: auto !important;
  filter: drop-shadow(0 8px 24px rgba(245, 158, 11, 0.42));
  animation: tmcNmFloat 4.2s ease-in-out infinite;
}
.tmc-nm-wordmark {
  margin-top: 0.35rem;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.65);
}
.tmc-nm-tagline {
  margin: 0.3rem 0 0 !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem !important;
  font-weight: 500;
  color: #cbd5e1 !important;
  letter-spacing: 0.01em;
}

/* Interactive IP Capsule */
.tmc-play-capsule {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 1.35rem 0.6rem 0.65rem;
  border-radius: 9999px;
  background: rgba(17, 21, 34, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.tmc-play-capsule:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.16);
}
.tmc-play-badge {
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #090b12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.36);
}
.tmc-play-ip {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  color: #ffffff;
  letter-spacing: 0.03em;
  line-height: 1.15;
}
.tmc-play-sub {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 0.18rem;
}
.tmc-play-status { color: #4ade80; font-weight: 700; }
.tmc-play-sep { opacity: 0.45; }

/* Discord Capsule */
.tmc-dc-capsule {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 1.35rem 0.6rem 0.65rem;
  border-radius: 9999px;
  background: rgba(88, 101, 242, 0.18);
  border: 1px solid rgba(88, 101, 242, 0.48);
  color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.tmc-dc-capsule:hover {
  transform: translateY(-2px);
  background: rgba(88, 101, 242, 0.28);
  border-color: #818cf8;
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.34);
}
.tmc-dc-badge {
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: #5865F2;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tmc-dc-title {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.94rem;
  color: #ffffff;
  line-height: 1.15;
}
.tmc-dc-sub {
  font-size: 0.76rem;
  color: #c7d2fe;
  font-weight: 500;
  margin-top: 0.16rem;
}

/* Floating 3-Column Quick-Action Strip */
.tmc-qa-wrap {
  max-width: 1340px;
  margin: -34px auto 1.75rem;
  padding: 0 1.25rem;
  position: relative;
  z-index: 10;
}
.tmc-qa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.tmc-qa-card {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: #111522;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.tmc-qa-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.45);
  background: #151a2b;
}
.tmc-qa-ico {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tmc-qa-ico--gold { background: rgba(245, 158, 11, 0.14); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.28); }
.tmc-qa-ico--emerald { background: rgba(16, 185, 129, 0.14); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.28); }
.tmc-qa-ico--indigo { background: rgba(129, 140, 248, 0.14); color: #818cf8; border: 1px solid rgba(129, 140, 248, 0.28); }
.tmc-qa-body { min-width: 0; flex: 1; }
.tmc-qa-title {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.96rem;
  color: #ffffff;
  line-height: 1.2;
}
.tmc-qa-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tmc-qa-arr {
  color: #94a3b8;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.16s ease, color 0.16s ease;
}
.tmc-qa-card:hover .tmc-qa-arr {
  transform: translateX(3px);
  color: #fbbf24;
}

/* Compact Hyterra-Style Subpage Banner (non-index NamelessMC pages) */
.tmc-subhero {
  position: relative;
  width: 100%;
  min-height: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/uploads/template_banners/hero_obsidian_gold_canyon.webp?v=5');
  background-size: cover;
  background-position: center 45%;
  margin-bottom: 1.75rem;
  overflow: hidden;
}
.tmc-subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 11, 18, 0.62) 0%, rgba(9, 11, 18, 0.84) 70%, #090b12 100%);
}
.tmc-subhero-inner {
  position: relative;
  z-index: 2;
  max-width: 1340px;
  width: 100%;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.tmc-subhero-crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 0.4rem;
}
.tmc-subhero-crumb a { color: #94a3b8; }
.tmc-subhero-crumb a:hover { color: #fbbf24; }
.tmc-subhero-crumb .cur { color: #fbbf24; }
.tmc-subhero-title {
  margin: 0 !important;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important;
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
}

/* ==========================================================================
   Homepage 2-Column Main Content (68% Left / 32% Right, max-width 1340px)
   ========================================================================== */
.tmc-home-wrap {
  max-width: 1340px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3.5rem;
}
.tmc-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.tmc-home-main {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  min-width: 0;
}
.tmc-home-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.tmc-micro-lbl {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.tmc-micro-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 2px;
}
.tmc-micro-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: rgba(129, 140, 248, 0.14);
  border: 1px solid rgba(129, 140, 248, 0.3);
  color: #a5b4fc;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tmc-micro-pill--amber {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.32);
  color: #fbbf24;
}

/* 1. Lead Horizontal Spotlight Card (Hyterra / Valley Style) */
.tmc-spotlight-card {
  display: grid;
  grid-template-columns: 45% 55%;
  background: #111522;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  transition: border-color 0.18s ease;
}
.tmc-spotlight-card:hover {
  border-color: rgba(245, 158, 11, 0.42);
}
.tmc-spotlight-media {
  position: relative;
  min-height: 245px;
  background: #0c0f1a;
  overflow: hidden;
}
.tmc-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.tmc-spotlight-card:hover .tmc-spotlight-media img {
  transform: scale(1.04);
}
.tmc-spot-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 0.28rem 0.68rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #090b12;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.tmc-spot-ver {
  position: absolute;
  bottom: 12px;
  left: 14px;
  padding: 0.22rem 0.6rem;
  border-radius: 8px;
  background: rgba(9, 11, 18, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 700;
}
.tmc-spotlight-body {
  padding: 1.55rem 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tmc-spotlight-title {
  margin: 0.4rem 0 0.6rem !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
}
.tmc-spotlight-desc {
  margin: 0 0 1.25rem !important;
  color: #94a3b8 !important;
  font-size: 0.9rem !important;
  line-height: 1.62 !important;
}
.tmc-spotlight-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.tmc-lo-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.66rem 1.2rem;
  min-height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #ea580c);
  color: #090b12 !important;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.84rem;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.28);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.tmc-lo-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.42);
}
.tmc-lo-btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.78rem;
}
.tmc-lo-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  min-height: 40px;
  border-radius: 10px;
  background: #0c0f1a;
  color: #e2e8f0 !important;
  border: 1px solid rgba(255, 255, 255, 0.10);
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.tmc-lo-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(245, 158, 11, 0.4);
  color: #ffffff !important;
}

/* 2. 2-Column Feature / Showcase Grid (Valley / Leaf Style) */
.tmc-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.tmc-showcase-card {
  display: flex;
  flex-direction: column;
  background: #111522;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.tmc-showcase-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.45);
}
.tmc-showcase-stage {
  position: relative;
  height: 158px;
  background: radial-gradient(circle at 50% 60%, rgba(245, 158, 11, 0.10), #0c0f1a 72%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}
.tmc-showcase-stage .tmc-micro-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.tmc-showcase-kit-img {
  max-width: 92%;
  max-height: 118px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.22s ease;
}
.tmc-showcase-card:hover .tmc-showcase-kit-img {
  transform: scale(1.03);
}
.tmc-dual-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.tmc-dual-visual img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
  transition: transform 0.22s ease;
}
.tmc-showcase-card:hover .tmc-dual-visual img:first-child { transform: translateY(-4px) rotate(-3deg); }
.tmc-showcase-card:hover .tmc-dual-visual img:last-child { transform: translateY(-4px) rotate(3deg); }

.tmc-showcase-body {
  padding: 1.2rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tmc-showcase-title {
  margin: 0.3rem 0 0.4rem !important;
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
}
.tmc-showcase-desc {
  margin: 0 0 0.9rem !important;
  color: #94a3b8 !important;
  font-size: 0.85rem !important;
  line-height: 1.55 !important;
  flex: 1;
}
.tmc-showcase-link {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fbbf24;
}

/* 3. LeaderOS Cards & Supporter Podium */
.tmc-lo-card {
  background: #111522;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.35rem 1.45rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}
.tmc-side-card {
  padding: 1.15rem 1.25rem;
}
.tmc-lo-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.tmc-lo-hdr--sm {
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
}
.tmc-sec-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tmc-sec-bar {
  width: 4px;
  height: 30px;
  border-radius: 4px;
  background: linear-gradient(180deg, #fbbf24, #ea580c);
  flex-shrink: 0;
}
.tmc-sec-title-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.tmc-lo-title {
  margin: 0 !important;
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
}
.tmc-lo-title--sm {
  font-size: 0.94rem !important;
}
.tmc-pill-buay {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.5rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.32);
  color: #fbbf24;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.tmc-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.18rem 0.55rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.tmc-podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.tmc-pod-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #0c0f1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.tmc-pod-card:hover { transform: translateY(-2px); }
.tmc-pod-card img { height: 60px; width: auto; flex-shrink: 0; }
.tmc-pod-info { min-width: 0; flex: 1; }
.tmc-pod-rank { font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.tmc-pod-name { font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif; font-size: 0.95rem; font-weight: 800; color: #ffffff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.tmc-pod-amt { font-size: 0.8rem; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; }

.tmc-pod-1 {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.14), #0c0f1a);
  border-color: rgba(245, 158, 11, 0.48);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.12);
}
.tmc-pod-1 .tmc-pod-rank { color: #fbbf24; }
.tmc-pod-1 .tmc-pod-amt { color: #fde68a; }
.tmc-pod-2 { border-color: rgba(148, 163, 184, 0.3); }
.tmc-pod-2 .tmc-pod-rank { color: #cbd5e1; }
.tmc-pod-2 .tmc-pod-amt { color: #e2e8f0; }
.tmc-pod-3 { border-color: rgba(217, 119, 6, 0.32); }
.tmc-pod-3 .tmc-pod-rank { color: #fdba74; }
.tmc-pod-3 .tmc-pod-amt { color: #fed7aa; }

.tmc-podium-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: linear-gradient(120deg, #0c0f1a 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.tmc-podium-empty-title {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.96rem;
  color: #ffffff;
}
.tmc-podium-empty-sub {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 2px;
}

.tmc-top10-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr));
  gap: 0.55rem;
  margin-top: 0.85rem;
}
.tmc-top10-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.52rem 0.78rem;
  border-radius: 10px;
  background: #0c0f1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.tmc-top10-u { display: flex; align-items: center; gap: 0.5rem; min-width: 0; font-size: 0.82rem; font-weight: 700; color: #f1f5f9; }
.tmc-top10-u img { border-radius: 5px; flex-shrink: 0; }
.tmc-top10-u span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tmc-top10-idx { font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif; font-weight: 800; font-size: 0.78rem; color: #fbbf24; }
.tmc-top10-amt { font-size: 0.78rem; font-weight: 800; color: #fde68a; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Right Sidebar Live Feeds */
.tmc-feed-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tmc-feed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: #0c0f1a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.16s ease;
}
.tmc-feed-row:hover { border-color: rgba(245, 158, 11, 0.35); }
.tmc-feed-left { display: flex; align-items: center; gap: 0.6rem; min-width: 0; flex: 1; }
.tmc-feed-left img { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }
.tmc-feed-info { min-width: 0; flex: 1; }
.tmc-feed-user { font-weight: 700; color: #f1f5f9; font-size: 0.84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.2; }
.tmc-feed-time { font-size: 0.72rem; color: #94a3b8; margin-top: 2px; }
.tmc-feed-pill {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.13);
  border: 1px solid rgba(245, 158, 11, 0.28);
  padding: 0.2rem 0.52rem;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.tmc-feed-pill--emerald {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
}

.tmc-mini-tbl-hdr {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  gap: 0.5rem;
  padding: 0 0.55rem 0.25rem;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #94a3b8;
}
.tmc-mini-tbl-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  background: #0c0f1a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.16s ease;
}
.tmc-mini-tbl-row:hover { border-color: rgba(245, 158, 11, 0.35); }
.tmc-mini-tbl-u { display: flex; align-items: center; gap: 0.45rem; min-width: 0; font-weight: 700; font-size: 0.8rem; color: #f1f5f9; }
.tmc-mini-tbl-u img { border-radius: 6px; flex-shrink: 0; }
.tmc-mini-tbl-u span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tmc-mini-tbl-item { font-size: 0.76rem; color: #94a3b8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tmc-side-full-btn {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.58rem 0.9rem;
  border-radius: 10px;
  background: #0c0f1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1 !important;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.tmc-side-full-btn:hover {
  border-color: rgba(245, 158, 11, 0.42);
  color: #fbbf24 !important;
  background: rgba(245, 158, 11, 0.07);
}

.tmc-empty-compact {
  padding: 0.85rem 0.75rem;
  border-radius: 10px;
  background: #0c0f1a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  font-size: 0.82rem;
  text-align: center;
}

.tmc-discord-widget {
  border-color: rgba(88, 101, 242, 0.32) !important;
  background: linear-gradient(160deg, #111522 50%, rgba(88, 101, 242, 0.14) 100%);
}
.tmc-dw-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.tmc-dw-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #5865F2;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tmc-dw-title { font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif; font-weight: 800; font-size: 0.95rem; color: #ffffff; line-height: 1.2; }
.tmc-dw-sub { font-size: 0.76rem; color: #94a3b8; margin-top: 2px; }
.tmc-dw-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: #5865F2;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.84rem;
  transition: background 0.16s ease, transform 0.16s ease;
}
.tmc-dw-btn:hover { background: #4752C4; transform: translateY(-1px); }

.tmc-skel {
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: tmcSkel 1.3s ease-in-out infinite;
}
@keyframes tmcSkel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ==========================================================================
   NamelessMC Cards, Auth (/login, /register), Alerts & Segments
   ========================================================================== */
body.dark .ui.segment,
body.dark .ui.card,
body.dark .ui.fluid.card {
  background: #111522 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28) !important;
  color: #cbd5e1 !important;
}
body.dark .ui.segment h3.ui.header,
body.dark .ui.segment h4.ui.header,
body.dark .ui.card .header {
  color: #ffffff !important;
}
body.dark .ui.divider { border-color: rgba(255, 255, 255, 0.07) !important; }

.ui.negative.message, .ui.error.message {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #fecaca !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.ui.negative.message .header, .ui.error.message .header,
.ui.negative.message .list li, .ui.error.message .list li {
  color: #fecaca !important;
}
.ui.success.message, .ui.positive.message {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #a7f3d0 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

#page-login h2.ui.header,
#page-register h2.ui.header {
  display: none !important;
}
#login, #register {
  max-width: 480px !important;
  margin: 0.5rem auto 3.5rem !important;
  padding: 2rem !important;
  background: #111522 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.42) !important;
  position: relative !important;
  overflow: hidden !important;
}
#login::before, #register::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f59e0b, #fbbf24, transparent);
}
#login .ui.ten.wide.computer.column,
#register .ui.ten.wide.computer.column {
  width: 100% !important;
}
#login .field > label,
#register .field > label,
#login .ui.checkbox label,
#register .ui.checkbox label {
  color: #cbd5e1 !important;
  font-weight: 600 !important;
  font-size: 0.84rem !important;
}
#login input:not([type="checkbox"]):not([type="submit"]),
#register input:not([type="checkbox"]):not([type="submit"]),
#forum-index input[type="text"],
#forum-view input[type="text"] {
  background: #0c0f1a !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 10px !important;
  padding: 0.75rem 0.95rem !important;
  font-size: 0.9rem !important;
}
#login input:focus,
#register input:focus {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16) !important;
}
#login input[type="submit"], #login button[type="submit"],
#register input[type="submit"], #register button[type="submit"] {
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #ea580c) !important;
  color: #090b12 !important;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 0.82rem 1.4rem !important;
  width: 100% !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.28) !important;
  margin-top: 0.4rem !important;
}
#login input[type="submit"]:hover, #login button[type="submit"]:hover,
#register input[type="submit"]:hover, #register button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.42) !important;
}
#page-login #login .ui.red.button,
#page-login #login a[href*="forgot"],
#page-register #register .ui.red.button {
  background: transparent !important;
  color: #94a3b8 !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0.45rem 0 !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  float: none !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin: 0.75rem 0 0 !important;
}
#page-login #login a[href*="forgot"]:hover { color: #fbbf24 !important; }
#page-login #login .ui.green.button, #page-login #login a[href*="register"],
#page-register #register .ui.green.button, #page-register #register a[href*="login"] {
  background: #0c0f1a !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: #fbbf24 !important;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 0.72rem 1.4rem !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  box-shadow: none !important;
}
#page-login #login .ui.green.button:hover,
#page-register #register .ui.green.button:hover {
  background: rgba(245, 158, 11, 0.12) !important;
}
#login .ui.horizontal.divider, #register .ui.horizontal.divider {
  color: #94a3b8 !important;
  font-size: 0.75rem !important;
  margin: 1.25rem 0 0.9rem !important;
}

/* ==========================================================================
   Unified 4-Column LeaderOS Footer
   ========================================================================== */
#footer, .ui.inverted.vertical.footer.segment {
  background: #07090f !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
  margin-top: 2.5rem !important;
  padding: 3rem 0 1.75rem !important;
}
.tmc-lo-footer-container {
  max-width: 1340px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  padding: 0 1.25rem !important;
}
.tmc-nm-footer-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2.25rem;
}
.tmc-nm-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.tmc-nm-footer-brand img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.45));
}
.tmc-nm-footer-brand span {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
}
.tmc-nm-footer-desc {
  color: #94a3b8 !important;
  font-size: 0.86rem !important;
  line-height: 1.62 !important;
  margin: 0 0 0.65rem !important;
  max-width: 350px;
}
.tmc-nm-footer-legal {
  color: #94a3b8 !important;
  font-size: 0.76rem !important;
  margin: 0 0 1rem !important;
}
.tmc-nm-footer-cta-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.tmc-nm-footer-ip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.9rem;
  border-radius: 10px;
  background: #111522;
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #f1f5f9;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.tmc-nm-footer-ip:hover {
  border-color: rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}
.tmc-nm-discord {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  padding: 0.48rem 0.95rem !important;
  border-radius: 10px !important;
  background: #5865F2 !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  transition: background 0.16s ease, transform 0.16s ease !important;
}
.tmc-nm-discord:hover {
  background: #4752C4 !important;
  transform: translateY(-1px);
}
.tmc-nm-footer-col h4 {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #fbbf24 !important;
  margin: 0 0 1rem !important;
}
.tmc-nm-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.58rem;
}
.tmc-nm-footer-col ul a {
  color: #94a3b8 !important;
  font-size: 0.86rem;
  font-weight: 500;
  transition: color 0.16s ease, padding-left 0.16s ease;
}
.tmc-nm-footer-col ul a:hover {
  color: #fbbf24 !important;
  padding-left: 4px;
}
.tmc-nm-footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Toast */
#tmc-nm-toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  background: #111522;
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #ffffff;
  padding: 0.82rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.86rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
  pointer-events: none;
}
#tmc-nm-toast.show { transform: translateY(0); opacity: 1; }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) and (min-width: 901px) {
  #navbar .tmc-nm-nav-container {
    padding: 0 0.85rem !important;
    gap: 0.35rem !important;
  }
  #navbar .tmc-nm-brand {
    margin-right: 0.35rem !important;
  }
  #navbar .tmc-nm-links-group {
    gap: 0.12rem !important;
  }
  #navbar .tmc-nm-navlink {
    padding: 0.42rem 0.56rem !important;
    font-size: 0.82rem !important;
  }
  #navbar .tmc-nm-right-actions {
    gap: 0.4rem !important;
  }
}
@media (max-width: 1060px) {
  .tmc-up-bal { display: none !important; }
  .tmc-home-grid { grid-template-columns: 1fr; }
  .tmc-spotlight-card { grid-template-columns: 1fr; }
  .tmc-spotlight-media { min-height: 210px; }
}
@media (max-width: 900px) {
  #navbar .tmc-nm-links-group { display: none !important; }
  #navbar .toc.item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
  }
  .tmc-nav-cart-btn { width: 42px; height: 42px; }
  #navbar .tmc-nm-brand { margin-right: 0.35rem !important; }
  .tmc-nm-hero-grid {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
    gap: 1.15rem !important;
  }
  .tmc-nm-hero-left, .tmc-nm-hero-right { justify-content: center !important; width: 100%; }
  .tmc-nm-hero-center { order: -1; }
  .ui.masthead.tmc-nm-hero { min-height: 0 !important; padding: 1.5rem 0 1.65rem !important; }
  .tmc-qa-grid { grid-template-columns: 1fr; }
  .tmc-podium-grid { grid-template-columns: 1fr; }
  .tmc-nm-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tmc-showcase-grid { grid-template-columns: 1fr; }
  .tmc-nm-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
  .tmc-nm-brand-name { display: none; }
  .tmc-up-bal { display: none !important; }
  .tmc-up-name { max-width: 105px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tmc-home-wrap, .tmc-qa-wrap { padding: 1rem 0.85rem 2.5rem; }
  .ui.masthead.tmc-nm-hero { padding: 1.25rem 0 1.35rem !important; }
  .ui.masthead.tmc-nm-hero > .tmc-lo-hero-container { padding: 0 0.85rem !important; }
  .ui.masthead.tmc-nm-hero img.logo, .tmc-nm-logo-wrap img { height: 96px !important; max-height: 96px !important; }
  .tmc-nm-wordmark { font-size: 1.65rem; }
  .tmc-play-capsule, .tmc-dc-capsule { width: 100%; max-width: 320px; padding: 0.5rem 1rem 0.5rem 0.55rem; gap: 0.7rem; }
  .tmc-play-ip { font-size: 0.84rem; }
  .tmc-play-sub { font-size: 0.72rem; flex-wrap: wrap; }
  .tmc-spotlight-media { min-height: 180px; }
  .tmc-spotlight-body { padding: 1.15rem 1.1rem; }
  .tmc-spotlight-title { font-size: 1.25rem !important; }
  .tmc-lo-card { padding: 1.05rem 1rem; }
  .tmc-lo-hdr { flex-wrap: wrap; gap: 0.6rem; }
  .tmc-top10-grid { grid-template-columns: 1fr; }
  #footer, .ui.inverted.vertical.footer.segment { padding: 2.25rem 0 1.5rem !important; }
  .tmc-lo-footer-container { padding: 0 0.85rem !important; }
  #login, #register { padding: 1.35rem 1.1rem !important; margin: 0.25rem auto 2.5rem !important; }
  #navbar .tmc-nm-nav-container { padding: 0 0.85rem !important; }
  #navbar .tmc-nm-login-btn, #navbar .tmc-nm-reg-btn { padding: 0.52rem 0.75rem !important; font-size: 0.76rem !important; min-height: 38px; }
}
@media (max-width: 380px) {
  #navbar .tmc-nm-nav-container { padding: 0 0.65rem !important; gap: 0.35rem !important; }
  #navbar .tmc-nm-right-actions { gap: 0.35rem !important; }
  .tmc-up-name { max-width: 82px; }
  .tmc-home-wrap { padding: 0.85rem 0.65rem 2.25rem; }
  .tmc-lo-footer-container { padding: 0 0.65rem !important; }
}

/* === Senior UI/UX Polish: Solid Sticky Nav & Zero Bleed === */
#navbar, .tmc-nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(9, 11, 18, 0.96) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
/* === Clean Minimalist Polish: No Overlapping Badges, No Duplicate Buttons === */
.tmc-showcase-visual .tmc-micro-pill { display: none !important; }
.tmc-podium-empty .tmc-lo-btn-primary,
.tmc-podium-empty a.tmc-btn { display: none !important; }
.tmc-sidebar .tmc-feed-list:empty,
#tmc-home-credits, #tmc-home-orders { min-height: 0 !important; }

.tmc-qa-wrap { display: none !important; }










/* === Fix 470px Pusher Gap === */
body.pushable > .pusher, .pushable > .pusher {
  min-height: 0 !important;
}

/* === Premium Right Sidebar Upgrade === */
.tmc-home-side .tmc-lo-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tmc-home-side .tmc-lo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45) !important;
}
.tmc-home-side .tmc-lo-card:nth-child(1) {
  border-top: 2px solid #10b981 !important;
}
.tmc-home-side .tmc-lo-card:nth-child(2) {
  border-top: 2px solid #f59e0b !important;
}
.tmc-home-side .tmc-lo-card:nth-child(3) {
  border: 1px solid rgba(88, 101, 242, 0.42) !important;
  border-top: 2px solid #5865f2 !important;
  background: linear-gradient(145deg, rgba(88, 101, 242, 0.16) 0%, #111522 70%) !important;
}
.tmc-home-side .tmc-lo-card:nth-child(3) a[href*="discord"] {
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.42) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.tmc-home-side .tmc-lo-card:nth-child(3) a[href*="discord"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(88, 101, 242, 0.58) !important;
}

/* === Sidebar Row Hover, 3D Avatar Pop & Live Pulse === */
.tmc-home-side .tmc-lo-card img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease;
}
.tmc-home-side .tmc-lo-card:hover img {
  transform: scale(1.06);
}
.tmc-home-side tr:hover, .tmc-home-side .tmc-feed-row:hover {
  background: rgba(255, 255, 255, 0.04) !important;
}

/* === Smooth 3D Character Sway Animation === */
@keyframes tmc3dSway {
  0%, 100% { transform: perspective(360px) rotateY(-16deg) translateY(0); }
  50% { transform: perspective(360px) rotateY(16deg) translateY(-3px); }
}
.tmc-3d-skin, img[src*="mc-heads.net/body/"] {
  animation: tmc3dSway 4.2s ease-in-out infinite;
  transform-style: preserve-3d;
}


/* 3D Podium & Interactive Character Enhancements */
.tmc-podium-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .tmc-podium-3 { grid-template-columns: 1fr; } }
.tmc-pod-card { position: relative; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease; }
.tmc-pod-card.tmc-pod-active { transform: translateY(-4px); border-color: rgba(245, 158, 11, 0.55) !important; box-shadow: 0 12px 28px rgba(245, 158, 11, 0.14); }
.tmc-pod-3d-wrap { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 52px; }
.tmc-3d-char { cursor: grab; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 8px 14px rgba(0,0,0,0.55)); animation: tmcCharFloat 4.2s ease-in-out infinite; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.tmc-3d-char:active { cursor: grabbing; }
.tmc-pod-pedestal { width: 42px; height: 8px; margin-top: -4px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.45) 0%, rgba(245, 158, 11, 0) 72%); pointer-events: none; }
.tmc-feed-row--hero { animation: tmcSlideInRight 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; border-color: rgba(34, 197, 94, 0.28) !important; background: linear-gradient(90deg, rgba(34, 197, 94, 0.08), rgba(15, 23, 42, 0.4)) !important; }
@keyframes tmcCharFloat { 0%, 100% { transform: perspective(520px) rotateY(-8deg) translateY(0px); } 50% { transform: perspective(520px) rotateY(10deg) translateY(-4px); } }
@keyframes tmcSlideInRight { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }


/* 200x Upgrade for Son Kredi Yukleyenler 3D Stage */
.tmc-feed-left img.tmc-feed-3d { width: 46px !important; height: 98px !important; min-width: 46px !important; object-fit: contain !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; margin: -6px 6px -6px 0; filter: drop-shadow(0 10px 16px rgba(16, 185, 129, 0.28)); }
.tmc-feed-row--hero { position: relative; padding: 14px 14px !important; border: 1px solid rgba(34, 197, 94, 0.35) !important; background: radial-gradient(circle at 18% 50%, rgba(16, 185, 129, 0.16), rgba(15, 23, 42, 0.55) 70%) !important; box-shadow: 0 10px 26px rgba(16, 185, 129, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.06); overflow: visible !important; }
.tmc-feed-row--hero::after { content: '3D • Tut & Çevir'; position: absolute; right: 12px; bottom: 6px; font-size: 9px; font-weight: 600; letter-spacing: 0.04em; color: rgba(148, 163, 184, 0.75); pointer-events: none; }
.tmc-feed-row--hero .tmc-feed-pill { background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(234, 88, 12, 0.22)) !important; border: 1px solid rgba(245, 158, 11, 0.45) !important; color: #fbbf24 !important; font-weight: 700 !important; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15); }


/* Extra Polish: Live Pulse, Card Hover Lift & Pedestal Glow */
.tmc-feed-row--hero:hover { border-color: rgba(34, 197, 94, 0.55) !important; box-shadow: 0 14px 32px rgba(16, 185, 129, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.09); transform: translateY(-1px); transition: all 0.3s ease; }
.tmc-mini-tbl-row, .tmc-feed-row:not(.tmc-feed-row--hero) { transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease; }
.tmc-mini-tbl-row:hover, .tmc-feed-row:not(.tmc-feed-row--hero):hover { transform: translateX(3px); border-color: rgba(245, 158, 11, 0.32) !important; }
.tmc-discord-card { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.tmc-discord-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(88, 101, 242, 0.22); border-color: rgba(88, 101, 242, 0.55) !important; }


/* 3-Section Polish: Podium Ranks, Live Credits & Store Orders */
.tmc-pod-1 { border-color: rgba(251, 191, 36, 0.45) !important; background: linear-gradient(135deg, rgba(251, 191, 36, 0.10), rgba(15, 23, 42, 0.65)) !important; }
.tmc-pod-2 { border-color: rgba(148, 163, 184, 0.35) !important; background: linear-gradient(135deg, rgba(148, 163, 184, 0.08), rgba(15, 23, 42, 0.65)) !important; }
.tmc-pod-3 { border-color: rgba(217, 119, 6, 0.35) !important; background: linear-gradient(135deg, rgba(217, 119, 6, 0.08), rgba(15, 23, 42, 0.65)) !important; }
.tmc-pod-card:hover .tmc-3d-char { transform: perspective(520px) scale(1.06); }
.tmc-mini-tbl-row { border-radius: 10px; padding: 8px 10px !important; }
.tmc-mini-tbl-row:hover { background: rgba(245, 158, 11, 0.07) !important; }


/* Comprehensive Layout & Visual Upgrade for All 3 Home Widgets */
#tmc-home-podium .tmc-pod-card { min-height: 118px; padding: 14px 16px !important; display: flex; align-items: center; gap: 14px; border-radius: 14px !important; }
#tmc-home-podium .tmc-pod-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#tmc-home-podium .tmc-pod-name { font-size: 15px; font-weight: 700; color: #f8fafc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tmc-home-podium .tmc-pod-amt { font-size: 12.5px; font-weight: 600; color: #fbbf24; }
.tmc-feed-row { min-height: 54px; padding: 10px 12px !important; border-radius: 12px !important; }
.tmc-feed-row--hero { min-height: 104px !important; padding: 14px 16px !important; }
.tmc-mini-tbl-row { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }


/* Redesigned 3 Homepage Sections (No Blur, No Glow, Angular Dark + Single Purple Accent) */
.tmc-rd-card { background: #12141c; border: 1px solid #232736; border-radius: 6px; padding: 18px; }
.tmc-rd-podium-card { margin-bottom: 16px; }
.tmc-rd-lists-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 768px) { .tmc-rd-lists-grid { grid-template-columns: 1fr; } }

.tmc-rd-hdr { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #1e2230; }
.tmc-rd-hdr--sm { margin-bottom: 12px; padding-bottom: 10px; }
.tmc-rd-title-group { display: flex; align-items: center; gap: 10px; }
.tmc-rd-bar { width: 4px; height: 28px; background: #8b5cf6; border-radius: 2px; flex-shrink: 0; }
.tmc-rd-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tmc-rd-title { margin: 0; font-size: 17px; font-weight: 700; color: #f8fafc; letter-spacing: 0.01em; }
.tmc-rd-title--sm { font-size: 15px; }
.tmc-rd-sub { font-size: 12px; color: #94a3b8; margin-top: 2px; }
.tmc-rd-month-pill { font-size: 11px; font-weight: 700; color: #c4b5fd; background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.35); padding: 2px 8px; border-radius: 4px; }
.tmc-rd-live-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; color: #c4b5fd; background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.4); padding: 2px 7px; border-radius: 4px; letter-spacing: 0.05em; }
.tmc-rd-live-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34d399; animation: tmcLivePulse 1.8s ease-out infinite; }
@keyframes tmcLivePulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); } 70% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

.tmc-rd-cta { display: inline-flex; align-items: center; justify-content: center; background: #8b5cf6; color: #ffffff !important; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 4px; text-decoration: none; border: 1px solid #7c3aed; transition: background-color 0.2s ease; }
.tmc-rd-cta:hover { background: #7c3aed; }
.tmc-rd-cta:focus-visible, .tmc-rd-link:focus-visible, .tmc-rd-more-btn:focus-visible, .tmc-rd-pod--empty:focus-visible { outline: 2px solid #8b5cf6; outline-offset: 2px; }
.tmc-rd-cta--sm { font-size: 12px; padding: 6px 12px; }
.tmc-rd-link { font-size: 12px; font-weight: 600; color: #c4b5fd; text-decoration: none; }
.tmc-rd-link:hover { color: #ffffff; }

.tmc-rd-podium-grid { display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: 12px; align-items: end; }
.tmc-rd-pod { position: relative; overflow: hidden; background: #161923; border: 1px solid #262b3d; border-radius: 6px; padding: 18px 12px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; min-height: 148px; justify-content: center; }
.tmc-rd-pod::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: transparent; }
.tmc-rd-pod--1 { border-color: #eab308; min-height: 182px; background: linear-gradient(180deg, rgba(234, 179, 8, 0.10), #181b26 62%); }
.tmc-rd-pod--1::before { background: linear-gradient(90deg, transparent, #fbbf24, transparent); }
.tmc-rd-pod--2 { border-color: rgba(148, 163, 184, 0.55); background: linear-gradient(180deg, rgba(148, 163, 184, 0.09), #161923 62%); }
.tmc-rd-pod--2::before { background: linear-gradient(90deg, transparent, #cbd5e1, transparent); }
.tmc-rd-pod--3 { border-color: rgba(180, 83, 9, 0.7); background: linear-gradient(180deg, rgba(217, 119, 6, 0.09), #161923 62%); }
.tmc-rd-pod--3::before { background: linear-gradient(90deg, transparent, #d97706, transparent); }
.tmc-rd-pod--empty { border-style: dashed; border-color: #2e3448; text-decoration: none; gap: 7px; transition: border-color 0.2s ease, background-color 0.2s ease; }
.tmc-rd-pod--empty::before { opacity: 0.4; background: linear-gradient(90deg, transparent, #3b4257, transparent); }
.tmc-rd-pod--empty:hover { border-color: #8b5cf6; background: #181c28; }
.tmc-rd-pod-empty-ico { color: #3f4759; display: inline-flex; transition: color 0.2s ease, transform 0.2s ease; }
.tmc-rd-pod--empty:hover .tmc-rd-pod-empty-ico { color: #8b5cf6; transform: translateY(-1px); }
.tmc-rd-pod-empty-title { font-size: 12px; font-weight: 700; color: #cbd5e1; }
.tmc-rd-pod-empty-cta { font-size: 11px; font-weight: 800; color: #a78bfa; letter-spacing: 0.02em; }
.tmc-rd-pod-empty-txt { font-size: 12px; color: #94a3b8; max-width: 130px; line-height: 1.4; }
.tmc-rd-rank { font-size: 11px; font-weight: 800; color: #e2e8f0; display: inline-flex; align-items: center; gap: 4px; letter-spacing: 0.04em; padding: 2px 9px; border-radius: 4px; }
.tmc-rd-pod--1 .tmc-rd-rank { color: #fbbf24; background: rgba(234, 179, 8, 0.12); border: 1px solid rgba(234, 179, 8, 0.42); }
.tmc-rd-pod--2 .tmc-rd-rank { color: #e2e8f0; background: rgba(148, 163, 184, 0.12); border: 1px solid rgba(148, 163, 184, 0.35); }
.tmc-rd-pod--3 .tmc-rd-rank { color: #f0a05a; background: rgba(180, 83, 9, 0.14); border: 1px solid rgba(180, 83, 9, 0.42); }
.tmc-rd-bust, .tmc-rd-head { image-rendering: pixelated; border-radius: 4px; flex-shrink: 0; }
.tmc-rd-pod-avatar { display: inline-flex; align-items: center; justify-content: center; padding: 5px; border-radius: 10px; background: #0c0f18; border: 2px solid #2e3448; }
.tmc-rd-pod--1 .tmc-rd-pod-avatar { border-color: #eab308; box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.12); }
.tmc-rd-pod--2 .tmc-rd-pod-avatar { border-color: #94a3b8; }
.tmc-rd-pod--3 .tmc-rd-pod-avatar { border-color: #b45309; }
.tmc-rd-pod-name { font-size: 14px; font-weight: 700; color: #f8fafc; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tmc-rd-pod-amt { font-size: 13px; font-weight: 800; color: #c4b5fd; }
.tmc-rd-pod--1 .tmc-rd-pod-amt { color: #fbbf24; }
.tmc-rd-pod-meter { width: 100%; max-width: 176px; height: 6px; border-radius: 4px; background: #0b0e16; border: 1px solid #232838; overflow: hidden; margin-top: 2px; }
.tmc-rd-pod-meter-fill { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, #8b5cf6, #a78bfa); transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.tmc-rd-pod--1 .tmc-rd-pod-meter-fill { background: linear-gradient(90deg, #b45309, #fbbf24); }
.tmc-rd-pod--2 .tmc-rd-pod-meter-fill { background: linear-gradient(90deg, #64748b, #cbd5e1); }
.tmc-rd-pod--3 .tmc-rd-pod-meter-fill { background: linear-gradient(90deg, #7c2d12, #d97706); }
.tmc-rd-pod-meter-label { font-size: 10px; font-weight: 700; color: #94a3b8; letter-spacing: 0.03em; }
.tmc-rd-pod--1 .tmc-rd-pod-meter-label { color: #fbbf24; }
.tmc-rd-pod--enter { animation: tmcPodIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes tmcPodIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }

@media (max-width: 768px) {
  .tmc-rd-podium-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tmc-rd-pod--1 { grid-column: 1 / -1; order: -1; min-height: 156px; }
}

.tmc-rd-list { display: flex; flex-direction: column; gap: 8px; }
.tmc-rd-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; background: #161923; border: 1px solid #222636; border-radius: 4px; transition: background-color 0.18s ease, border-color 0.18s ease; }
.tmc-rd-row:hover { background: #1b1f2c; border-color: #363d54; }
.tmc-rd-row .tmc-rd-head { transition: box-shadow 0.18s ease; }
.tmc-rd-row:hover .tmc-rd-head { box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.35); }
.tmc-rd-row-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tmc-rd-row-info { min-width: 0; }
.tmc-rd-row-name { font-size: 13px; font-weight: 700; color: #f8fafc; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tmc-rd-row-time { font-size: 11.5px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 210px; }
.tmc-rd-credit-pill { font-size: 12px; font-weight: 700; color: #c4b5fd; background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.35); padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.tmc-rd-price-pill { font-size: 12px; font-weight: 700; color: #e2e8f0; background: #1e2332; border: 1px solid #2e354a; padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.tmc-rd-high-badge { font-size: 10px; font-weight: 700; color: #fbbf24; background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.35); padding: 1px 6px; border-radius: 3px; }
.tmc-rd-item-ico { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.tmc-rd-cat-badge { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 3px; }
.tmc-rd-cat--vip { color: #fbbf24; background: rgba(251, 191, 36, 0.14); border: 1px solid rgba(251, 191, 36, 0.35); }
.tmc-rd-cat--kit { color: #38bdf8; background: rgba(56, 189, 248, 0.14); border: 1px solid rgba(56, 189, 248, 0.35); }
.tmc-rd-cat--anahtar { color: #c4b5fd; background: rgba(139, 92, 246, 0.16); border: 1px solid rgba(139, 92, 246, 0.4); }

.tmc-rd-empty { padding: 20px 14px; text-align: center; background: #161923; border: 1px dashed #2e3448; border-radius: 6px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tmc-rd-empty-txt { font-size: 13px; color: #94a3b8; }
.tmc-rd-more-btn { width: 100%; margin-top: 10px; padding: 8px; background: #161923; border: 1px solid #262b3d; border-radius: 4px; color: #c4b5fd; font-size: 12px; font-weight: 600; cursor: pointer; }
.tmc-rd-more-btn:hover { background: #1c202e; border-color: #8b5cf6; }
@media (max-width: 768px) { .tmc-rd-row--mob-hide { display: none; } }

.tmc-rd-skel-row { display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: 12px; align-items: end; }
.tmc-rd-skel { background: #1a1e2b; border-radius: 4px; animation: tmcSkelPulse 1.4s ease-in-out infinite; }
@keyframes tmcSkelPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.9; } }
@keyframes tmcSlideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.tmc-rd-row--slide { animation: tmcSlideDown 0.3s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  .tmc-rd-skel, .tmc-rd-row--slide, .tmc-rd-pod--enter { animation: none !important; }
  .tmc-rd-cta, .tmc-rd-row, .tmc-rd-pod--empty, .tmc-rd-pod-meter-fill { transition: none !important; }
  .tmc-rd-live-pill::before { animation: none; }
}


/* 3D Bust Drag Cursor & Smooth Interaction */
.tmc-rd-bust { cursor: grab; user-select: none; -webkit-user-drag: none; transition: transform 0.25s ease; }
.tmc-rd-bust:active { cursor: grabbing; }

/* TaletMC home: centered server hero and concise feature cards */
body#page-index .ui.masthead.tmc-nm-hero { display: none !important; }
.tmc-home-wrap { max-width: 1240px; padding: 1.2rem 1.25rem 3rem; }
.tmc-home-main { max-width: 1160px; }
.tmc-home-hero { position: relative; display: block; min-height: 570px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: #0e1119; box-shadow: 0 20px 60px rgba(0,0,0,.34); }
.tmc-home-hero .tmc-spotlight-media { position: absolute; inset: 0; min-height: 0; }
.tmc-home-hero .tmc-spotlight-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,12,.2) 0%, rgba(5,7,12,.52) 42%, rgba(5,7,12,.95) 100%); }
.tmc-home-hero .tmc-spotlight-media img { object-position: center 48%; }
.tmc-home-hero .tmc-spot-badge { z-index: 2; top: 18px; left: 18px; padding: 6px 10px; border: 1px solid rgba(245,195,91,.5); border-radius: 5px; background: rgba(14,17,25,.78); color: #f2cc79; box-shadow: none; }
.tmc-home-hero .tmc-spotlight-body { position: relative; z-index: 1; min-height: 570px; max-width: 850px; margin: 0 auto; padding: 3rem 2rem; display: flex; align-items: center; text-align: center; }
.tmc-home-logo { width: 88px; height: 88px; object-fit: contain; margin: 0 auto 12px; filter: drop-shadow(0 4px 16px rgba(0,0,0,.48)); }
.tmc-home-hero .tmc-micro-lbl { color: #e6c36f; letter-spacing: .16em; }
.tmc-home-hero .tmc-spotlight-title { max-width: 760px; margin: .7rem 0 .55rem !important; font-size: clamp(2.3rem, 5.2vw, 4.25rem) !important; line-height: 1.08 !important; letter-spacing: -.04em; text-wrap: balance; }
.tmc-home-hero .tmc-spotlight-desc { max-width: 620px; margin-bottom: 1.1rem !important; color: #d0d5dd !important; font-size: 1rem !important; line-height: 1.65 !important; }
.tmc-home-status { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin: .25rem 0 1.3rem; color: #d7dde6; font-size: .82rem; }
.tmc-home-status[data-state="offline"] .tmc-home-live-dot { background: #e36b67; box-shadow: 0 0 0 3px rgba(227,107,103,.13); }
.tmc-home-status[data-state="unknown"] .tmc-home-live-dot, .tmc-home-status[data-state="checking"] .tmc-home-live-dot { background: #b8a06b; box-shadow: 0 0 0 3px rgba(184,160,107,.13); }
.tmc-home-status button { display: inline-flex; align-items: center; gap: 9px; padding: 7px 9px 7px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; background: rgba(8,10,15,.72); color: #f3e4be; cursor: pointer; }
.tmc-home-status button code { color: inherit; font-size: .8rem; }
.tmc-home-status button span { padding-left: 8px; border-left: 1px solid rgba(255,255,255,.18); color: #b8c0cc; font-size: .72rem; }
.tmc-home-hero .tmc-spotlight-actions { justify-content: center; gap: 10px; }
.tmc-home-hero .tmc-lo-btn-primary, .tmc-home-hero .tmc-lo-btn-ghost { min-height: 44px; padding: 0 18px; border-radius: 6px; }
.tmc-home-hero .tmc-lo-btn-primary { background: #d1a447; color: #15130e !important; box-shadow: none; }
.tmc-home-hero .tmc-lo-btn-primary:hover { background: #e1b85b; }
.tmc-home-hero .tmc-lo-btn-ghost { border: 1px solid rgba(255,255,255,.28); background: rgba(8,10,15,.55); color: #f0f2f5 !important; }
.tmc-home-features { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; margin-top: 16px; }
.tmc-home-feature { min-width: 0; padding: 18px 19px; border: 1px solid #292e3a; border-radius: 9px; background: #11141c; }
.tmc-home-feature-mark { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 23px; margin-bottom: 11px; border-left: 2px solid #c39a48; color: #cdb36f; font-size: .68rem; font-weight: 800; }
.tmc-home-feature h2 { margin: 0 0 6px; color: #f0f2f5; font-size: .94rem; font-weight: 750; }
.tmc-home-feature p { margin: 0; color: #99a2b1; font-size: .8rem; line-height: 1.55; }
@media (max-width: 760px) {
  .tmc-home-wrap { padding: .8rem .85rem 2rem; }
  .tmc-home-hero, .tmc-home-hero .tmc-spotlight-body { min-height: 510px; }
  .tmc-home-hero .tmc-spotlight-body { max-width: 100%; padding: 2.5rem 1.25rem; }
  .tmc-home-hero .tmc-spotlight-media::after { background: linear-gradient(180deg, rgba(5,7,12,.34), rgba(5,7,12,.78) 42%, rgba(5,7,12,.96)); }
  .tmc-home-features { grid-template-columns: 1fr; gap: 9px; }
  .tmc-home-feature { padding: 14px 16px; }
}
@media (max-width: 420px) {
  .tmc-home-hero, .tmc-home-hero .tmc-spotlight-body { min-height: 490px; }
  .tmc-home-logo { width: 72px; height: 72px; }
  .tmc-home-hero .tmc-spotlight-title { font-size: 2.15rem !important; }
}
/* Homepage live activity panels */
.tmc-home-activity { display: grid; gap: 15px; margin-top: 0; }
.tmc-home-activity .tmc-rd-card { margin: 0; padding: 20px; border: 1px solid #292e3a; border-radius: 10px; background: #11141c; box-shadow: 0 10px 30px rgba(0,0,0,.16); }
.tmc-home-activity .tmc-rd-hdr { border-bottom-color: #292e3a; }
.tmc-home-activity .tmc-rd-title { font-size: 1rem; letter-spacing: 0; }
.tmc-home-activity .tmc-rd-title--sm { font-size: .92rem; }
.tmc-home-activity .tmc-rd-bar { background: #c39a48; }
.tmc-home-activity .tmc-rd-podium-grid { gap: 12px; }
.tmc-home-activity .tmc-rd-pod { min-height: 148px; border-radius: 8px; }
.tmc-home-activity .tmc-rd-pod--1 { min-height: 166px; }
.tmc-home-activity .tmc-rd-lists-grid { gap: 14px; }
.tmc-home-activity .tmc-rd-row { border-radius: 7px; background: #0d1018; }
.tmc-home-activity .tmc-rd-row:hover { background: #151923; }
.tmc-home-activity .tmc-rd-more-btn { border-radius: 7px; }
.tmc-home-activity .tmc-rd-live-pill { color: #91d8ac; background: rgba(74,166,110,.1); border-color: rgba(74,166,110,.24); }
.tmc-home-activity .tmc-rd-link, .tmc-home-activity .tmc-rd-cta { color: #e5c477; }
@media (max-width: 760px) {
  .tmc-home-activity { margin-top: 0; gap: 11px; }
  .tmc-home-activity .tmc-rd-card { padding: 15px; }
  .tmc-home-activity .tmc-rd-lists-grid { grid-template-columns: 1fr; }
  .tmc-home-activity .tmc-rd-podium-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tmc-home-activity .tmc-rd-pod--1 { grid-column: 1 / -1; order: -1; }
}
/* Site-wide LeaderOS surface refinement */
:root { color-scheme: dark; }
html { scroll-behavior: smooth; }
body.pushable > .pusher { background: radial-gradient(ellipse 80% 420px at 50% -120px,rgba(245,158,11,.075),transparent 72%),#090b12; }
.ui.secondary.inverted.menu { background: rgba(10,12,19,.88); border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 12px 34px rgba(0,0,0,.2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.ui.segment, .ui.message, .ui.card, .ui.cards > .card { border-color: rgba(168,180,205,.14) !important; box-shadow: 0 14px 38px rgba(0,0,0,.2) !important; }
.ui.button { transition: transform .18s ease,box-shadow .18s ease,background-color .18s ease !important; }
.ui.button:hover { transform: translateY(-1px); }
.ui.input input:focus, .ui.form textarea:focus, .ui.form select:focus { border-color: rgba(245,158,11,.65) !important; box-shadow: 0 0 0 3px rgba(245,158,11,.12) !important; }
.tmc-home-hero { overflow: hidden; border-color: rgba(231,190,105,.22); box-shadow: 0 28px 90px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.05); }
.tmc-home-hero .tmc-spotlight-media img { transform: scale(1.015); animation: tmcHeroDrift 24s ease-in-out infinite alternate; }
.tmc-home-hero .tmc-spotlight-media::after { background: linear-gradient(180deg,rgba(5,7,12,.16),rgba(5,7,12,.5) 40%,rgba(5,7,12,.95)); }
.tmc-home-hero .tmc-spotlight-body > * { animation: tmcHomeEnter .65s cubic-bezier(.2,.7,.2,1) both; }
.tmc-home-hero .tmc-spotlight-body > *:nth-child(2) { animation-delay:.08s; }
.tmc-home-hero .tmc-spotlight-body > *:nth-child(3) { animation-delay:.14s; }
.tmc-home-hero .tmc-spotlight-body > *:nth-child(4) { animation-delay:.2s; }
.tmc-home-hero .tmc-spotlight-body > *:nth-child(5) { animation-delay:.26s; }
.tmc-home-feature, .tmc-home-activity .tmc-rd-card { transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease; }
.tmc-home-feature:hover, .tmc-home-activity .tmc-rd-card:hover { transform:translateY(-2px); border-color:rgba(195,154,72,.5); box-shadow:0 18px 40px rgba(0,0,0,.25); }
.tmc-home-activity .tmc-rd-card { background:linear-gradient(155deg,#141824,#10131c); }
.tmc-home-activity .tmc-rd-row { transition:transform .18s ease,border-color .18s ease,background .18s ease; }
.tmc-home-activity .tmc-rd-row:hover { transform:translateX(2px); }
@keyframes tmcHeroDrift { from { transform:scale(1.015) translate3d(-.4%,0,0); } to { transform:scale(1.07) translate3d(.4%,-.3%,0); } }
@keyframes tmcHomeEnter { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; } }
@media (max-width:760px) { .tmc-home-hero .tmc-spotlight-media img { animation:none; transform:scale(1.02); } }
/* Homepage layout inspired by the supplied RushCraft reference */
.tmc-home-wrap{max-width:1420px!important;padding:0 1.25rem 3rem!important}
.tmc-home-main{max-width:none!important}
.tmc-home-hero{min-height:440px!important;border:0!important;border-radius:0 0 22px 22px!important;box-shadow:none!important;background:#100b1a!important;overflow:hidden!important}
.tmc-home-hero .tmc-spotlight-media{inset:0!important}
.tmc-home-hero .tmc-spotlight-media img{object-position:center 48%!important;filter:saturate(.8)!important}
.tmc-home-hero .tmc-spotlight-media::after{background:linear-gradient(90deg,rgba(13,8,22,.42),rgba(13,8,22,.12) 48%,rgba(13,8,22,.42)),linear-gradient(0deg,rgba(12,8,18,.45),transparent 52%)!important}
.tmc-home-hero .tmc-spotlight-body{min-height:440px!important;max-width:1240px!important;padding:2rem 0!important;display:grid!important;grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr)!important;grid-template-areas:"status logo discord"!important;align-items:center!important;gap:2rem!important;text-align:left!important}
.tmc-home-hero .tmc-home-status{grid-area:status;justify-self:start;margin:0;padding:12px 16px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(22,14,32,.82);box-shadow:0 12px 35px rgba(0,0,0,.22);backdrop-filter:blur(12px);font-size:.82rem}
.tmc-home-hero .tmc-home-status button{border-color:rgba(255,255,255,.13);border-radius:8px;background:rgba(255,255,255,.06);color:#f2e9ff}
.tmc-home-hero .tmc-home-logo{grid-area:logo;width:clamp(150px,18vw,230px)!important;height:clamp(150px,18vw,230px)!important;margin:0!important;filter:drop-shadow(0 12px 36px rgba(120,55,220,.28))!important;animation:tmcLogoFloat 5s ease-in-out infinite alternate}
.tmc-home-title-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.tmc-home-discord{grid-area:discord;justify-self:end;display:flex;align-items:center;gap:12px;min-width:184px;padding:14px 16px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(22,14,32,.82);color:#fff!important;text-decoration:none!important;box-shadow:0 12px 35px rgba(0,0,0,.22);backdrop-filter:blur(12px);transition:transform .2s ease,border-color .2s ease}
.tmc-home-discord:hover{transform:translateY(-3px);border-color:rgba(158,108,255,.55)}
.tmc-home-discord-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#5865f2;color:#fff;font-size:1.2rem}
.tmc-home-discord strong,.tmc-home-discord small{display:block}.tmc-home-discord strong{font-size:.9rem;text-transform:uppercase;letter-spacing:.04em}.tmc-home-discord small{margin-top:3px;color:#aaa2b5;font-size:.72rem}.tmc-home-discord-arrow{margin-left:auto;color:#b596ff;font-size:1.05rem}
.tmc-home-join{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin:22px 0 16px;padding:25px 30px;border:1px solid rgba(160,104,255,.22);border-radius:15px;background:linear-gradient(110deg,rgba(113,61,224,.95),rgba(159,55,190,.92));box-shadow:0 14px 35px rgba(82,38,165,.2)}
.tmc-home-join-kicker{color:rgba(255,255,255,.72);font-size:.68rem;font-weight:800;letter-spacing:.14em}.tmc-home-join h2{margin:5px 0;color:#fff;font-size:clamp(1.2rem,2vw,1.75rem);font-weight:850;letter-spacing:-.03em}.tmc-home-join p{margin:0;color:rgba(255,255,255,.8);font-size:.86rem}
.tmc-home-join-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex:none;padding:12px 17px;border-radius:9px;background:#27d5df;color:#07121b!important;font-size:.83rem;font-weight:850;text-decoration:none!important;transition:transform .2s ease,filter .2s ease}.tmc-home-join-button:hover{transform:translateY(-2px);filter:brightness(1.08)}
.tmc-home-activity{margin-top:16px!important}.tmc-home-activity .tmc-rd-live-pill{display:none!important}
@keyframes tmcLogoFloat{from{transform:translateY(-4px)}to{transform:translateY(5px)}}
@media(max-width:760px){.tmc-home-wrap{padding:0 .85rem 2rem!important}.tmc-home-hero,.tmc-home-hero .tmc-spotlight-body{min-height:410px!important}.tmc-home-hero .tmc-spotlight-body{grid-template-columns:1fr 1fr!important;grid-template-areas:"logo logo" "status discord"!important;gap:1.1rem!important;padding:1.2rem!important}.tmc-home-hero .tmc-home-logo{width:150px!important;height:150px!important;justify-self:center;align-self:end}.tmc-home-hero .tmc-home-status{justify-self:stretch;flex-direction:column;align-items:flex-start;padding:11px;font-size:.72rem}.tmc-home-hero .tmc-home-status button{max-width:100%;gap:5px;padding:7px}.tmc-home-hero .tmc-home-status button code{font-size:.68rem}.tmc-home-discord{justify-self:stretch;min-width:0;padding:10px;gap:8px}.tmc-home-discord-icon{width:34px;height:34px}.tmc-home-discord-arrow{display:none}.tmc-home-join{align-items:flex-start;flex-direction:column;margin-top:14px;padding:20px}.tmc-home-join-button{width:100%}}
@media(prefers-reduced-motion:reduce){.tmc-home-hero .tmc-home-logo{animation:none!important}}
/* TaletMC home: centered brand banner, clear IP and Discord actions, real top-five ranking */
.tmc-home-wrap { width:min(calc(100% - 2rem), 1240px); max-width:1240px; padding:1.2rem 0 3rem; }
.tmc-home-grid, .tmc-home-main { display:block; width:100%; max-width:none; }
.tmc-home-hero { min-height:390px; border-color:rgba(185,154,255,.26); background:#100e19; box-shadow:0 24px 72px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.06); }
.tmc-home-hero .tmc-spotlight-media img { object-position:center 48%; filter:saturate(.86) brightness(.84); }
.tmc-home-hero .tmc-spotlight-media::after { background:linear-gradient(90deg,rgba(8,8,14,.83),rgba(8,8,14,.22) 43%,rgba(8,8,14,.67)),linear-gradient(0deg,rgba(8,8,14,.34),transparent 60%); }
.tmc-home-banner-content { position:relative; z-index:1; min-height:390px; padding:28px clamp(18px,4vw,48px); display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:clamp(14px,3vw,42px); }
.tmc-home-banner-ip, .tmc-home-banner-discord { min-width:0; display:flex; align-items:center; gap:10px; padding:13px 15px; border:1px solid rgba(255,255,255,.16); border-radius:14px; background:rgba(13,12,21,.68); backdrop-filter:blur(10px); box-shadow:0 12px 32px rgba(0,0,0,.18); }
.tmc-home-banner-ip { flex-direction:column; align-items:flex-start; justify-self:start; }
.tmc-home-banner-label, .tmc-home-brand-kicker { color:#d2b57c; font-size:.65rem; font-weight:800; letter-spacing:.16em; }
.tmc-home-banner-ip button { display:flex; align-items:center; gap:10px; max-width:100%; padding:0; border:0; background:none; color:#fff; cursor:pointer; }
.tmc-home-banner-ip code { font-size:clamp(.8rem,1.5vw,.95rem); font-weight:800; overflow-wrap:anywhere; }
.tmc-home-banner-ip button span { color:#c5b8eb; font-size:.74rem; }
.tmc-home-online { color:#aeb3c0; font-size:.73rem; }
.tmc-home-banner-brand { display:flex; flex-direction:column; align-items:center; text-align:center; }
.tmc-home-banner-brand .tmc-home-logo { width:clamp(88px,10vw,128px); height:clamp(88px,10vw,128px); margin:0 0 8px; filter:drop-shadow(0 8px 24px rgba(177,126,255,.34)); }
.tmc-home-banner-brand h1 { margin:4px 0 0; color:#fff; font-family:'Plus Jakarta Sans','Outfit',sans-serif; font-size:clamp(1.45rem,3vw,2rem); font-weight:900; letter-spacing:.01em; }
.tmc-home-banner-brand p { margin:4px 0 0; color:#c5c8d2; font-size:.82rem; }
.tmc-home-banner-discord { justify-self:end; color:#fff; transition:transform .2s ease,border-color .2s ease,background .2s ease; }
.tmc-home-banner-discord:hover { transform:translateY(-2px); border-color:rgba(132,111,255,.55); background:rgba(34,26,61,.84); }
.tmc-home-banner-discord > span:nth-child(2) { display:grid; gap:2px; }
.tmc-home-banner-discord strong { font-size:.9rem; }
.tmc-home-banner-discord small { color:#b5b3c3; font-size:.72rem; }
.tmc-home-discord-icon { display:grid; place-items:center; width:38px; height:38px; border-radius:11px; background:#5865f2; font-size:1.2rem; }
.tmc-home-activity { margin-top:18px!important; gap:15px; }
.tmc-home-activity .tmc-rd-card { border-color:rgba(169,156,202,.17); background:linear-gradient(150deg,#14131d,#101119); }
.tmc-home-activity .tmc-rd-title { font-size:1rem; }
.tmc-home-rank-list { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.tmc-home-rank-row { display:flex; align-items:center; gap:10px; min-width:0; min-height:72px; padding:10px 12px; border:1px solid rgba(255,255,255,.075); border-radius:12px; background:rgba(8,10,16,.56); transition:transform .2s ease,border-color .2s ease; }
.tmc-home-rank-row:hover { transform:translateY(-2px); border-color:rgba(193,162,255,.35); }
.tmc-home-rank-number { color:#b89aef; font-size:.78rem; font-weight:900; font-variant-numeric:tabular-nums; }
.tmc-home-rank-row--1 .tmc-home-rank-number { color:#f2ca72; }
.tmc-home-rank-skin { width:auto!important; height:46px!important; max-width:30px; object-fit:contain; flex:0 0 auto; }
.tmc-home-rank-info { display:grid; gap:3px; min-width:0; }
.tmc-home-rank-info strong { color:#f5f4f8; font-size:.8rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tmc-home-rank-info small { color:#a9a3b5; font-size:.7rem; white-space:nowrap; }
.tmc-home-activity .tmc-rd-live-pill { display:none!important; }
.tmc-sidebar-head > .tmc-badge { display:none!important; }
.tmc-side-policy { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:-6px; padding:0 2px 3px; color:#a7a0ba; font-size:.76rem; transition:color .18s ease; }
.tmc-side-policy:hover { color:#e6d4ff; }
@media (max-width:900px) { .tmc-home-rank-list { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:640px) {
 .tmc-home-wrap { width:100%; padding:.75rem .85rem 2rem; }
 .tmc-home-hero, .tmc-home-banner-content { min-height:390px; }
 .tmc-home-banner-content { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto auto; gap:14px; padding:22px 16px; }
 .tmc-home-banner-brand { grid-column:1/-1; grid-row:1; }
 .tmc-home-banner-ip, .tmc-home-banner-discord { width:100%; min-height:68px; padding:10px; }
 .tmc-home-banner-ip { align-items:center; text-align:center; }
 .tmc-home-banner-discord { justify-self:stretch; justify-content:center; }
 .tmc-home-activity .tmc-rd-card { padding:15px; }
 .tmc-home-rank-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 .tmc-home-rank-row { min-height:66px; padding:8px; gap:7px; }
}
@media (max-width:380px) { .tmc-home-banner-content { padding-inline:12px; } .tmc-home-banner-ip code { font-size:.72rem; } .tmc-home-banner-discord { gap:6px; } }
.tmc-home-rank-skeletons { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.tmc-home-rank-skeleton { height:72px; border-radius:12px; }
@media (max-width:900px) { .tmc-home-rank-skeletons { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:640px) { .tmc-home-rank-skeletons { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; } }/* Desktop home activity follows the requested sidebar layout: activity left, top-five skins right */
.tmc-home-activity { grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr); grid-template-areas:"activity ranking"; align-items:start; }
.tmc-home-activity .tmc-rd-podium-card { grid-area:ranking; }
.tmc-home-activity .tmc-rd-lists-grid { grid-area:activity; grid-template-columns:minmax(0,1fr); }
.tmc-home-rank-list { grid-template-columns:minmax(0,1fr); }
.tmc-home-rank-skeletons { grid-template-columns:minmax(0,1fr); }
@media (max-width:900px) {
 .tmc-home-activity { grid-template-columns:minmax(0,1fr); grid-template-areas:"ranking" "activity"; }
 .tmc-home-activity .tmc-rd-lists-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .tmc-home-rank-list, .tmc-home-rank-skeletons { grid-template-columns:repeat(5,minmax(0,1fr)); }
}
@media (max-width:640px) {
 .tmc-home-activity .tmc-rd-lists-grid { grid-template-columns:minmax(0,1fr); }
 .tmc-home-rank-list, .tmc-home-rank-skeletons { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.tmc-home-rank-row--empty { opacity:.42; }

/* Keep browser-saved credentials readable on dark forms. */
.tmc-input:-webkit-autofill,
.tmc-input:-webkit-autofill:hover,
.tmc-input:-webkit-autofill:focus,
#login input:-webkit-autofill,
#register input:-webkit-autofill {
  -webkit-text-fill-color: #f1f5f9 !important;
  caret-color: #f1f5f9 !important;
  -webkit-box-shadow: 0 0 0 1000px #0c0f1a inset !important;
  box-shadow: 0 0 0 1000px #0c0f1a inset !important;
  border-color: rgba(255,255,255,.14) !important;
  transition: background-color 99999s ease-out 0s !important;
}
/* Keep the Shopier secret field directly editable in the admin form. */
.tmc-shopier-secret-input { position:relative !important; z-index:5 !important; display:block !important; width:100% !important; min-height:46px !important; pointer-events:auto !important; user-select:text !important; -webkit-user-select:text !important; }
.tmc-shopier-secret-input:focus { outline:2px solid rgba(245,158,11,.32) !important; outline-offset:1px; }

/* Finished, full-width home hero: warm light, depth, and restrained motion. */
body#page-index .tmc-home-wrap {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:clamp(10px,1.5vw,22px) clamp(12px,2.2vw,32px) 3rem !important;
  box-sizing:border-box !important;
}
body#page-index .tmc-home-grid,
body#page-index .tmc-home-main { width:100% !important; max-width:none !important; }
body#page-index .tmc-home-hero {
  min-height:clamp(440px,42vw,540px) !important;
  border:1px solid rgba(222,190,125,.32) !important;
  border-radius:22px !important;
  background:#100d17 !important;
  box-shadow:0 30px 90px rgba(0,0,0,.5),0 0 55px rgba(130,79,203,.12),inset 0 1px rgba(255,255,255,.12) !important;
  isolation:isolate;
}
body#page-index .tmc-home-hero .tmc-spotlight-media { overflow:hidden; }
body#page-index .tmc-home-hero .tmc-spotlight-media img {
  object-position:center 49% !important;
  filter:saturate(.98) brightness(.88) contrast(1.04) !important;
  transform:scale(1.035);
  animation:tmcBannerPan 30s ease-in-out infinite alternate;
}
body#page-index .tmc-home-hero .tmc-spotlight-media::after {
  background:
    radial-gradient(ellipse at 50% 48%,rgba(15,11,24,.04) 0%,rgba(15,11,24,.12) 35%,rgba(8,7,13,.56) 100%),
    linear-gradient(90deg,rgba(8,7,13,.66),rgba(8,7,13,.12) 36%,rgba(8,7,13,.12) 64%,rgba(8,7,13,.66)),
    linear-gradient(0deg,rgba(8,7,13,.48),transparent 44%,rgba(8,7,13,.1)) !important;
}
body#page-index .tmc-home-hero::after {
  content:"";
  position:absolute;
  z-index:0;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(112deg,transparent 30%,rgba(255,228,176,.055) 47%,transparent 63%);
  background-size:220% 100%;
  animation:tmcBannerSheen 12s ease-in-out infinite;
}
body#page-index .tmc-home-banner-content {
  min-height:clamp(440px,42vw,540px) !important;
  padding:clamp(26px,4vw,54px) clamp(20px,5vw,72px) !important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
  gap:clamp(18px,4vw,64px) !important;
}
body#page-index .tmc-home-banner-brand { position:relative; z-index:1; }
body#page-index .tmc-home-banner-brand .tmc-home-logo {
  width:clamp(126px,14vw,176px) !important;
  height:clamp(126px,14vw,176px) !important;
  margin:0 0 12px !important;
  filter:drop-shadow(0 10px 24px rgba(0,0,0,.56)) drop-shadow(0 0 26px rgba(250,174,64,.28)) !important;
  animation:tmcBannerLogo 5.2s ease-in-out infinite;
}
body#page-index .tmc-home-banner-brand h1 {
  margin-top:6px !important;
  font-size:clamp(2rem,4vw,3.1rem) !important;
  line-height:1.05;
  letter-spacing:-.035em;
  text-shadow:0 4px 24px rgba(0,0,0,.48);
}
body#page-index .tmc-home-brand-kicker { text-shadow:0 2px 10px rgba(0,0,0,.8); }
body#page-index .tmc-home-banner-brand p { margin-top:9px !important; font-size:clamp(.88rem,1.2vw,1rem) !important; }
body#page-index .tmc-home-banner-ip,
body#page-index .tmc-home-banner-discord {
  position:relative;
  z-index:2;
  padding:16px 18px !important;
  border-color:rgba(255,255,255,.2) !important;
  border-radius:16px !important;
  background:linear-gradient(145deg,rgba(23,20,31,.84),rgba(11,10,16,.76)) !important;
  box-shadow:0 14px 36px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.09) !important;
  backdrop-filter:blur(14px) saturate(1.15);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease,background .25s ease;
  animation:tmcBannerCardIn .7s cubic-bezier(.2,.7,.2,1) both;
}
body#page-index .tmc-home-banner-ip:hover,
body#page-index .tmc-home-banner-discord:hover {
  transform:translateY(-4px);
  border-color:rgba(243,190,91,.62) !important;
  box-shadow:0 20px 44px rgba(0,0,0,.38),0 0 24px rgba(188,133,255,.16),inset 0 1px rgba(255,255,255,.12) !important;
}
body#page-index .tmc-home-banner-ip button { gap:12px !important; }
body#page-index .tmc-home-banner-ip button span { color:#dfc8a0 !important; transition:color .2s ease; }
body#page-index .tmc-home-banner-ip button:hover span { color:#fff !important; }
body#page-index .tmc-home-banner-ip code { letter-spacing:.015em; }
body#page-index .tmc-home-banner-discord { animation-delay:.12s; }
body#page-index .tmc-home-banner-discord > span:first-child {
  box-shadow:0 0 0 0 rgba(99,111,255,.38);
  animation:tmcDiscordGlow 3s ease-out infinite;
}
body#page-index .tmc-home-banner-ip:focus-within,
body#page-index .tmc-home-banner-discord:focus-visible {
  outline:2px solid #d9c1ff;
  outline-offset:4px;
}
@keyframes tmcBannerPan { from{transform:scale(1.035) translate3d(-.35%,0,0)} to{transform:scale(1.085) translate3d(.35%,-.25%,0)} }
@keyframes tmcBannerSheen { 0%,30%{background-position:120% 0} 72%,100%{background-position:-120% 0} }
@keyframes tmcBannerLogo { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-8px) rotate(1deg)} }
@keyframes tmcBannerCardIn { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
@keyframes tmcDiscordGlow { 0%{box-shadow:0 0 0 0 rgba(99,111,255,.38)} 65%,100%{box-shadow:0 0 0 11px rgba(99,111,255,0)} }
@media (max-width:760px) {
  body#page-index .tmc-home-wrap { padding:8px 12px 2rem !important; }
  body#page-index .tmc-home-hero,
  body#page-index .tmc-home-banner-content { min-height:430px !important; }
  body#page-index .tmc-home-hero { border-radius:18px !important; }
  body#page-index .tmc-home-banner-content { gap:12px !important; padding:24px 16px !important; }
  body#page-index .tmc-home-banner-brand .tmc-home-logo { width:clamp(112px,24vw,148px) !important; height:clamp(112px,24vw,148px) !important; }
  body#page-index .tmc-home-banner-brand h1 { font-size:clamp(1.9rem,7vw,2.5rem) !important; }
  body#page-index .tmc-home-banner-ip,
  body#page-index .tmc-home-banner-discord { padding:12px 10px !important; border-radius:13px !important; }
}
@media (max-width:380px) {
  body#page-index .tmc-home-banner-content { grid-template-columns:minmax(0,1fr) !important; grid-template-rows:auto auto auto !important; }
  body#page-index .tmc-home-banner-brand { grid-column:1 !important; }
  body#page-index .tmc-home-banner-ip,
  body#page-index .tmc-home-banner-discord { justify-self:center !important; width:min(100%,240px) !important; }
}
@media (prefers-reduced-motion:reduce) {
  body#page-index .tmc-home-hero .tmc-spotlight-media img,
  body#page-index .tmc-home-hero::after,
  body#page-index .tmc-home-banner-brand .tmc-home-logo,
  body#page-index .tmc-home-banner-ip,
  body#page-index .tmc-home-banner-discord,
  body#page-index .tmc-home-banner-discord > span:first-child { animation:none !important; }
  body#page-index .tmc-home-banner-ip,
  body#page-index .tmc-home-banner-discord { transition:none !important; }
}
/* TaletMC homepage redesign, keeping the shared NamelessMC navigation and footer. */
:root { --tmc-home-bg:#090b12; --tmc-home-panel:#11131c; --tmc-home-gold:#e8c36f; --tmc-home-purple:#7652b7; --tmc-home-muted:#a8afbd; --tmc-home-border:rgba(255,255,255,.09); }
body#page-index #content, body#page-index .pusher, body#page-index #wrapper { background:#090b12; }
body#page-index .tmc-home-wrap { width:min(100% - 32px,1380px)!important;max-width:1380px!important;margin:0 auto!important;padding:22px 0 76px!important; }
body#page-index .tmc-home-grid,body#page-index .tmc-home-main { display:block!important;width:100%!important;max-width:none!important; }
body#page-index .tmc-home-hero { position:relative;min-height:590px!important;overflow:hidden;border:1px solid rgba(232,184,90,.25);border-radius:26px;background:#080a12;box-shadow:0 34px 100px rgba(0,0,0,.48),0 0 70px rgba(105,67,157,.1);isolation:isolate; }
body#page-index .tmc-home-hero .tmc-spotlight-media,body#page-index .tmc-home-hero .tmc-spotlight-media img { position:absolute;inset:0;width:100%;height:100%;min-height:100%;object-fit:cover;object-position:center 52%; }
body#page-index .tmc-home-hero .tmc-spotlight-media img { filter:brightness(.84) saturate(.9);transform:scale(1.025);animation:tmcNewHeroDrift 32s ease-in-out infinite alternate; }
body#page-index .tmc-home-hero-shade { position:absolute;z-index:0;inset:0;background:radial-gradient(ellipse at 50% 35%,rgba(9,11,18,.08),rgba(9,11,18,.7) 76%),linear-gradient(0deg,#090b12 0%,rgba(9,11,18,.66) 15%,transparent 54%),linear-gradient(90deg,rgba(9,11,18,.3),transparent 30%,transparent 70%,rgba(9,11,18,.3));pointer-events:none; }
body#page-index .tmc-home-hero::after { content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(115deg,transparent 32%,rgba(255,220,154,.075) 48%,transparent 63%);background-size:220% 100%;pointer-events:none;animation:tmcNewHeroSheen 14s ease-in-out infinite; }
.tmc-home-hero-inner { position:relative;z-index:2;min-height:590px;padding:52px 20px 42px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center; }
.tmc-home-hero-inner::before { content:"";position:absolute;z-index:-1;top:13%;left:50%;width:min(60vw,620px);height:64%;transform:translateX(-50%);border-radius:50%;background:rgba(17,19,34,.42);filter:blur(54px); }
.tmc-home-hero-inner .tmc-home-logo { width:clamp(116px,14vw,166px);height:auto;aspect-ratio:1;object-fit:contain;margin:0 0 14px;filter:drop-shadow(0 10px 30px rgba(0,0,0,.55)) drop-shadow(0 0 24px rgba(255,165,38,.3));animation:tmcNewLogoFloat 5.8s ease-in-out infinite; }
.tmc-home-brand-kicker,.tmc-home-eyebrow { color:#dbb967;font-size:.7rem;font-weight:850;letter-spacing:.18em;text-transform:uppercase; }
.tmc-home-hero-inner h1 { margin:7px 0 0;color:#fff;font-family:'Plus Jakarta Sans','Outfit',sans-serif;font-size:clamp(3rem,8vw,5.8rem);font-weight:900;line-height:1;letter-spacing:-.065em;text-shadow:0 5px 30px rgba(0,0,0,.56); }
.tmc-home-hero-inner>p { margin:13px 0 0;color:#e0deea;font-size:clamp(1rem,1.8vw,1.22rem); }
.tmc-home-hero-actions { display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:26px; }
.tmc-home-btn { min-height:50px;padding:0 22px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:13px;font-size:.92rem;font-weight:850;text-decoration:none!important;cursor:pointer;transition:transform .2s ease,filter .2s ease,box-shadow .2s ease,border-color .2s ease; }
.tmc-home-btn:hover { transform:translateY(-3px);filter:brightness(1.07); }
.tmc-home-btn-primary { color:#211707!important;background:linear-gradient(135deg,#f3c968,#d99b35);box-shadow:0 9px 28px rgba(212,157,57,.22); }
.tmc-home-btn-secondary { color:#fff!important;border-color:rgba(255,255,255,.2);background:rgba(14,15,25,.72);backdrop-filter:blur(10px); }
.tmc-home-hero-discord { display:inline-flex;align-items:center;gap:5px;padding:12px;color:#d0c9da!important;font-size:.82rem;text-decoration:none!important; }
.tmc-home-hero-discord:hover { color:#fff!important; }
.tmc-home-live-stats { display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:21px; }
.tmc-home-live-stat { display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid rgba(255,255,255,.1);border-radius:999px;color:#e0dce8!important;background:rgba(8,9,15,.55);font-size:.76rem;text-decoration:none!important;backdrop-filter:blur(8px); }
.tmc-home-live-stat[hidden] { display:none!important; }.tmc-home-live-stat i,.tmc-home-live-dot { display:inline-block;width:7px;height:7px;border-radius:50%;background:#62d39b;box-shadow:0 0 12px rgba(98,211,155,.7); }
.tmc-home-serverbar { display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:18px;margin:22px 0 72px;padding:20px 24px;border:1px solid rgba(234,190,103,.17);border-radius:18px;background:linear-gradient(112deg,rgba(27,25,35,.96),rgba(15,17,25,.94));box-shadow:0 18px 54px rgba(0,0,0,.22); }
.tmc-home-serverbar-icon { display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:rgba(224,173,83,.13);color:#f0c467;font-size:1.35rem; }
.tmc-home-serverbar-main h2 { margin:3px 0 2px;color:#fff;font-size:1.2rem; }.tmc-home-serverbar-main p { margin:0;color:#9ca3b3;font-size:.82rem; }
.tmc-home-ip-copy { display:inline-flex;align-items:center;gap:12px;min-height:48px;padding:0 15px;border:1px solid rgba(241,195,106,.32);border-radius:12px;color:#f8f4ea;background:#0b0d14;cursor:pointer;transition:.2s; }
.tmc-home-ip-copy:hover { border-color:#edc56d;box-shadow:0 0 22px rgba(227,177,88,.12); }.tmc-home-ip-copy code { color:#f4d590;font-size:.92rem;font-weight:800; }.tmc-home-ip-copy span { color:#a99a78;font-size:.76rem; }
.tmc-home-version { display:flex;align-items:center;gap:8px;color:#aeb4c2;font-size:.76rem;white-space:nowrap; }
.tmc-home-section { margin:72px 0; }.tmc-home-section-heading { max-width:720px;margin-bottom:24px; }.tmc-home-section-heading h2 { margin:8px 0 9px;color:#fff;font-family:'Plus Jakarta Sans','Outfit',sans-serif;font-size:clamp(1.8rem,4vw,2.7rem);font-weight:850;letter-spacing:-.04em; }.tmc-home-section-heading>p { margin:0;color:#a8afbd;font-size:.98rem;line-height:1.7; }.tmc-home-section-heading-row { max-width:none;display:flex;align-items:flex-end;justify-content:space-between;gap:18px; }
.tmc-home-feature-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px; }.tmc-home-feature-card { min-height:176px;padding:22px;border:1px solid rgba(255,255,255,.085);border-radius:17px;background:linear-gradient(145deg,#151722,#10121a);transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease; }.tmc-home-feature-card:hover { transform:translateY(-4px);border-color:rgba(227,177,88,.36);box-shadow:0 16px 36px rgba(0,0,0,.24); }.tmc-home-feature-icon { display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:#eac269;background:rgba(227,177,88,.1);font-size:1.2rem; }.tmc-home-feature-card h3,.tmc-home-step-grid h3 { margin:14px 0 6px;color:#f4f4f7;font-size:1rem;font-weight:800; }.tmc-home-feature-card p,.tmc-home-step-grid p { margin:0;color:#9ba2b0;font-size:.85rem;line-height:1.65; }
.tmc-home-steps { margin:78px 0;padding:34px;border:1px solid rgba(255,255,255,.075);border-radius:22px;background:radial-gradient(ellipse at 0 0,rgba(129,86,184,.12),transparent 48%),#10121a; }.tmc-home-step-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none; }.tmc-home-step-grid li { display:flex;gap:15px;padding:19px 16px;border:1px solid rgba(255,255,255,.075);border-radius:15px;background:rgba(8,10,16,.55); }.tmc-home-step-num { color:#d9ad5b;font-size:1.4rem;font-weight:900;letter-spacing:-.06em; }.tmc-home-step-grid h3 { margin:0 0 6px; }
.tmc-home-featured { margin:76px 0; }.tmc-home-text-link { color:#e8c36f!important;font-weight:800;text-decoration:none!important;white-space:nowrap; }.tmc-home-store-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px; }.tmc-home-product-card { position:relative;min-width:0;min-height:238px;padding:20px;display:flex;flex-direction:column;align-items:flex-start;border:1px solid rgba(255,255,255,.085);border-radius:18px;background:linear-gradient(145deg,#171823,#10121a);overflow:hidden;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease; }.tmc-home-product-card:hover { transform:translateY(-5px);border-color:rgba(230,185,93,.38);box-shadow:0 20px 44px rgba(0,0,0,.3); }.tmc-home-product-image { width:88px;height:88px;object-fit:contain;margin:0 auto 9px;filter:drop-shadow(0 12px 15px rgba(0,0,0,.35)); }.tmc-home-product-label { position:absolute;top:13px;left:13px;padding:5px 8px;border:1px solid rgba(230,185,93,.2);border-radius:999px;color:#e8c36f;background:rgba(230,185,93,.1);font-size:.61rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase; }.tmc-home-product-card h3 { margin:6px 0 8px;color:#fff;font-size:1rem;font-weight:800; }.tmc-home-product-price { color:#e9c16a;font-size:.85rem; }.tmc-home-product-link { margin-top:auto;padding-top:16px;color:#bfb4d1!important;font-size:.78rem;font-weight:750;text-decoration:none!important; }.tmc-home-products-loading,.tmc-home-products-empty { grid-column:1/-1;padding:26px;border:1px dashed rgba(255,255,255,.13);border-radius:16px;color:#aeb4c2;text-align:center; }.tmc-home-products-empty { display:flex;align-items:center;justify-content:center;gap:13px;flex-wrap:wrap; }.tmc-home-products-empty a { color:#ecc86f!important;font-weight:800; }
.tmc-home-activity { margin:76px 0!important; }.tmc-home-rank-row--empty { opacity:.34; }
.tmc-home-gallery { margin:78px 0; }.tmc-home-gallery-grid { display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:14px; }.tmc-home-gallery-card { position:relative;min-width:0;margin:0;aspect-ratio:16/9;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:#10121a; }.tmc-home-gallery-card:first-child { grid-row:span 1; }.tmc-home-gallery-card img { width:100%;height:100%;display:block;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1),filter .4s;filter:saturate(.9) brightness(.8); }.tmc-home-gallery-card:hover img { transform:scale(1.055);filter:saturate(1.05) brightness(.96); }.tmc-home-gallery-card figcaption { position:absolute;inset:auto 0 0;padding:34px 16px 15px;display:grid;gap:3px;background:linear-gradient(0deg,rgba(7,8,13,.92),transparent); }.tmc-home-gallery-card figcaption span { color:#fff;font-size:.95rem;font-weight:800; }.tmc-home-gallery-card figcaption small { color:#c1bdc9;font-size:.73rem; }
.tmc-home-faq { max-width:900px;margin:80px auto; }.tmc-home-faq-list { display:grid;gap:10px; }.tmc-home-faq-list details { border:1px solid rgba(255,255,255,.09);border-radius:14px;background:#11131c;overflow:hidden; }.tmc-home-faq-list summary { min-height:58px;padding:17px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#f1f2f5;font-size:.91rem;font-weight:750;cursor:pointer;list-style:none; }.tmc-home-faq-list summary::-webkit-details-marker { display:none; }.tmc-home-faq-list summary::after { content:"+";color:#e6bd66;font-size:1.25rem; }.tmc-home-faq-list details[open] summary::after { content:"−"; }.tmc-home-faq-list details p { margin:0;padding:0 20px 19px;color:#aeb4c0;font-size:.86rem;line-height:1.75; }.tmc-home-faq-list a { color:#e8c36f!important; }
.tmc-home-trust { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:74px 0 8px;padding:18px;border:1px solid rgba(223,182,100,.14);border-radius:19px;background:linear-gradient(110deg,rgba(28,27,37,.9),rgba(15,17,24,.95)); }.tmc-home-trust>a { min-height:76px;padding:10px;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:9px;align-content:center;text-decoration:none!important; }.tmc-home-trust>a>span { grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:rgba(225,181,94,.1);color:#e8c36f; }.tmc-home-trust strong { color:#ededf1;font-size:.78rem; }.tmc-home-trust small { margin-top:3px;color:#949baa;font-size:.69rem; }
.tmc-reveal-ready .tmc-reveal { opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1); }.tmc-reveal-ready .tmc-reveal.is-visible { opacity:1;transform:translateY(0); }
body#page-index .tmc-home-wrap a:focus-visible,body#page-index .tmc-home-wrap button:focus-visible,body#page-index .tmc-home-faq summary:focus-visible { outline:2px solid #f2ce77!important;outline-offset:4px!important; }
@keyframes tmcNewHeroDrift { from{transform:scale(1.025) translate3d(-.3%,0,0)}to{transform:scale(1.075) translate3d(.3%,-.25%,0)} }
@keyframes tmcNewHeroSheen { 0%,28%{background-position:120% 0}70%,100%{background-position:-120% 0} }
@keyframes tmcNewLogoFloat { 0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-8px) rotate(1deg)} }
@media(max-width:900px) { body#page-index .tmc-home-hero,.tmc-home-hero-inner{min-height:540px!important}.tmc-home-serverbar{grid-template-columns:auto minmax(0,1fr) auto}.tmc-home-version{grid-column:2/-1}.tmc-home-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-home-trust{grid-template-columns:repeat(2,minmax(0,1fr))}.tmc-home-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media(max-width:640px) { body#page-index .tmc-home-wrap{width:calc(100% - 24px)!important;padding:12px 0 52px!important}.tmc-home-hero,.tmc-home-hero-inner{min-height:540px!important}.tmc-home-hero{border-radius:20px}.tmc-home-hero-inner{padding:34px 17px}.tmc-home-hero-inner .tmc-home-logo{width:126px}.tmc-home-hero-inner h1{font-size:clamp(3rem,16vw,4.3rem)}.tmc-home-hero-actions{gap:9px;margin-top:21px}.tmc-home-btn{min-height:48px;padding-inline:16px;font-size:.83rem}.tmc-home-hero-discord{flex-basis:100%;justify-content:center}.tmc-home-serverbar{grid-template-columns:auto 1fr;gap:12px;margin-bottom:54px;padding:17px}.tmc-home-serverbar-main h2{font-size:1rem}.tmc-home-serverbar-main p{font-size:.74rem}.tmc-home-ip-copy{grid-column:1/-1;justify-content:space-between;width:100%}.tmc-home-version{grid-column:1/-1;justify-self:center}.tmc-home-section,.tmc-home-steps,.tmc-home-featured,.tmc-home-gallery,.tmc-home-faq,.tmc-home-trust,.tmc-home-activity{margin-top:54px!important;margin-bottom:54px!important}.tmc-home-feature-grid{grid-template-columns:1fr 1fr;gap:9px}.tmc-home-feature-card{min-height:166px;padding:15px}.tmc-home-feature-card h3{font-size:.88rem}.tmc-home-feature-card p{font-size:.76rem}.tmc-home-steps{padding:22px 15px}.tmc-home-step-grid{grid-template-columns:1fr;gap:9px}.tmc-home-step-grid li{padding:15px}.tmc-home-section-heading-row{align-items:flex-start;flex-direction:column}.tmc-home-store-grid{gap:9px}.tmc-home-product-card{min-height:210px;padding:14px}.tmc-home-product-image{width:70px;height:70px}.tmc-home-product-card h3{font-size:.88rem}.tmc-home-gallery-grid{grid-template-columns:1fr 1fr;gap:9px}.tmc-home-gallery-card:first-child{grid-column:1/-1}.tmc-home-gallery-card{border-radius:14px}.tmc-home-gallery-card figcaption{padding:29px 11px 11px}.tmc-home-gallery-card figcaption span{font-size:.8rem}.tmc-home-gallery-card figcaption small{font-size:.66rem}.tmc-home-trust{grid-template-columns:1fr 1fr;padding:11px;gap:5px}.tmc-home-trust>a{padding:8px 4px}.tmc-home-trust strong{font-size:.7rem}.tmc-home-activity .tmc-rd-card{padding:15px} }
@media(max-width:380px){.tmc-home-feature-grid,.tmc-home-store-grid,.tmc-home-trust{grid-template-columns:1fr}.tmc-home-gallery-grid{grid-template-columns:1fr}.tmc-home-gallery-card:first-child{grid-column:auto}.tmc-home-hero-actions .tmc-home-btn{padding-inline:12px;font-size:.76rem}.tmc-home-serverbar{padding:14px}.tmc-home-faq-list summary{padding:14px;font-size:.83rem}}
@media(prefers-reduced-motion:reduce){.tmc-home-hero-inner .tmc-home-logo,.tmc-home-hero::after,.tmc-home-hero .tmc-spotlight-media img{animation:none!important}.tmc-reveal-ready .tmc-reveal{opacity:1;transform:none;transition:none}.tmc-home-feature-card,.tmc-home-product-card,.tmc-home-gallery-card img,.tmc-home-btn{transition:none!important}}
/* The homepage intentionally stays focused on the hero and the real top-five ranking. */
body#page-index .tmc-home-activity { display:block!important; width:100%; max-width:1080px; margin:22px auto 0!important; }
body#page-index .tmc-rd-podium-card { width:100%; }
@media(max-width:640px) { body#page-index .tmc-home-activity { margin-top:14px!important; } }

/* Reference-inspired TaletMC hero: server action left, wolf brand centered, Discord right. */
body#page-index .tmc-home-wrap { width:100%!important;max-width:none!important;margin:0!important;padding:0 0 64px!important; }
body#page-index .tmc-home-grid,body#page-index .tmc-home-main { width:100%!important;max-width:none!important; }
body#page-index .tmc-home-hero { min-height:510px!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:0 26px 76px rgba(0,0,0,.34);background:#100d1b; }
body#page-index .tmc-home-hero .tmc-spotlight-media img { filter:brightness(.78) saturate(1.12) hue-rotate(3deg)!important;object-position:center 54%!important;transform:scale(1.02);animation:tmcRefHeroDrift 32s ease-in-out infinite alternate; }
body#page-index .tmc-home-hero .tmc-spotlight-media::after { background:linear-gradient(90deg,rgba(18,10,33,.52),rgba(24,12,43,.08) 35%,rgba(24,12,43,.08) 65%,rgba(18,10,33,.48)),linear-gradient(180deg,rgba(21,10,39,.2),rgba(12,8,22,.34) 72%,rgba(9,11,18,.86))!important; }
body#page-index .tmc-home-hero-shade { position:absolute;z-index:0;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 47%,rgba(157,87,235,.18),transparent 38%),linear-gradient(0deg,rgba(9,11,18,.42),transparent 30%); }
body#page-index .tmc-home-hero::after { z-index:1;opacity:.65;animation-duration:18s; }
body#page-index .tmc-home-hero-inner { width:min(100%,1480px);min-height:510px;margin:0 auto;padding:40px clamp(24px,5.5vw,96px)!important;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,1.2fr) minmax(0,1fr);grid-template-rows:1fr;align-items:center;gap:clamp(18px,4vw,72px);text-align:center; }
body#page-index .tmc-home-hero-inner::before { top:17%;width:min(44vw,520px);height:60%;background:rgba(112,65,166,.28);filter:blur(68px); }
body#page-index .tmc-home-hero-brand { grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:center;justify-self:center; }
body#page-index .tmc-home-hero-brand .tmc-home-logo { width:clamp(176px,19vw,250px);height:auto;aspect-ratio:1;object-fit:contain;margin:0 0 8px;filter:drop-shadow(0 12px 30px rgba(0,0,0,.58)) drop-shadow(0 0 26px rgba(170,95,255,.4));animation:tmcRefLogoFloat 6s ease-in-out infinite; }
body#page-index .tmc-home-hero-brand .tmc-home-brand-kicker { color:#e3c27a;text-shadow:0 2px 12px rgba(0,0,0,.75); }
body#page-index .tmc-home-hero-brand h1 { margin:5px 0 0;color:#fff;font-family:'Plus Jakarta Sans','Outfit',sans-serif;font-size:clamp(2.05rem,4.3vw,3.15rem);font-weight:900;line-height:1.05;letter-spacing:-.04em;text-shadow:0 4px 22px rgba(0,0,0,.55); }
body#page-index .tmc-home-hero-brand p { margin:8px 0 0;color:#e1dce9;font-size:clamp(.84rem,1.2vw,1rem); }
body#page-index .tmc-home-hero-server,body#page-index .tmc-home-hero-discord { min-width:0;min-height:74px;padding:12px 16px;display:flex;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.14);border-radius:15px;background:rgba(17,14,26,.78);box-shadow:0 16px 42px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.07);backdrop-filter:blur(12px);color:#fff;text-align:left;text-decoration:none!important;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease;animation:tmcRefCardIn .65s cubic-bezier(.2,.7,.2,1) both; }
body#page-index .tmc-home-hero-server { grid-column:1;grid-row:1;justify-self:start;cursor:pointer;font:inherit; }
body#page-index .tmc-home-hero-server:hover,body#page-index .tmc-home-hero-discord:hover { transform:translateY(-3px);border-color:rgba(175,133,255,.58);background:rgba(27,19,44,.9);box-shadow:0 20px 48px rgba(0,0,0,.34),0 0 24px rgba(135,85,207,.17); }
body#page-index .tmc-home-hero-server:focus-visible,body#page-index .tmc-home-hero-discord:focus-visible { outline:2px solid #ddc2ff;outline-offset:4px; }
body#page-index .tmc-home-hero-server-icon,body#page-index .tmc-home-discord-icon { flex:none;width:44px;height:44px;display:grid;place-items:center;border-radius:12px;color:#fff;background:linear-gradient(145deg,#8e63ee,#6945d1);font-size:1.25rem;box-shadow:0 6px 18px rgba(98,67,196,.28); }
body#page-index .tmc-home-hero-server-copy,body#page-index .tmc-home-hero-discord-copy { min-width:0;display:grid;gap:3px; }
body#page-index .tmc-home-hero-server-copy small,body#page-index .tmc-home-hero-discord-copy strong { color:#fff;font-size:.84rem;font-weight:900;letter-spacing:.025em; }
body#page-index .tmc-home-hero-server-copy strong { color:#c9c1d6;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.74rem;font-weight:700;white-space:nowrap; }
body#page-index .tmc-home-hero-player:not([hidden]) { padding:5px 8px;border-radius:999px;color:#fff;background:#8056d8;font-size:.68rem;font-weight:850;white-space:nowrap; }
body#page-index .tmc-home-hero-player[hidden] { display:none!important; }
body#page-index .tmc-home-hero-discord { grid-column:3;grid-row:1;justify-self:end;animation-delay:.12s; }
body#page-index .tmc-home-hero-discord-copy small { color:#b9b2c5;font-size:.7rem; }
body#page-index .tmc-home-hero-discord-arrow { margin-left:auto;color:#c8b2ef;font-size:1rem; }
body#page-index .tmc-home-activity { width:min(calc(100% - 36px),1200px);max-width:1200px;margin:20px auto 0!important; }
body#page-index .tmc-rd-podium-card { border-color:rgba(161,123,231,.24); }
@keyframes tmcRefHeroDrift { from{transform:scale(1.02) translate3d(-.25%,0,0)}to{transform:scale(1.065) translate3d(.25%,-.2%,0)} }
@keyframes tmcRefLogoFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)} }
@keyframes tmcRefCardIn { from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)} }
@media(max-width:760px) {
  body#page-index .tmc-home-hero,body#page-index .tmc-home-hero-inner { min-height:590px!important; }
  body#page-index .tmc-home-hero-inner { grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr auto;gap:16px;padding:34px 18px 40px!important; }
  body#page-index .tmc-home-hero-brand { grid-column:1/-1;grid-row:1;align-self:end; }
  body#page-index .tmc-home-hero-brand .tmc-home-logo { width:clamp(152px,29vw,205px); }
  body#page-index .tmc-home-hero-server { grid-column:1;grid-row:2;justify-self:stretch;padding:10px;gap:8px; }
  body#page-index .tmc-home-hero-discord { grid-column:2;grid-row:2;justify-self:stretch;padding:10px;gap:8px; }
  body#page-index .tmc-home-hero-server-icon,body#page-index .tmc-home-discord-icon { width:38px;height:38px; }
}
@media(max-width:430px) {
  body#page-index .tmc-home-hero,body#page-index .tmc-home-hero-inner { min-height:640px!important; }
  body#page-index .tmc-home-hero-inner { grid-template-columns:minmax(0,1fr);grid-template-rows:1fr auto auto;gap:11px;padding:30px 18px 34px!important; }
  body#page-index .tmc-home-hero-brand { grid-column:1;grid-row:1; }
  body#page-index .tmc-home-hero-server,body#page-index .tmc-home-hero-discord { grid-column:1;justify-self:center;width:min(100%,280px);min-height:64px;padding:9px 13px; }
  body#page-index .tmc-home-hero-server { grid-row:2; }
  body#page-index .tmc-home-hero-discord { grid-row:3; }
}
@media(prefers-reduced-motion:reduce) { body#page-index .tmc-home-hero .tmc-spotlight-media img,body#page-index .tmc-home-hero-brand .tmc-home-logo,body#page-index .tmc-home-hero::after,body#page-index .tmc-home-hero-server,body#page-index .tmc-home-hero-discord { animation:none!important;transition:none!important; } }

/* TaletMC amber identity and homepage live activity cards */
body#page-index .tmc-home-hero { background:#100d17!important; }
body#page-index .tmc-home-hero .tmc-spotlight-media img { filter:brightness(.72) saturate(.92)!important; }
body#page-index .tmc-home-hero .tmc-spotlight-media::after { background:linear-gradient(90deg,rgba(10,9,16,.48),rgba(10,9,16,.04) 35%,rgba(10,9,16,.04) 65%,rgba(10,9,16,.48)),linear-gradient(180deg,rgba(12,9,20,.12),rgba(9,9,15,.26) 72%,rgba(9,11,18,.86))!important; }
body#page-index .tmc-home-hero-shade { background:radial-gradient(ellipse at 50% 47%,rgba(245,153,45,.12),transparent 38%),linear-gradient(0deg,rgba(9,11,18,.42),transparent 30%); }
body#page-index .tmc-home-hero-inner::before { background:rgba(208,117,31,.2); }
body#page-index .tmc-home-hero-brand .tmc-home-logo { filter:drop-shadow(0 12px 30px rgba(0,0,0,.58)) drop-shadow(0 0 24px rgba(244,157,58,.3)); }
body#page-index .tmc-home-hero-brand .tmc-home-brand-kicker { color:#f2b457; }
body#page-index .tmc-home-hero-server-icon { color:#281505;background:linear-gradient(145deg,#ffc15b,#e67c21);box-shadow:0 6px 18px rgba(224,128,35,.3); }
body#page-index .tmc-home-hero-server-copy small { color:#ffd080; }
body#page-index .tmc-home-hero-player:not([hidden]) { background:#bd681d;color:#fff; }
body#page-index .tmc-home-hero-server:hover { border-color:rgba(255,181,83,.65);background:rgba(39,24,11,.94);box-shadow:0 20px 48px rgba(0,0,0,.34),0 0 24px rgba(217,127,40,.2); }
body#page-index .tmc-home-hero-server:focus-visible { outline-color:#ffc15b; }
body#page-index .tmc-home-activity { display:grid!important;grid-template-columns:minmax(0,1fr);gap:16px;width:min(calc(100% - 36px),1040px);max-width:1040px;margin:24px auto 0!important; }
body#page-index .tmc-home-activity .tmc-rd-card { width:100%;border-color:rgba(228,157,65,.23);background:linear-gradient(145deg,#151719,#101217); }
body#page-index .tmc-home-activity .tmc-rd-bar { background:linear-gradient(180deg,#ffc15b,#db7926); }
body#page-index .tmc-home-activity .tmc-rd-title { color:#f7f4ee; }
body#page-index .tmc-home-activity .tmc-rd-cta,body#page-index .tmc-home-activity .tmc-rd-link { color:#ffc15b; }
body#page-index .tmc-home-activity .tmc-home-rank-number { color:#efaa48; }
body#page-index .tmc-home-activity .tmc-rd-row { border-color:rgba(255,255,255,.07); }
body#page-index .tmc-home-activity .tmc-rd-credit-pill { color:#ffd080; }
body#page-index .tmc-home-purchases .tmc-rd-list { display:grid;gap:8px; }
body#page-index .tmc-home-purchases .tmc-rd-row { margin:0; }
@media(max-width:640px) { body#page-index .tmc-home-activity { width:calc(100% - 24px);margin-top:15px!important;gap:11px; } }