/**
 * Portal overlay - everything visual comes from style.css (copied verbatim from
 * the Roblox163 reference UI). This file only adds the few pieces the reference
 * has no equivalent for: initial-letter avatars (partners have no picture),
 * Steam item thumbnails in the data table, and typography for the
 * markdown-rendered partner docs.
 */

/*
 * style.css sets html { font-size: 14px } and body { display: flex } for the
 * app shell. Landing pages that also load style.css (api-docs, admin) must
 * keep the same rem scale + block layout as Marketplace / Chinese Market.
 */
html:has(body.landing-with-topbar) {
    font-size: 16px;
}

body.landing-with-topbar {
    display: block;
}

/* Three.js rippling wave background (deposit reference) */
#threejs-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

#threejs-bg canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* API Docs on landing layout - sticky nav clears the fixed top bar. */
body.landing-with-topbar .apidocs-nav {
    top: calc(4.25rem + 12px);
    max-height: calc(100vh - 4.25rem - 24px);
}

body.landing-with-topbar .apidocs-card {
    scroll-margin-top: calc(4.25rem + 20px);
}

@media (max-width: 768px) {
    body.landing-with-topbar .apidocs-nav {
        top: 3.75rem;
        max-height: none;
    }

    body.landing-with-topbar .apidocs-card {
        scroll-margin-top: calc(3.75rem + 72px);
    }
}

/* One view at a time — clicking a method replaces the main pane. */
.apidocs-spa .apidocs-view[hidden] {
    display: none !important;
}

.apidocs-spa .apidocs-view.is-active {
    display: block;
}

.apidocs-spa .apidocs-pager {
    display: none;
}

.apidocs-nav .apidocs-nav-btn {
    text-decoration: none;
}

.apidocs-nav-btn.is-active {
    background: var(--state-active-bg);
    border-color: var(--state-active-border);
    color: var(--text-primary);
}

