:root {
  --ink: #171916;
  --ink-soft: #3f443f;
  --paper: #f8f5ee;
  --paper-strong: #fffdf8;
  --line: #d8d0c0;
  --gold: #b8924d;
  --gold-light: #d8bd83;
  --red: #a93327;
  --red-dark: #7f2119;
  --jade: #28574c;
  --shadow: 0 24px 70px rgba(10, 12, 10, 0.3);
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  min-height: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: #11130f;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

button,
input {
  font: inherit;
}

#cyou_top,
#header,
#footer,
#cyou_bottom {
  display: none !important;
}

.reg-container.tlgl {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(340px, 1fr) minmax(460px, 560px);
  grid-template-rows: 92px minmax(0, 1fr);
  gap: 0 64px;
  min-height: 100vh;
  padding: 0 max(32px, calc((100vw - 1320px) / 2));
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 15, 12, 0.92) 0%, rgba(19, 21, 17, 0.78) 34%, rgba(24, 24, 18, 0.45) 62%, rgba(18, 20, 16, 0.62) 100%),
    url("/static/img/wuxia-hero-v2.jpg") center center / cover no-repeat;
}

.reg-container.tlgl::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 190px;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(17, 19, 15, 0), rgba(17, 19, 15, 0.72));
}

.site-header {
  z-index: 5;
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  border-bottom: 1px solid rgba(216, 189, 131, 0.35);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  color: #fff7e9;
  text-decoration: none;
}

.site-brand:hover {
  color: #fff;
}

.site-brand-mark {
  position: relative;
  display: grid;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  place-items: center;
  color: #f0d39a;
  border: 1px solid rgba(226, 195, 129, 0.8);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(187, 69, 50, 0.9), rgba(91, 24, 20, 0.96) 72%),
    #7f2119;
  box-shadow:
    inset 0 0 0 4px rgba(18, 14, 10, 0.42),
    inset 0 0 0 5px rgba(235, 203, 138, 0.32),
    0 5px 16px rgba(0, 0, 0, 0.24);
}

.site-brand-mark::before,
.site-brand-mark::after {
  position: absolute;
  width: 8px;
  height: 8px;
  content: "";
  border-color: rgba(238, 207, 143, 0.72);
  transform: rotate(45deg);
}

.site-brand-mark::before {
  top: 4px;
  left: 4px;
  border-bottom: 1px solid;
}

.site-brand-mark::after {
  right: 4px;
  bottom: 4px;
  border-top: 1px solid;
}

.site-brand-mark b {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.site-brand-copy {
  min-width: 0;
}

.site-brand-copy strong {
  display: block;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0;
}

.site-brand-copy small {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0;
}

.site-brand-copy small::before {
  width: 22px;
  height: 1px;
  content: "";
  background: rgba(216, 189, 131, 0.72);
}

.site-download-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 3px;
  color: #f7ead0;
  border: 0;
  border-bottom: 1px solid rgba(216, 189, 131, 0.58);
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}

.site-download-link::before {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  content: "↓";
  color: #efd59b;
  border: 1px solid rgba(216, 189, 131, 0.55);
  border-radius: 50%;
  font-size: 13px;
}

.site-download-link:hover {
  color: #fff;
  border-color: var(--gold-light);
  background: transparent;
}

.site-download-link span {
  color: rgba(255, 248, 234, 0.72);
  font-size: 12px;
}

.site-download-link strong {
  font-size: 13px;
}

.site-story {
  z-index: 2;
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  max-width: 580px;
  padding: 54px 0 100px;
  color: #fffaf0;
}

.site-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e4c988;
  font-size: 13px;
  font-weight: 700;
}

.site-kicker::before {
  width: 34px;
  height: 1px;
  content: "";
  background: #c8a75f;
}

.site-story h1 {
  margin: 22px 0 18px;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.32);
}

.site-story h1 em {
  color: #efd59b;
  font-style: normal;
}

