/*
 * Profil de rendu du Relic Commander Terminal.
 * Le sélecteur reste strictement client-side : ce profil ne confère aucun droit.
 */

html[data-performance-profile="low"] {
    scroll-behavior: auto !important;
}

html[data-performance-profile="low"] *,
html[data-performance-profile="low"] *::before,
html[data-performance-profile="low"] *::after {
    animation-delay: 0s !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0s !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    box-shadow: none !important;
    text-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    will-change: auto !important;
}

/*
 * Les clignotements d'attention transmettent un état de gameplay important.
 * Le profil low conserve une alternance discrète à deux étapes, sans halo,
 * filtre ni transformation animée en continu.
 */
@keyframes rc-low-attention-blink {
    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0.58;
    }
}

@keyframes rc-low-attention-yellow-blink {
    0%,
    49% {
        border-color: #ffd700;
        background-color: rgba(255, 193, 7, 0.2);
        color: #ffe58a;
        opacity: 1;
    }

    50%,
    100% {
        border-color: rgba(255, 215, 0, 0.48);
        background-color: rgba(255, 193, 7, 0.06);
        color: #ffc107;
        opacity: 0.72;
    }
}

@keyframes rc-low-attention-red-blink {
    0%,
    49% {
        color: #ff4d5e;
        opacity: 1;
    }

    50%,
    100% {
        color: #b91c2c;
        opacity: 0.66;
    }
}

@keyframes rc-low-danger-panel-blink {
    0%,
    49% {
        border-color: #ff4d5e;
        outline-color: rgba(255, 77, 94, 0.72);
    }

    50%,
    100% {
        border-color: #8b0000;
        outline-color: rgba(139, 0, 0, 0.4);
    }
}

html[data-performance-profile="low"] .blink-yellow {
    animation: rc-low-attention-yellow-blink 1.6s step-end infinite !important;
    box-shadow: none !important;
}

