/* Loaded only by Binance PC futures. Shared trading styles remain unchanged. */
html[data-binance-futures-theme][color-scheme="light"] {
    color-scheme: light;
    --bf-bg: #ffffff;
    --bf-panel: #f3f5f8;
    --bf-selected: #e7edf6;
    --bf-text: #202938;
    --bf-muted: #657185;
    --bf-border: #d5dbe5;
    --bf-accent: #956400;
}
html[data-binance-futures-theme][color-scheme="light"] body {
    background: var(--bf-bg) !important;
    color: var(--bf-text);
}
html[data-binance-futures-theme][color-scheme="light"] :is(
    .spot-hoga-shell, .spot-hoga-header-v2, .spot-hoga-controls,
    .spot-hoga-book, .spot-hoga-last-line, .spot-hoga-footer-v2,
    .scrollbar, .st_position_symbol, .tr_trade, #tr_trade,
    .binance-split-chart-panel, .binance-split-chart-header) {
    background: var(--bf-bg) !important;
    color: var(--bf-text) !important;
    border-color: var(--bf-border) !important;
}
html[data-binance-futures-theme][color-scheme="light"] :is(
    .btn_tx, .btn_tx_black, .btn_coin, .btn_coin_funtion, .btn_action, .btn_action2,
    .btn_position, .css_margin_type, .css_margin_type_rate, .btn_input,
    .btn_input_size, .btn_input_price_hoga_size, .btn_input_triger,
    .spot-hoga-unit select, .css_select_coin_on, .top_menu_on) {
    background: var(--bf-panel) !important;
    color: var(--bf-text) !important;
    border-color: var(--bf-border) !important;
}
html[data-binance-futures-theme][color-scheme="light"] :is(
    .css_select_coin, .css_select_coin_on, .css_select_coin_have_win,
    .css_select_coin_have_los, .css_select_coin_position) {
    border-top-color: var(--bf-border) !important;
    border-bottom-color: var(--bf-border) !important;
    border-right-color: var(--bf-border) !important;
}
html[data-binance-futures-theme][color-scheme="light"] :is(
    .css_select_coin:hover, .btn_tx:hover, .btn_tx_black:hover,
    .btn_position_on, .top_menu_on) {
    background: var(--bf-selected) !important;
}
html[data-binance-futures-theme][color-scheme="light"] :is(
    .spot-hoga-tabs button, .spot-hoga-more, .spot-hoga-columns,
    .spot-hoga-stack-columns, .spot-recent-trades-header, .spot-recent-time,
    .tr_wallet_txt, .btn_tx_p, .top_menu, .v_none, .v_none1) {
    color: var(--bf-muted) !important;
}
html[data-binance-futures-theme][color-scheme="light"] :is(
    .spot-hoga-tabs button.is-active, .spot-hoga-pair .bid-size,
    .spot-hoga-pair .ask-size, .spot-hoga-pair .ask-total,
    .spot-hoga-stack-row .bid-size, .spot-hoga-stack-row .ask-size) {
    color: var(--bf-text) !important;
}
html[data-binance-futures-theme][color-scheme="light"] .spot-hoga-tabs button.is-active::after { background: var(--bf-text); }
html[data-binance-futures-theme][color-scheme="light"] .spot-hoga-mode .mode-muted { fill: var(--bf-muted); }
html[data-binance-futures-theme][color-scheme="light"] .spot-hoga-depth-side.bid > span { background: #d7efe3; }
html[data-binance-futures-theme][color-scheme="light"] .spot-hoga-depth-side.ask > span { background: #f8dfe3; }
html[data-binance-futures-theme][color-scheme="light"] :is(input, select, textarea) {
    border-color: var(--bf-border);
}
html[data-binance-futures-theme][color-scheme="light"] input::placeholder { color: var(--bf-muted); }
html[data-binance-futures-theme][color-scheme="light"] :is(#view_window_funding_time, .spot-hoga-last-line span) { color: var(--bf-muted) !important; }
/* The live HOT card carries its own inline dark background. */
html[data-binance-futures-theme][color-scheme="light"] #scroll_coin_hot .css_coin_title > table {
    background: var(--bf-panel) !important;
    color: var(--bf-text) !important;
}
html[data-binance-futures-theme][color-scheme="light"] #scroll_coin_hot .css_coin_title > table > tbody > tr > td {
    border-top-color: var(--bf-border) !important;
    border-right-color: var(--bf-border) !important;
    border-bottom-color: var(--bf-border) !important;
}
html[data-binance-futures-theme][color-scheme="light"] #scroll_coin_hot table table {
    color: var(--bf-text) !important;
}
html[data-binance-futures-theme][color-scheme="light"] body input:is(.btn_buy, .btn_sell, .btn_speed_buy, .btn_speed_sell) {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
html[data-binance-futures-theme][color-scheme="light"] body input:is(.st_money_position, .st_money_position_half) {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
html[data-binance-futures-theme][color-scheme="light"] :is(#pos_price, #pos_price_long, #pos_price_short, [id^="pos_entryPrice_"]) {
    color: #087443 !important;
}
html[data-binance-futures-theme][color-scheme="light"] body input.pop_btn_no {
    background: var(--bf-panel) !important;
    color: var(--bf-text) !important;
    -webkit-text-fill-color: var(--bf-text) !important;
    border-color: var(--bf-border) !important;
}
html[data-binance-futures-theme][color-scheme="light"] body input.pop_btn_no:hover {
    background: var(--bf-selected) !important;
}
html[data-binance-futures-theme][color-scheme="light"] :is(#down_menu_trans, #down_menu_leverage, #down_menu_iso) {
    background: var(--bf-bg) !important;
    color: var(--bf-text);
}
html[data-binance-futures-theme][color-scheme="light"] :is(#down_menu_trans, #down_menu_leverage, #down_menu_iso) [style*="color:#efefef" i] {
    color: var(--bf-muted) !important;
}
html[data-binance-futures-theme][color-scheme="light"] :is(#position_leverage_temp, #my_margin_iso),
html[data-binance-futures-theme][color-scheme="light"] #down_menu_trans td[style*="background:#166ec5" i] {
    color: #ffffff !important;
}