.site-story > p {
  max-width: 490px;
  margin: 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: 15px;
  line-height: 1.9;
}

.site-story-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(222, 195, 137, 0.3);
}

.site-story-facts div {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid rgba(226, 201, 145, 0.5);
}

.site-story-facts i {
  grid-row: 1 / 3;
  align-self: center;
  color: #e4c988;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 20px;
  font-style: normal;
}

.site-story-facts strong {
  display: block;
  grid-column: 2;
  color: #fff8e9;
  font-size: 14px;
}

.site-story-facts span {
  display: block;
  grid-column: 2;
  margin-top: 6px;
  color: rgba(255, 250, 240, 0.6);
  font-size: 12px;
}

.reg-container.tlgl > .main-bg {
  z-index: 3;
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  width: 100% !important;
  padding: 28px 0 64px !important;
  background: none !important;
}

.frame {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

#main {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(197, 174, 126, 0.85) !important;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.97) !important;
  box-shadow: var(--shadow);
}

#main h2 {
  height: auto !important;
  margin: 0 !important;
  padding: 28px 36px 13px !important;
  color: var(--ink) !important;
  border: 0 !important;
  background: none !important;
  font-family: "STKaiti", "KaiTi", serif !important;
  font-size: 27px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

#main h2::before {
  display: inline-block;
  width: 4px;
  height: 22px;
  margin-right: 11px;
  vertical-align: -3px;
  content: "";
  border-radius: 2px;
  background: var(--red);
}

.sidebar {
  display: none !important;
}

#content {
  float: none !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 8px 36px 30px !important;
}

.tab-content,
.tab-pane,
.form-wrapper {
  width: 100% !important;
}

.list {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
}

.list .li {
  float: none !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 0 13px !important;
  color: var(--ink-soft) !important;
}

.list .li::after,
.list .li .el-form-item__content::after {
  display: table;
  clear: both;
  content: "";
}

.list .li label {
  float: none !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 0 7px !important;
  color: #4c514b !important;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1.3 !important;
  text-align: left !important;
}

.list .li .wrap,
.list .li .wrap.el-input {
  float: none !important;
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
}

.list .li .wrap .el-input__inner {
  float: none !important;
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  padding: 0 40px 0 13px !important;
  color: #252825 !important;
  border: 1px solid #cfc7b8 !important;
  border-radius: 4px !important;
  outline: 0;
  background: #fff !important;
  font-size: 14px !important;
  line-height: 44px !important;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.list .li .wrap .el-input__inner:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(184, 146, 77, 0.13);
}

.list .li .el-input__suffix {
  right: 9px;
}

.list .li .domain {
  display: none !important;
}

