/* Keep the shared site header untouched; only the V2 trading workspace changes. */
.wawabit-futures-v2 #v2_trading_area {
    min-height: calc(100vh - 50px);
    background: #131722;
}
.wawabit-futures-v2 #vm_title .v2-market-header {
    table-layout: fixed;
}
.wawabit-futures-v2 #vm_title .v2-market-header > tbody > tr > td:first-child {
    width: 4%;
}
.wawabit-futures-v2 #vm_title #title_market {
    width: 10%;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wawabit-futures-v2 #vm_title #title_market:focus-visible {
    outline: 2px solid #f3ba2d;
    outline-offset: -2px;
}
.wawabit-futures-v2 #vm_title .v2-market-stat-cell {
    width: 20.5%;
    padding: 0 6px;
    vertical-align: middle;
}
.wawabit-futures-v2 #vm_title #vm_control_hoga {
    width: 4%;
}
.wawabit-futures-v2 #vm_title .v2-market-stat {
    min-width: 0;
    font-size: 0.8rem;
    color: #eef2f7;
}
.wawabit-futures-v2 #vm_title .v2-market-stat-label {
    min-height: 20px;
    overflow: hidden;
    border-bottom: 1px dashed #575e69;
    color: #aab4c3;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wawabit-futures-v2 #vm_title .v2-market-stat-value {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 23px;
    overflow: hidden;
    white-space: nowrap;
}
.wawabit-futures-v2 #vm_title .v2-market-stat-value span:first-child {
    color: #ffcc00;
}
.wawabit-futures-v2 #vm_title #view_window_funding_time,
.wawabit-futures-v2 #vm_title .v2-market-stat-value span:last-child {
    color: #aab4c3;
}