html[data-performance-profile="low"] .blinking,
html[data-performance-profile="low"] .blinking-button,
html[data-performance-profile="low"] .alert-pulse,
html[data-performance-profile="low"] .pulse-border,
html[data-performance-profile="low"] .blink-cell,
html[data-performance-profile="low"] .blinking-line,
html[data-performance-profile="low"] .colony-attention-badge {
    animation: rc-low-attention-blink 1.6s step-end infinite !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

/* Compteurs critiques de la mission prioritaire et du protocole de révocation. */
html[data-performance-profile="low"] .mission-critical {
    animation: rc-low-attention-red-blink 1.6s step-end infinite !important;
    text-shadow: none !important;
}

/* Alertes rouges structurelles de la colonie et bandeau de game over. */
html[data-performance-profile="low"] .revocation-container,
html[data-performance-profile="low"] .colony-overview-critical {
    animation: rc-low-danger-panel-blink 1.6s step-end infinite !important;
    outline: 1px solid rgba(255, 77, 94, 0.72);
    box-shadow: none !important;
}

html[data-performance-profile="low"] body,
html[data-performance-profile="low"] #sidebar,
html[data-performance-profile="low"] .public-sidebar-shell {
    background-attachment: scroll !important;
}

html[data-performance-profile="low"] #sidebar::before,
html[data-performance-profile="low"] .nav-link::before,
html[data-performance-profile="low"] .item-progress-bar::after,
html[data-performance-profile="low"] .scan-line,
html[data-performance-profile="low"] .tech-grid,
html[data-performance-profile="low"] .stars-small,
html[data-performance-profile="low"] .stars-medium,
html[data-performance-profile="low"] .nebula,
html[data-performance-profile="low"] .planet-atmosphere-overlay,
html[data-performance-profile="low"] .planet-cloud-layer,
html[data-performance-profile="low"] .final-scan-effect,
html[data-performance-profile="low"] .transition-overlay {
    display: none !important;
}

html[data-performance-profile="low"] .nav-link,
html[data-performance-profile="low"] .nav-link:hover,
html[data-performance-profile="low"] .nav-link:focus,
html[data-performance-profile="low"] .nav-link:active,
html[data-performance-profile="low"] .nav-link.active,
html[data-performance-profile="low"] .commander-card:hover,
html[data-performance-profile="low"] .commander-card:focus-visible,
html[data-performance-profile="low"] .commander-action:hover,
html[data-performance-profile="low"] .commander-action:focus-visible,
html[data-performance-profile="low"] .commander-music-card:hover,
html[data-performance-profile="low"] .commander-music-card:focus-visible,
html[data-performance-profile="low"] .studio-logo:hover {
    transform: none !important;
}

html[data-performance-profile="low"] .nav-link img,
html[data-performance-profile="low"] .nav-link:hover img,
html[data-performance-profile="low"] .nav-link:focus img,
html[data-performance-profile="low"] .nav-link.active img,
html[data-performance-profile="low"] .studio-logo,
html[data-performance-profile="low"] .studio-logo:hover {
    filter: none !important;
    transform: none !important;
}

/* Séparateurs sobres du menu de jeu sur le Terminal officiel. */
html[data-rc-terminal="true"] .game-sidebar-menu .nav > .nav-link {
    margin-bottom: 0 !important;
}

html[data-rc-terminal="true"] .game-sidebar-menu .nav > .nav-link + .nav-link {
    border-top-color: rgba(103, 143, 176, 0.42) !important;
}

html[data-performance-profile="low"] .modal.fade .modal-dialog,
html[data-performance-profile="low"] .fade,
html[data-performance-profile="low"] .collapsing,
html[data-performance-profile="low"] .offcanvas,
html[data-performance-profile="low"] .public-sidebar-shell,
html[data-performance-profile="low"] .public-mobile-menu-backdrop {
    transition: none !important;
}

html[data-performance-profile="low"][data-rc-webgl="false"] [data-planet-appearance-3d-preview],
html[data-performance-profile="low"][data-rc-three-d="false"] [data-planet-appearance-3d-preview],
html[data-performance-profile="low"][data-rc-webgl="false"] .planet-appearance-3d-modal,
html[data-performance-profile="low"][data-rc-three-d="false"] .planet-appearance-3d-modal {
    display: none !important;
}

html[data-performance-profile="low"][data-rc-webgl="false"] [data-fleet-ship-3d-open],
html[data-performance-profile="low"][data-rc-three-d="false"] [data-fleet-ship-3d-open],
html[data-performance-profile="low"][data-rc-webgl="false"] .fleet-ship-3d-modal,
html[data-performance-profile="low"][data-rc-three-d="false"] .fleet-ship-3d-modal {
    display: none !important;
}

html[data-performance-profile="low"][data-rc-webgl="false"] #viewSectorButton,
html[data-performance-profile="low"][data-rc-three-d="false"] #viewSectorButton,
html[data-performance-profile="low"][data-rc-webgl="false"] .universe-sector-view-modal,
html[data-performance-profile="low"][data-rc-three-d="false"] .universe-sector-view-modal {
    display: none !important;
}

/* La visionneuse 3D exploite toute la surface du Relic Commander Terminal. */
html[data-rc-terminal="true"] #fleet-ship-3d-modal .modal-dialog {
    width: 100vw !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    transform: none !important;
}

html[data-rc-terminal="true"] #fleet-ship-3d-modal .modal-content {
    height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
}

html[data-rc-terminal="true"] #fleet-ship-3d-modal .modal-body {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

html[data-rc-terminal="true"] #fleet-ship-3d-modal .fleet-ship-3d-stage {
    flex: 1 1 auto;
    height: 100% !important;
    min-height: 0 !important;
}

html.public-site[data-performance-profile="low"] body {
    background-color: #07101a !important;
    background-image: none !important;
}

html.public-site[data-performance-profile="low"] #sidebar,
html.public-site[data-performance-profile="low"] .public-sidebar-shell,
html[data-performance-profile="low"] #sidebar,
html[data-performance-profile="low"] .public-sidebar-shell {
    background-color: #0b141e !important;
    background-image: none !important;
}

html[data-performance-profile="low"] .rc-fireworks-canvas {
    display: none !important;
}

html[data-performance-profile="low"] .article-card,
html[data-performance-profile="low"] .pm-building-card,
html[data-performance-profile="low"] .pm-defense-card,
html[data-performance-profile="low"] .industry-card {
    content-visibility: auto;
    contain-intrinsic-size: auto 280px;
}