.list .li .note {
  position: static !important;
  float: none !important;
  display: block;
  width: 100% !important;
  min-height: 0 !important;
  margin: 5px 0 0 !important;
  padding: 0 !important;
  color: #6b706a !important;
  border: 0 !important;
  background: none !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

.list .li .note-wrong {
  color: #b52f25 !important;
}

.list .li .note-right {
  display: none !important;
}

.list .li .wrap.input-code-wrapper {
  float: left !important;
  width: calc(100% - 130px) !important;
}

.list .li .wrap.input-code-wrapper .el-input__inner {
  width: 100% !important;
}

.list .li .other {
  float: right !important;
  width: 120px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  color: var(--red) !important;
  border: 1px solid #d9c6ad !important;
  border-radius: 4px !important;
  background: #f7f0e5 !important;
  font-size: 13px !important;
  line-height: 42px !important;
}

.list .li .other:hover {
  color: var(--red-dark) !important;
  border-color: var(--gold) !important;
}

.list .li .other.is-disabled {
  color: #9b988f !important;
  border-color: #ddd8cf !important;
  background: #f2f0ec !important;
}

.list .li:last-child {
  margin: 4px 0 0 !important;
}

.list .li:last-child label {
  display: none !important;
}

.list .li:last-child .wrap {
  width: 100% !important;
  height: auto !important;
}

.list .li a.btn,
.list .li a.confirm_btn {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  background: none !important;
  text-decoration: none !important;
}

.list .li a.btn input,
.list .li a.confirm_btn input {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  padding: 0 22px !important;
  color: #fff9ee !important;
  border: 1px solid #842119 !important;
  border-radius: 4px !important;
  background: linear-gradient(180deg, #ba4435, #962b21) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22), 0 8px 18px rgba(132, 33, 25, 0.18);
  cursor: pointer;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 46px !important;
  text-align: center;
  text-indent: 0 !important;
  transition: background-color 150ms ease, transform 150ms ease;
}

.list .li a.btn input:hover,
.list .li a.confirm_btn input:hover {
  background: linear-gradient(180deg, #c44d3d, #a12e23) !important;
}

.list .li a.btn input:active,
.list .li a.confirm_btn input:active {
  transform: translateY(1px);
}

.user_agreement {
  float: none !important;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
  margin: 0 !important;
  padding: 13px 0 0 !important;
  color: #686d67;
  line-height: 1.65;
}

.user_agreement .checkbox {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin: 3px 0 0;
  accent-color: var(--red);
}

.user_agreement a,
.form-download-row a {
  color: var(--red) !important;
  text-decoration: none !important;
}

.user_agreement a:hover,
.form-download-row a:hover {
  text-decoration: underline !important;
}

.form-download-row {
  margin: 11px 0 0;
  color: #777b75;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.el-message {
  min-width: 320px !important;
  border-radius: 4px !important;
}

@media (max-width: 1180px) {
  .reg-container.tlgl {
    grid-template-columns: minmax(300px, 1fr) minmax(440px, 520px);
    gap: 0 36px;
    padding-right: 28px;
    padding-left: 28px;
  }

  .site-story h1 {
    font-size: 44px;
  }
}

@media (max-width: 920px) {
  .reg-container.tlgl {
    display: grid !important;
    grid-template-columns: minmax(0, 600px);
    grid-template-rows: 72px auto;
    justify-content: center;
    min-height: 100vh;
    padding: 0 24px;
    overflow: visible;
    background:
      linear-gradient(rgba(15, 17, 14, 0.7), rgba(15, 17, 14, 0.82)),
      url("/static/img/wuxia-hero-v2.jpg") center center / cover fixed no-repeat;
  }

  .site-header {
    grid-column: 1;
  }

  .site-story {
    display: none;
  }

  .reg-container.tlgl > .main-bg {
    grid-column: 1;
    grid-row: 2;
    padding: 34px 0 62px !important;
  }
}

@media (max-width: 600px) {
  .reg-container.tlgl {
    grid-template-rows: 64px auto;
    padding: 0 14px;
  }

  .site-brand {
    gap: 9px;
  }

  .site-brand-mark {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .site-brand-mark b {
    font-size: 21px;
  }

  .site-brand-copy strong {
    font-size: 17px;
  }

  .site-brand-copy small {
    display: none;
  }

  .site-download-link {
    min-height: 34px;
    padding: 0 10px;
  }

  .site-download-link span {
    display: none;
  }

  .reg-container.tlgl > .main-bg {
    padding: 20px 0 42px !important;
  }

  #main h2 {
    padding: 23px 22px 11px !important;
    font-size: 23px !important;
  }

  #content {
    padding: 8px 22px 25px !important;
  }

  .list .li {
    margin-bottom: 11px !important;
  }

  .list .li .wrap.input-code-wrapper {
    width: calc(100% - 116px) !important;
  }

  .list .li .other {
    width: 106px !important;
    padding: 0 6px !important;
    font-size: 12px !important;
  }

  .el-message {
    width: calc(100% - 28px) !important;
    min-width: 0 !important;
  }
}