.apidocs-nav-group {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.apidocs-nav-group-title {
    display: block;
    padding: 6px 10px;
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.apidocs-nav-group-title-static {
    cursor: default;
}

.apidocs-nav-guide {
    display: block;
    padding: 5px 10px 5px 14px;
    color: #cbd5e1;
    font-size: 0.78rem;
    text-decoration: none;
    border-radius: 6px;
    line-height: 1.35;
}

.apidocs-nav-guide:hover,
.apidocs-nav-guide:focus-visible,
.apidocs-nav-guide.is-active {
    color: #e4e4e7;
    background: rgba(34, 197, 94, 0.12);
    outline: none;
}

.apidocs-nav-method {
    display: block;
    padding: 5px 10px 5px 14px;
    color: #94a3b8;
    font-size: 0.75rem;
    text-decoration: none;
    border-radius: 6px;
    line-height: 1.35;
}

.apidocs-nav-method:hover,
.apidocs-nav-method:focus-visible,
.apidocs-nav-method.is-active {
    color: #e4e4e7;
    background: rgba(139, 92, 246, 0.12);
    outline: none;
}

.apidocs-nav-method code {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.apidocs-index-group {
    margin: 0 0 1.35rem;
}

.apidocs-index-title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #e4e4e7;
}

.apidocs-index-list {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
}

.apidocs-index-item {
    margin: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.apidocs-index-item:last-child {
    border-bottom: none;
}

.apidocs-index-link {
    color: var(--blue-300, #93c5fd);
    font-weight: 500;
    text-decoration: none;
    text-underline-offset: 2px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.apidocs-index-link:hover,
.apidocs-index-link:focus-visible {
    color: var(--blue-400, #60a5fa);
    text-decoration: underline;
    text-decoration-color: rgba(96, 165, 250, 0.65);
}

.apidocs-index-list .apidocs-index-link {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.55rem;
    padding: 0.5rem 0.15rem;
    line-height: 1.4;
}

.apidocs-index-link:hover .apidocs-index-slug,
.apidocs-index-link:focus-visible .apidocs-index-slug,
.apidocs-index-link.is-active .apidocs-index-slug {
    color: var(--blue-400, #60a5fa);
}

.apidocs-index-link.is-active {
    color: var(--blue-400, #60a5fa);
    text-decoration: underline;
    text-decoration-color: rgba(96, 165, 250, 0.55);
}

.apidocs-index-slug {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88rem;
    font-weight: 650;
    color: #c4b5fd;
}

.apidocs-index-sep {
    color: #64748b;
    font-size: 0.85rem;
}

.apidocs-index-desc {
    color: #94a3b8;
    font-size: 0.88rem;
    flex: 1 1 12rem;
}

.apidocs-endpoint.is-focused {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.apidocs-endpoint-slug {
    margin: 0 0 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.35rem;
    font-weight: 700;
    color: #e4e4e7;
}

.apidocs-endpoint-group {
    margin: 0 0 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #94a3b8;
}

.apidocs-detail-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.apidocs-detail-back {
    color: #a78bfa;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.apidocs-detail-back:hover {
    color: #c4b5fd;
}

.apidocs-inline-tester {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(139, 92, 246, 0.22);
}

.apidocs-inline-tester-title {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #e4e4e7;
}

.apidocs-example-response {
    max-height: 360px;
    overflow: auto;
}

.apidocs-method-extra {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(139, 92, 246, 0.18);
}

.apidocs-method-extra > :first-child {
    margin-top: 0;
}

.apidocs-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    overflow: visible;
    position: relative;
    z-index: 8;
}

.apidocs-header-actions .ui-hint-tip {
    position: relative;
    z-index: 9;
}

.apidocs-header-actions .ui-hint-tip:hover,
.apidocs-header-actions .ui-hint-tip:focus-within,
.apidocs-header-actions .ui-hint-tip--open {
    z-index: 30;
}

.apidocs-header-actions .ui-hint-tip:hover .ui-hint-tip-bubble,
.apidocs-header-actions .ui-hint-tip:focus-within .ui-hint-tip-bubble,
.apidocs-header-actions .ui-hint-tip--open .ui-hint-tip-bubble {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Header / .glass-card overflow clips upward hints — keep these below the buttons. */
.apidocs-header-actions .ui-hint-tip .ui-hint-tip-bubble {
    bottom: auto;
    top: calc(100% + 8px);
    transform: translateY(-4px);
}

.apidocs-header-actions .ui-hint-tip .ui-hint-tip-bubble::after {
    bottom: auto;
    top: -5px;
    border-right: none;
    border-bottom: none;
    border-left: 1px solid rgba(139, 92, 246, 0.35);
    border-top: 1px solid rgba(139, 92, 246, 0.35);
}

body.landing-with-topbar .apidocs-page.glass-card {
    margin-bottom: var(--glass-card-margin-bottom, 1.5rem);
    overflow: visible;
}

/* CS2-only portal: nav links sit directly under the logo (no game picker). */
.sidebar-bottom {
    border-top: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.sidebar-bottom::before {
    display: none;
}

.sidebar-quick-links {
    flex: 1;
    padding-top: 12px;
}

/* Steam inventory thumbnails inside the reference data table. */
.item-thumb {
    width: 54px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(17, 4, 42, 0.65);
    border: 1px solid var(--border);
}

.td-sub {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    word-break: break-all;
}

.td-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.76rem;
}

/* Grid/table swap on the market page. */
.market-view[hidden] {
    display: none !important;
}

.market-toolbar {
    margin-bottom: 14px;
}

.market-meta {
    font-size: 0.76rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Endpoint tester - reference api-docs "try panel" tokens, form-sized. */
.apidocs-try-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.apidocs-try-grid .apidocs-try-panel {
    margin: 0;
}

.apidocs-try-grid .apidocs-try-input {
    max-width: none;
}

.apidocs-try-grid .apidocs-try-full {
    grid-column: 1 / -1;
}

.apidocs-try-panel[hidden] {
    display: none !important;
}

textarea.apidocs-try-input {
    min-height: 180px;
    resize: vertical;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    line-height: 1.5;
}

select.apidocs-try-input {
    cursor: pointer;
}

select.apidocs-try-input option {
    background: var(--surface-solid);
}

.apidocs-try-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.apidocs-test-result {
    margin-top: 4px;
}

.apidocs-test-result .apidocs-code {
    max-height: 420px;
    overflow: auto;
}

.apidocs-hint-warn {
    color: var(--amber-300);
}

.apidocs-callout {
    margin: 12px 0 14px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(139, 92, 246, 0.35);
    background: rgba(139, 92, 246, 0.08);
}

.apidocs-callout .apidocs-h4 {
    margin-top: 0;
}

.apidocs-callout .apidocs-text:last-child {
    margin-bottom: 0;
}

.apidocs-md blockquote {
    margin: 12px 0 14px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(139, 92, 246, 0.35);
    background: rgba(139, 92, 246, 0.08);
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.apidocs-callout table,
.apidocs-md blockquote + table {
    margin-top: 8px;
}

.apidocs-muted {
    color: var(--text-muted);
    font-size: 0.84rem;
}

/* Markdown-rendered partner docs, matched to .apidocs-* typography. */
.apidocs-md h1,
.apidocs-md h2 {
    margin: 22px 0 10px;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.apidocs-md h1:first-child,
.apidocs-md h2:first-child {
    margin-top: 0;
}

.apidocs-md h3 {
    margin: 18px 0 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.apidocs-md p {
    margin: 0 0 10px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.apidocs-md ul {
    margin: 0 0 12px;
    padding-left: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    list-style: disc;
}

.apidocs-md hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid var(--border);
}

.apidocs-md code {
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(139, 92, 246, 0.12);
    color: var(--violet-300);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.82em;
}

.apidocs-md pre {
    margin: 10px 0 14px;
    padding: 12px 14px;
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.3);
}

.apidocs-md pre code {
    padding: 0;
    background: none;
    color: var(--text-primary);
    font-size: 0.78rem;
    line-height: 1.55;
}

.apidocs-md table {
    width: 100%;
    margin: 0 0 14px;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.apidocs-md th {
    padding: 10px 12px;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
    white-space: nowrap;
}

.apidocs-md td {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.08);
    color: var(--text-secondary);
    vertical-align: top;
}

/* Cross-links in guides, panel docs, and endpoint tables */
.apidocs-md a.apidocs-index-link,
.apidocs-content a.apidocs-index-link,
.apidocs-method-extra a.apidocs-index-link {
    color: var(--blue-300, #93c5fd);
    font-weight: 500;
}

.apidocs-md a.apidocs-index-link:hover,
.apidocs-md a.apidocs-index-link:focus-visible,
.apidocs-content a.apidocs-index-link:hover,
.apidocs-content a.apidocs-index-link:focus-visible,
.apidocs-method-extra a.apidocs-index-link:hover,
.apidocs-method-extra a.apidocs-index-link:focus-visible {
    color: var(--blue-400, #60a5fa);
}

/* Chinese market page */
.cm-page .cm-lead { margin: 6px 0 0; max-width: 720px; }
.cm-search-bar {
    display: flex;
    gap: 10px;
    margin: 0 0 16px;
    flex-wrap: wrap;
}
.cm-search-input { flex: 1 1 auto; width: 100%; min-width: 0; }

.cm-price-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.18);
    background: rgba(139, 92, 246, 0.06);
    font-size: 0.78rem;
    color: var(--text-secondary);
    overflow: visible;
    position: relative;
    z-index: 1;
    cursor: help;
    outline: none;
}

.glass-card:has(.cm-price-legend) {
    overflow: visible;
}

.glass-card:has(.cm-price-legend:hover),
.glass-card:has(.cm-price-legend:focus-within) {
    z-index: 40;
}
.cm-legend-label {
    font-weight: 600;
    color: #c4b5fd;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.68rem;
}
.cm-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.cm-fee-hint {
    color: #a78bfa;
    font-weight: 600;
}
.cm-tip-bubble {
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    bottom: auto;
    transform: translateX(-50%);
    width: min(300px, 78vw);
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.35);
    background: #12121a;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    color: var(--text-secondary);
    font-size: 0.74rem;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    white-space: pre-line;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 200;
}
.cm-tip-bubble::after {
    content: '';
    position: absolute;
    bottom: 100%;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: rgba(139, 92, 246, 0.35);
}
.cm-price-legend:hover .cm-tip-bubble,
.cm-price-legend:focus .cm-tip-bubble,
.cm-price-legend:focus-visible .cm-tip-bubble,
.cm-price-legend:focus-within .cm-tip-bubble {
    opacity: 1;
    visibility: visible;
}

.cm-grid {
    --market-card-min: clamp(160px, 14vw, 220px);
    margin-bottom: 4px;
}
.cm-page .market-main .cm-grid,
.cm-page .cm-grid {
    grid-template-columns: repeat(auto-fill, minmax(var(--market-card-min), 1fr));
}
@media (min-width: 1100px) {
    .cm-page .cm-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
@media (max-width: 480px) {
    .cm-grid {
        --market-card-min: clamp(140px, 44vw, 180px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.cm-grid-message {
    grid-column: 1 / -1;
    padding: 28px 16px;
    text-align: center;
}
.cm-card .market-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cm-card-prices {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
}
.cm-card-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.76rem;
}
.cm-card-price-label {
    color: var(--text-muted);
    flex-shrink: 0;
}
.cm-card-price-val {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.74rem;
    color: var(--text-secondary);
}
.cm-price-best { color: #34d399; font-weight: 600; }
.cm-card-actions {
    padding: 0 11px 11px;
    margin-top: auto;
}
.cm-card-actions .btn { width: 100%; }
.cm-gift-panel { margin-top: 24px; }
.cm-gift-result { margin-top: 12px; max-height: 220px; overflow: auto; }
.cm-list-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.apidocs-tester-scope {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.apidocs-tester-scope-btn.active {
    border-color: rgba(139, 92, 246, 0.55);
    background: rgba(139, 92, 246, 0.14);
}

/* Auth pages: the reference renders them inside the SPA shell; the portal
   serves them standalone, so re-create the shell-free page frame. */
body.auth-standalone {
    display: block;
}

body.auth-standalone .auth-page {
    min-height: 100dvh;
    align-items: center;
}

.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.25rem;
}

.auth-brand .logo-icon {
    width: 40px;
    height: 40px;
}

.auth-field-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.auth-google-banner {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
}

.auth-google-banner .google-profile-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.auth-google-banner .google-profile-email {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.auth-google-unconfigured {
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: rgba(251, 191, 36, 0.08);
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.45;
    text-align: left;
}

[hidden] {
    display: none !important;
}

/* Admin monitoring (Roblox163-style dark violet tabs) */
.admin-tab-content {
    display: none;
}
.admin-tab-content.active {
    display: block;
}
.admin-log-panel {
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', ui-monospace, monospace;
    font-size: 12px;
    background: rgba(10, 10, 18, 0.72);
    border: 1px solid rgba(139, 92, 246, 0.28);
    border-radius: 10px;
    padding: 12px;
    max-height: calc(100vh - 260px);
    overflow-y: auto;
    line-height: 1.6;
    color: var(--text-secondary, rgba(255, 255, 255, 0.75));
}
#admin-tabs.admin-tabs {
    border-bottom: 1px solid rgba(139, 92, 246, 0.22);
    padding-bottom: 12px;
    margin-bottom: 0;
}

/* Admin page */
.admin-table-wrap {
    overflow-x: auto;
    margin-top: 1rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-balance-cell {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    align-items: center;
    min-width: 0;
}

.admin-credit-input {
    width: 6.5rem !important;
    min-width: 0 !important;
    padding: 0.35rem 0.5rem !important;
}

/*
 * Landing header initials avatar - last-wins override for pages that also
 * load style.css / deposit-main.css. Matches Roblox163 header-avatar ring.
 */
.user-dropdown {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.avatar-placeholder,
#user-initials.avatar-placeholder {
    box-sizing: border-box;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px;
    max-width: 28px;
    aspect-ratio: 1 / 1;
    flex: 0 0 28px;
    border-radius: 50%;
    border: 2px solid #8b5cf6;
    background: #0a0a0f !important;
    background-image: none !important;
    color: #c4b5fd;
}

.user-name,
#user-name.user-name {
    display: block !important;
    color: #e2e8f0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex: 0 1 auto;
    min-width: 3ch;
    max-width: 140px;
}

/* Kill decorative gradients inherited from style.css on portal pages */
body::after {
    background-image: none !important;
    animation: none !important;
}

.grid-overlay,
.landing-page .grid-overlay {
    background: rgba(10, 8, 20, 0.35) !important;
    background-image: none !important;
    animation: none !important;
}

.login-bg-gradient,
.login-bg-radial {
    background: rgba(139, 92, 246, 0.08) !important;
}

.login-bg-grid {
    background-image: none !important;
    animation: none !important;
}

.dropdown-item::before,
.logout-item::before {
    display: none !important;
}

.header-avatar,
.sb-user-avatar {
    border: 2px solid #8b5cf6 !important;
    background: var(--bg-primary, #0a0a0f) !important;
    background-image: none !important;
}

.market-card-image {
    background: rgba(17, 4, 42, 0.65) !important;
}

.skeleton-row {
    background: rgba(139, 92, 246, 0.1) !important;
    background-image: none !important;
}

.sidebar-header::after,
.sidebar-bottom::before {
    background: rgba(139, 92, 246, 0.25) !important;
    background-image: none !important;
}

.game-item.active::before {
    background: #8b5cf6 !important;
}
