/*
 * Billionaire City frontend design system
 * Loaded after Aurora and Lithium compatibility styles.
 */

:root {
    --bc-page: #07111f;
    --bc-page-deep: #040b14;
    --bc-surface: rgba(12, 25, 42, 0.94);
    --bc-surface-solid: #0d1b2d;
    --bc-surface-raised: #13243a;
    --bc-surface-soft: rgba(19, 36, 58, 0.72);
    --bc-gold: #f3c969;
    --bc-gold-bright: #ffe7a1;
    --bc-gold-dark: #b98a35;
    --bc-cream: #fff9eb;
    --bc-text: rgba(255, 249, 235, 0.84);
    --bc-muted: #9baabd;
    --bc-border: rgba(243, 201, 105, 0.16);
    --bc-border-strong: rgba(243, 201, 105, 0.34);
    --bc-hover: rgba(243, 201, 105, 0.08);
    --bc-radius: 12px;
    --bc-radius-small: 8px;
    --bc-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
    --bc-shadow-large: 0 22px 70px rgba(0, 0, 0, 0.38);
    --bc-minecraft: #3f762e;
    --bc-minecraft-light: #76b852;
    --bc-discord: #5865f2;

    /* Compatibility aliases used by existing Lithium selectors. */
    --lithium-primary: var(--bc-gold);
    --lithium-primary-hover: var(--bc-gold-bright);
    --lithium-page: var(--bc-page);
    --lithium-surface: var(--bc-surface-solid);
    --lithium-surface-2: var(--bc-surface-raised);
    --lithium-hover: var(--bc-hover);
    --lithium-border: var(--bc-border);
    --lithium-text: var(--bc-text);
    --lithium-muted: var(--bc-muted);
    --lithium-soft-shadow: var(--bc-shadow);
    --lithium-hard-shadow: var(--bc-shadow-large);
}

html,
body,
body.dark,
body.pushable,
body.pushable > .pusher,
body.dark > .pusher,
.lithium-pusher {
    background: var(--bc-page) !important;
    color: var(--bc-text) !important;
    font-family: Montserrat, Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 0%, rgba(243, 201, 105, 0.055), transparent 32rem),
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
}

::selection {
    background: var(--bc-gold);
    color: var(--bc-page-deep);
}

a,
body.dark a {
    color: var(--bc-gold);
}

a:hover,
body.dark a:hover {
    color: var(--bc-gold-bright);
}

/* Shared header */

.lithium-header {
    min-height: 0;
    margin-bottom: 2.25rem;
    background-color: var(--bc-page-deep) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    overflow: visible;
}

.lithium-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(4, 11, 20, 0.72), rgba(4, 11, 20, 0.28) 50%, rgba(4, 11, 20, 0.72));
    pointer-events: none;
}

.lithium-header::after {
    background: linear-gradient(180deg, rgba(4, 11, 20, 0.14), rgba(7, 17, 31, 0.42) 55%, var(--bc-page) 100%) !important;
}

.lithium-userbar {
    position: relative;
    z-index: 30;
    min-height: 42px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
    background: rgba(4, 11, 20, 0.92) !important;
    backdrop-filter: blur(14px);
}

.lithium-navbar {
    z-index: 20;
}

.lithium-hero {
    z-index: 10;
}

.lithium-userbar .lithium-popup.ui.popup,
.lithium-userbar .ui.popup,
body > .lithium-popup.ui.popup,
body > .ui.popup[data-position] {
    z-index: 1000 !important;
}

.lithium-userbar-inner {
    min-height: 42px;
}

.lithium-user-action {
    min-height: 32px;
    border-radius: var(--bc-radius-small);
    color: rgba(255, 249, 235, 0.72) !important;
}

.lithium-user-action:hover {
    background: var(--bc-hover) !important;
    color: var(--bc-cream) !important;
}

.lithium-user-action-primary {
    color: var(--bc-gold-bright) !important;
}

.lithium-navbar {
    min-height: 64px;
    border-bottom: 1px solid var(--bc-border);
    background: rgba(7, 17, 31, 0.86) !important;
    backdrop-filter: blur(16px);
}