html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area {
    background: #fff;
    color: #202938;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area > center > table,
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area :is(
    #main_market, #main_trade, #frame_main1, #frame_main2, #frame_monitor,
    #frame_right, #main_chart_cell, #split_chart_cell, #vm_title, #vm_title > table,
    #main_market > table, #scroll_market, #frame_right > table) {
    background: #fff !important;
    color: #202938 !important;
    border-color: #d5dbe5 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area :is(#frame_main2, #frame_right, #main_market) {
    background: #f8fafc !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area :is(#down_menu_info, #down_menu_funding, #down_menu_orderall) {
    background: #fff !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area :is(#search_market, #filter_trade, #hoga_step) {
    background: #fff !important;
    color: #202938 !important;
    border-color: #d5dbe5 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #scroll_market .css_coin_title > table {
    background: #fff !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #total_tx {
    color: #087443 !important;
}
.wawabit-futures-v2 #v2_trading_area #scroll_market::-webkit-scrollbar {
    width: 3px;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #scroll_market::-webkit-scrollbar,
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #scroll_market::-webkit-scrollbar-track {
    background: #f1f4f8 !important;
    box-shadow: none;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #scroll_market::-webkit-scrollbar-thumb {
    background: #b5bfcc !important;
    box-shadow: none;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #vm_title #title_market {
    color: #202938 !important;
}
html[data-binance-futures-theme][color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #vm_title .v2-market-stat,
html[data-binance-futures-theme][color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #vm_title .v2-market-stat * {
    color: #202938 !important;
}
html[data-binance-futures-theme][color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #vm_title .v2-market-stat-label {
    border-bottom-color: #b5bfcc;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-order-title-row > td,
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-position-bar > td {
    border-color: #d5dbe5 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-order-title-row > td:first-child,
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-order-title-row .btn_option {
    color: #202938 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-order-mode-button {
    background: #eef2f7;
    color: #202938;
    border-color: #cbd5e1;
}
html[data-binance-futures-theme][color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 .v2-order-icon-group > :is(.v2-order-icon-button, .binance_futures_calculator_trigger) {
    color: #374151 !important;
}
html[data-binance-futures-theme][color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 .v2-order-icon-group > :is(.v2-order-icon-button, .binance_futures_calculator_trigger):is(:hover, :focus-visible) {
    background: #e7edf6 !important;
    color: #202938 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 .v2-order-wallet-balance {
    color: #202938 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 .v2-order-wallet-balance .fa-wallet {
    color: #202938 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 .v2-order-wallet-balance :is(#my_margin_balance_top, #my_margin_balance_top_iso) {
    color: #202938 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 .w5-margin-risk {
    border-top-color: #d5dbe5;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 .w5-margin-risk-track {
    background: #e7ebf0;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 .v2-wallet-row-total > i {
    color: #aab4c3 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 .v2-wallet-row-total > span:first-of-type {
    color: #202938 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 :is(.v2-order-auto-label, .v2-order-price-label) {
    color: #202938 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 #btn_sell_post_price {
    color: #b42335 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-position-tablist button {
    color: #657185;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-position-tablist button.btn_coin {
    background: #374151 !important;
    color: #fff !important;
    border-color: #374151 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-position-summary {
    color: #657185;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area :is(.v2-wallet-summary, .v2-wallet-row) {
    background: #f8fafc !important;
    color: #202938 !important;
    border-color: #d5dbe5 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-trade-popup {
    background: #fff !important;
    color: #202938;
    border-color: #cbd5e1;
    box-shadow: 0 24px 70px rgb(32 41 56 / 22%);
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-popup-header h2,
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-trade-popup :is(#v2_transfer_title, #v2_leverage_title, #v2_iso_title) {
    color: #202938;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area :is(.v2-popup-close, .v2-popup-copy, #down_menu_iso td) {
    color: #657185;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-margin-options button,
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-leverage-stepper {
    color: #202938;
    border-color: #cbd5e1;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-margin-options button.is-selected {
    border-color: #202938;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #down_menu_leverage .v2-leverage-stepper > div,
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #down_menu_iso #my_margin_iso {
    color: #202938 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area :is(#down_menu_trans, #down_menu_iso) input[type="text"],
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #down_menu_iso input[type="number"] {
    background: #f8fafc !important;
    color: #202938 !important;
    border-color: #cbd5e1 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #down_menu_iso input.btn_tx[type="button"] {
    background: #eef2f7 !important;
    color: #202938 !important;
    border-color: #cbd5e1 !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 .w5-quick-input { background: #f3f5f8 !important; color: #202938 !important; border-color: #d5dbe5 !important; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 .w5-quick-input-title { color: #202938 !important; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 .w5-quick-input-modes { background: #e7edf6 !important; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 .w5-quick-input-modes button,
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 .w5-quick-input .btn_ttx,
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 .w5-quick-input .btn_tx_p { background: #fff !important; color: #202938 !important; border-color: #cbd5e1 !important; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 .w5-quick-input-modes .btn_txc_on { background: #fff7db !important; color: #805400 !important; border-color: #b8860b !important; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .futures-hoga-speed-row button { background: #f8fafc; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .futures-hoga-speed-row.ask button { color: #b42335; border-color: #e8b1b8; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .futures-hoga-speed-row.bid button { color: #087443; border-color: #9dcfba; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .futures-hoga-speed-row button:hover { background: #e7edf6; }
html[data-binance-futures-theme][color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_right .spot-hoga-footer-v2 {
    background: #32191e !important;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .futures-hoga-speed-list {
    scrollbar-color: #aab5c5 #f1f4f8;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .futures-hoga-speed-list::-webkit-scrollbar-track {
    background: #f1f4f8;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .futures-hoga-speed-list::-webkit-scrollbar-thumb {
    border-color: #f1f4f8;
    background: #aab5c5;
}
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-transfer-popup #v2_transfer_title { border-color: #d5dbe5; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-transfer-direction { color: #805400; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-transfer-popup :is(.v2-popup-hint, .v2-transfer-label) { color: #657185; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-transfer-wallet { background: #f8fafc; color: #202938; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-transfer-wallet small { color: #805400; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-transfer-wallet span { color: #657185; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #pop_trans_1 .v2-transfer-target { border-color: #087443; background: #def3e9; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #pop_trans_2 .v2-transfer-target { border-color: #b8860b; background: #fff2c4; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #pop_trans_1 .v2-transfer-switch { background: #087443; color: #fff; border-color: #087443; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #pop_trans_2 .v2-transfer-switch { background: #f3ba2d; color: #202938; border-color: #b8860b; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-transfer-input { background: #fff; border-color: #cbd5e1; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-transfer-input input[type="text"] { background: transparent !important; color: #202938 !important; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-transfer-input span { color: #657185; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area .v2-transfer-input .v2-popup-aux { background: #eef2f7; color: #202938; border-color: #cbd5e1; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #public_setup .public_cex_container { background: #fff !important; color: #202938; border-color: #cbd5e1; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #public_setup .cex_img,
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #public_setup .v2-sound-settings-body { color: #202938 !important; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #public_setup #setup_sound_trade_size { background: #f8fafc !important; color: #202938 !important; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #binance_futures_calculator .bfc_dialog { background: #fff !important; color: #202938 !important; border-color: #cbd5e1 !important; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #binance_futures_calculator :is(.bfc_title, .bfc_close, .bfc_tab.is-active, .bfc_suffix, .bfc_result_row strong:not(.bfc_positive):not(.bfc_negative), .bfc_leverage strong) { color: #202938 !important; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #binance_futures_calculator :is(.bfc_contract, .bfc_select) { background: #eef2f7 !important; color: #202938 !important; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #binance_futures_calculator :is(.bfc_tabs, .bfc_side, .bfc_leverage, .bfc_input, .bfc_result, .bfc_position_row input) { border-color: #cbd5e1 !important; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #binance_futures_calculator :is(.bfc_input input, .bfc_input select, .bfc_position_row input) { background: transparent !important; color: #202938 !important; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #binance_futures_calculator .bfc_side button:not(.is-long):not(.is-short) { color: #657185; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #binance_futures_calculator .bfc_result_row strong.bfc_positive { color: #087443; }
html[color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #binance_futures_calculator .bfc_result_row strong.bfc_negative { color: #b42335; }

.wawabit-futures-v2 #v2_trading_area #frame_main2 :is(#btn_trade_size, #order_timeforce_option) {
    box-sizing: border-box;
    height: 32px;
    border: 1px solid #354052 !important;
    border-radius: 4px;
    background: #1c2330 !important;
    color: #eef2f7 !important;
}
html[data-binance-futures-theme][color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #frame_main2 :is(#btn_trade_size, #order_timeforce_option) {
    border-color: #d5dbe5 !important;
    background: #f3f5f8 !important;
    color: #202938 !important;
}
html[data-binance-futures-theme][color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #split_chart_cell .split_chart_toolbar {
    background: #e9edf2 !important;
    border-color: #d5dbe5 !important;
    color: #303a4b !important;
}
html[data-binance-futures-theme][color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #split_chart_cell .split_chart_toolbar td {
    color: #303a4b !important;
}
html[data-binance-futures-theme][color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #split_chart_cell .split_chart_input {
    background: transparent !important;
    border-color: #4b5563 !important;
    color: #303a4b !important;
}
html[data-binance-futures-theme][color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #split_chart_cell .split_chart_btn {
    background: #374151 !important;
    border-color: #4b5563 !important;
    color: #fff !important;
}
html[data-binance-futures-theme][color-scheme="light"] .wawabit-futures-v2 #v2_trading_area #split_chart_cell .split_chart_btn:hover {
    background: #4b5563 !important;
}
