/* HadiDev — WhatsApp light/dark (html[data-mode="light|dark"])
   Varsayılan: light (ilk giriş); kullanıcı dark seçebilir
*/

/* ========== DARK (WhatsApp Web dark) ========== */
html, html[data-mode="dark"] {
  color-scheme: dark;
}

html[data-mode="dark"] a,
html:not([data-mode]) a { color: orange; }

html[data-mode="dark"] body,
html:not([data-mode]) body { background: #0b141a; color: #e9edef; }

html[data-mode="dark"] button,
html:not([data-mode]) button { background: transparent; color: #fff; }

html[data-mode="dark"] input,
html[data-mode="dark"] textarea,
html[data-mode="dark"] .post_input_container,
html:not([data-mode]) input,
html:not([data-mode]) textarea,
html:not([data-mode]) .post_input_container {
  background: #202c33; border: 1px solid #2c3941 !important; color: #e9edef;
}

html[data-mode="dark"] .setdef,
html:not([data-mode]) .setdef { color: #fff; }

html[data-mode="dark"] .cookie_wrap,
html:not([data-mode]) .cookie_wrap { background: #444d53; color: #fff; }

html[data-mode="dark"] .bback,
html:not([data-mode]) .bback { background: rgba(255,255,255,0.05); }
html[data-mode="dark"] .bbackb,
html:not([data-mode]) .bbackb { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
html[data-mode="dark"] .bhover:hover,
html:not([data-mode]) .bhover:hover { background: rgba(255,255,255,0.05); }
html[data-mode="dark"] .bbackhover,
html:not([data-mode]) .bbackhover { background: rgba(255,255,255,0.05); }
html[data-mode="dark"] .bbackhover:hover,
html:not([data-mode]) .bbackhover:hover { background: rgba(255,255,255,0.03); }
html[data-mode="dark"] .bbackhoverb,
html:not([data-mode]) .bbackhoverb { background: rgba(255,255,255,0.05); }
html[data-mode="dark"] .bbackhoverb:hover,
html:not([data-mode]) .bbackhoverb:hover { background: rgba(255,255,255,0.3); border: 1px solid rgba(255,255,255,0.05); }
html[data-mode="dark"] .blisting,
html:not([data-mode]) .blisting { border-bottom: 1px solid rgba(255,255,255,0.03); }
html[data-mode="dark"] .blisting:hover,
html:not([data-mode]) .blisting:hover { background: rgba(255,255,255,0.04); }
html[data-mode="dark"] .blist,
html:not([data-mode]) .blist { border-bottom: 1px solid rgba(255,255,255,0.03); }

html[data-mode="dark"] .back_ptop,
html:not([data-mode]) .back_ptop { background: #26343d; color: #fff; }
html[data-mode="dark"] .bpmenu:hover,
html:not([data-mode]) .bpmenu:hover { background: rgba(255,255,255,0.05); }
html[data-mode="dark"] .bsub,
html:not([data-mode]) .bsub { background: rgba(0,0,0,0.1); }
html[data-mode="dark"] .bsub:hover,
html:not([data-mode]) .bsub:hover { background: rgba(255,255,255,0.03); }
html[data-mode="dark"] .bmenu,
html[data-mode="dark"] .submenu,
html:not([data-mode]) .bmenu,
html:not([data-mode]) .submenu { border-bottom: 1px solid rgba(255,255,255,0.03); }
html[data-mode="dark"] .bmenu:hover,
html[data-mode="dark"] .submenu:hover,
html:not([data-mode]) .bmenu:hover,
html:not([data-mode]) .submenu:hover { background: rgba(255,255,255,0.03); }

html[data-mode="dark"] .bshadow,
html[data-mode="dark"] .page_element,
html[data-mode="dark"] .float_menu,
html[data-mode="dark"] .btnshadow,
html[data-mode="dark"] .pboxed,
html:not([data-mode]) .bshadow,
html:not([data-mode]) .page_element,
html:not([data-mode]) .float_menu,
html:not([data-mode]) .btnshadow,
html:not([data-mode]) .pboxed { box-shadow: 0 1px 3px rgba(0,0,0,0.4); }

html[data-mode="dark"] .bselected,
html:not([data-mode]) .bselected { background: rgba(255,255,255,0.08); }
html[data-mode="dark"] .rselected,
html:not([data-mode]) .rselected { background: rgba(255,255,255,0.08); }
html[data-mode="dark"] .pselected,
html:not([data-mode]) .pselected { color: #00a884; }
html[data-mode="dark"] .cselected,
html[data-mode="dark"] .liked,
html:not([data-mode]) .cselected,
html:not([data-mode]) .liked { background: rgba(255,255,255,0.05); }
html[data-mode="dark"] .pag_btn,
html:not([data-mode]) .pag_btn { background: rgba(255,255,255,0.05); }
html[data-mode="dark"] .pagselected,
html[data-mode="dark"] .pag_btn:hover,
html:not([data-mode]) .pagselected,
html:not([data-mode]) .pag_btn:hover { background: rgba(255,255,255,0.1); }
html[data-mode="dark"] .gtag,
html:not([data-mode]) .gtag { background: #202c33; border: 1px solid rgba(255,255,255,0.05); }

html[data-mode="dark"] .bborder,
html:not([data-mode]) .bborder { border-bottom: 1px solid rgba(255,255,255,0.05); }
html[data-mode="dark"] .tborder,
html:not([data-mode]) .tborder { border-top: 1px solid rgba(255,255,255,0.05); }
html[data-mode="dark"] .lborder,
html[data-mode="dark"] .ppanel,
html:not([data-mode]) .lborder,
html:not([data-mode]) .ppanel { border-left: 1px solid rgba(255,255,255,0.05); }
html[data-mode="dark"] .rborder,
html:not([data-mode]) .rborder { border-right: 1px solid rgba(255,255,255,0.05); }
html[data-mode="dark"] .fborder,
html:not([data-mode]) .fborder { border: 1px solid rgba(255,255,255,0.05); }
html[data-mode="dark"] .float_top,
html[data-mode="dark"] .float_ctop,
html:not([data-mode]) .float_top,
html:not([data-mode]) .float_ctop { border-bottom: 1px solid rgba(255,255,255,0.05); }

html[data-mode="dark"] .bhead,
html:not([data-mode]) .bhead { background: #202c33; color: #fff; }
html[data-mode="dark"] .bsidebar,
html:not([data-mode]) .bsidebar { background: #111b21; color: #fff; }
html[data-mode="dark"] .modal_top,
html[data-mode="dark"] .pro_top,
html[data-mode="dark"] .bfoot,
html[data-mode="dark"] .foot,
html:not([data-mode]) .modal_top,
html:not([data-mode]) .pro_top,
html:not([data-mode]) .bfoot,
html:not([data-mode]) .foot { background: #202c33; color: #fff; }

html[data-mode="dark"] .backglob,
html:not([data-mode]) .backglob { background: #111b21; }
html[data-mode="dark"] .back_chat,
html:not([data-mode]) .back_chat {
  background-color: #0b141a;
  background-image: url('./images/chat_bg_dark.jpg');
  background-repeat: repeat;
  background-position: center top;
}
html[data-mode="dark"] .back_priv,
html:not([data-mode]) .back_priv {
  background-color: #0b141a;
  background-image: url('./images/chat_bg_dark.jpg');
  background-repeat: repeat;
  background-position: center top;
}
html[data-mode="dark"] .back_panel,
html:not([data-mode]) .back_panel { background: #111b21; }
html[data-mode="dark"] .back_menu,
html:not([data-mode]) .back_menu { background: #233138; }
html[data-mode="dark"] .back_pmenu,
html:not([data-mode]) .back_pmenu { background: #111b21; }
html[data-mode="dark"] .back_box,
html:not([data-mode]) .back_box { background: #162228; }
html[data-mode="dark"] .back_input,
html:not([data-mode]) .back_input { background: #202c33; border-top: unset; }
html[data-mode="dark"] .back_modal,
html[data-mode="dark"] .page_element,
html[data-mode="dark"] .back_quote,
html:not([data-mode]) .back_modal,
html:not([data-mode]) .page_element,
html:not([data-mode]) .back_quote { background: #202c33; }

html[data-mode="dark"] .theme_color,
html:not([data-mode]) .theme_color { color: #00a884; }
html[data-mode="dark"] .default_color,
html:not([data-mode]) .default_color { color: #aebac1; }
html[data-mode="dark"] .error,
html:not([data-mode]) .error { color: #cd5161; }
html[data-mode="dark"] .success,
html:not([data-mode]) .success { color: #25d366; }
html[data-mode="dark"] .warn,
html:not([data-mode]) .warn { color: orange; }

html[data-mode="dark"] .theme_btn,
html[data-mode="dark"] .back_theme,
html:not([data-mode]) .theme_btn,
html:not([data-mode]) .back_theme { background: #00a884; color: #0e2e2e; }
html[data-mode="dark"] .default_btn,
html:not([data-mode]) .default_btn { color: #00a884; border: 1px solid rgba(255,255,255,0.08); background: transparent; }
html[data-mode="dark"] .defaultd_btn,
html:not([data-mode]) .defaultd_btn { background: #444; color: #fff; }
html[data-mode="dark"] .ok_btn,
html:not([data-mode]) .ok_btn { background: #00a884; color: #0e2e2e; }
html[data-mode="dark"] .warn_btn,
html:not([data-mode]) .warn_btn { background: orange; color: #fff; }
html[data-mode="dark"] .delete_btn,
html:not([data-mode]) .delete_btn { background: #cd5161; color: #fff; }
html[data-mode="dark"] .send_btn,
html:not([data-mode]) .send_btn { color: #f6f6f6; }

html[data-mode="dark"] .user,
html:not([data-mode]) .user { color: #fff; }
html[data-mode="dark"] .chat_system,
html:not([data-mode]) .chat_system { color: rgb(134, 150, 160); }
html[data-mode="dark"] .offline,
html:not([data-mode]) .offline { opacity: 0.5; }
html[data-mode="dark"] .menui,
html[data-mode="dark"] .subi,
html:not([data-mode]) .menui,
html:not([data-mode]) .subi { color: #00a884; }
html[data-mode="dark"] .reply_item,
html:not([data-mode]) .reply_item { background: #16232b; }
html[data-mode="dark"] .main_post_item,
html:not([data-mode]) .main_post_item { color: rgba(255,255,255,0.5); }
html[data-mode="dark"] .input_item,
html:not([data-mode]) .input_item { color: #aebac1; }

/* balonlar — dark: gelen açık gri, giden su yeşili koyu */
html[data-mode="dark"] .ch_blogs .mbubble,
html:not([data-mode]) .ch_blogs .mbubble { background: #202c33; color: #e9edef; }
html[data-mode="dark"] .ch_blogs.log_mine .mbubble,
html:not([data-mode]) .ch_blogs.log_mine .mbubble { background: #202c33; color: #e9edef; }

html[data-mode="dark"] .hunter_private,
html[data-mode="dark"] .targ_quote,
html:not([data-mode]) .hunter_private,
html:not([data-mode]) .targ_quote { color: #fff; background: #2c3941; }
html[data-mode="dark"] .target_private,
html[data-mode="dark"] .hunt_quote,
html:not([data-mode]) .target_private,
html:not([data-mode]) .hunt_quote { color: #111b21; background: #d9fdd3; }
html[data-mode="dark"] .cquote,
html:not([data-mode]) .cquote { background: #1d282f !important; border-left: 4px solid #53bde4; }
html[data-mode="dark"] .topic_log,
html:not([data-mode]) .topic_log { background: rgba(0,168,132,0.102); color: #d9f2e6; }

html[data-mode="dark"] .tab_menu,
html:not([data-mode]) .tab_menu { box-shadow: 0 1px 3px rgba(0,0,0,0.4); background: #242e35; }
html[data-mode="dark"] .tab_selected,
html:not([data-mode]) .tab_selected { background: rgba(255,255,255,0.05); }
html[data-mode="dark"] .modal_mback,
html:not([data-mode]) .modal_mback { background: rgba(255,255,255,0.04); }
html[data-mode="dark"] .modal_mborder,
html:not([data-mode]) .modal_mborder { border-bottom: 1px solid rgba(255,255,255,0.08); }
html[data-mode="dark"] .modal_selected,
html:not([data-mode]) .modal_selected { background: rgba(255,255,255,0.08); }
html[data-mode="dark"] .modal_back,
html:not([data-mode]) .modal_back { background-color: rgba(0,0,0,0.6); }
html[data-mode="dark"] .bprogress,
html:not([data-mode]) .bprogress { background: #009588; color: #fff; }
html[data-mode="dark"] .bnotify,
html:not([data-mode]) .bnotify { background: #ea0038; color: #fff; }
html[data-mode="dark"] .foot_notify,
html[data-mode="dark"] .head_notify,
html:not([data-mode]) .foot_notify,
html:not([data-mode]) .head_notify { border: 1px solid #fff; }
html[data-mode="dark"] .sub_date,
html:not([data-mode]) .sub_date { color: rgb(107,128,143); }
html[data-mode="dark"] .sub_chat,
html[data-mode="dark"] .sub_priv,
html:not([data-mode]) .sub_chat,
html:not([data-mode]) .sub_priv { color: #8696a0; }
html[data-mode="dark"] .sub_text,
html[data-mode="dark"] .list_mood,
html:not([data-mode]) .sub_text,
html:not([data-mode]) .list_mood { color: rgb(107,128,143); }
html[data-mode="dark"] .plikes,
html:not([data-mode]) .plikes { background-color: rgba(100,100,100,0.2); color: #fff; }
html[data-mode="dark"] .bspin,
html:not([data-mode]) .bspin { color: rgba(255,255,255,0.3); }
html[data-mode="dark"] .my_notice,
html:not([data-mode]) .my_notice { color: #53bde4; background: unset; }
html[data-mode="dark"] .system_text,
html:not([data-mode]) .system_text { background: rgba(255,255,255,0.05); color: rgb(107,128,143); }
html[data-mode="dark"] .back_page,
html:not([data-mode]) .back_page { background: #202c33; color: #fff; }
html[data-mode="dark"] .post_video,
html:not([data-mode]) .post_video { background: #000; }
html[data-mode="dark"] .modal_in,
html:not([data-mode]) .modal_in { border: 1px solid rgba(255,255,255,0.01); }
html[data-mode="dark"] ul li.ch_dlogs:nth-child(odd of .ch_logs),
html:not([data-mode]) ul li.ch_dlogs:nth-child(odd of .ch_logs) { background: rgba(32, 44, 51, 0.3); }
html[data-mode="dark"] .head_option,
html[data-mode="dark"] .panel_option,
html[data-mode="dark"] .footer_item,
html:not([data-mode]) .head_option,
html:not([data-mode]) .panel_option,
html:not([data-mode]) .footer_item { color: #aebac1; }

html[data-mode="dark"] .boom_slider .ui-widget-content,
html:not([data-mode]) .boom_slider .ui-widget-content { background: #444d53; }
html[data-mode="dark"] .boom_slider .ui-state-default,
html:not([data-mode]) .boom_slider .ui-state-default { background: #8195a1 !important; }
html[data-mode="dark"] .boom_slider .ui-state-active,
html:not([data-mode]) .boom_slider .ui-state-active { background: #aebac1 !important; }
html[data-mode="dark"] .boom_slider .ui-slider-range,
html:not([data-mode]) .boom_slider .ui-slider-range { background: #aebac1; }
html[data-mode="dark"] .selectboxit-list,
html[data-mode="dark"] .selectboxit-btn,
html:not([data-mode]) .selectboxit-list,
html:not([data-mode]) .selectboxit-btn { background-color: #202c33; border: 1px solid #2c3941; color: #fff; }
html[data-mode="dark"] .selectboxit-options,
html:not([data-mode]) .selectboxit-options { background: #2c3941; color: #fff; }


/* ========== LIGHT (WhatsApp Web light) ========== */
html[data-mode="light"] { color-scheme: light; }

html[data-mode="light"] a { color: #027a5a; }
html[data-mode="light"] body { background: #f0f2f5; color: #111b21; }
html[data-mode="light"] button { background: transparent; color: #111b21; }
html[data-mode="light"] input,
html[data-mode="light"] textarea,
html[data-mode="light"] .post_input_container {
  background: #fff; border: 1px solid #e9edef !important; color: #111b21;
}
html[data-mode="light"] .setdef { color: #111b21; }
html[data-mode="light"] .cookie_wrap { background: #fff; color: #111b21; box-shadow: 0 1px 3px rgba(11,20,26,0.12); }

html[data-mode="light"] .bback { background: rgba(11,20,26,0.05); }
html[data-mode="light"] .bbackb { background: rgba(11,20,26,0.05); border: 1px solid rgba(11,20,26,0.08); }
html[data-mode="light"] .bhover:hover { background: rgba(11,20,26,0.05); }
html[data-mode="light"] .bbackhover { background: rgba(11,20,26,0.04); }
html[data-mode="light"] .bbackhover:hover { background: rgba(11,20,26,0.07); }
html[data-mode="light"] .bbackhoverb { background: rgba(11,20,26,0.04); }
html[data-mode="light"] .bbackhoverb:hover { background: rgba(11,20,26,0.08); border: 1px solid rgba(11,20,26,0.06); }
html[data-mode="light"] .blisting { border-bottom: 1px solid #e9edef; }
html[data-mode="light"] .blisting:hover { background: #f5f6f6; }
html[data-mode="light"] .blist { border-bottom: 1px solid #e9edef; }

html[data-mode="light"] .back_ptop { background: #008069; color: #fff; }
html[data-mode="light"] .bpmenu:hover { background: rgba(11,20,26,0.05); }
html[data-mode="light"] .bsub { background: #f0f2f5; }
html[data-mode="light"] .bsub:hover { background: #e9edef; }
html[data-mode="light"] .bmenu,
html[data-mode="light"] .submenu { border-bottom: 1px solid #e9edef; }
html[data-mode="light"] .bmenu:hover,
html[data-mode="light"] .submenu:hover { background: #f5f6f6; }

html[data-mode="light"] .bshadow,
html[data-mode="light"] .page_element,
html[data-mode="light"] .float_menu,
html[data-mode="light"] .btnshadow,
html[data-mode="light"] .pboxed { box-shadow: 0 1px 3px rgba(11,20,26,0.12); }

html[data-mode="light"] .bselected { background: #f0f2f5; }
html[data-mode="light"] .rselected { background: #e7f8f2; }
html[data-mode="light"] .pselected { color: #008069; }
html[data-mode="light"] .cselected,
html[data-mode="light"] .liked { background: #f0f2f5; }
html[data-mode="light"] .pag_btn { background: #f0f2f5; color: #54656f; }
html[data-mode="light"] .pagselected,
html[data-mode="light"] .pag_btn:hover { background: #e9edef; }
html[data-mode="light"] .gtag { background: #fff; border: 1px solid #e9edef; }

html[data-mode="light"] .bborder { border-bottom: 1px solid #e9edef; }
html[data-mode="light"] .tborder { border-top: 1px solid #e9edef; }
html[data-mode="light"] .lborder,
html[data-mode="light"] .ppanel { border-left: 1px solid #e9edef; }
html[data-mode="light"] .rborder { border-right: 1px solid #e9edef; }
html[data-mode="light"] .fborder { border: 1px solid #e9edef; }
html[data-mode="light"] .float_top,
html[data-mode="light"] .float_ctop { border-bottom: 1px solid #e9edef; }

html[data-mode="light"] .bhead {
  background: #ffffff;
  color: #54656f;
  border-bottom: 1px solid #e9edef;
}
html[data-mode="light"] .bsidebar { background: #fff; color: #111b21; }
html[data-mode="light"] .modal_top,
html[data-mode="light"] .pro_top { background: #008069; color: #fff; }
html[data-mode="light"] .bfoot,
html[data-mode="light"] .foot { background: #f0f2f5; color: #54656f; }

html[data-mode="light"] .backglob { background: #f0f2f5; }
html[data-mode="light"] .back_chat {
  background-color: #efeae2;
  background-image: url('./images/chat_bg_light.jpg');
  background-repeat: repeat;
  background-position: center top;
}
html[data-mode="light"] .back_priv {
  background-color: #efeae2;
  background-image: url('./images/chat_bg_light.jpg');
  background-repeat: repeat;
  background-position: center top;
}
html[data-mode="light"] .back_panel { background: #fff; }
html[data-mode="light"] .back_menu { background: #fff; }
html[data-mode="light"] .back_pmenu { background: #fff; }
html[data-mode="light"] .back_box { background: #fff; }
html[data-mode="light"] .back_input { background: #f0f2f5; border-top: 1px solid #e9edef; }
html[data-mode="light"] .back_modal,
html[data-mode="light"] .page_element,
html[data-mode="light"] .back_quote { background: #fff; }

html[data-mode="light"] .theme_color { color: #008069; }
html[data-mode="light"] .default_color { color: #54656f; }
html[data-mode="light"] .error { color: #ea0038; }
html[data-mode="light"] .success { color: #25d366; }
html[data-mode="light"] .warn { color: #e67e22; }

html[data-mode="light"] .theme_btn,
html[data-mode="light"] .back_theme { background: #008069; color: #fff; }
html[data-mode="light"] .default_btn,
html[data-mode="light"] .back_default { background: #fff; color: #008069; border: 1px solid #d1d7db; }
html[data-mode="light"] .defaultd_btn { background: #e9edef; color: #111b21; }
html[data-mode="light"] .ok_btn { background: #25d366; color: #fff; }
html[data-mode="light"] .warn_btn { background: #e67e22; color: #fff; }
html[data-mode="light"] .delete_btn { background: #ea0038; color: #fff; }
html[data-mode="light"] .send_btn { color: #54656f; }

html[data-mode="light"] .user { color: #111b21; }
html[data-mode="light"] .chat_system { color: #667781; }
html[data-mode="light"] .offline { opacity: 0.5; }
html[data-mode="light"] .menui,
html[data-mode="light"] .subi { color: #008069; }
html[data-mode="light"] .reply_item { background: #f0f2f5; }
html[data-mode="light"] .main_post_item { color: rgba(17,27,33,0.45); }
html[data-mode="light"] .input_item { color: #54656f; }

/* balonlar — light (WA: gelen #fff, giden #d9fdd3) */
html[data-mode="light"] .ch_blogs .mbubble { background: #ffffff; color: #111b21; box-shadow: 0 1px 0.5px rgba(11,20,26,0.13); }
html[data-mode="light"] .ch_blogs.log_mine .mbubble { background: #ffffff; color: #111b21; box-shadow: 0 1px 0.5px rgba(11,20,26,0.13); }
html[data-mode="light"] .target_private,
html[data-mode="light"] .hunt_quote { color: #111b21; background: #d9fdd3; }
html[data-mode="light"] .hunter_private,
html[data-mode="light"] .targ_quote { color: #111b21; background: #fff; box-shadow: 0 1px 0.5px rgba(11,20,26,0.13); }
html[data-mode="light"] .cquote { background: #f0f2f5 !important; border-left: 4px solid #53bdeb; color: #111b21; }
html[data-mode="light"] .topic_log { background: #fff; color: #54656f; box-shadow: 0 1px 1px rgba(11,20,26,0.08); }

html[data-mode="light"] .tab_menu { box-shadow: 0 1px 3px rgba(11,20,26,0.12); background: #fff; }
html[data-mode="light"] .tab_selected { background: #f0f2f5; }
html[data-mode="light"] .modal_mback { background: #f0f2f5; }
html[data-mode="light"] .modal_mborder { border-bottom: 1px solid #e9edef; }
html[data-mode="light"] .modal_selected { background: #e7f8f2; }
html[data-mode="light"] .modal_back { background-color: rgba(11,20,26,0.45); }
html[data-mode="light"] .bprogress { background: #00a884; color: #fff; }
html[data-mode="light"] .bnotify { background: #ea0038; color: #fff; }
html[data-mode="light"] .foot_notify,
html[data-mode="light"] .head_notify { border: 1px solid #fff; }
html[data-mode="light"] .sub_date { color: #667781; }
html[data-mode="light"] .sub_chat,
html[data-mode="light"] .sub_priv { color: #667781; }
html[data-mode="light"] .sub_text,
html[data-mode="light"] .list_mood { color: #667781; }
html[data-mode="light"] .plikes { background-color: rgba(11,20,26,0.06); color: #111b21; }
html[data-mode="light"] .bspin { color: rgba(17,27,33,0.3); }
html[data-mode="light"] .my_notice { color: #027eb5; background: unset; }
html[data-mode="light"] .system_text { background: rgba(11,20,26,0.05); color: #667781; }
html[data-mode="light"] .back_page { background: #f0f2f5; color: #111b21; }
html[data-mode="light"] .post_video { background: #000; }
html[data-mode="light"] .modal_in { border: 1px solid #e9edef; }
html[data-mode="light"] ul li.ch_dlogs:nth-child(odd of .ch_logs) { background: rgba(11,20,26,0.04); }
html[data-mode="light"] .head_option,
html[data-mode="light"] .panel_option,
html[data-mode="light"] .footer_item { color: inherit; }
html[data-mode="light"] .bhead .head_option,
html[data-mode="light"] .bhead .panel_option,
html[data-mode="light"] .bhead .chat_head_logo,
html[data-mode="light"] #chat_head .head_option { color: #54656f; }
html[data-mode="light"] .bhead .head_notify { border: 1px solid #ffffff; }

html[data-mode="light"] .boom_slider .ui-widget-content { background: #e9edef; }
html[data-mode="light"] .boom_slider .ui-state-default { background: #8696a0 !important; }
html[data-mode="light"] .boom_slider .ui-state-active { background: #54656f !important; }
html[data-mode="light"] .boom_slider .ui-slider-range { background: #00a884; }
html[data-mode="light"] .selectboxit-list,
html[data-mode="light"] .selectboxit-btn { background-color: #fff; border: 1px solid #d1d7db; color: #111b21; }
html[data-mode="light"] .selectboxit-options { background: #fff; color: #111b21; }

/* ========== WhatsApp-style bubble layout ========== */
/* Mesajlar üstten başlar (core bottom:0 sabitlemesini kaldır) — eski üstte, yeni altta */
#show_chat ul {
  position: absolute !important;
  top: 0 !important;
  bottom: auto !important;
  left: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden;
  box-sizing: border-box;
}
#show_private {
  position: absolute !important;
  top: 0 !important;
  bottom: auto !important;
  left: 0;
  right: 0;
  width: 100%;
  height: 100% !important;
  max-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Sohbet: avatar + balon sola yaklaşsın */
#show_chat,
#chat_logs_container {
  padding-left: 4px !important;
}
.ch_logs.ch_blogs {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  padding-left: 4px !important;
  padding-right: 8px !important;
}
.ch_blogs .my_text {
  padding-left: 4px !important;
}
.ch_blogs .cavatar.chat_avatar,
.ch_blogs .chat_avatar {
  margin-right: 0;
}

.ch_blogs .my_text > .btable .cdate { display: none; }

/* Balon: mesaj kadar — satırı doldurma */
.ch_blogs .chat_message {
  display: block !important;
  width: max-content !important;
  max-width: 100% !important;
  align-items: unset !important;
  justify-content: unset !important;
}

.ch_blogs .mbubble.bubble {
  position: relative !important;
  display: inline-block !important;
  width: max-content !important;
  max-width: var(--hd-bubble-max, 320px) !important;
  min-width: 0 !important;
  padding: var(--hd-bubble-pad-y, 5px) var(--hd-bubble-pad-x, 10px) 16px var(--hd-bubble-pad-x, 10px) !important;
  box-sizing: border-box !important;
  vertical-align: top;
  white-space: normal !important;
}

.ch_blogs .mbubble .bubble_head {
  display: flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: calc(var(--hd-bubble-max, 320px) - 20px);
  margin: 0 0 2px 0;
  box-sizing: border-box;
}
.ch_blogs .mbubble .bubble_head .cname {
  display: inline !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ch_blogs .mbubble .bubble_head .logs_menu {
  display: inline-flex !important;
  margin-left: 6px;
  width: auto !important;
  opacity: 0.5;
  cursor: pointer;
  flex: none;
}

.ch_blogs .mbubble .bubble_msg {
  display: block;
  width: max-content;
  max-width: calc(var(--hd-bubble-max, 320px) - 20px);
  padding-right: 2.75em;
  box-sizing: border-box;
  text-align: left;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  font-size: 12.8px;
}

/* Alıntı: balon içinde, kullanıcı adının altında */
.ch_blogs .mbubble .cquote,
.ch_blogs .mbubble .tp_in_quote {
  display: block;
  width: 100%;
  max-width: calc(var(--hd-bubble-max, 320px) - 20px);
  margin: 2px 0 6px;
  padding: 6px 8px;
  border-radius: 6px;
  border-left: 3px solid #53bdeb;
  box-sizing: border-box;
  background: rgba(0,0,0,.12);
}
html[data-mode="light"] .ch_blogs .mbubble .cquote,
html[data-mode="light"] .ch_blogs .mbubble .tp_in_quote {
  background: #f0f2f5;
}
.ch_blogs .mbubble .cqname,
.ch_blogs .mbubble .tp_in_quote_user {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2px;
  color: #53bdeb;
}
.ch_blogs .mbubble .cqmess,
.ch_blogs .mbubble .tp_in_quote_msg {
  font-size: 12px;
  line-height: 1.3;
  opacity: .9;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: normal;
}
.ch_blogs .log_content > .cqbox { display: none; }

/* Input üstü alıntı çubuğu (WA tarzı) */
#quote_controller.qwraper {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  width: auto;
  max-width: none;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  z-index: 20;
}
#quote_controller .qcontrol {
  display: flex;
  align-items: center;
  gap: 8px;
  height: auto;
  min-height: 46px;
  padding: 8px 10px;
  box-sizing: border-box;
}
#quote_controller .qavatarwrap { display: none; }
#quote_controller .qusername_wrap {
  flex: 1;
  min-width: 0;
  display: block;
  padding: 0 4px 0 10px;
  border-left: 3px solid #53bdeb;
  white-space: normal;
}
#quote_controller .qusername {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #53bdeb;
}
#quote_controller .qmess_preview {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.3;
  opacity: .85;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#quote_controller .qcancel {
  flex: none;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: .7;
}

.ch_blogs.log_stack .mbubble .bubble_head { display: none !important; }

.hunter_private,
.target_private {
  position: relative !important;
  display: inline-block !important;
  width: max-content !important;
  max-width: var(--hd-bubble-max, 320px) !important;
  padding: 5px 10px 16px 10px !important;
  box-sizing: border-box !important;
}
.hunter_private .bubble_msg,
.target_private .bubble_msg {
  display: block;
  width: max-content;
  max-width: 300px;
  padding-right: 2.75em;
  box-sizing: border-box;
}

.mbubble .bubble_time,
.hunter_private .bubble_time,
.target_private .bubble_time,
.mbubble .cdate.bubble_time,
.hunter_private .prdate.bubble_time,
.target_private .prdate.bubble_time {
  position: absolute !important;
  right: 8px;
  bottom: 4px;
  left: auto;
  top: auto;
  display: inline-block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  font-size: 11px !important;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
  opacity: 0.75;
}

html[data-mode="dark"] .mbubble .bubble_time,
html:not([data-mode]) .mbubble .bubble_time,
html[data-mode="dark"] .hunter_private .bubble_time,
html:not([data-mode]) .hunter_private .bubble_time,
html[data-mode="dark"] .target_private .bubble_time,
html:not([data-mode]) .target_private .bubble_time { color: #8696a0; }

html[data-mode="light"] .mbubble .bubble_time,
html[data-mode="light"] .hunter_private .bubble_time,
html[data-mode="light"] .target_private .bubble_time { color: #667781; }

/* private dış tarih satırı artık balon içinde */
.priwrap > .prdate { display: none; }

/* ardışık mesaj: sadece 2.+ satırda avatar+isim gizle; aralık dar */
.ch_blogs.log_stack { margin-top: var(--hd-stack-gap, 0px) !important; margin-bottom: 0 !important; padding-top: 0 !important; }
.ch_blogs:not(.log_stack) { margin-top: var(--hd-msg-gap, 0px); }
.ch_blogs.log_stack .chat_avatar {
	visibility: hidden;
	pointer-events: none;
}
.ch_blogs.log_stack .log_head,
.ch_blogs.log_stack .bubble_head { display: none !important; }
.ch_blogs.log_stack .chat_message { padding-top: 0 !important; margin-top: 0 !important; }
.ch_blogs.log_stack .chat_message.tpad5 { padding-top: 0 !important; }
.ch_blogs.log_stack .mbubble { margin-top: 0 !important; }
.ch_blogs.log_mine .chat_avatar { visibility: visible; }
.ch_blogs.log_mine.log_stack .chat_avatar { visibility: hidden; }

/* oda bilgi / sistem log — avatarsız sola yaslı bilgi balonu */
.sys_log {
	display: flex !important;
	justify-content: flex-start;
	padding: 6px 12px 6px 4px !important;
	width: 100%;
	box-sizing: border-box;
}
.sys_log .chat_savatar { display: none !important; }
.sys_info_bubble {
	position: relative;
	display: inline-block;
	max-width: 92%;
	padding: 6px 48px 16px 12px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.35;
	text-align: left;
}
html[data-mode="light"] .sys_info_bubble {
	background: #ffffff;
	color: #54656f;
	box-shadow: 0 1px 0.5px rgba(11,20,26,0.13);
}
html[data-mode="dark"] .sys_info_bubble,
html:not([data-mode]) .sys_info_bubble {
	background: #182229;
	color: #8696a0;
}
.sys_info_bubble .bubble_time {
	position: absolute;
	right: 8px;
	bottom: 4px;
	font-size: 11px;
	opacity: 0.75;
}

/* Mesaj input: alta biraz daha otur + emoji sol kenar–input arası ortalı */
#container_input,
#main_disabled,
#main_load {
  padding: 1px 10px 3px 10px !important;
  box-sizing: border-box;
  position: relative;
}

/* Oda typing overlay — input sabit; şerit absolute (layout itmez) */
html, html[data-mode="dark"], html:not([data-mode]) {
  --hd-typing-male: #53bdeb;
  --hd-typing-female: #ff7aad;
  --hd-typing-other: #8696a0;
}
html[data-mode="light"] {
  --hd-typing-male: #027eb5;
  --hd-typing-female: #e85a8c;
  --hd-typing-other: #667781;
}
#top_chat_container {
  position: relative !important;
  overflow: visible !important;
}
#hd_room_typing.hd_room_typing {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 10px 4px !important;
  background: transparent !important;
  overflow: hidden !important;
  z-index: 6;
}
/* Typing şeridi kadar sabit alt boşluk — typing aç/kapa zıplatmaz; input’a dokunulmaz */
#show_chat ul {
  padding-bottom: 36px !important; /* ~28px typing + 8px nefes */
  box-sizing: border-box;
}
#wrap_chat {
  overflow-x: hidden;
}
#private_input {
  position: relative;
}
#main_input #emo_item.main_item,
#main_input #emo_item {
  width: 44px;
  min-width: 44px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}
#main_input #emo_item i,
#main_input #emo_item .bblock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
}
#main_input #main_input_box.td_input {
  padding-left: 2px;
  padding-right: 4px;
}

/* input sağ aksiyonlar: + ataş radyo gönder */
#input_radio_btn { cursor: pointer; }
#main_input #ok_sub_item,
#main_input #upchat,
#main_input #input_radio_btn { order: 0; }

/* Sağ aksiyon butonları: eşit genişlik / eşit boşluk / dikey orta */
#main_input .input_table {
  table-layout: fixed;
}
#main_input #ok_sub_item,
#main_input #upchat,
#main_input #input_radio_btn,
#main_input #input_voice_btn {
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
}
#main_input #ok_sub_item i,
#main_input #upchat i,
#main_input #upchat .bblock,
#main_input #input_radio_btn i,
#main_input #ok_sub_item .bblock {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  margin: 0 !important;
  line-height: 1;
}
/* Sesli sohbet ikonu — FA Pro SVG; dark/light görünür */
#main_input #input_voice_btn {
  color: #aebac1 !important;
  opacity: 1;
}
html[data-mode="light"] #main_input #input_voice_btn {
  color: #54656f !important;
}
/* Ses kaydı / önizleme sırasında oda-ses ikonu görünmesin */
#main_input .input_table.hd_voice_hidden #input_voice_btn,
#container_input:has(.hd_voice_rec_ui:visible) #input_voice_btn,
#container_input:has(.hd_voice_prev_ui:visible) #input_voice_btn {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
#main_input #input_voice_btn.hd_voice_on {
  color: #00a884 !important;
}
#main_input #input_voice_btn .hd_voice_ico_wrap,
#main_input #input_voice_btn .bblock {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  margin: 0 !important;
  line-height: 1;
  color: inherit !important;
}
#main_input #input_voice_btn .hd_voice_ico_svg {
  width: 20px;
  height: 20px;
  display: block;
  color: inherit;
  fill: currentColor;
}
#main_input #upchat {
  position: relative;
  overflow: hidden;
}
#main_input #upchat .up_input,
#main_input #chat_file {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* Mesaj input: alan biraz küçük, gönder yuvarlak dolgu */
#main_input,
#private_input {
  height: 46px;
}
#main_input #main_input_box,
#private_input .td_input {
  vertical-align: middle;
}
#main_input #content,
#private_input #message_content {
  height: 36px;
  font-size: 15px;
  padding: 0 14px;
  box-sizing: border-box;
  overflow-x: auto;
  direction: ltr;
  text-align: left;
}
#main_input #inputt_right,
#private_input #message_send {
  width: 46px;
  vertical-align: middle;
}
#main_input #submit_button.send_btn,
#private_send.send_btn {
  width: 40px !important;
  height: 40px !important;
  max-height: 40px !important;
  border-radius: 50% !important;
  background: #00a884 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 15px !important;
  line-height: 1;
  box-shadow: none !important;
  float: none !important;
  margin: 0 auto;
  cursor: pointer;
}
#main_input #submit_button.send_btn:hover,
#private_send.send_btn:hover {
  background: #06cf9c !important;
}
html[data-mode="light"] #main_input #submit_button.send_btn,
html[data-mode="light"] #private_send.send_btn {
  background: #00a884 !important;
  color: #ffffff !important;
}
html[data-mode="light"] #main_input #submit_button.send_btn:hover,
html[data-mode="light"] #private_send.send_btn:hover {
  background: #06cf9c !important;
}

/* Üst header sağ ikonlar: aralık + 2px daha büyük */
#chat_head .head_option {
  width: 48px;
  font-size: 18px;
  overflow: visible;
}
#chat_head #main_mob_menu {
  width: 56px;
  padding: 0 8px 0 6px;
  vertical-align: middle;
}
#chat_head #main_mob_menu .avatar_menu {
  width: 36px;
  height: 36px;
}

/* Sol üç çizgi gizle — ayarlar çentiği kullanılıyor */
#chat_head #head_burger,
#chat_head .head_burger {
  display: none !important;
}

/* Mod butonu header’da değil; ayarlar sheet içinde */
#chat_head #hd_mode_toggle {
  display: none !important;
}

/* Arkadaşlık isteği ayrı butonu gizle — bildirim ile birleşik */
#chat_head .head_option[data-boom="float/friend_request"] {
  display: none !important;
}

/* Stok float menüler gizli; içerik hd_notify_panel’de */
#notification_menu,
#friends_menu {
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  left: -9999px !important;
}

/* Mesaj / bildirim kırmızı sayısal sayaç */
#chat_head .head_notify.bnotify,
#chat_head .head_notify.hd_count {
  top: 4px;
  right: 2px;
  left: auto;
  min-width: 16px;
  width: auto;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #ea0038 !important;
  color: #fff !important;
  border: 1px solid #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-sizing: border-box;
  z-index: 2;
}
#chat_head .head_notify.hd_count:empty {
  display: none !important;
}

/* Header site adı (hadidev_site_title) */
#chat_head #empty_top_mob {
  text-align: center;
  overflow: hidden;
}
#chat_head .hd_site_title,
#hd_site_title {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  color: inherit;
  line-height: 1.2;
  box-sizing: border-box;
}
html[data-mode="light"] #hd_site_title {
  color: #111b21;
}
html[data-mode="dark"] #hd_site_title,
html:not([data-mode]) #hd_site_title {
  color: #e9edef;
}

/* Oda medya: Görüntüle → balon içi thumbnail → lightbox (sadece kapat)
 * ---------------------------------------------------------------------------
 * HD MEDIA BUBBLE TWEAK 2026-07-29 (deneme — geri alınabilir)
 * Dosya: css/themes/HadiDev/HadiDev.css  (bu blok + hemen altındaki "TWEAK" kuralları)
 * Amaç:
 *   1) Balonu medya çerçevesine yaklaştır (timestamp padding-right şişirmesini kes)
 *   2) Kapat butonunu thumb ile aynı yatay genişlikte çerçeve yap
 *   3) Saati medyada daha az “boş kolon” hissi verecek şekilde bırak (absolute + alt padding)
 * Geri alma: “HD MEDIA BUBBLE TWEAK” ile işaretli kuralları sil / eski değerlere dön
 *   - .bubble_msg padding-right medyada tekrar 2.75em (genel kural zaten duruyor)
 *   - .hd_media_close: align-self:center; min-width:88px; width otomatik
 *   - .hd_media_view min-width:120px
 * --------------------------------------------------------------------------- */
.hd_media {
  display: block;
  margin: 4px 0 0;
  max-width: 220px;
}
.hd_media.is_open {
  width: 220px; /* görsel/video açıkken aynı kolon */
}
.hd_media_view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  /* görsel/video kapalı balon aynı genişlik */
  min-width: 148px;
  width: 148px;
  padding: 8px 12px;
  border: 1px solid rgba(134, 150, 160, 0.55);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
}
.hd_media_view:hover {
  border-color: #00a884;
  color: #00a884;
}
.hd_media.is_open .hd_media_view { display: none; }
.hd_media_preview {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}
.hd_media.is_open .hd_media_preview { display: flex; }
/* Sabit çerçeve — görsel ve video aynı kutu (balonda video elementi yok) */
.hd_media_frame {
  position: relative;
  width: 220px;
  height: 160px;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(134, 150, 160, 0.35);
  box-sizing: border-box;
  overflow: hidden;
  background: #0b141a;
  cursor: zoom-in;
  isolation: isolate;
  transform: translateZ(0);
}
.hd_media_thumb {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #0b141a;
  cursor: zoom-in;
}
/* video: yüklenene kadar svg; kare gelince görsel gibi cover */
.hd_media[data-type="video"] .hd_media_thumb {
  object-fit: contain;
  padding: 40px !important;
  box-sizing: border-box !important;
  opacity: 0.9;
}
.hd_media[data-type="youtube"] .hd_media_thumb,
.hd_media[data-type="tiktok"] .hd_media_thumb {
  object-fit: cover !important;
  padding: 0 !important;
  background: #000;
  opacity: 1;
}
.hd_media[data-type="youtube"] .hd_media_view i {
  color: #ff0033;
}
.hd_media[data-type="tiktok"] .hd_media_view i {
  color: #fe2c55;
}
.hd_media[data-type="video"] .hd_media_thumb.hd_media_thumb_ready,
.hd_media.hd_media_has_poster .hd_media_thumb {
  object-fit: cover !important;
  padding: 0 !important;
  opacity: 1;
}
.hd_media_play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hd_media_play i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
  box-sizing: border-box;
}
.hd_media[data-type="video"] .hd_media_frame,
.hd_media[data-type="youtube"] .hd_media_frame,
.hd_media[data-type="tiktok"] .hd_media_frame {
  cursor: pointer;
}
.hd_media_close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  padding: 6px 12px;
  border: 1px solid rgba(134, 150, 160, 0.55);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
}
.hd_media_close:hover {
  border-color: #e35d6a;
  color: #e35d6a;
}
html[data-mode="light"] .hd_media_view,
html[data-mode="light"] .hd_media_close {
  border-color: rgba(17, 27, 33, 0.18);
}
html[data-mode="light"] .hd_media_frame {
  border-color: rgba(17, 27, 33, 0.18);
  background: #e9edef;
}
html[data-mode="light"] .hd_media_thumb {
  background: #e9edef;
}

/* HD MEDIA BUBBLE TWEAK 2026-07-29 — saat çerçeve DIŞINDA (görsel = video)
 *
 * Kök neden (HTML kanıtı):
 * Görsel: sunucu `</a> ` trailing space → bubble_msg pre-wrap ekstra satır → saat rahat
 * Video: trailing space yok → saat Görüntüle/Kapat çerçevesine biniyor
 *
 * Düzeltme: whitespace JS ile temizlenir; her iki tipte aynı margin-bottom şeridi.
 */
.ch_blogs .mbubble.hd_has_media,
.ch_blogs .mbubble:has(.hd_media) {
  width: max-content !important;
  max-width: var(--hd-bubble-max, 320px) !important;
  padding-bottom: 4px !important;
}
.ch_blogs .mbubble.hd_has_media .bubble_msg,
.ch_blogs .mbubble:has(.hd_media) .bubble_msg {
  padding-right: 0;
  width: max-content;
  max-width: 220px;
}
/* Bilinçli saat şeridi — görseldeki rastgele boşluğun yerine (görsel=video) */
.ch_blogs .mbubble.hd_has_media .hd_media,
.ch_blogs .mbubble:has(.hd_media) .hd_media {
  display: block;
  margin-bottom: 12px;
}
.ch_blogs .mbubble.hd_has_media .bubble_time,
.ch_blogs .mbubble:has(.hd_media) .bubble_time {
  opacity: 0.55;
  font-size: 10px !important;
  line-height: 1 !important;
  right: 8px;
  bottom: 2px;
  z-index: 1;
  pointer-events: none;
}

/* —— HadiDev UI: footer / PM küçültme gizle —— */
#wrap_footer,
#my_menu {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
#dpriv,
#priv_minimize,
#mstream,
#mstream_call,
#mstream_audio {
  display: none !important;
}

/* —— Mobil sağ çentikler —— */
.hd_side_notches {
  display: none;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 210;
  flex-direction: column;
  gap: 0;
  pointer-events: none;
}
.hd_notch {
  pointer-events: auto;
  width: auto;
  min-width: 34px;
  max-width: 40px;
  min-height: 48px;
  margin: 0;
  padding: 5px 3px 4px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-size: 13px;
  box-sizing: border-box;
}
#hd_notch_settings { border-radius: 10px 0 0 0; }
#hd_notch_people { border-radius: 0 0 0 10px; }
.hd_notch_label {
  display: block;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  max-width: 100%;
  padding: 0 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Global `button{background:transparent}` override — dark + default */
html[data-mode="dark"] .hd_notch,
html:not([data-mode]) .hd_notch {
  background: #202c33;
  color: #aebac1;
  box-shadow: -2px 2px 10px rgba(0,0,0,.28);
}
html[data-mode="light"] .hd_notch {
  background: #ffffff;
  color: #54656f;
  box-shadow: -2px 2px 10px rgba(11,20,26,.12);
}
.hd_notch:active { opacity: .85; }

@media screen and (max-width: 768px) {
  .hd_side_notches { display: flex; }
}
body.hd_dm_open .hd_side_notches {
  display: none !important;
}

/* Sol panel (oda listesi vb.): sağ kenardan sola açılsın */
#chat_left.cleft2 {
  left: auto !important;
  right: 0 !important;
  max-width: min(380px, calc(100% - 48px)) !important;
  z-index: 210;
  box-shadow: -4px 0 24px rgba(0,0,0,.35) !important;
  animation: hdPanelFromRight .2s ease-out;
}
@keyframes hdPanelFromRight {
  from { transform: translateX(12%); opacity: .6; }
  to { transform: translateX(0); opacity: 1; }
}
html[data-mode="light"] #chat_left.cleft2 {
  box-shadow: -4px 0 24px rgba(11,20,26,.18) !important;
}

/* —— Ayarlar alt sheet —— */
.hd_mobile_sheet {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 260;
}
.hd_mobile_sheet.is_open { display: block; }
.hd_sheet_backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.hd_sheet_panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(72vh, 560px);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: hdSheetUp .22s ease-out;
}
@keyframes hdSheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.hd_sheet_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(128,128,128,.2);
  flex-shrink: 0;
}
.hd_sheet_title { font-weight: 700; font-size: 15px; }
.hd_sheet_close {
  border: 0;
  background: transparent;
  color: inherit;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 16px;
  opacity: .75;
}
.hd_sheet_list {
  overflow: auto;
  padding: 6px 0 20px;
  -webkit-overflow-scrolling: touch;
}
.hd_sheet_item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.hd_sheet_item:hover,
.hd_sheet_item:active { background: rgba(0,168,132,.1); }
.hd_sheet_ico {
  width: 28px;
  text-align: center;
  color: #00a884;
  flex-shrink: 0;
}
.hd_sheet_ico .menui { color: #00a884; }
.hd_sheet_txt { flex: 1; font-size: 14px; }
.hd_sheet_empty { padding: 16px; margin: 0; text-align: center; }

/* —— WA stilinde balon içi ses player —— */
.ch_blogs .boomaudio.chat_audio { display: none !important; }
.hd_voice_player {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
  max-width: 240px;
  margin: 4px 0 2px;
  padding: 4px 0;
  position: relative;
}
.hd_voice_play {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #00a884;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  padding: 0;
}
.hd_voice_play.is_playing { background: #06cf9c; }
.hd_voice_wave {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(134,150,160,.35);
  overflow: hidden;
  position: relative;
}
.hd_voice_bar {
  height: 100%;
  width: 0%;
  background: #00a884;
  border-radius: 2px;
}
.hd_voice_time {
  font-size: 11px;
  opacity: .75;
  min-width: 32px;
  text-align: right;
  flex-shrink: 0;
}
.hd_voice_audio {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0);
}
html[data-mode="light"] .hd_voice_wave { background: rgba(17,27,33,.12); }

/* Radyo çalarken input ikonunda nota animasyonu — ikon üstünden yukarı */
#input_radio_btn {
  position: relative;
  overflow: visible;
}
#input_radio_btn .hd_radio_notes {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}
#input_radio_btn.hd_radio_playing .hd_radio_notes {
  display: block;
}
#input_radio_btn .hd_radio_note {
  position: absolute;
  left: 50%;
  top: 0;
  font-size: 11px;
  color: #00a884 !important;
  opacity: 0;
  transform: translate(-50%, 0) scale(0.8);
  animation: hdRadioNote 1.7s ease-out infinite;
}
#input_radio_btn .hd_radio_note:nth-child(2) {
  animation-delay: 0.45s;
  left: 64%;
  font-size: 10px;
}
#input_radio_btn .hd_radio_note:nth-child(3) {
  animation-delay: 0.9s;
  left: 36%;
  font-size: 12px;
}
@keyframes hdRadioNote {
  0% { opacity: 0; transform: translate(-50%, 0) scale(0.7); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -26px) scale(1.05); }
}

/* —— Birleşik bildirim / arkadaşlık paneli —— */
#hd_notify_panel {
  display: none;
  position: fixed;
  z-index: 250;
  top: 52px;
  right: 8px;
  width: min(360px, calc(100vw - 16px));
  max-height: min(70vh, 520px);
  border-radius: 12px;
  overflow: hidden;
  flex-direction: column;
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}
#hd_notify_panel.is_open { display: flex; }
.hd_notify_tabs {
  display: flex;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(128,128,128,.25);
}
.hd_notify_tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 12px 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  opacity: .65;
  cursor: pointer;
  position: relative;
}
.hd_notify_tab.is_on {
  opacity: 1;
  color: #00a884;
  box-shadow: inset 0 -2px 0 #00a884;
}
.hd_notify_tab_badge {
  display: none;
  margin-left: 4px;
  min-width: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #ea0038;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  vertical-align: middle;
}
.hd_notify_tab_badge.is_on { display: inline-block; }
.hd_notify_panes {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.hd_notify_pane { display: none; padding: 6px; }
.hd_notify_pane.is_on { display: block; }
.hd_notify_tools {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  padding: 6px 10px;
  border-top: 1px solid rgba(128,128,128,.2);
}
.hd_notify_tools button {
  border: 0;
  background: transparent;
  color: inherit;
  opacity: .7;
  cursor: pointer;
  padding: 6px 8px;
  font-size: 14px;
}
@media screen and (max-width: 768px) {
  #hd_notify_panel {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: min(72vh, 560px);
    border-radius: 16px 16px 0 0;
  }
}

/* Eski Gif — hareketli emoji (24px) */
.eski_gif,
img.eski_gif,
#show_chat .eski_gif,
.private_logs .eski_gif {
  height: 24px;
  width: auto;
  max-width: none;
  vertical-align: middle;
  display: inline-block;
}


/* —— DM / Kişiler / Oda kartları (UX sprint) —— */
#private_av {
  width: calc(var(--hd-priv-av, 36px) + 2px) !important;
  height: calc(var(--hd-priv-av, 36px) + 2px) !important;
}
#private_av_wrap img#private_av {
  width: 38px !important;
  height: 38px !important;
}
#private_name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}
#private_name .hd_dm_name {
  margin: 0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
#private_name .hd_dm_rank {
  margin: 0;
  font-size: 11px;
  opacity: .7;
}
.hd_verify_badge { color: #1d9bf0 !important; }
#private_video_call { order: 0; }
#private_center {
  z-index: 150 !important;
}

.hd_people_sheet {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  top: var(--hd-head-h, 52px);
  z-index: 270;
  background: #0b141a;
  color: #e9edef;
  flex-direction: column;
}
.hd_people_sheet.is_open { display: flex; }
.hd_people_head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.hd_people_back {
  width: 40px; height: 40px; border: 0; background: transparent;
  color: inherit; font-size: 18px; cursor: pointer;
}
.hd_people_title { font-weight: 700; font-size: 16px; }
.hd_people_tabs {
  display: block;
  padding: 8px 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-sizing: border-box;
}
.hd_people_tabs_inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(134,150,160,.35);
  background: rgba(255,255,255,.04);
  box-sizing: border-box;
}
.hd_people_tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #8696a0 !important;
  padding: 9px 6px !important;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  min-width: 0;
  border-bottom: 0 !important;
}
.hd_people_tab + .hd_people_tab {
  border-left: 1px solid rgba(134,150,160,.28) !important;
}
.hd_people_tab.is_on {
  color: #ffffff !important;
  background: #00a884 !important;
  border-bottom-color: transparent !important;
}
.hd_people_tab_label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hd_people_tab_count {
  flex-shrink: 0;
  min-width: 1.1em;
  font-size: 12px;
  font-weight: 800;
  opacity: .9;
}
.hd_people_tab.is_on .hd_people_tab_count { opacity: 1; }
.hd_people_list { flex: 1; overflow: auto; padding: 8px; }
.hd_people_row {
  width: 100%; display: flex; align-items: center; gap: 10px;
  border: 0; background: transparent; color: inherit;
  padding: 10px 8px; text-align: left; cursor: pointer; border-radius: 10px;
}
.hd_people_row:active { background: rgba(255,255,255,.06); }
.hd_people_av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.hd_people_meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hd_people_name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd_people_rank { font-size: 12px; opacity: .7; }
.hd_people_dot {
  width: 10px; height: 10px; border-radius: 50%; background: #54656f;
}
.hd_people_dot.is_on { background: #00a884; }
.hd_people_empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 14px;
  min-height: 220px;
  box-sizing: border-box;
}
.hd_people_empty_ico {
  display: block;
  font-size: 52px;
  line-height: 1;
  color: #00a884;
  opacity: .85;
}
.hd_people_empty_txt {
  margin: 0;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.45;
  opacity: .75;
  text-align: center;
}
html[data-mode="light"] .hd_people_empty_ico { color: #008069; }
html[data-mode="light"] .hd_people_sheet {
  background: #f0f2f5; color: #111b21;
}
html[data-mode="light"] .hd_people_tabs {
  border-bottom-color: rgba(17,27,33,.08);
}
html[data-mode="light"] .hd_people_tabs_inner {
  background: #ffffff;
  border-color: rgba(17,27,33,.12);
}
html[data-mode="light"] .hd_people_tab {
  color: #667781 !important;
}
html[data-mode="light"] .hd_people_tab + .hd_people_tab {
  border-left-color: rgba(17,27,33,.1) !important;
}
html[data-mode="light"] .hd_people_tab.is_on {
  color: #ffffff !important;
  background: #00a884 !important;
}

.hd_room_search_wrap { padding: 8px 10px 4px; }
.hd_room_search {
  width: 100%; box-sizing: border-box;
  border: 0; border-radius: 10px; padding: 10px 12px;
  background: #202c33; color: #e9edef; outline: none;
}
html[data-mode="light"] .hd_room_search {
  background: #fff; color: #111b21;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

/* Oda kullanıcı listesi — ilk boyadan sabit (enrich beklemeden; flicker yok) */
#container_user .user_item {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 36px 8px 4px;
  min-height: 80px;
  height: auto;
  box-sizing: border-box;
  table-layout: auto;
  width: 100%;
}
#container_user .user_item .user_item_avatar {
  display: block !important;
  flex: 0 0 60px;
  width: 60px !important;
  height: 60px !important;
  margin: 0;
  padding: 0;
  vertical-align: unset;
}
#container_user .user_item .user_item_avatar img,
#container_user .user_item .user_item_avatar .avav,
#container_user .user_item .user_item_avatar .acav {
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
#container_user .user_item .user_item_data,
#container_user .user_item .user_item_name {
  display: block !important;
  flex: 1;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: unset;
}
#container_user .user_item .username {
  margin: 0;
  font-size: 13px !important;
  line-height: 1.25;
  font-weight: 700;
}
#container_user .user_item .hd_card_rank {
  margin: 2px 0 0;
  font-size: 12px;
  opacity: .75;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#container_user .user_item .list_mood,
#container_user .user_item .icrank,
#container_user .user_item .icflag,
#container_user .user_item .user_item_icon,
#container_user .user_item .user_item_flag {
  display: none !important;
}
#container_user .user_item .hd_card_badges {
  position: absolute; top: 10px; right: 28px;
  display: flex; align-items: center; gap: 6px;
}
#container_user .user_item .hd_card_sex {
  width: 10px; height: 10px; border-radius: 50%;
  background: #8696a0;
}
#container_user .user_item .hd_card_sex.hd_sex_m { background: #53bdeb; }
#container_user .user_item .hd_card_sex.hd_sex_f { background: #ff7aad; }
#container_user .user_item .hd_card_device {
  font-size: 12px; opacity: .65;
}
#container_user .user_item .hd_card_more {
  position: absolute; right: 4px; bottom: 10px;
  width: 28px; height: 28px; border: 0; background: transparent;
  color: inherit; opacity: .55; cursor: pointer; font-size: 14px;
}

/* Sağ panel: Listede öne çık — tema `button{background:transparent}` override edilir */
#right_panel_bar {
  display: flex !important;
  align-items: center;
  gap: 0;
  padding: 8px 10px;
  box-sizing: border-box;
  background: transparent !important;
}
#right_panel_bar .panel_option,
#right_panel_bar .panel_bar_item {
  display: none !important;
}
#right_panel_bar .bcell_mid {
  flex: 1;
  display: flex !important;
  align-items: center;
  justify-content: stretch;
  min-width: 0;
  width: 100%;
  padding: 0;
  background: transparent !important;
}
.hd_list_boost_row {
  display: block;
  width: 100%;
  min-width: 0;
}
html[data-mode="dark"] #hd_list_boost_btn.hd_list_boost_btn,
html[data-mode="light"] #hd_list_boost_btn.hd_list_boost_btn,
html:not([data-mode]) #hd_list_boost_btn.hd_list_boost_btn,
#hd_list_boost_btn.hd_list_boost_btn {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: none !important;
  border-radius: 8px;
  background: linear-gradient(135deg, #f5c542, #d4a017 55%, #c9970c) !important;
  box-shadow: 0 2px 8px #d4a01747;
  color: #1a1a1a !important;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
  text-align: left;
}
html[data-mode="dark"] #hd_list_boost_btn.hd_list_boost_btn:hover:not(:disabled),
html[data-mode="light"] #hd_list_boost_btn.hd_list_boost_btn:hover:not(:disabled),
html:not([data-mode]) #hd_list_boost_btn.hd_list_boost_btn:hover:not(:disabled),
#hd_list_boost_btn.hd_list_boost_btn:hover:not(:disabled) {
  filter: brightness(1.05);
  color: #1a1a1a !important;
  background: linear-gradient(135deg, #f5c542, #d4a017 55%, #c9970c) !important;
}
#hd_list_boost_btn.hd_list_boost_btn:disabled {
  cursor: default;
  opacity: .75;
}
.hd_list_boost_label,
.hd_list_boost_label i,
.hd_list_boost_cd {
  color: #1a1a1a !important;
}
.hd_list_boost_label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  justify-content: flex-start;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hd_list_boost_label i {
  font-size: 12px;
  flex-shrink: 0;
}
.hd_list_boost_cd {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: .9;
}

/* Ara altındaki Çevrimiçi / Offline / Onair başlıkları */
#chat_right #container_user > .user_count {
  display: none !important;
}

/* Sidebar açıkken sağ çentikler gizlensin */
body.hd_panel_open .hd_side_notches {
  display: none !important;
}

/* Sidebar kapatma tırnağı — body fixed (panel overflow:hidden kesmesin) */
.hd_panel_edge_close_wrap {
  position: fixed;
  z-index: 230;
  width: 20px;
  height: 64px;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.hd_panel_edge_close_wrap:not([hidden]) {
  display: flex;
}
.hd_panel_edge_close,
.hd_right_edge_close {
  width: 20px;
  height: 64px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 12px 0 0 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 44, 51, 0.96) !important;
  color: #aebac1 !important;
  box-shadow: -3px 0 10px rgba(0,0,0,.22);
  font-size: 12px;
  line-height: 1;
}
.hd_panel_edge_close i,
.hd_right_edge_close i {
  color: inherit !important;
  pointer-events: none;
  font-size: 12px;
}
.hd_panel_edge_close:hover,
.hd_right_edge_close:hover {
  color: #fff !important;
  background: #00a884 !important;
}
html[data-mode="light"] .hd_panel_edge_close,
html[data-mode="light"] .hd_right_edge_close {
  background: #fff !important;
  color: #667781 !important;
  box-shadow: -3px 0 10px rgba(11,20,26,.14);
}
html[data-mode="light"] .hd_panel_edge_close:hover,
html[data-mode="light"] .hd_right_edge_close:hover {
  background: #00a884 !important;
  color: #fff !important;
}

body.hd_panel_open #hd_voice_fab { display: none !important; }

/* Login / register gender picker */
.hd_gender_pick {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.hd_gender_btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  background: rgba(127,127,127,.08);
  color: inherit;
}
.hd_gender_btn.is_male,
.hd_gender_btn.is_female {
  opacity: .85;
}
.hd_gender_btn.is_on {
  opacity: 1;
}
.hd_gender_btn i { font-size: 16px; }
.hd_gender_btn.is_male.is_on {
  background: rgba(83, 189, 235, .18);
  border-color: #53bdeb;
  color: #1a8fc0;
  box-shadow: 0 0 0 1px rgba(83, 189, 235, .25);
}
.hd_gender_btn.is_female.is_on {
  background: rgba(255, 122, 173, .18);
  border-color: #ff7aad;
  color: #d94884;
  box-shadow: 0 0 0 1px rgba(255, 122, 173, .25);
}
html[data-mode="dark"] .hd_gender_btn {
  background: rgba(255,255,255,.06);
}
html[data-mode="dark"] .hd_gender_btn.is_male.is_on {
  background: rgba(83, 189, 235, .22);
  color: #7ad0f0;
}
html[data-mode="dark"] .hd_gender_btn.is_female.is_on {
  background: rgba(255, 122, 173, .22);
  color: #ff9ec4;
}
html[data-mode="light"] .hd_gender_btn {
  background: rgba(0,0,0,.04);
}
html[data-mode="light"] .hd_gender_btn.is_male.is_on {
  background: rgba(83, 189, 235, .16);
  color: #157aa8;
}
html[data-mode="light"] .hd_gender_btn.is_female.is_on {
  background: rgba(255, 122, 173, .16);
  color: #c73d76;
}