.lithium-navbar-inner {
    min-height: 64px;
}

.lithium-brand {
    color: var(--bc-cream) !important;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.lithium-navlinks {
    gap: 0.35rem;
}

.lithium-nav-link,
.lithium-nav-dropdown > .lithium-nav-link {
    min-height: 40px;
    border: 1px solid transparent;
    border-radius: var(--bc-radius-small);
    color: rgba(255, 249, 235, 0.76) !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.lithium-nav-link:hover,
.lithium-nav-link.active,
.lithium-nav-dropdown:hover > .lithium-nav-link {
    border-color: var(--bc-border);
    background: var(--bc-hover) !important;
    color: var(--bc-gold-bright) !important;
}

.lithium-nav-link.active::after {
    bottom: 0.25rem;
    height: 2px;
    background: var(--bc-gold) !important;
}

.lithium-nav-link.highlighted {
    border-color: var(--bc-gold) !important;
    background: var(--bc-gold) !important;
    color: var(--bc-page-deep) !important;
}

.lithium-nav-link.highlighted:hover {
    background: var(--bc-gold-bright) !important;
    color: var(--bc-page-deep) !important;
}

.lithium-nav-toggle {
    color: var(--bc-gold-bright) !important;
}

.lithium-hero {
    min-height: 220px !important;
    padding: 2rem 0 3.25rem !important;
}

.lithium-header-logo {
    animation: none !important;
}

.lithium-header-logo img {
    max-width: min(100%, 300px);
    max-height: 150px;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.52));
}

.lithium-header-status {
    width: 290px;
    min-height: 62px;
    padding: 11px 15px;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--bc-radius) !important;
    color: #fff !important;
    opacity: 1 !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
}

.lithium-header-status-left {
    border-color: rgba(145, 200, 104, 0.5);
    background: linear-gradient(135deg, rgba(63, 118, 46, 0.94), rgba(37, 70, 30, 0.96)) !important;
    box-shadow: inset 0 3px 0 rgba(151, 206, 91, 0.25), 0 12px 28px rgba(0, 0, 0, 0.2);
}

.lithium-header-status-right {
    border-color: rgba(178, 184, 255, 0.48);
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.95), rgba(67, 78, 190, 0.97)) !important;
    box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.12), 0 12px 28px rgba(0, 0, 0, 0.2);
}

.lithium-header-status:hover,
.lithium-header-status-left:hover,
.lithium-header-status-right:hover {
    filter: brightness(1.08);
}

.lithium-header-status-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    color: #fff !important;
    font-size: 1.5rem;
}

.lithium-header-status .minecraft-icon {
    color: #fff;
    font-size: 1.5rem !important;
    filter: drop-shadow(0 2px 0 rgba(22, 56, 17, 0.45));
}

.lithium-header-status .fa-discord {
    color: #fff;
    font-size: 1.7rem;
}

.lithium-header-status-right .lithium-header-status-icon {
    order: 0;
}

