/* SEARCH RUST MARKET — Dark Theme v12 */
html[data-theme="dark"] {
    color-scheme: dark;
    --bg:#0a0f16;--surface:#111821;--surface-soft:#151e29;--surface-strong:#1a2431;
    --text:#eef3f8;--muted:#9aa8b8;--muted-2:#77869a;
    --line:#263241;--line-strong:#344255;
    --primary:#3b82f6;--primary-dark:#60a5fa;--primary-soft:rgba(59,130,246,.13);
    --shadow-sm:0 8px 24px rgba(0,0,0,.16);--shadow-md:0 20px 54px rgba(0,0,0,.28);
}
html[data-theme="dark"] body{color:var(--text)!important;background:radial-gradient(circle at 50% -20%,rgba(59,130,246,.07),transparent 34rem),#0a0f16!important}
html[data-theme="dark"] a{color:inherit}
html[data-theme="dark"] .site-header{border-color:#202b39!important;background:rgba(10,15,22,.94)!important;box-shadow:0 1px 0 rgba(255,255,255,.015)!important;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
html[data-theme="dark"] .header-link,html[data-theme="dark"] .icon-button,html[data-theme="dark"] .mobile-toggle{color:#c8d2de!important;border-color:#2a3646!important;background:#111821!important}
html[data-theme="dark"] .header-link:hover,html[data-theme="dark"] .icon-button:hover,html[data-theme="dark"] .mobile-toggle:hover{color:#fff!important;border-color:#3a4d66!important;background:#172231!important}
html[data-theme="dark"] .header-search input{color:#eef3f8!important;border-color:#2b3747!important;background:#111821!important}
html[data-theme="dark"] .header-search input:focus{border-color:#3b82f6!important;background:#131c27!important;box-shadow:0 0 0 3px rgba(59,130,246,.12)!important}
html[data-theme="dark"] .header-search input::placeholder{color:#718095!important}
html[data-theme="dark"] .search-suggestions,html[data-theme="dark"] .dropdown-menu,html[data-theme="dark"] .mobile-menu{color:var(--text)!important;border-color:#2a3646!important;background:#111821!important;box-shadow:var(--shadow-md)!important}
html[data-theme="dark"] .dropdown-item{color:#c4cfdb!important}html[data-theme="dark"] .dropdown-item:hover{color:#fff!important;background:#172331!important}
html[data-theme="dark"] .card,html[data-theme="dark"] .rm-card,html[data-theme="dark"] .account-shell,html[data-theme="dark"] .profile-card,html[data-theme="dark"] .stats-card,html[data-theme="dark"] .list-card,html[data-theme="dark"] .session-card,html[data-theme="dark"] .session-table-card,html[data-theme="dark"] .review-card,html[data-theme="dark"] .support-card,html[data-theme="dark"] .support-panel,html[data-theme="dark"] .modal-card,html[data-theme="dark"] .modal-content{color:var(--text)!important;border-color:#263241!important;background:#111821!important;box-shadow:var(--shadow-sm)!important}
html[data-theme="dark"] .balance-card,html[data-theme="dark"] .mvk-card,html[data-theme="dark"] .account-balance-card,html[data-theme="dark"] .account-topup-card{color:var(--text)!important;border-color:#283648!important;background:#111821!important;box-shadow:var(--shadow-sm)!important}
html[data-theme="dark"] .balance-card::after,html[data-theme="dark"] .account-balance-card::after,html[data-theme="dark"] .account-topup-card::after{background:rgba(59,130,246,.055)!important}
html[data-theme="dark"] .metric-card,html[data-theme="dark"] .stat-box,html[data-theme="dark"] .order-item,html[data-theme="dark"] .topup-item,html[data-theme="dark"] .pending-review-item{color:var(--text)!important;border-color:#263241!important;background:#151e29!important}
html[data-theme="dark"] .meta,html[data-theme="dark"] .balance-note,html[data-theme="dark"] .section-head p,html[data-theme="dark"] .profile-info p,html[data-theme="dark"] .mvk-card p,html[data-theme="dark"] .empty-state,html[data-theme="dark"] .review-summary p{color:var(--muted)!important}
html[data-theme="dark"] .account-tabs{border-color:#263241!important;background:#0f161f!important}html[data-theme="dark"] .account-tab{color:#9cabbc!important}html[data-theme="dark"] .account-tab:hover{color:#e8eef5!important;background:rgba(255,255,255,.025)!important}html[data-theme="dark"] .account-tab.is-active{color:#93c5fd!important;background:rgba(59,130,246,.09)!important}
html[data-theme="dark"] .review-summary{border-color:#2b4362!important;background:#141f2d!important}
html[data-theme="dark"] .btn-primary,html[data-theme="dark"] button.btn-primary{color:#fff!important;border-color:#3b82f6!important;background:#2563eb!important;box-shadow:0 8px 20px rgba(37,99,235,.18)!important}html[data-theme="dark"] .btn-primary:hover,html[data-theme="dark"] button.btn-primary:hover{border-color:#60a5fa!important;background:#2f74e8!important}
html[data-theme="dark"] .btn-secondary,html[data-theme="dark"] button.btn-secondary{color:#d7e0ea!important;border-color:#334155!important;background:#17202b!important;box-shadow:none!important}html[data-theme="dark"] .btn-secondary:hover,html[data-theme="dark"] button.btn-secondary:hover{color:#fff!important;border-color:#46566c!important;background:#1b2634!important}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{color:#eef3f8!important;border-color:#334155!important;background:#0d141d!important}html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#718095!important}html[data-theme="dark"] input:focus,html[data-theme="dark"] select:focus,html[data-theme="dark"] textarea:focus{border-color:#3b82f6!important;box-shadow:0 0 0 3px rgba(59,130,246,.11)!important}
html[data-theme="dark"] .product-card,html[data-theme="dark"] .catalog-card,html[data-theme="dark"] .recommendation-card,html[data-theme="dark"] .related-card,html[data-theme="dark"] .category-filter-bar{color:var(--text)!important;border-color:#263241!important;background:#111821!important}
html[data-theme="dark"] .category-filter-bar .active,html[data-theme="dark"] .category-filter-bar [aria-selected="true"]{color:#fff!important;background:#2563eb!important}
html[data-theme="dark"] #steam-topup,html[data-theme="dark"] #steam-topup.steam-topup{color:#eef3f8!important;border-color:#29374a!important;background:radial-gradient(circle at 100% 100%,rgba(59,130,246,.07),transparent 26%),#111821!important;box-shadow:var(--shadow-sm)!important}
html[data-theme="dark"] #steam-topup .steam-title{color:#f8fafc!important}html[data-theme="dark"] #steam-topup .steam-subtitle,html[data-theme="dark"] #steam-topup .steam-payment-heading,html[data-theme="dark"] #steam-topup .steam-payment-section-head>span{color:#78b3ff!important}html[data-theme="dark"] #steam-topup .steam-control label{color:#cfd9e5!important}html[data-theme="dark"] #steam-topup input{color:#f8fafc!important;border-color:#334155!important;background:#0c131c!important}
html[data-theme="dark"] #steam-topup .steam-payment-card{color:#eaf0f7!important;border:1px solid #304055!important;background:#151f2b!important;box-shadow:none!important}html[data-theme="dark"] #steam-topup .steam-payment-card:hover{border-color:#476180!important;background:#192532!important}html[data-theme="dark"] #steam-topup .steam-payment-card strong{color:#eef3f8!important}html[data-theme="dark"] #steam-topup .steam-payment-icon{color:#8ec1ff!important;background:rgba(59,130,246,.12)!important;box-shadow:none!important}html[data-theme="dark"] #steam-topup .steam-payment-fee{color:#8ec1ff!important;border-color:transparent!important;background:rgba(59,130,246,.12)!important}
html[data-theme="dark"] #steam-topup .steam-payment-option input:checked+.steam-payment-card{border:1px solid #3b82f6!important;background:#18283c!important;box-shadow:0 0 0 3px rgba(59,130,246,.09)!important;transform:none!important}html[data-theme="dark"] #steam-topup .steam-payment-option.is-disabled .steam-payment-card{color:#738195!important;border-color:#273342!important;background:#101720!important;opacity:.62!important}html[data-theme="dark"] #steam-topup .steam-submit:disabled,html[data-theme="dark"] #steam-topup button[type="submit"]:disabled{color:#8190a3!important;border-color:#303c4c!important;background:#1b2430!important;box-shadow:none!important}
html[data-theme="dark"] .support-ticket-card,html[data-theme="dark"] .support-thread,html[data-theme="dark"] .support-compose,html[data-theme="dark"] .support-empty{border-color:#263241!important;background:#111821!important}html[data-theme="dark"] .support-message.user,html[data-theme="dark"] .support-message.is-user{color:#eaf2ff!important;background:#18283c!important}html[data-theme="dark"] .support-message.staff,html[data-theme="dark"] .support-message.is-staff{color:#e8eef5!important;background:#182129!important}
html[data-theme="dark"] table,html[data-theme="dark"] .session-table{color:#dce4ed!important}html[data-theme="dark"] .session-table th,html[data-theme="dark"] table th{color:#8f9fb1!important;border-color:#263241!important;background:#0f161f!important}html[data-theme="dark"] .session-table td,html[data-theme="dark"] table td{border-color:#263241!important}
html[data-theme="dark"] footer,html[data-theme="dark"] .site-footer,html[data-theme="dark"] .rm-footer{color:#aeb9c7!important;border-color:#202b39!important;background:#0c1219!important}
@media(max-width:720px){html[data-theme="dark"] .mobile-menu{border-color:#263241!important;background:#0d141c!important}html[data-theme="dark"] .mobile-instructions-group,html[data-theme="dark"] .mobile-instructions-summary,html[data-theme="dark"] .mobile-instructions-links{color:#d5dee8!important;border-color:#263241!important;background:#111821!important}html[data-theme="dark"] .mobile-bottom-nav{border:1px solid #273342!important;background:rgba(13,20,28,.96)!important;box-shadow:0 18px 42px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.025)!important;-webkit-backdrop-filter:blur(16px)!important;backdrop-filter:blur(16px)!important}html[data-theme="dark"] .mobile-bottom-nav-grid{background:transparent!important}html[data-theme="dark"] .mobile-bottom-link{color:#9eabbc!important;background:transparent!important}html[data-theme="dark"] .mobile-bottom-link i{color:#6faeff!important}html[data-theme="dark"] .mobile-bottom-link:hover,html[data-theme="dark"] .mobile-bottom-link.active{color:#fff!important;background:rgba(59,130,246,.10)!important}}

/* ===== Profile finance layout v12.2 ===== */
.account-grid:has(.account-finance-grid-v12-1),
.profile-grid:has(.account-finance-grid-v12-1){grid-template-columns:minmax(0,1fr)!important}
.account-finance-grid-v12-1{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;min-width:0;align-items:stretch}
.account-finance-grid-v12-1>.card{min-width:0;height:100%}
.account-wallet-bonus-card{padding:0!important;overflow:hidden;border:1px solid var(--line);background:var(--surface)}
.account-wallet-bonus-inner{display:flex;flex-direction:column;justify-content:space-between;gap:20px;height:100%;padding:24px}
.account-wallet-pane{min-width:0}
.account-wallet-title{display:flex;align-items:center;gap:9px;margin:0;color:var(--text);font-size:16px;line-height:1.4;font-weight:800}
.account-wallet-title i{color:var(--primary);font-size:15px}
.account-mvk-pane-v12-1{min-width:0;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}
.account-finance-label{color:var(--muted);font-size:13px;line-height:1.4;font-weight:600}
.account-wallet-value{margin-top:16px;color:var(--text);font-size:44px;line-height:1.15;font-weight:800;letter-spacing:-.045em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.account-wallet-value>span{color:var(--muted);font-size:.6em;font-weight:600;letter-spacing:0}
.account-wallet-reserved{margin-top:8px;color:var(--muted);font-size:12px;font-weight:500}
.account-mvk-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.account-mvk-icon-v12-1{width:36px;height:36px;flex:0 0 36px;object-fit:contain}
.account-mvk-copy-v12-1{min-width:0}
.account-mvk-value-v12-1{margin-left:auto;color:var(--text);font-size:24px;line-height:1.2;font-weight:800;letter-spacing:-.025em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.account-mvk-value-v12-1>span{color:var(--muted);font-size:12px;font-weight:600;letter-spacing:0}
.account-mvk-note-v12-1{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.55}
.account-topup-card-v12-1{display:flex;flex-direction:column;justify-content:center;padding:24px!important;overflow:hidden;border:1px solid var(--line);background:var(--surface)}
.account-topup-head-v12-1{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.account-topup-title-v12-1{display:flex;align-items:center;gap:9px;color:var(--text);font-size:16px;font-weight:900}
.account-topup-title-v12-1 i{color:var(--primary)}
.account-topup-card-v12-1 .balance-form{margin:0!important}
.account-topup-card-v12-1 .balance-form input,.account-topup-card-v12-1 .balance-form select{min-width:0}
html[data-theme="dark"] .account-wallet-bonus-card,html[data-theme="dark"] .account-topup-card-v12-1{border-color:#293542!important;background:#121922!important;box-shadow:0 12px 30px rgba(0,0,0,.18)!important}
html[data-theme="dark"] .account-mvk-pane-v12-1{border-color:#293542!important;background:#151f2a!important}
html[data-theme="dark"] .account-finance-label{color:#8fa0b4!important}
html[data-theme="dark"] .account-wallet-title i{color:#6ea8ff!important}
html[data-theme="dark"] .account-wallet-title,html[data-theme="dark"] .account-wallet-value,html[data-theme="dark"] .account-mvk-value-v12-1,html[data-theme="dark"] .account-topup-title-v12-1{color:#f3f6fa!important}
html[data-theme="dark"] .account-wallet-reserved,html[data-theme="dark"] .account-mvk-note-v12-1{color:#93a2b5!important}
@media(max-width:860px){.account-finance-grid-v12-1{grid-template-columns:1fr}}
@media(max-width:520px){.account-finance-grid-v12-1{gap:12px}.account-wallet-bonus-inner{gap:20px;padding:17px}.account-wallet-value{font-size:36px}.account-mvk-pane-v12-1{padding:12px}.account-mvk-icon-v12-1{width:30px;height:30px;flex-basis:30px}.account-mvk-value-v12-1{font-size:22px}.account-topup-card-v12-1{padding:17px!important}}