/* Tiroir du menu de jeu : préférence compte, toujours active sur le Terminal low. */
@media (min-width: 992px) {
    body.rc-game-collapsible-menu-enabled #sidebar:not(.game-sidebar-menu),
    html.rc-game-collapsible-menu-preinit body #sidebar:not(.game-sidebar-menu) {
        flex: 0 0 0 !important;
        width: 0 !important;
        max-width: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        overflow: visible !important;
    }

    body.rc-game-collapsible-menu-enabled #main-content,
    body.rc-game-collapsible-menu-enabled #main-content-quadrant,
    html.rc-game-collapsible-menu-preinit body #main-content,
    html.rc-game-collapsible-menu-preinit body #main-content-quadrant {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.rc-game-collapsible-menu-enabled .game-sidebar-menu,
    html.rc-game-collapsible-menu-preinit body .game-sidebar-menu {
        --rc-collapsible-stack-top: clamp(7rem, 34vh, 22rem);
        position: fixed !important;
        inset: 0 auto 0 0 !important;
        z-index: 1060 !important;
        width: clamp(15rem, 19vw, 18rem) !important;
        height: 100vh !important;
        min-height: 100vh !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        overflow: visible !important;
        transform: translateX(-100%);
    }

    body.rc-game-collapsible-menu-enabled.rc-game-collapsible-menu-open .game-sidebar-menu,
    html.rc-game-collapsible-menu-preinit.rc-game-collapsible-menu-preinit-open body .game-sidebar-menu {
        transform: translateX(0);
    }

    body.rc-game-collapsible-menu-enabled .game-sidebar-menu .public-sidebar-shell,
    html.rc-game-collapsible-menu-preinit body .game-sidebar-menu .public-sidebar-shell {
        width: 100%;
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #0b141e !important;
        border-right: 1px solid rgba(95, 128, 158, 0.65);
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-menu-toggle:not([hidden]) {
        position: absolute;
        top: var(--rc-collapsible-stack-top);
        left: 100%;
        z-index: 1070;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 3rem;
        height: 4.75rem;
        margin: 0;
        padding: 0;
        color: #eafaff;
        background: #102638;
        border: 1px solid rgba(70, 190, 220, 0.8);
        border-left: 0;
        border-radius: 0 0.75rem 0.75rem 0;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-menu-toggle i {
        font-size: 1.35rem;
        line-height: 1;
        pointer-events: none;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-critical-deadline:not([hidden]) {
        position: absolute;
        top: calc(var(--rc-collapsible-stack-top) - 6.5rem);
        left: 100%;
        z-index: 1070;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 5.25rem;
        min-height: 6.15rem;
        padding: 0.48rem 0.35rem 0.52rem;
        color: #eafaff;
        background: #0b2637;
        border: 1px solid #2584ad;
        border-left: 0;
        border-radius: 0 0.8rem 0.8rem 0;
        font-variant-numeric: tabular-nums;
        line-height: 1;
        text-align: center;
        user-select: none;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-critical-deadline-label {
        display: block;
        width: 100%;
        overflow: hidden;
        color: #9edff2;
        font-size: 0.57rem;
        font-weight: 900;
        letter-spacing: 0.055em;
        text-overflow: ellipsis;
        text-transform: uppercase;
        white-space: nowrap;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-critical-deadline-main {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.3rem;
        max-width: 100%;
        margin-top: 0.42rem;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-critical-deadline-main i {
        flex: 0 0 auto;
        color: #62d8f2;
        font-size: 0.9rem;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-critical-deadline-main strong {
        max-width: 3.45rem;
        overflow: hidden;
        color: #ffffff;
        font-family: "Courier New", monospace;
        font-size: 0.88rem;
        font-weight: 900;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-critical-deadline-unit {
        margin-top: 0.2rem;
        color: #a8c8d8;
        font-size: 0.54rem;
        font-weight: 750;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-critical-deadline-detail:not([hidden]) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 2.4rem;
        margin-top: 0.38rem;
        padding: 0.18rem 0.35rem;
        color: #dff7ff;
        font-size: 0.62rem;
        font-weight: 850;
        background: rgba(6, 18, 29, 0.7);
        border: 1px solid rgba(98, 216, 242, 0.42);
        border-radius: 999px;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-critical-deadline[data-deadline-mode="stabilization"] {
        background: #123b35;
        border-color: #39bfa4;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-critical-deadline[data-deadline-mode="stabilization"] .game-collapsible-critical-deadline-main i {
        color: #75e3c9;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-critical-deadline[data-deadline-mode="revocation"] {
        color: #ffe8eb;
        background: #4a1720;
        border-color: #dc3545;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-critical-deadline[data-deadline-mode="revocation"] .game-collapsible-critical-deadline-label,
    body.rc-game-collapsible-menu-enabled .game-collapsible-critical-deadline[data-deadline-mode="revocation"] .game-collapsible-critical-deadline-main i,
    body.rc-game-collapsible-menu-enabled .game-collapsible-critical-deadline[data-critical="true"] .game-collapsible-critical-deadline-main strong {
        color: #ff8792;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-critical-deadline[data-critical="true"] {
        border-color: #ff4d5e;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-compact-nav:not([hidden]) {
        position: absolute;
        top: calc(var(--rc-collapsible-stack-top) + 5rem + var(--rc-compact-nav-offset, 0vh));
        right: auto;
        bottom: 0.5rem;
        left: 100%;
        z-index: 1068;
        display: flex;
        width: var(--rc-compact-nav-width, 3rem);
        height: auto;
        min-height: 0;
        max-height: none;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        pointer-events: none;
        scrollbar-width: none;
        background: transparent;
        border: 0;
    }

    body.rc-game-collapsible-menu-enabled.rc-game-collapsible-turn-status-visible .game-collapsible-compact-nav:not([hidden]) {
        top: calc(var(--rc-collapsible-stack-top) + 12.5rem + var(--rc-compact-nav-offset, 0vh));
    }

    body.rc-game-collapsible-menu-enabled.rc-game-collapsible-notification-visible .game-collapsible-compact-nav:not([hidden]) {
        bottom: 5.25rem;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-compact-nav::-webkit-scrollbar {
        display: none;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-compact-nav-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--rc-compact-nav-gap, 0.25rem);
        width: 100%;
        min-height: max-content;
        padding: var(--rc-compact-nav-list-padding-top, 0.3rem)
            var(--rc-compact-nav-list-padding-right, 0.25rem)
            var(--rc-compact-nav-list-padding-top, 0.3rem)
            0;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-compact-nav-link {
        position: relative;
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        width: var(--rc-compact-nav-link-width, 2.75rem);
        height: var(--rc-compact-nav-link-height, 2.25rem);
        padding: var(--rc-compact-nav-link-padding, 0.25rem);
        pointer-events: auto;
        color: #dff7ff;
        text-decoration: none;
        background: rgba(16, 38, 56, 0.92);
        border: 1px solid rgba(83, 137, 168, 0.56);
        border-left: 0;
        border-radius: 0 var(--rc-compact-nav-link-radius, 0.7rem)
            var(--rc-compact-nav-link-radius, 0.7rem) 0;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-compact-nav-link:hover,
    body.rc-game-collapsible-menu-enabled .game-collapsible-compact-nav-link:focus-visible {
        color: #ffffff;
        background: #12344c;
        border-color: #46bedc;
        outline: 2px solid rgba(70, 190, 220, 0.34);
        outline-offset: 1px;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-compact-nav-link.active {
        background: #0b5275;
        border-color: #62d8f2;
        box-shadow: inset 3px 0 0 #8cecff;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-compact-nav-link img {
        display: block;
        width: var(--rc-compact-nav-image-size, 1.65rem);
        height: var(--rc-compact-nav-image-size, 1.65rem);
        margin: 0;
        object-fit: contain;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-compact-nav-link i {
        font-size: var(--rc-compact-nav-icon-size, 1.4rem);
        line-height: 1;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-turn-status:not([hidden]) {
        position: absolute;
        top: calc(var(--rc-collapsible-stack-top) + 4.75rem);
        left: 100%;
        z-index: 1069;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 3rem;
        min-height: 7.5rem;
        padding: 0.5rem 0.2rem 0.55rem;
        color: #eafaff;
        background: #0b1d2b;
        border: 1px solid rgba(70, 190, 220, 0.72);
        border-top: 0;
        border-left: 0;
        border-radius: 0 0 0.75rem 0;
        font-variant-numeric: tabular-nums;
        line-height: 1;
        user-select: none;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-turn-label {
        max-width: 2.55rem;
        overflow: hidden;
        color: #8fc9dc;
        font-size: 0.54rem;
        font-weight: 800;
        letter-spacing: 0.045em;
        text-transform: uppercase;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-turn-number {
        display: block;
        max-width: 2.55rem;
        margin-top: 0.22rem;
        overflow: hidden;
        color: #ffffff;
        font-family: "Courier New", monospace;
        font-size: 0.78rem;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-turn-divider {
        display: block;
        width: 1.65rem;
        height: 1px;
        margin: 0.55rem 0 0.45rem;
        background: rgba(143, 201, 220, 0.45);
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-turn-icon {
        color: #8fc9dc;
        font-size: 0.82rem;
        line-height: 1;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-turn-remaining {
        display: block;
        margin-top: 0.32rem;
        color: #ffffff;
        font-family: "Courier New", monospace;
        font-size: 0.72rem;
        font-weight: 800;
        white-space: nowrap;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-turn-status[data-state="locked"] {
        color: #ffe7ea;
        background: #421720;
        border-color: #dc3545;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-turn-status[data-state="locked"] .game-collapsible-turn-icon,
    body.rc-game-collapsible-menu-enabled .game-collapsible-turn-status[data-state="locked"] .game-collapsible-turn-remaining,
    body.rc-game-collapsible-menu-enabled .game-collapsible-turn-status[data-state="error"] .game-collapsible-turn-icon,
    body.rc-game-collapsible-menu-enabled .game-collapsible-turn-status[data-state="error"] .game-collapsible-turn-remaining {
        color: #ff7b88;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-turn-status[data-state="maintenance"] {
        background: #073f63;
        border-color: #168bd1;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-turn-status[data-state="paused"],
    body.rc-game-collapsible-menu-enabled .game-collapsible-turn-status[data-state="loading"] {
        background: #493800;
        border-color: #c99100;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-turn-status[data-state="error"] {
        background: #421720;
        border-color: #dc3545;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-notification-shortcut:not([hidden]) {
        position: absolute;
        bottom: 1.25rem;
        left: 100%;
        z-index: 1070;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 3.5rem;
        height: 3.5rem;
        margin: 0;
        color: #eafaff;
        text-decoration: none;
        background: #102638;
        border: 1px solid rgba(70, 190, 220, 0.8);
        border-left: 0;
        border-radius: 0 0.85rem 0.85rem 0;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-notification-shortcut > i {
        font-size: 1.45rem;
        line-height: 1;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-notification-count {
        position: absolute;
        top: -0.45rem;
        right: -0.45rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 1.65rem;
        height: 1.65rem;
        padding: 0 0.35rem;
        color: #ffffff;
        font-size: 0.72rem;
        font-weight: 800;
        line-height: 1;
        background: #dc3545;
        border: 2px solid #07101a;
        border-radius: 999px;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-notification-count[hidden] {
        display: none;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-notification-shortcut[data-notification-severity="info"] {
        color: #dff7ff;
        background: #073f63;
        border-color: #168bd1;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-notification-shortcut[data-notification-severity="info"] .game-collapsible-notification-count {
        background: #007bff;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-notification-shortcut[data-notification-severity="warning"] {
        color: #fff4c2;
        background: #594300;
        border-color: #ffae00;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-notification-shortcut[data-notification-severity="warning"] .game-collapsible-notification-count {
        color: #161006;
        background: #ffae00;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-notification-shortcut[data-notification-severity="danger"] {
        color: #ffe7ea;
        background: #621c27;
        border-color: #dc3545;
    }

    body.rc-game-collapsible-menu-enabled .game-collapsible-notification-shortcut[data-notification-severity="danger"] .game-collapsible-notification-count {
        background: #dc3545;
    }

    @supports (height: 100dvh) {
        body.rc-game-collapsible-menu-enabled .game-sidebar-menu,
        body.rc-game-collapsible-menu-enabled .game-sidebar-menu .public-sidebar-shell,
        html.rc-game-collapsible-menu-preinit body .game-sidebar-menu,
        html.rc-game-collapsible-menu-preinit body .game-sidebar-menu .public-sidebar-shell {
            height: 100dvh !important;
            min-height: 100dvh !important;
            max-height: 100dvh !important;
        }
    }
}

@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
    html:not([data-performance-profile="low"]) body.rc-game-collapsible-menu-enabled .game-sidebar-menu {
        transition: transform 0.18s ease;
    }
}