.lithium-header-status-title {
    overflow: hidden;
    color: #fff !important;
    font-size: 0.84rem;
    letter-spacing: 0;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.lithium-header-status-description {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Menus and sidebar */

.lithium-sidebar,
body.dark .lithium-sidebar {
    background: var(--bc-page-deep) !important;
}

.lithium-sidebar .item,
.lithium-sidebar .header {
    color: var(--bc-text) !important;
}

.lithium-sidebar a.item.active,
.lithium-sidebar a.item:hover {
    border-left: 3px solid var(--bc-gold);
    background: var(--bc-hover) !important;
    color: var(--bc-gold-bright) !important;
}

.lithium-nav-dropdown .menu,
.lithium-popup.ui.popup,
.lithium-footer-dropdown .menu,
.ui.dropdown .menu,
.ui.selection.dropdown .menu,
.ui.pointing.dropdown > .menu,
body.dark .ui.popup,
body.dark .ui.dropdown .menu {
    border: 1px solid var(--bc-border) !important;
    border-radius: var(--bc-radius-small) !important;
    background: var(--bc-surface-solid) !important;
    box-shadow: var(--bc-shadow) !important;
}

/* Content surfaces */

.lithium-main {
    color: var(--bc-text);
}

.ui.segment,
.ui.card,
.ui.cards > .card,
.ui.vertical.menu,
.ui.attached.segment,
.ui.comments,
.ui.threaded.comments,
body.dark .ui.segment,
body.dark .ui.card,
body.dark .ui.vertical.menu {
    border: 1px solid var(--bc-border) !important;
    border-radius: var(--bc-radius) !important;
    background: var(--bc-surface) !important;
    color: var(--bc-text) !important;
    box-shadow: var(--bc-shadow) !important;
}

.ui.card > .content,
.ui.cards > .card > .content,
.ui.card > .extra,
.ui.cards > .card > .extra,
.ui.divider,
.ui.horizontal.divider,
.ui.section.divider {
    border-color: var(--bc-border) !important;
}

.ui.header,
.ui.header .sub.header,
.ui.card > .content > .header,
.ui.cards > .card > .content > .header,
.ui.list .list > .item .header,
.ui.list > .item .header,
.ui.comments .comment .author,
body.dark .ui.header {
    color: var(--bc-cream) !important;
}

.ui.card .meta,
.ui.cards > .card .meta,
.ui.card > .content > .description,
.ui.cards > .card > .content > .description,
.ui.list .list > .item .description,
.ui.list > .item .description,
.ui.comments .comment .metadata,
.ui.comments .comment .text,
.forum_post {
    color: var(--bc-muted) !important;
}

.ui.top.attached.header,
.ui.attached.header,
.ui.card > .content.header,
body.dark .ui.top.attached.header {
    border-color: var(--bc-border) !important;
    background: var(--bc-surface-raised) !important;
    color: var(--bc-cream) !important;
}

[id*="widget"] .ui.card,
[id*="widget"].ui.card,
.widget .ui.card,
.widget .ui.segment {
    overflow: hidden;
    border-color: var(--bc-border) !important;
    border-radius: var(--bc-radius) !important;
}

.lithium-news-card,
.lithium-project-card {
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lithium-news-card:hover,
.lithium-project-card:hover {
    border-color: var(--bc-border-strong) !important;
    box-shadow: var(--bc-shadow-large) !important;
    transform: translateY(-2px);
}

/* Buttons and fields */

.ui.button,
.ui.default.button,
body.dark .ui.default.button {
    border: 1px solid var(--bc-border) !important;
    border-radius: var(--bc-radius-small) !important;
    background: var(--bc-surface-raised) !important;
    color: var(--bc-text) !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.ui.button:hover,
.ui.default.button:hover {
    border-color: var(--bc-border-strong) !important;
    background: var(--bc-hover) !important;
    color: var(--bc-cream) !important;
}

.ui.primary.button,
.ui.primary.buttons .button,
.ui.blue.button {
    border-color: var(--bc-gold) !important;
    background: var(--bc-gold) !important;
    color: var(--bc-page-deep) !important;
}

.ui.primary.button:hover,
.ui.primary.buttons .button:hover,
.ui.blue.button:hover {
    border-color: var(--bc-gold-bright) !important;
    background: var(--bc-gold-bright) !important;
    color: var(--bc-page-deep) !important;
}

.ui.positive.button,
.ui.green.button {
    border-color: #68b878 !important;
    background: #3f8250 !important;
    color: #fff !important;
}

.ui.positive.button:hover,
.ui.green.button:hover {
    border-color: #85ce93 !important;
    background: #4e9960 !important;
    color: #fff !important;
}

.ui.red.button,
.ui.negative.button {
    border-color: #b94a4a !important;
    background: #8f3338 !important;
    color: #fff !important;
}

.ui.input > input,
.ui.form input:not(.button),
.ui.form textarea,
.ui.form select,
.ui.selection.dropdown,
.ui.search.dropdown.active > input.search,
.ui.search.selection.dropdown > input.search,
body.dark .ui.input > input,
body.dark .ui.form input:not(.button),
body.dark .ui.form textarea {
    border: 1px solid var(--bc-border) !important;
    border-radius: var(--bc-radius-small) !important;
    background: var(--bc-surface-raised) !important;
    color: var(--bc-cream) !important;
    box-shadow: none !important;
}

.ui.input > input:focus,
.ui.form input:not(.button):focus,
.ui.form textarea:focus,
.ui.selection.dropdown.active {
    border-color: var(--bc-gold) !important;
    box-shadow: 0 0 0 2px rgba(243, 201, 105, 0.1) !important;
}

.ui.form .field > label,
.ui.checkbox label,
.ui.checkbox + label,
body.dark .ui.form .field > label {
    color: var(--bc-text) !important;
}

input::placeholder,
textarea::placeholder {
    color: rgba(155, 170, 189, 0.68) !important;
}

/* Tables, tabs and navigation controls */

.ui.table,
body.dark .ui.table {
    overflow: hidden;
    border: 1px solid var(--bc-border) !important;
    border-radius: var(--bc-radius) !important;
    background: var(--bc-surface) !important;
    color: var(--bc-text) !important;
    box-shadow: var(--bc-shadow) !important;
}

.ui.table thead th,
body.dark .ui.table thead th {
    border-color: var(--bc-border) !important;
    background: var(--bc-surface-raised) !important;
    color: var(--bc-cream) !important;
}

.ui.table td,
.ui.table tr,
body.dark .ui.table td {
    border-color: var(--bc-border) !important;
}

.ui.selectable.table tbody tr:hover,
.ui.table tbody tr td.selectable:hover {
    background: var(--bc-hover) !important;
    color: var(--bc-cream) !important;
}

.ui.pagination.menu,
.ui.menu,
.ui.tabular.menu,
body.dark .ui.pagination,
body.dark .ui.tabular.menu {
    border-color: var(--bc-border) !important;
    border-radius: var(--bc-radius-small) !important;
    background: var(--bc-surface) !important;
    box-shadow: none !important;
}

.ui.menu .item,
.ui.pagination.menu .item,
.ui.tabular.menu .item {
    border-color: var(--bc-border) !important;
    color: var(--bc-text) !important;
}

.ui.menu .active.item,
.ui.pagination.menu .active.item,
.ui.tabular.menu .active.item,
body.dark .ui.tabular.menu .active.item {
    background: var(--bc-gold) !important;
    color: var(--bc-page-deep) !important;
}

.ui.breadcrumb,
.ui.breadcrumb .section,
.ui.breadcrumb .divider {
    color: var(--bc-muted) !important;
}

.ui.breadcrumb .active.section {
    color: var(--bc-gold-bright) !important;
}

/* Messages and semantic feedback */

.ui.message,
.announcement,
body.dark .ui.message {
    border: 1px solid var(--bc-border) !important;
    border-radius: var(--bc-radius) !important;
    background: var(--bc-surface-raised) !important;
    color: var(--bc-text) !important;
    box-shadow: var(--bc-shadow) !important;
}

.ui.info.message {
    border-left: 4px solid #4f8fc9 !important;
}

.ui.success.message,
.ui.positive.message {
    border-left: 4px solid #63ad72 !important;
}

.ui.warning.message {
    border-left: 4px solid var(--bc-gold) !important;
}

.ui.error.message,
.ui.negative.message {
    border-left: 4px solid #c75359 !important;
}

.lithium-announcement {
    border-left-color: var(--bc-gold) !important;
}

.lithium-announcement-icon {
    border: 1px solid var(--bc-border);
    background: var(--bc-hover) !important;
    color: var(--bc-gold) !important;
}

/* Forum, profile and community modules */

#forum-node,
#topic-post,
#topic-reply,
#profile-header,
.ui.comments .comment {
    border-color: var(--bc-border) !important;
}

#forum-node:hover {
    border-color: var(--bc-border-strong) !important;
}

#forum-node .large.comment.icon,
#forum-node .comments.icon,
#forum-node .folder.icon {
    color: var(--bc-gold) !important;
}

#topic-post #post-sidebar,
#topic-reply #reply-sidebar {
    border-color: var(--bc-border) !important;
    background: rgba(4, 11, 20, 0.2);
}

#profile-header {
    position: relative;
    overflow: hidden;
    background-color: var(--bc-surface-solid) !important;
}

