#entry-error,
#entry-state {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  max-width: 90vw;
  margin: 0;
  padding: 9px 18px;
  background: #fff;
  border: 1px solid #c66;
  color: #b00;
  font:
    14px/1.6 "Microsoft YaHei",
    sans-serif;
  z-index: 10;
}
#entry-state {
  border-color: #aad;
  color: #245;
}
body.lines {
  background: #fff !important;
  color: #333;
  min-height: 100%;
}
body.lines #page1 {
  padding-top: 24px;
}
body.lines .box ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 18px 0;
  margin: 0;
  list-style: none;
}
body.lines .liWrap {
  width: 138px;
  border: 1px solid #54b2e2;
  border-radius: 10px;
  background: #ebf7ff;
  text-align: center;
  line-height: 38px;
  list-style: none;
}
body.lines .liWrap a {
  display: block;
}
body.lines .liWrap b {
  font-size: 14px;
  font-weight: normal;
  color: #526479;
}

/* Readable controls over the retained portal and member entry layouts. */
body[data-page] {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 16px;
  color: #20364e;
  -webkit-text-size-adjust: 100%;
}
body[data-page] :is(input, button, a):focus-visible {
  outline: 3px solid #1769c2;
  outline-offset: 3px;
}
#entry-error,
#entry-state {
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  box-shadow: 0 5px 20px #16324f1a;
}
body[data-page="portal"] #SafeCode {
  box-sizing: border-box;
  height: 50px;
  font-size: 20px;
  color: #152f4b;
  background: #fff;
  border: 2px solid #577fa9;
  border-radius: 8px;
  padding: 8px 14px;
}
body[data-page="portal"] #btnSubmit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 50px;
  box-sizing: border-box;
  padding: 0 22px;
  border-radius: 8px;
  background: #155caa;
  box-shadow: 0 3px 8px #155caa24;
  vertical-align: middle;
}
body[data-page="portal"] #btnSubmit .txt {
  height: auto;
  line-height: 1.5;
  font-size: 18px;
  font-weight: 700;
}
body[data-page="portal"] #btnSubmit .png {
  margin: 0;
}
body[data-page="portal"] #btnSubmit:hover {
  background: #104a8b;
}
body.lines .liWrap {
  width: 170px;
  border-color: #90b6d9;
  background: #eff6ff;
  border-radius: 10px;
  line-height: 1.65;
  box-shadow: 0 2px 5px #193a6410;
}
body.lines .liWrap a {
  padding: 14px 10px;
  color: #164f91;
  font-size: 18px;
  font-weight: 700;
}
body.lines .liWrap:hover {
  background: #dcecff;
  border-color: #155caa;
}
body.lines :is(.entry-back, #kjw) {
  font-size: 16px;
  line-height: 1.8;
}
body.lines :is(.entry-back, #kjw a) {
  color: #155caa;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body[data-page="login"] :is(#username, #pwd) {
  box-sizing: border-box;
  width: 154px !important;
  height: 42px;
  padding: 7px 10px;
  font-size: 18px;
  color: #18344e;
  background: #fff;
  border: 1px solid #577fa9;
  border-radius: 7px;
}
body[data-page="login"] .login1h {
  padding-top: 10px;
}
body[data-page="login"] .logintext {
  line-height: 42px;
}
body[data-page="login"] .white18 {
  font-size: 20px;
  text-shadow: 0 1px 3px #123;
}
body[data-page="login"] .loginC {
  padding-top: 15px;
  padding-left: 8px;
}
body[data-page="login"] .loginc {
  padding-left: 625px;
  padding-top: 144px !important;
}
body[data-page="login"] input[type="image"] {
  width: 78px;
  height: 82px;
  border-radius: 8px;
  border: 2px solid #fff;
  box-shadow: 0 3px 10px #0c2e5960;
  cursor: pointer;
}
body[data-page="login"] .entry-tools {
  font-size: 16px;
  line-height: 1.8;
}
body[data-page="notice"] {
  background: #edf3fa;
  line-height: 1.8;
  border-top-color: #155caa;
}
body[data-page="notice"] .main {
  box-sizing: border-box;
  width: min(1020px, calc(100% - 32px));
  min-width: 0;
  margin: 24px auto;
  border-top: 7px solid #155caa;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 30px #183c6210;
  overflow: hidden;
}
body[data-page="notice"] :is(.body, .body_resize) {
  width: 100%;
}
body[data-page="notice"] #rulesarea {
  color: #20364e;
}
body[data-page="notice"] #rulesarea h3.rules_title {
  padding: 14px 18px;
  font-size: 22px;
  color: #164f91;
  background: #eff6ff;
  border-bottom: 1px solid #ccdaea;
}
body[data-page="notice"] :is(#rulesarea, #noteArea) ul {
  left: 0;
  margin: 0;
  padding: 12px 24px;
}
body[data-page="notice"] :is(#rulesarea, #noteArea) ul li {
  box-sizing: border-box;
  width: 100%;
  padding: 9px 0;
  font-size: 16px;
  line-height: 1.9;
}
body[data-page="notice"] #rulesarea .regulations li:nth-child(even) {
  background: #f6f9fd;
}
body[data-page="notice"] #noteArea {
  background: #edf6ff;
  border-color: #90b6d9;
}
body[data-page="notice"] #noteArea h3.rules_title {
  left: 14px;
  color: #995013;
  font-size: 18px;
}
body[data-page="notice"] .btnArea {
  margin: 10px 20px 20px;
  padding: 15px;
  background: #f4f7fb;
  border-color: #c7d6e6;
  border-radius: 9px;
  color: #20364e;
}
body[data-page="notice"] .btnArea div {
  font-size: 16px;
}
body[data-page="notice"] .btnArea .btn {
  height: 46px;
  min-width: 110px;
  padding: 0 22px;
  font:
    700 17px "Microsoft YaHei",
    sans-serif;
  border: 1px solid #8da8c6;
  border-radius: 8px;
  color: #263d56;
  background: #fff;
}
body[data-page="notice"] #agree {
  color: #fff;
  border-color: #155caa;
  background: #155caa;
}
body[data-page="notice"] #agree:hover {
  background: #104a8b;
}
@media (max-width: 700px) {
  body[data-page="portal"] #btnSubmit {
    display: flex;
    width: 100%;
  }
  body[data-page="notice"] .main {
    margin: 12px auto;
    width: calc(100% - 20px);
  }
  body[data-page="notice"] :is(#rulesarea, #noteArea) ul {
    padding: 8px 14px;
  }
}
body.lines .entry-back {
  display: block;
  margin: 18px auto;
  text-align: center;
  font-size: 16px;
  color: #155caa;
}
body[data-page="login"] .entry-tools {
  text-align: center;
  margin-top: 15px;
  font:
    16px/1.8 "Microsoft YaHei",
    sans-serif;
  color: #20364e;
}
body[data-page="login"] .entry-tools a {
  color: #155caa;
  margin: 0 12px;
}
@media (max-width: 700px) {
  body.lines #url_top1 .left1 {
    width: 90% !important;
    padding: 12px !important;
  }
  body.lines #title1 {
    font-size: 36px !important;
  }
  body[data-page="notice"] .main {
    width: calc(100% - 20px);
    min-width: 0;
  }
  body[data-page="notice"] .body {
    width: 100%;
  }
  body[data-page="login"] {
    overflow-x: auto;
  }
}
