/* Xianshe account pages. Existing authentication and validation stay intact. */
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) {
  background: #f5f7f9 !important;
  width: 100%;
  min-width: 0 !important;
  color: #20262d;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  letter-spacing: 0;
}
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) #xsSiteShell .xs-topbar,
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) #xsSiteShell .xs-main-nav,
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) #xsSiteShell .xs-site-search,
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) #xsSiteShell .xs-mobile-toggle,
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) #xsSiteShell .xs-mobile-panel,
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) .xs-footer-top,
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) .xs-footer-fill {
  display: none !important;
}
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) > .xi1.bm.bm_c { display: none; }
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) #xsSiteShell .xs-main-header {
  position: static;
  box-shadow: none;
  border-bottom: 1px solid #e7ebef;
  background: #fff;
}
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) #xsSiteShell .xs-header-row {
  width: min(1120px, calc(100% - 48px));
  min-height: 80px;
  margin: 0 auto;
  justify-content: space-between;
}
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) #xsSiteShell .xs-brand-logo img {
  width: 117px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) #wp,
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) #ct {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
}
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) #ct {
  min-height: calc(100svh - 195px);
  padding: 48px 20px 56px !important;
  box-sizing: border-box;
}
#ct:has(.nex_denglu_box, .nex_zhucebox) .mn,
#ct:has(.nex_denglu_box, .nex_zhucebox) .nex_zhucekuangbox,
#ct:has(.nex_denglu_box, .nex_zhucebox) .nex_zhucebox {
  width: 100%;
  min-width: 0;
  min-height: 0;
  float: none;
  margin: 0;
  overflow: visible;
}
#ct:has(.nex_denglu_box, .nex_zhucebox) .nex_Mainbod {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: transparent;
}
#ct .nex_denglu_box,
#ct .nex_zctop_inner {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 32px 36px;
  border: 1px solid #e1e7ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(28, 43, 57, .045);
  color: #606a76;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0;
}
#ct .nex_dlzc_txt,
#ct .nex_dlzc_txt em,
#ct #layer_reginfo_t {
  height: auto;
  min-height: 0;
  padding: 0;
  margin: 0;
  float: none;
  overflow: visible;
  color: #20262d;
  text-align: left;
  font-size: 26px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
