/* Today winter: explicit selectors keep uploaded images and author colors intact. */
.tp-theme-toggle{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid #D7E4EF;border-radius:50%;background:#F1F5F9;color:#172C48;font:22px/1 Arial,sans-serif;cursor:pointer;vertical-align:middle}
.tp-theme-toggle:focus-visible{outline:3px solid #5684B3;outline-offset:3px}
#hd_top #tnb .tp-theme-item{display:flex;align-items:center;height:100%;padding:0 6px}
#hd_wrapper>.tp-theme-toggle{position:absolute;left:48px;top:13px;width:34px;height:34px;z-index:16;background:#233F5C;color:#fff;border-color:#779ABC}
html[data-theme=dark]{color-scheme:dark;--au-bg:#0E1726;--au-surface:#172538;--au-surface-2:#1D3046;--au-line:#31465E;--au-line-soft:#263B52;--au-ink:#E5EDF6;--au-nav:#E5EDF6;--au-muted:#A8BBD0;--au-accent:#92BCE5;--au-accent-2:#92BCE5;--au-accent-soft:#253F5B;--au-deep:#8DB7DF;--au-gradient:linear-gradient(90deg,#365F88,#91B6D8)}
html[data-theme=dark] body{background:#0E1726 !important;background-image:none !important;color:#E5EDF6 !important}
html[data-theme=dark] body #wrapper,html[data-theme=dark] body #container{background:transparent !important}
html[data-theme=dark] body #hd,html[data-theme=dark] body #hd_top,html[data-theme=dark] body #hd_tnb,html[data-theme=dark] body #ft,html[data-theme=dark] body .gnb_2dul,html[data-theme=dark] body #gnb.hd_div,html[data-theme=dark] body #user_menu{background:#172538 !important;border-color:#31465E !important;color:#E5EDF6 !important}
html[data-theme=dark] body :is(.lt_box,.lf-card,.mc-card,#ol_before,#ol_after,#container_title,.m-today-card,.m-sec,.aside_lt,.new_win,#bo_v,#bo_w,.tbl_wrap,.bo_fx,#bo_vc,.bo_vc_w,#bo_v_atc,#bo_v_info,#bo_v_title,#bo_v_file,#bo_v_link,.bo_v_nb,section.seo-intro,.tpv-ts,.tpv-faq){background:#172538 !important;border-color:#31465E !important;color:#E5EDF6 !important}
html[data-theme=dark] body :is(.lt_title,.lt_title a,.lt_box li>a,.m-sec-name,.m-today-card b,.m-today-card a,#container_title,#bo_v_title,#bo_v_info,.bo_tit a,.bo_v_nb a,.aside_lt a,.seo-intro,.tpv-ts,.tpv-faq){color:#E5EDF6 !important}
html[data-theme=dark] body :is(.lf-tabs,.lf-field,.lf-tab,.mc-hd,.mc-tile,.mc-warn,.mc-alert,.mp-chat__tabs,.mp-chat__composer,.mp-chat__actions,.mp-chat__point-strip,.mp-chat__notice,#bo_list th,#bo_vc article,#bo_w .bo_w_info,#m-tab-nav,.new_win #win_title,.new_win .point_list>li,.new_win .memo_list>ul>li,.new_win .win_ul li a){background:#1D3046 !important;border-color:#31465E !important;color:#BCCDE0 !important}
html[data-theme=dark] body :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),textarea,select,.frm_input,.frm_textarea,.mp-chat__input){background:#101D2D !important;color:#E5EDF6 !important;border-color:#415A74 !important}
html[data-theme=dark] body input::placeholder,html[data-theme=dark] body textarea::placeholder{color:#A2B5CA !important;opacity:1}
html[data-theme=dark] body :is(.lf-btn,#ol_submit,.mp-chat__send,.mc-btn.att,.btn_submit,.btn_b02){background:linear-gradient(135deg,#365F88,#294B70) !important;color:#fff !important;border-color:#5684B3 !important}
html[data-theme=dark] body #ol_after.mc-card .mc-hd{background:#1D3046 !important;border-color:#31465E !important}
html[data-theme=dark] body :is(.mc-nick,.mc-lab,.mc-alert-lab,.lf-tab.on,.m-sec-more,.m-today-tm,.m-today-go){color:#E5EDF6 !important}
html[data-theme=dark] body :is(.mc-act a,.mc-btn.out,.lt_more a,.btn_b01,.btn_cancel,.mp-chat__action,.pg a,.pg_page){background:#253B54 !important;color:#DBE8F6 !important;border-color:#415A74 !important}
html[data-theme=dark] body .mp-chat{--mp-chat-accent:#92BCE5 !important;background:#172538 !important;color:#E5EDF6 !important;border-color:#31465E !important}
html[data-theme=dark] body :is(.mp-chat__body,.mp-chat__messages,.mp-chat__message,.mp-chat__message-list,.mp-chat__content,.mp-chat__panel,.mp-chat__tab-panel){background:#172538 !important;color:#E5EDF6 !important}
html[data-theme=dark] body :is(.mp-chat__text,.mp-chat__name,.mp-chat__time,.mp-chat__notice,.mp-chat__point-strip a,.mp-chat__point-strip em){color:#BCCDE0 !important}
html[data-theme=dark] body :is(.mp-chat__tab.is-active,.mp-chat__tab[aria-selected=true]){background:#365F88 !important;color:#fff !important}
html[data-theme=dark] body .tp-theme-toggle{background:#253F5B;color:#E5EDF6;border-color:#779ABC}
html[data-theme=dark] body :is(#hd_top #tnb li a,.glb_area #gnb_1dul>li>a,.gnb_2da,#gnb_1dul a,#m-tab-nav a,#m-tab-nav button){color:#DBE8F6 !important}
html[data-theme=dark] body .glb_area #gnb_1dul>li:nth-child(4)>a{-webkit-text-fill-color:#92BCE5 !important;background:none !important}
html[data-theme=dark] body :is(.glb_area #gnb_1dul>li>a:hover,.gnb_2da:hover,.gnb_1dli_on .gnb_2da,.gnb_1dli_over .gnb_2da,.lt_box li:hover){background:#253F5B !important;color:#fff !important}
html[data-theme=dark] body :is(#bo_list table,#bo_list td,table.planner_calendar,table.planner_calendar td,table.planner_calendar th,.tbl_head01 td,.tbl_head01 th){background:#172538 !important;color:#DBE8F6 !important;border-color:#31465E !important}
html[data-theme=dark] body :is(#bo_list td a,.tbl_head01 td a,table.planner_calendar td a){color:#C2D9F1 !important}
html[data-theme=dark] body :is(#bo_v_con,#bo_v_con p,#bo_vc .cmt_contents){color:#DBE8F6}
html[data-theme=dark] body :is(.new_win .point_tit,.new_win .memo_name,.new_win .scrap_tit,.new_win .win_desc){color:#D6E6F5 !important}
html[data-theme=dark] body :is(#bo_list .bo_notice td,.bo_cate_link,.pg_current,.new_win .win_ul li.selected a){background:#253F5B !important;color:#E5EDF6 !important}
html[data-theme=dark] body :is(.m-today-card,.lf-card,.lt_box,.mc-card){box-shadow:0 6px 18px rgba(0,0,0,.15) !important}
html[data-theme=dark] body :is(.mp-chat__user,.mp-chat__meta,.mp-chat__time,.mp-chat__timestamp,.mp-chat__point-counts em,#ol_password_lost,.lf-bottom label,.lf-links a,.lt_date){color:#BCCDE0 !important}
html[data-theme=dark] body .mp-chat__point-counts em{background:#253F5B !important;border-color:#415A74 !important}
html[data-theme=dark] body .mp-chat__bubble{background:transparent !important}
html[data-theme=dark] body .glb_area #gnb_1dul>li:nth-child(4)>a:before{-webkit-text-fill-color:#92BCE5 !important;color:#92BCE5 !important}
html[data-theme=dark] body .lt_box li{border-color:#263B52 !important;box-shadow:none !important;text-shadow:none !important}
html[data-theme=dark] body #gnb_1dul li{border-color:#31465E !important}
/* Keep the theme switch outside the original account links' fixed width. */
html body #hd_top #tnb{display:flex;align-items:center;flex-wrap:nowrap;white-space:nowrap}
html body #hd_top #tnb .tp-theme-item{position:absolute;left:-38px;top:0;width:32px;height:35px;padding:0;float:none}
html body #hd_top #tnb .tp-theme-item+li:before{display:none}
html[data-theme=dark] body #hd_top,html[data-theme=dark] body #hd_tnb{background:transparent !important}
html[data-theme=dark] body .lt .lt_box li{border-bottom:1px solid #263B52 !important;border-radius:0 !important;box-shadow:none !important}
html[data-theme=dark] body #gnb_1dul,html[data-theme=dark] body #gnb.hd_div .gnb_1da,html[data-theme=dark] body #gnb.hd_div .gnb_2da{background:#172538 !important;color:#DBE8F6 !important;border-color:#31465E !important}
html[data-theme=dark] body #gnb.hd_div .gnb_2dul{background:#1D3046 !important}
html[data-theme=dark] body #gnb_close,html[data-theme=dark] body #gnb_close i{color:#DBE8F6 !important}
html[data-theme=dark] body .lt .lt_box li,html[data-theme=dark] body .lt .lt_box li>a{border:0 !important;box-shadow:none !important;border-radius:0 !important}
html[data-theme=dark] body .m-today-card :is(p,small,span){color:#BCCDE0 !important}
/* Expanded menus override the existing season's state-specific rules. */
html[data-theme=dark] body #hd .gnb_2dul,html[data-theme=dark] body #hd .gnb_1dli_over .gnb_2dul,html[data-theme=dark] body #hd .gnb_1dli_over2 .gnb_2dul{background:#172538 !important;border-color:#31465E !important;box-shadow:0 12px 26px rgba(0,0,0,.3) !important}
html[data-theme=dark] body #hd #gnb_1dul li ul>li>a,html[data-theme=dark] body #hd .gnb_1dli_on .gnb_2da,html[data-theme=dark] body #hd .gnb_1dli_air .gnb_2da,html[data-theme=dark] body #hd .gnb_1dli_over .gnb_2da{background:transparent !important;color:#DBE8F6 !important;-webkit-text-fill-color:#DBE8F6 !important;border-color:#31465E !important}
html[data-theme=dark] body #hd #gnb_1dul li ul>li>a:hover,html[data-theme=dark] body #hd #gnb_1dul li ul>li>a:focus{background:#253F5B !important;color:#fff !important;-webkit-text-fill-color:#fff !important}
html[data-theme=dark] body #hd #hd_nb,html[data-theme=dark] body #hd #hd_nb li,html[data-theme=dark] body #hd #hd_nb a{background:#172538 !important;color:#BCCDE0 !important;border-color:#31465E !important}
html[data-theme=dark] body :is(.bo-kwintro,.bo_cate,#bo_cate,.bo_sch,.bo_sch form,#bo_vc_w,.bo_w_select,.bo_w_flie,.write_div,.bo_w_tit,.bo_w_link,.bo_w_file,.bo_v_file,.bo_v_link){background:#172538 !important;color:#BCCDE0 !important;border-color:#31465E !important}
html[data-theme=dark] body :is(.bo-kwintro strong,#bo_list_total,#bo_list_total span,#bo_list th a,#bo_v_info a,#bo_v_info b,#bo_v_info span,.profile_info_ct,.profile_info_ct a,.profile_info_ct span,.sv_member,.sv_guest,.bo_v_nb .nb_date,.bo_v_nb .nb_tit,.cmt_btn,.bo_vc_hd,.bo_vc_hd a,.bo_vc_hd span,.bo_vc_act a,.cm_wrap,.cm_wrap a,.cm_wrap header,.bo_sch label,#bo_w label){color:#BCCDE0 !important}
html[data-theme=dark] body #bo_v .btn_bo_user li,html[data-theme=dark] body #bo_list .btn_bo_user li{border:0 !important;background:transparent !important}
html[data-theme=dark] body #bo_v :is(.bo_v_nb,.bo_v_nb li,#bo_v_info,#bo_vc,#bo_vc article,.cm_wrap,.cmt_btn){border-color:#31465E !important}
html[data-theme=dark] body #bo_v_con [style*="color: rgb(0, 0, 0)"],html[data-theme=dark] body #bo_v_con [style*="color:#000"],html[data-theme=dark] body #bo_v_con [style*="color: #000"]{color:#DBE8F6 !important}
html[data-theme=dark] body :is(.sv,.sv a,.bo_sch_bg,.btn_cke_sc,#char_count_desc,.bo_vc_w_info,.bo_w_flie .file_wr){background:#1D3046 !important;color:#DBE8F6 !important;border-color:#31465E !important}
html[data-theme=dark] body :is(.bo-kwintro,#bo_cate,.pg_wrap a,.pg_wrap strong,.btn_bo_user .btn,.bo_sch .btn){border-color:#31465E !important}
html[data-theme=dark] body #container_title i{background:#253F5B !important;color:#BCD8F2 !important}
/* Shared footer, board navigation, and standalone login. */
html[data-theme=dark] body :is(.nf-bg,.bo-v-more,.lgx-box,.lgx-panel){background:#172538 !important;border-color:#31465E !important;color:#DBE8F6 !important}
html[data-theme=dark] body :is(.nf-logo,.nf-desc,.nf-h,.nf-col a,.nf-bottom,.nf-top-btn,.bvm-h,.bvm-h b,.lgx-h,.lgx-subt,.lgx-chk,.lgx-find,.lgx-cs){color:#BCCDE0 !important;border-color:#31465E !important}
html[data-theme=dark] body .bvm-links a,html[data-theme=dark] body .lgx-join{background:#253F5B !important;color:#DBE8F6 !important;border-color:#415A74 !important}
html[data-theme=dark] body .lgx-hero{background:linear-gradient(150deg,#365F88,#172C48) !important}
html[data-theme=dark] body .lgx-field{background:#101D2D !important;border-color:#415A74 !important}
html[data-theme=dark] body .lgx-field input{background:transparent !important}
html[data-theme=dark] body .lgx-div:before,html[data-theme=dark] body .lgx-div:after{background:#31465E !important}
html[data-theme=dark] body :is(.mp-chat__settings,.mp-chat__settings-panel,.mp-chat__settings-dialog,.mp-chat__user-menu,.mp-chat__menu,.mp-chat__popover,.mp-chat__emoji-picker,.mp-chat__settings-body,.mp-chat__settings-header,.mp-chat__settings-footer){background:#1D3046 !important;color:#DBE8F6 !important;border-color:#415A74 !important}
html[data-theme=dark] body :is(.mp-chat__user-menu button,.mp-chat__menu button,.mp-chat__settings label,.mp-chat__settings button){color:#DBE8F6 !important;background-color:#253F5B !important;border-color:#415A74 !important}
.tp-theme-floating{position:fixed;top:16px;right:16px;z-index:1000;width:40px;height:40px}
html[data-theme=dark] body :is(.bo-kwintro span,.lf-chk,.m-today-card small,.m-today-card p){color:#BCCDE0 !important}
html[data-theme=dark] body .nf-bg{background:#101D2D !important}
html[data-theme=dark] body .mp-chat__settings-title{color:#DBE8F6 !important}