.reaction-button,
.reaction-button-selected {
    border-radius: 999px;
    background: var(--bc-surface-raised);
}

/* Store, resources, wiki and suggestions */

.stripe-store,
.stripe-store-message,
.stripe-store-heading {
    color: var(--bc-text);
}

.stripe-store-category,
.stripe-store-card,
.resource-card,
.suggestion,
.wiki-navigation {
    border-color: var(--bc-border) !important;
    border-radius: var(--bc-radius) !important;
    background: var(--bc-surface) !important;
    color: var(--bc-text) !important;
}

.stripe-store-category:hover,
.stripe-store-category.active {
    border-color: var(--bc-gold) !important;
    background: var(--bc-hover) !important;
    color: var(--bc-gold-bright) !important;
}

.stripe-product-card,
.stripe-cart-card,
.stripe-offer-card,
.stripe-modal-panel {
    border: 1px solid var(--bc-border) !important;
    border-radius: var(--bc-radius) !important;
    background: var(--bc-surface-solid) !important;
    color: var(--bc-text) !important;
    box-shadow: var(--bc-shadow) !important;
}

.stripe-product-card:hover,
.stripe-offer-card:hover {
    border-color: var(--bc-border-strong) !important;
    box-shadow: var(--bc-shadow-large) !important;
}

