/* Dark-gold skin: visual paint only. Game results retain their red/blue/green identity. */
:root {
  color-scheme: dark;
  --dg-background: #090603;
  --dg-surface: #191006;
  --dg-raised: #2a1a0c;
  --dg-field: #120d07;
  --dg-text: #fff1c5;
  --dg-muted: #cfb987;
  --dg-gold: #f7d681;
  --dg-border: #8d693c;
  --dg-panel-gradient: linear-gradient(180deg, #79501f 0%, #43270c 100%);
  --dg-nav-gradient: linear-gradient(110deg, #790903 0%, #b92709 40%, #f5b13d 100%);
  --dg-action-gradient: linear-gradient(180deg, #ffedaa 0%, #ffc75b 16%, #ed6b18 50%, #bc1706 100%);
}
html, body, .app, .page, .drop, .smain, .spage {
  background-color: var(--dg-background) !important;
  color: var(--dg-text) !important;
}
body { font-family: 'PingFang SC', 'Microsoft YaHei', Helvetica, Arial, sans-serif; }
input, textarea, select, option {
  color: var(--dg-text) !important;
  background-color: var(--dg-field) !important;
  accent-color: var(--dg-gold);
}
input::placeholder, textarea::placeholder { color: #b29c72 !important; opacity: 1; }
a { color: var(--dg-gold); }
:focus-visible { outline: 2px solid var(--dg-gold); outline-offset: 3px; }

/* Shared legacy panels, labels and dividers. */

.cir1,.cir2,.cir3,.cir4,
.cirw,
.spin_rect,
.rect_blue,
.linerapidanm>div,
.full,
.drop,
.uu_pop_bg_w,
.uu_pop_bg_w2,
.uu_option,
.uu_form_light,.uu_form_white,.uu_form_withdraw_acc_add,
.uu_form_white,
.uul_input_bar,
.uul_select_load,
.uul_select_wait,
.uul_select,
.uul_select_down,.uul_select_down_wd,
.uul_option,
.f_foot_bar,
.d_top_bar,
._dt_bar,
._dtb_th,
._dtb_td,
._dtb_ext,
._dtb_month,
._dtb_month_1,._dtb_month_10,._dtb_month_11,._dtb_month_12,._dtb_month_2,._dtb_month_3,._dtb_month_4,._dtb_month_5,._dtb_month_6,._dtb_month_7,._dtb_month_8,._dtb_month_9,
._dtb_year,
._dtb_year_1,._dtb_year_10,._dtb_year_11,._dtb_year_12,._dtb_year_2,._dtb_year_3,._dtb_year_4,._dtb_year_5,._dtb_year_6,._dtb_year_7,._dtb_year_8,._dtb_year_9,
.r_btn,
.r_btn_wait,
.tkm_title_bar,
.tki_body_bar,
.tkio_l_text,
.tkio_l_btncopy,
.tkio_l_btncopy_ext,
.tkio_r_text,
.tkm_box_bar,
.tkm_box,
.tkm_btn_wait,
.tk_pop_bg,
.ccl_pop_core,
.ccl_one,
.ccpp_input_bar,
.ccpp_submit,
.ccpp_submit_wait,
.ccpp_select,
.ccpp_select_load,
.ccpp_select_loading,
.cco_body_bar,
.cco_opt_bar,
.cco_l_text,
.cco_l_btncopy,
.cco_r_text,
.ccr_head_core,
.ccr_one,
.ccm_one,
.ccm_btn_core,
.pop_form,
.pop_form_title,
.pop_btn_ok,
.pop_btn2_no,.pop_btn2_yes,
.all_game_load,
.all_game_page,
.all_game_head,
.gmhd_btn,
.gmhd_btn_wait,
.all_game_btm,
.gmbtm_mutiple_bar,
.gmbtm_mutiple_add,.gmbtm_mutiple_minus,
.gmpp_form,
.gmpp_btn_bet_wait,
.gmpop_one,
.gmpopb_one,
.hm_dv,
.hm_banner_cirone,
.hm_banner_cirsel,
.hm_gm_ha1,
.hm_gm_ha2,
.hm_gm_ffc1,
.hm_gm_ssc1,
.hm_gm_lhc2,
.hm_pop_form,
.hm_pop_form2,
.hm_pop_close,
.hm_pop_dv,
.hm_pop_ok,
.hmpp_btn_wait,
.hmpp_sms_line,
.hmpp_th,
.sh_menu_a1,.sh_menu_a2,
.sh_menu_b1,.sh_menu_b2,.sh_menu_b3,
.sh_menu_btmline,
.sh_body_area,
.sh_big_select_base,
.sh_big_select_wait,
.sh_big_select_down,
.sh_big_select_option,
.shc_menu_a1,.shc_menu_a2,
.shc_menu_b1,.shc_menu_b2,.shc_menu_b3,
.shc_menu_noSEL,
.shc_body_area,
.shc_big_select_base,
.shc_big_select_wait,
.shc_big_select_down,
.shc_big_select_option,
.wt_info_bar,
.wt_btn,
.wt_btn_wait,
.wtt_table_bar,
.wtt_head_bar,
.wtt_btn,
.wtt_btn_wait,
.iv_select_base,
.iv_select_down,
.iv_select_option,
.iv_search_btn,
.iv_search_btn_wait,
.iv_list_title_bar,
.iv_page_goto_bar,
.iv_page_goto_btn,
.iv_pg_btn1,.iv_pg_btn2,.iv_pg_btn3,.iv_pg_btn4,
.iv_list_one,
.rp_data_bar1,.rp_data_bar2,
.rp_date_clear,
.rp_search_btn,
.rp_search_btn_wait,
.rp_list_title_bar,
.rp_one,
.spr_link_bar,
.spr_btn_copy,
.pwd_bg,
.ur_static_bar,
.ur_static_copy,
.ur_input_bar,.ur_vcode_bar,
.ur_submit,
.ur_submit_wait,
.ur_box_body,
.ur_box_static_bg,
.ur_box_copy,
.ur_box_cancel_wait,
.ur_bigselect_load,
.ur_bigselect_wait,
.uwa_one_bg_2,
.uracc_form,
.uracc_btn_del_wait,
.uracc_btn_add,
.uracc_btn_add_wait,
.uwa_one_sel::before,
.uwa_one_bg,
.uwa_one_iconbg,
.uwa_btn_add,
.uwa_btn_delete_wait,
.subpg_account,
.uu_pop_close_withdraw,
.uul_w_pop_vcode_bar,
.uu_pop_close_apply_load,
.wd_info_bar,
.tm_value_bar,
.tm_value_dv,
.tmrp_data_bar1,.tmrp_data_bar2,
.tmrp_date_clear,
.tmrp_search_btn,
.tmrp_search_btn_wait,
.tmrp_list_title_bar,
.tmrp_one,
.tmlv_info_bar,
.itmrp_one_none,
.v_comm_bar,
.v_dv,
.cdl_copy { background-color: var(--dg-surface) !important; }

.head,
.ccpp_submit,
.gmkd_one_SEL,
.gmop_b11_SEL,
.gmop_b10_SEL,
.gmop_f6,
.gmbtm_btn_bar,
.ur_submit { background-image: var(--dg-panel-gradient) !important; }

.big_empty,
.uu_title,
.uu_option,
.uu_option_SEL,
.uul_input,
.uul_select_load,
.uul_select_base_txt,
.uul_option_txt,
.h_btn_txt,
.h_v1,
.h_v2,
.f_txt_on,
.d_top_t1,.d_top_t2,
._dth_btn_month:active,._dth_btn_next:active,._dth_btn_prev:active,._dth_btn_today:active,._dth_btn_year:active,
._dth_btn_year,
._dth_btn_month,
._dtb_td,
._dtb_td:active,
._dtb_sel,
._dtb_sel:active,
._dtb_month_1,._dtb_month_10,._dtb_month_11,._dtb_month_12,._dtb_month_2,._dtb_month_3,._dtb_month_4,._dtb_month_5,._dtb_month_6,._dtb_month_7,._dtb_month_8,._dtb_month_9,
._dtb_month_10:active,._dtb_month_11:active,._dtb_month_12:active,._dtb_month_1:active,._dtb_month_2:active,._dtb_month_3:active,._dtb_month_4:active,._dtb_month_5:active,._dtb_month_6:active,._dtb_month_7:active,._dtb_month_8:active,._dtb_month_9:active,
._dtb_year_1,._dtb_year_10,._dtb_year_11,._dtb_year_12,._dtb_year_2,._dtb_year_3,._dtb_year_4,._dtb_year_5,._dtb_year_6,._dtb_year_7,._dtb_year_8,._dtb_year_9,
._dtb_year_10:active,._dtb_year_11:active,._dtb_year_12:active,._dtb_year_1:active,._dtb_year_2:active,._dtb_year_3:active,._dtb_year_4:active,._dtb_year_5:active,._dtb_year_6:active,._dtb_year_7:active,._dtb_year_8:active,._dtb_year_9:active,
.r_load_t2,
.r_input,
.r_input_sml,
.r_btn,
.r_t2,
.r_t3,
.tki_title_t1,
.tkio_l_text,
.tkio_l_btncopy,
.tkio_l_btncopy_ext,
.tkio_r_text,
.tki_textarea,
.tkm_head_tip,
.tkm_box,
.tkm_btn,
.tk_pop_close,
.webuploader-pick,
.ccl_pop_wait_txt,
.ccl_back_btn,
.cclpp_title,
.cclpp_input,
.cclpp_close,
.cclpp_submit,
.ccl_red,
.ccl_name_last,
.ccl_red2,
.ccl_name_last2,
.ccl_name_nick,
.ccpp_title_bar,
.ccpp_input,
.ccpp_submit,
.ccpp_line_btn,
.ccpp_select,
.ccpp_select_load,
.ccpp_dt_nick,
.ccpp_dt_btn,
.cco_title_t1,
.cco_back_btn,
.cco_l_text,
.cco_l_btncopy,
.cco_r_text,
.cco_textarea,
.ccr_my_t1,.ccr_my_t2,
.ccr_head_btn,
.ccr_title,
.ccr_title2,
.ccr_person,
.ccm_name,
.ccm_title,
.ccm_btn,.ccm_btn_upload,
.pop_form_t1,
.pop_msg_txt,
.pop_btn_ok,
.pop_btn2_no,.pop_btn2_yes,
.all_game_maintain,
.gmhd_tm_info1,.gmhd_tm_info2,
.gmhd_iss_t1,
.gmhd_iss_t2,
.gmhd_iss_t3,
.gmhd_btn,
.gmhd_btn_wait,
.gmop_b4,.gmop_b4_sml,
.gmop_b4_SEL,
.gmop_b4_odds_t1,.gmop_b4_odds_t2,
.gmop_b5,
.gmop_title,
.gmop_unit_jiao,.gmop_unit_yuan,
.gmop_unit_SEL,
.gmop_unit_static,
.gmop_b11,
.gmop_b11_SEL,
.gmop_b10,
.gmop_b10_SEL,
.gmop_f6,
.gmop_bround,.gmop_bround_2,
.gmbtm_mutiple_add,.gmbtm_mutiple_minus,
.gmbtm_mutiple_input,
.gmbtm_count_t2,
.gmbtm_btn_t1,
.gmpp_line_txt,
.gmpp_btn_cancel,
.gmpp_btn_bet,
.gmpop_iss_ha,
.gmpop_btn_more,
.gmpop_btn_close,
.gmpopb_line_t1,
.gmpopb_cancel,
.gmpopb_cancel_wait,
.hm_fast_wait,
.hm_water_wait,
.hm_gm_btn,
.hm_pop_close,
.hm_pop_title,
.hm_pop_ok,
.hm_pop_txt,
.hmpp_btn,
.hmpp_btn_wait,
.hmpp_line_tip,
.hmpp_sms_input,
.hmpp_sms_send,
.hmpp_td1,
.hmpp_td2,
.sh_menu_a1,.sh_menu_a2,
.sh_menu_b1,.sh_menu_b2,.sh_menu_b3,
.sh_menu_SEL,.sh_menu_SEL3,
.sh_big_select_txt,
.sh_big_option_txt,
.shc_menu_a1,.shc_menu_a2,
.shc_menu_b1,.shc_menu_b2,.shc_menu_b3,
.shc_big_select_txt,
.shc_big_option_txt,
.shc_menu_close,
.wt_info_t3,
.wt_t1,
.wt_t3,
.wt_btn,
.wt_balance_t2,
.wtt_td1,.wtt_td2,.wtt_td3,
.wtt_th,
.wtt_btn,
.wtt_btn_wait,
.iv_select_base_txt,
.iv_option_txt,
.iv_search_btn,
.iv_search_btn_wait,
.iv_page_goto,
.iv_page_goto_btn,
.iv_col_1,.iv_col_2,.iv_col_3,.iv_col_4,
.iv_th,
.iv_col_tm1,.iv_col_tm2,
.iv_ft_link,
.ivp_title,
.ivp_body_load,
.rp_data_input,
.rp_date_clear,
.rp_search_btn,
.rp_search_btn_wait,
.rp_curr_t2,
.rp_col_1,.rp_col_2,.rp_col_3,.rp_col_4,.rp_col_5,
.rp_th,
.rp_ft_w,
.spr_link,
.spr_btn_copy,
.dl_title,
.dl_link,
.dl_ext_title_t1,
.dl_ext_title_t2,
.qt_btn,
.ur_title_bar,
.ur_static_copy,
.ur_input,.ur_input_sml,.ur_input_tiny,
.ur_smlbtn_d3,.ur_smlbtn_d4,
.ur_smlbtn_d3:active,.ur_smlbtn_d4:active,
.ur_submit,
.uul_sms_send,
.ur_box_title_t1,
.ur_box_title_2,
.ur_box_static,
.ur_box_copy,
.ur_box_cancel,
.ur_bigselect_load,
.uracc_title_t1,
.uracc_info_t1,
.uracc_btn_del_txt,
.uracc_btn_add_txt,
.uracc_btn_back_txt,
.uwa_one_bank,.uwa_one_card,.uwa_one_person,
.uwa_btn_add_txt,
.uwa_btn_delete_txt,
.uu_pop_close_withdraw,
.uu_pop_close_apply_load,
.tmrp_data_input,
.tmrp_date_clear,
.tmrp_search_btn,
.tmrp_search_btn_wait,
.tmrp_col_1,.tmrp_col_2,.tmrp_col_3,.tmrp_col_4,
.tmrp_th,
.tmrp_ft_w,
.tmrp_link,
.v_title_t1,
.v_1_td1,.v_1_td2,.v_1_td3,
.v_2_th3_ext_t1,.v_2_th3_ext_t2,
.cdl_title,
.cdl_link,
.cdl_copy,
.tLink { color: var(--dg-text) !important; }

.uu_option,
.gmhd_btn,
.gmhd_btn_wait { border: 4px solid var(--dg-border) !important; }

.uu_option_SEL,
.gmop_b4_SEL,
.gmop_b11_SEL,
.gmop_b10_SEL,
.sh_menu_SEL,.sh_menu_SEL3 { border-color: var(--dg-border) !important; }

.uu_option_SEL::after,
._dtb_month_10:active,._dtb_month_11:active,._dtb_month_12:active,._dtb_month_1:active,._dtb_month_2:active,._dtb_month_3:active,._dtb_month_4:active,._dtb_month_5:active,._dtb_month_6:active,._dtb_month_7:active,._dtb_month_8:active,._dtb_month_9:active,
._dtb_year_10:active,._dtb_year_11:active,._dtb_year_12:active,._dtb_year_1:active,._dtb_year_2:active,._dtb_year_3:active,._dtb_year_4:active,._dtb_year_5:active,._dtb_year_6:active,._dtb_year_7:active,._dtb_year_8:active,._dtb_year_9:active,
.all_game_flash_ha,
.all_game_flash_ffc,
.all_game_flash_car,
.sh_menu_SEL::after,
.sh_menu_SEL3::after,
.rp_total_bar { background-color: var(--dg-background) !important; }

.uul_select_load,
.uul_select_wait,
.ccpp_select_load,
.ccpp_select_loading,
.wt_info_bar,
.wd_info_bar,
.tmlv_info_bar { border: 2px dashed var(--dg-border) !important; }

.uul_select,
.uul_select_down,.uul_select_down_wd,
.ccpp_input_bar,
.ccpp_submit,
.ccpp_select,
.gmop_b4,.gmop_b4_sml,
.gmop_b5,
.gmop_b11,
.gmop_b10,
.gmop_f6,
.gmbtm_info_succ,
.sh_big_select_base,
.sh_big_select_wait,
.sh_big_select_down,
.shc_big_select_base,
.shc_big_select_wait,
.shc_big_select_down,
.wtt_btn,
.wtt_btn_wait,
.iv_select_base,
.iv_select_down,
.iv_page_goto_bar,
.ur_input_bar,.ur_vcode_bar,
.ur_submit,
.ur_box_cancel,
.uracc_btn_del,
.uracc_btn_del_wait,
.uwa_btn_delete,
.uwa_btn_delete_wait { border: 2px solid var(--dg-border) !important; }

.uul_select_base_arr,
.sh_big_select_arr,
.shc_big_select_arr,
.iv_select_base_arr { border-top: 20px solid var(--dg-border) !important; }

.uul_option_level,
.uu_form_load,
.h_t1,
.h_road_txt,
.f_txt,
._dth_btn_month,._dth_btn_next,._dth_btn_prev,._dth_btn_today,._dth_btn_year,
._dtb_th,
._dtb_ext,
.r_wait_t1,
.r_load_t1,
.r_t1,
.r_opt_btn,
.r_opt_txt,
.tk_conn_txt,
.tki_info_tip,
.tkio_l_h1,.tkio_l_h2,
.tkio_r_h1,.tkio_r_h2,
.tki_opt_btn_wait,
.tkm_btn_wait,
.cclpp_static,
.ccl_txt_last,
.ccl_time_last,
.ccl_name_rename,
.ccpp_dt_cid,
.cco_l_h1,.cco_l_h2,
.cco_r_h1,.cco_r_h2,
.cco_opt_btn_wait,
.ccr_expire,
.ccm_value,
.all_game_state,
.gmbtm_mutiple_t1,
.gmpp_line_title,
.gmpop_time_ha,
.gmpop_info,
.gmpopb_issue,
.gmpopb_datetime,
.gmpopb_info_wait,
.hm_msg_txt,
.hm_fast_txt,
.hmpp_t1,
.hmpp_line_t1,
.hmpp_sms_timeout,
.sh_menu_noSEL,
.shc_menu_noSEL,
.wt_info_t1,
.wt_balance_t1,.wt_balance_t2,
.iv_num_t1,
.iv_list_one,
.rp_curr_t1,
.spr_t1,
.ur_static_txt,
.uul_sms_wait,
.uracc_list_loading,
.wd_info_t1,
.room_soon,
.tmlv_t1,.tmlv_t2,
.itmrp_one_none,
.v_1_th1,.v_1_th2,.v_1_th3,
.cdl_help { color: var(--dg-muted) !important; }

.f_foot_bar { border-top: 1px solid var(--dg-border) !important; }

.d_top_dv { border-top: 1px dashed var(--dg-border) !important; }

.d_dv,
.tki_info_dv { border-top: 2px dashed var(--dg-border) !important; }

._dt_bar,
._dtb_th,
._dtb_td,
.tkm_box_bar,
.tk_pop_detail,
.cco_l_imgdt,
.cco_r_imgdt,
.hm_banner_cirone,
.hmpp_sms_line,
.hmpp_th,
.hmpp_td1,
.hmpp_td2,
.rp_data_bar1,.rp_data_bar2,
.ur_static_copy,
.ur_box_body,
.ur_box_copy,
.tmrp_data_bar1,.tmrp_data_bar2 { border: 1px solid var(--dg-border) !important; }

._dt_bar,
.sh_menu_SEL,.sh_menu_SEL3,
.sh_menu_noSEL { border-bottom-color: var(--dg-border) !important; }

.r_one { border-bottom: 2px solid var(--dg-border) !important; }

.tkm_title_bar,
.gmpp_line,
.gmpopb_head,
.gmpopb_core { border-bottom: 2px dashed var(--dg-border) !important; }

.cclpp_form,
.cclpp_submit,
.gmpop_bg_1 { background: var(--dg-surface) !important; }

.cclpp_static,
.cclpp_input { border-bottom: 2px dotted var(--dg-border) !important; }

.ccl_one,
.ccr_one,
.ccm_one,
.rp_list_title_bar,
.rp_one,
.ur_box_static_bg,
.tmrp_list_title_bar,
.tmrp_one { border-bottom: 1px solid var(--dg-border) !important; }

.gmop_b4,.gmop_b4_sml,
.gmop_b4_SEL,
.gmop_b5,
.gmop_b11,
.gmop_b10 { background: var(--dg-panel-gradient) !important; }

.gmop_bround,.gmop_bround_2 { border: 3px solid var(--dg-border) !important; }

.hmpp_dv,
.wtt_line,
.iv_list_title_bar,
.iv_list_one,
.itmrp_one_none { border-bottom: 1px dashed var(--dg-border) !important; }

.rp_col_1,.rp_col_2,.rp_col_3,.rp_col_4,.rp_col_5,
.tmrp_col_1,.tmrp_col_2,.tmrp_col_3,.tmrp_col_4 { border-right: 1px dashed var(--dg-border) !important; }

.dl_ext_img { border: 1px dashed var(--dg-border) !important; }

/* Navigation and the salary tables follow the supplied red/gold reference. */
.head { background-image: var(--dg-nav-gradient) !important; }
.f_foot_bar, .all_game_btm {
  background: linear-gradient(180deg, #38230c, #090603) !important;
  border-top-color: var(--dg-gold) !important;
}
.h_btn_txt, .h_v1, .h_v2, .h_road_txt, .f_txt, .f_txt_on {
  color: var(--dg-text) !important;
  font-weight: 600;
  text-shadow: 0 1px 2px #583006;
}
.f_active { background: rgba(247, 214, 129, .08); }
.f_icon, .h_btn_icon, .d_icon, .d_top_icon, .d_menu_arr,
.d_refresh_icon, .r_icon, .gmhd_logo_ha1, .gmhd_logo_ha2,
.gmhd_logo_ffc1, .gmhd_logo_ssc1, .gmhd_logo_lhc2 {
  filter: brightness(0) saturate(100%) invert(88%) sepia(33%) saturate(641%) hue-rotate(341deg) brightness(104%);
}
.d_top_bar, .d_menu_bar, .wt_info_bar {
  background-color: var(--dg-surface) !important;
  box-shadow: inset 0 0 0 1px var(--dg-border);
}
.d_menu { border-bottom: 1px solid #503b23; }
.d_hover:active { background-color: rgba(247, 214, 129, .12); }
.wtt_table_bar {
  background: #120b03 !important;
  border: 1px solid var(--dg-border);
  border-radius: 6px;
  overflow: hidden;
}
.wtt_head_bar, .rp_list_title_bar, .tmrp_list_title_bar, .iv_list_title_bar {
  background: var(--dg-panel-gradient) !important;
}
.wtt_td1, .wtt_td2, .wtt_td3 { color: var(--dg-text) !important; font-weight: 500; }
.wtt_th { font-weight: 600; }

/* Primary actions use a gold highlight and a red lower edge. */
.r_btn, .wtt_btn, .wt_btn, .hm_pop_ok, .hm_pop_close,
.pop_btn_ok, .pop_btn2_yes, .pop_btn2_no, .gmhd_btn,
.gmbtm_btn_bar, .gmpp_btn_bet, .rp_search_btn, .tmrp_search_btn,
.spr_btn_copy, .ur_submit, .ccpp_submit, .tk_pop_close,
.iv_search_btn, .iv_page_goto_btn, .tkm_btn, .tkio_l_btncopy,
.tkio_l_btncopy_ext, .uracc_btn_add, .uwa_btn_add,
.ur_static_copy, .ur_box_copy, .cdl_copy,
.dps_submit, .wdp_submit, #invite_register_submit,
button:not(.tHide), [class$='_btn_submit'] {
  background: var(--dg-action-gradient) !important;
  color: #fff5cf !important;
  border-color: #ffe0a1 !important;
  box-shadow: inset 0 0 0 1px #fff0b4, 0 1px 4px #0008;
  text-shadow: 0 1px 2px #8b3908;
}
.wtt_btn { border-width: 2px; }
.r_btn_wait, .wtt_btn_wait, .wt_btn_wait, .gmhd_btn_wait,
button:disabled, #invite_register_submit:disabled {
  background: linear-gradient(180deg, #634820, #2a1b0b) !important;
  color: #d2be98 !important;
  border-color: #83673b !important;
  text-shadow: none;
}
.gmbtm_btn_t1 { color: #fff5cf !important; }
.gmop_b4_SEL, .gmop_b11_SEL, .gmop_b10_SEL,
.gmop_bround_SEL, .gmop_bround_2_SEL, .gmkd_one_SEL {
  background: var(--dg-panel-gradient) !important;
  border-color: var(--dg-gold) !important;
  color: #fff6d9 !important;
  box-shadow: inset 0 0 0 2px #e5b658, 0 0 8px #e5b65855;
}
.gmop_unit_SEL, .gmkds_one_SEL, .shc_menu_SEL { color: var(--dg-gold) !important; }
.gmkds_one_SEL::after, .sh_menu_SEL::after, .sh_menu_SEL3::after,
.shc_menu_SEL::after { background-color: var(--dg-gold) !important; }
.sh_menu_SEL, .sh_menu_SEL3 {
  background: var(--dg-panel-gradient) !important;
  border-color: var(--dg-gold) !important;
}

/* Auth forms, dialogs and dynamically created fields share the same surface. */
.r_bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #09060300 45%, #090603bb 85%, #090603 100%);
}
.r_one { background: var(--dg-field); border-color: var(--dg-border) !important; border-radius: 5px; }
.r_input, .r_input_sml { background-color: transparent !important; }
.r_input::placeholder, .r_input_sml::placeholder { color: #b29c72 !important; }
.r_t2, .r_t3, .r_opt_btn { color: var(--dg-gold) !important; }
.pop_form, .hm_pop_form, .hm_pop_form2, .uu_pop_form, .gmpp_form,
#invite_register_layer, #invite_register_entry.invite-register-floating {
  background-color: var(--dg-surface) !important;
  color: var(--dg-text) !important;
  box-shadow: inset 0 0 0 1px var(--dg-border), 0 12px 36px #0009;
}
.pop_form_title, .ivp_head_bar { background: var(--dg-panel-gradient) !important; }
.d_wait { background-color: #090603dd !important; }
.tkio_l_body, .tkio_l_text, .tkio_r_body, .tkio_r_text {
  color: var(--dg-text) !important;
  background-color: var(--dg-raised) !important;
}
.tk_info_area, .tk_info_layer, .tk_info_opt, .tk_info_textarea_bar {
  background-color: var(--dg-surface) !important;
}
.lg_line { background-color: var(--dg-gold) !important; }

.head > .smain { background-color: transparent !important; }
.ur_title_bar, .ur_box_title_2 { color: var(--dg-text) !important; text-shadow: none !important; }
.tki_title_bar, .tkm_title_bar { background: var(--dg-panel-gradient) !important; }
.tki_opt_bar { background-color: var(--dg-surface) !important; border-top: 1px solid var(--dg-border); }
.tki_title_icon, .tki_opt_i_img, .tki_opt_i_send { filter: sepia(1) saturate(.8); }
.tkio_r_text { background-color: #563608 !important; }
.gmkd_one_v4, .gmkd_one_v6, .gmkds_one_v4, .gmkds_spc,
.gmop_odds_t1, .gmop_info_t1 { color: var(--dg-muted) !important; }
.gmkd_one_SEL, .gmkds_one_SEL { color: var(--dg-gold) !important; }
.gmop_info_icon, .gmop_odds_icon, .gmbtm_btn_icon { filter: sepia(1) saturate(.8) brightness(1.5); }
.gmop_bround, .gmop_bround_2 { background-color: var(--dg-raised) !important; }
.gmpp_btn_cancel { background-color: #503b23 !important; color: var(--dg-text) !important; }

/* Draw panels share the outer skin; numbered ball sprites retain their colors. */
.dg-draw .content { background: linear-gradient(180deg, #392709, #120b03) !important; }
.dg-draw .gm_issue_t1, .dg-draw .gm_bciit_t1 { color: var(--dg-text) !important; }
.dg-draw .gm_issue_t2, .dg-draw .gm_ball_unit, .dg-draw .gm_bciit_t2 { color: var(--dg-gold) !important; }
.dg-draw .gm_ball_bar_7 { background-color: #79501f !important; box-shadow: 0 0 0 2px var(--dg-border); }

#gmhd_iss_curr_tm { color: var(--dg-text); }