#ct .nex_dlzc_txt,
#ct #main_hnav { margin-bottom: 28px; }
#ct .nex_denglu_box form .c,
#ct .nex_zctop_inner .bm_c { padding: 0; }
#ct .nex_zctop_inner .mtw { margin-top: 0 !important; }
#ct .nex_liner_box_dl,
#ct .nex_liner_box { margin: 0 0 18px; width: 100%; }
#ct .xs-auth-label {
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 7px;
  padding: 0;
  color: #39434e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  overflow: visible;
  letter-spacing: 0;
}
#ct .nex_liner_box_dl input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
#ct .nex_liner_box input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
#ct .nex_liner_box_dl select,
#ct .nex_liner_box select {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid #ccd5df;
  border-radius: 6px;
  outline: none;
  background: #fff;
  box-shadow: none;
  color: #20262d;
  font: 15px/1.5 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  text-indent: 0;
  cursor: text;
  transition: border-color .15s, box-shadow .15s;
}
#ct .nex_liner_box_dl select,
#ct .nex_liner_box select { cursor: pointer; padding-right: 24px; }
#ct .nex_liner_box_dl input:focus,
#ct .nex_liner_box input:focus,
#ct .nex_liner_box_dl select:focus,
#ct .nex_liner_box select:focus {
  border-color: #1677c8;
  box-shadow: 0 0 0 3px rgba(22, 119, 200, .12);
}
#ct .nex_liner_box_dl input::placeholder,
#ct .nex_liner_box input::placeholder { color: #8a929c; font-size: 14px; }
#ct .nex_username_top { display: flex; gap: 8px; align-items: flex-start; }
#ct .nex_username_top > .clear { display: none; }
#ct .nex_slct_part { flex: 0 0 92px; float: none; }
#ct .login_slct { width: auto; height: 46px; padding: 0; border: 0; }
#ct .login_slct > a {
  display: flex;
  align-items: center;
  position: static;
  box-sizing: border-box;
  width: 92px;
  height: 46px;
  border: 1px solid #ccd5df;
  border-radius: 6px;
  padding: 0 10px;
  color: #39434e;
  background-color: #f7f9fb;
  font-size: 13px;
}
#ct .nex_slct_inputs { flex: 1; min-width: 0; padding: 0; }
#ct .nex_dl_columns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 8px;
  height: auto;
  margin: 3px 0 22px;
  line-height: 1.65;
}
#ct .nex_dl_columns > .clear { display: none; }
#ct .nex_dl_columns_l,
#ct .nex_dl_columns_r { float: none; height: auto; font-size: 12px; }
#ct .nex_dl_columns_r { margin-left: auto; text-align: right; }
#ct input[type=checkbox],
#ct input[type=radio] { width: 16px !important; height: 16px !important; vertical-align: -3px; margin: 0 6px 0 0; accent-color: #1677c8; cursor: pointer; }
#ct .nex_dl_columns a,
#ct .nex_reg_btms a:not([href*="login.php?method="]) { color: #116bb2; }
#ct .nex_liner_box_dl .pn,
#ct .nex_liner_box .pn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 46px;
  padding: 10px 18px;
  margin: 0;
  border: 1px solid #126bb4;
  border-radius: 6px;
  background: #1677c8;
  box-shadow: none;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
}
#ct .pn strong,
#ct .pn span { padding: 0; font-weight: 600; line-height: inherit; }
#ct .nex_liner_box_dl .pn:hover,
#ct .nex_liner_box .pn:hover { background: #116bb2; opacity: 1; }
#ct .pn:focus-visible,
#ct a:focus-visible { outline: 3px solid #91c7ef; outline-offset: 3px; }
#ct .pn:disabled { opacity: .5; cursor: not-allowed; }
#ct .nex_nesscerry_tips { position: static; width: 100%; height: auto; min-height: 18px; margin-top: 6px; line-height: 1.5; }
#ct .nex_nesscerry_tips i.p_tip,
#ct .nex_nesscerry_tips .p_chk { position: static; width: auto; max-width: 100%; margin: 0; font-family: inherit; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
#ct .nex_nesscerry_tips i.p_tip { color: #737e89; }
#ct .nex_nesscerry_tips .p_chk { color: #bf3c35; }
#ct .nex_nesscerry_tips .p_right { display: inline-block; width: 20px; height: 18px; min-height: 0; vertical-align: middle; }
#ct #returnmessage4:empty { display: none; }
#ct #returnmessage4:not(:empty) { margin: 0 0 16px; color: #bf3c35; overflow-wrap: anywhere; }
#ct .nexbdthirdpart { display: flex; align-items: center; gap: 12px; width: 100%; height: auto; margin: 24px 0 16px; overflow: visible; }
#ct .nexbdthirdpart span { position: static; width: auto; height: auto; flex: 0 0 auto; color: #7c8691; font-size: 12px; font-weight: 400; line-height: 1.5; }
#ct .nexbdthirdpart i { position: static; flex: 1; width: auto; height: 1px; background: #e4e9ef; }
#ct .xs-auth-providers { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#ct .xs-auth-providers a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  flex: 1 1 90px;
  min-height: 42px;
  gap: 7px;
  margin: 0 !important;
  padding: 8px 10px;
  border: 1px solid #e0e6ec;
  border-radius: 6px;
  background: #fff;
  color: #515c68;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
}
#ct .xs-auth-providers a:hover { background: #f6f8fa; border-color: #c7d3df; }
#ct .xs-auth-providers .iconfont { width: 20px; height: 20px; flex-shrink: 0; }
#ct .xs-auth-providers a[href*="method=weixin"] .iconfont { color: #15915a; fill: currentColor; }
#ct .xs-auth-providers a[href*="method=qq"] .iconfont { color: #2189c8; fill: currentColor; }
#ct .nex_reg_btms { height: auto; margin-top: 20px; line-height: 1.6; }
#ct .nex_reg_btms_l { float: none; height: auto; text-align: center; font-size: 13px; line-height: 1.6; }
#ct .nex_reg_btms_r { float: none; margin-top: 22px; padding-top: 20px; border-top: 1px solid #e4e9ef; }
#ct .nex_liner_box_dl_valides span,
#ct .nex_liner_box_valides span { position: static; text-indent: 0; }
#ct .nex_liner_box_dl_valides a.xi2,
#ct .nex_liner_box_valides a.xi2 { position: static; width: auto; height: auto; padding: 6px 10px; margin: 6px 0; border-radius: 4px; }
#ct .nex_liner_box_dl_valides img,
#ct .nex_liner_box_valides img { max-width: 100%; object-fit: contain; }
#ct #reginfo_a_Rule { height: auto; line-height: 1.7; margin: 12px 0; }
#ct .rfm { width: 100%; }
#ct .rfm th { width: auto; }
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) .xs-site-footer { margin: 0; padding: 0 24px 22px; border: 0; background: transparent; }
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) .xs-site-footer::before,
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) .xs-site-footer::after { display: none; }
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) .xs-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 1120px; padding-top: 18px; margin: 0 auto; border-top: 1px solid #e1e7ed; color: #83909b; font-size: 12px; }
body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) .xs-footer-record p { color: #83909b; font-size: 12px; }
@media (max-width: 600px) {
  body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) #xsSiteShell .xs-header-row { width: calc(100% - 32px); min-height: 68px; }
  body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) #xsSiteShell .xs-brand-logo img { width: 104px; }
  body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) #ct { padding: 28px 16px 36px !important; min-height: calc(100svh - 190px); }
  #ct .nex_denglu_box, #ct .nex_zctop_inner { padding: 26px 22px; }
  #ct .nex_dlzc_txt, #ct .nex_dlzc_txt em, #ct #layer_reginfo_t { font-size: 24px; }
  #ct .nex_liner_box_dl input:not([type=checkbox]):not([type=radio]):not([type=hidden]), #ct .nex_liner_box input:not([type=checkbox]):not([type=radio]):not([type=hidden]), #ct .nex_liner_box_dl select { font-size: 16px; }
  #ct .nex_dl_columns { align-items: flex-start; }
  #ct .nex_dl_columns_r { flex-basis: 100%; text-align: left; margin: 0; }
  #ct .xs-auth-providers a { flex-basis: 76px; }
  body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) .xs-footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  body:has(#ct .nex_denglu_box, #ct .nex_zhucebox) .xs-footer-record p { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  #ct .nex_liner_box_dl input, #ct .nex_liner_box input { transition: none; }
}