.stripe-product-card-highlighted,
.stripe-offer-card-highlighted {
    border-color: var(--bc-gold) !important;
}

.stripe-product-media,
.stripe-product-image-empty,
.stripe-product-detail-media {
    background: var(--bc-surface-raised) !important;
}

.stripe-product-category,
.stripe-product-badge,
.stripe-product-detail-badge {
    color: var(--bc-gold-bright) !important;
}

.stripe-product-body h2,
.stripe-product-detail-content h2,
.stripe-offer-card h3,
.stripe-cart-header h2 {
    color: var(--bc-cream) !important;
}

.stripe-product-footer,
.stripe-cart-header,
.stripe-cart-item {
    border-color: var(--bc-border) !important;
}

.stripe-product-footer > strong,
.stripe-cart-total strong {
    color: var(--bc-gold-bright) !important;
}

.store .ui.card .image,
.ui.card > .image,
.ui.cards > .card > .image {
    overflow: hidden;
    background: var(--bc-surface-raised) !important;
}

.ui.card > .ui.bottom.attached.button,
.ui.cards > .card > .ui.bottom.attached.button {
    border-radius: 0 0 var(--bc-radius) var(--bc-radius) !important;
}

#resources tbody tr,
.suggestions tbody tr,
table.ui.selectable tbody tr {
    transition: background 0.18s ease;
}

#resources tbody tr:hover,
.suggestions tbody tr:hover,
table.ui.selectable tbody tr:hover {
    background: var(--bc-hover) !important;
}

#resources .ui.image,
.resource-icon {
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-small) !important;
}

#resources .ui.label,
.resource-price,
.store-price {
    border-color: var(--bc-border-strong) !important;
    background: var(--bc-hover) !important;
    color: var(--bc-gold-bright) !important;
}

.wikipro-sidebar-menu {
    overflow: hidden;
    padding: 0.45rem !important;
    border: 1px solid var(--bc-border) !important;
    border-radius: var(--bc-radius) !important;
    background: var(--bc-surface) !important;
}

.wikipro-sidebar-menu .wiki-nav-title,
.wikipro-sidebar-menu .wiki-nav-item {
    margin: 0.15rem 0 !important;
    border-radius: var(--bc-radius-small) !important;
    color: var(--bc-text) !important;
}

.wikipro-sidebar-menu .wiki-nav-title:hover,
.wikipro-sidebar-menu .wiki-nav-item:hover,
.wikipro-sidebar-menu .wiki-nav-item.active {
    background: var(--bc-hover) !important;
    color: var(--bc-gold-bright) !important;
}

.wikipro-sidebar-menu .wiki-nav-page-icon {
    color: var(--bc-gold) !important;
}

#suggestion-popup,
.suggestion-popover {
    color: var(--bc-text) !important;
}

#profile-feed,
#profile-about,
[id^="profile-"][data-tab] {
    border-color: var(--bc-border) !important;
}

#profile-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 11, 20, 0.16), rgba(4, 11, 20, 0.72));
    pointer-events: none;
}

#profile-header > * {
    position: relative;
    z-index: 1;
}

.ui.label,
.badge,
body.dark .ui.image.label {
    border: 1px solid var(--bc-border) !important;
    border-radius: 999px !important;
    background: var(--bc-surface-raised) !important;
    color: var(--bc-text) !important;
}

.ui.primary.label,
.ui.blue.label,
.badge-primary,
.badge-info {
    border-color: var(--bc-gold) !important;
    background: var(--bc-gold) !important;
    color: var(--bc-page-deep) !important;
}

.stripe-store-price,
.resource-price,
.store-price {
    color: var(--bc-gold-bright) !important;
}

/* Modals and editor */

.ui.modal,
body.dark .ui.modal,
.ui.modal > .header,
.ui.modal > .content,
.ui.modal > .actions {
    border-color: var(--bc-border) !important;
    background: var(--bc-surface-solid) !important;
    color: var(--bc-text) !important;
}

.ui.modal {
    overflow: hidden;
    border: 1px solid var(--bc-border) !important;
    border-radius: var(--bc-radius) !important;
    box-shadow: var(--bc-shadow-large) !important;
}

.tox-tinymce,
.tox .tox-editor-container,
.tox .tox-toolbar,
.tox .tox-statusbar {
    border-color: var(--bc-border) !important;
    background: var(--bc-surface-raised) !important;
}

/* Footer */

.lithium-footer {
    border-top: 1px solid var(--bc-border);
    background: linear-gradient(180deg, #081423, var(--bc-page-deep)) !important;
    color: var(--bc-muted) !important;
}

.lithium-footer-section:not(:first-child) {
    border-color: var(--bc-border) !important;
}

.lithium-footer-section h4 {
    color: var(--bc-cream) !important;
}

.lithium-footer-links a,
.lithium-footer-dropdown,
.lithium-footer-button {
    border-radius: var(--bc-radius-small) !important;
    color: var(--bc-muted) !important;
}

.lithium-footer-links a:hover,
.lithium-footer-dropdown:hover,
.lithium-footer-button:hover {
    background: var(--bc-hover) !important;
    color: var(--bc-gold-bright) !important;
}

.lithium-footer-extra {
    border-top: 1px solid var(--bc-border);
    background: rgba(4, 11, 20, 0.7);
}

/* Error and authentication pages */

#error-403 .ui.segment,
#error-404 .ui.segment,
#maintenance .ui.segment,
.lithium-main .ui.centered.card {
    border-color: var(--bc-border-strong) !important;
    box-shadow: var(--bc-shadow-large) !important;
}

/* Responsive behavior */

@media (min-width: 992px) {
    .lithium-header-status-left {
        left: 1.25rem;
        text-align: left;
    }

    .lithium-header-status-right {
        right: 1.25rem;
        flex-direction: row;
        text-align: left;
    }

    .lithium-header-status-left:hover,
    .lithium-header-status-right:hover {
        transform: translateY(-50%) !important;
    }
}

@media (max-width: 991px) {
    .lithium-header {
        margin-bottom: 1.5rem;
    }

    .lithium-hero {
        gap: 0.75rem;
        padding: 1.75rem 0 2.75rem !important;
    }

    .lithium-header-logo {
        order: -1;
        margin-bottom: 0.5rem;
    }

    .lithium-header-status {
        width: min(100%, 420px);
        justify-content: flex-start;
        border-radius: var(--bc-radius) !important;
        text-align: left;
    }

    .lithium-header-status-icon {
        display: grid;
    }

    .lithium-footer-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .lithium-header-logo img {
        max-height: 120px;
    }

    .lithium-main-container {
        width: calc(100% - 20px) !important;
    }

    .ui.segment,
    .ui.card > .content,
    .ui.cards > .card > .content {
        padding: 1rem !important;
    }

    .ui.table:not(.unstackable) {
        border-radius: var(--bc-radius-small) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
