.fcj-auth-page {
  box-sizing: border-box;
  color: #fff;
  font-family: "i", "微軟正黑體", Arial, sans-serif;
}

.fcj-auth-page *,
.fcj-auth-page *:before,
.fcj-auth-page *:after {
  box-sizing: border-box;
}

.fcj-auth-login-page {
  display: flex;
  align-items: flex-start;
  gap: 4%;
  min-height: 82%;
  padding: 2% 4% 4%;
  background: #333;
}

.fcj-auth-retail-login-page {
  position: relative;
  gap: 3.6%;
  padding: 1.5% 3.2% 3.4%;
  background:
    radial-gradient(circle at 44% 12%, rgba(26, 169, 173, 0.1), transparent 24%),
    radial-gradient(circle at 78% 44%, rgba(147, 39, 141, 0.12), transparent 24%),
    #181b1f;
}

.fcj-auth-retail-login-page:before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%);
  content: "";
  pointer-events: none;
}

.fcj-auth-info {
  position: relative;
  flex: 0 1 60%;
  min-width: 0;
  padding: 20px 42px 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f4f6f3;
  overflow-y: auto;
}

.fcj-auth-retail-login-page .fcj-auth-info {
  flex-basis: 61%;
  padding-top: 16px;
}

.fcj-auth-school-login-page {
  background: #eef4f3;
}

.fcj-auth-school-login-page .fcj-auth-info {
  color: #142331;
}

.fcj-auth-school-login-page .fcj-auth-info h1 {
  color: #132033;
}

.fcj-auth-school-login-page .fcj-auth-color-word span:nth-child(1) {
  color: #4f5558;
}

.fcj-auth-school-login-page .fcj-auth-lead,
.fcj-auth-school-login-page .fcj-auth-note {
  color: #4a5b68;
}

.fcj-auth-school-login-page .fcj-auth-card.login {
  border-left-color: rgba(49, 86, 90, 0.22);
  color: #1f2f32;
}

.fcj-auth-school-login-page .fcj-auth-card h1 {
  color: #22383b;
}

.fcj-auth-school-login-page .fcj-auth-card.login label {
  color: #31565a;
}

.fcj-auth-school-login-page .fcj-auth-card.login .type-button {
  color: rgba(49, 86, 90, 0.48);
}

.fcj-auth-school-login-page .fcj-auth-card.login .type-button.current {
  color: #22383b;
}

.fcj-auth-school-login-page .fcj-auth-actions {
  border-top-color: #dbe5e6;
}

.fcj-auth-info:before {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(26, 169, 173, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(26, 169, 173, 0.16) 49%, rgba(26, 169, 173, 0.16) 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(26, 169, 173, 0.16) 49%, rgba(26, 169, 173, 0.16) 51%, transparent 52%);
  content: "";
}

.fcj-auth-retail-login-page .fcj-auth-info:before {
  top: 18px;
  right: 46px;
  width: 118px;
  height: 118px;
  opacity: 0.34;
}

.fcj-auth-retail-login-page .fcj-auth-info:after {
  position: absolute;
  top: 32px;
  right: 86px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #f7722d;
  box-shadow:
    -64px 32px 0 #8cd73f,
    -18px 40px 0 #93278d,
    54px 8px 0 #1aa9ad,
    106px 136px 0 #0070be,
    26px 158px 0 #f7722d;
  content: "";
  transform: rotate(-14deg);
}

.fcj-auth-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 8px 16px;
  border: 1px solid rgba(64, 142, 210, 0.2);
  border-radius: 999px;
  background: rgba(231, 241, 255, 0.92);
  color: #2c74ba;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.fcj-auth-kicker-icon {
  color: #3d92d7;
  font-size: 13px;
}

.fcj-auth-info h1,
.fcj-auth-card h1 {
  margin: 0;
  font-weight: bold;
  line-height: 1.25;
  letter-spacing: 0;
}

.fcj-auth-info h1 {
  position: relative;
  z-index: 1;
  max-width: 600px;
  color: #f4f6f3;
  font-size: 40px;
}

.fcj-auth-color-word span:nth-child(1) {
  color: #d7ddde;
}

.fcj-auth-color-word span:nth-child(2) {
  color: #f7722d;
}

.fcj-auth-color-word span:nth-child(3) {
  color: #0070be;
}

.fcj-auth-color-word span:nth-child(4) {
  color: #8cd73f;
}

.fcj-auth-color-word span:nth-child(5) {
  color: #93278d;
}

.fcj-auth-lead {
  position: relative;
  z-index: 1;
  margin: 18px 0 22px;
  max-width: 650px;
  color: #d7ddde;
  font-size: 17px;
  line-height: 1.7;
}

.fcj-auth-keyboard {
  position: absolute;
  top: 44px;
  right: -2px;
  z-index: 1;
  width: 220px;
  pointer-events: none;
}

.fcj-auth-keyboard img {
  display: block;
  width: 100%;
  height: auto;
}

.fcj-auth-feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 30px 0 18px;
}

.fcj-auth-feature-card {
  border-radius: 8px;
  padding: 24px 26px;
  border: 1px solid rgba(0, 112, 190, 0.32);
  border-top: 4px solid #0070be;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.fcj-auth-feature-card:nth-child(2) {
  border-color: rgba(147, 39, 141, 0.34);
  border-top-color: #93278d;
}

.fcj-auth-feature-grid h2 {
  margin: 0 0 12px;
  color: #172534;
  font-size: 19px;
}

.fcj-auth-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
}

.fcj-auth-feature-icon-blue {
  background: rgba(0, 112, 190, 0.18);
  color: #0070be;
}

.fcj-auth-feature-icon-purple {
  background: rgba(147, 39, 141, 0.2);
  color: #93278d;
}

.fcj-auth-feature-media {
  position: relative;
  flex: 0 0 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0;
  color: #fff;
  font-size: 36px;
  overflow: visible;
}

.fcj-auth-feature-media img {
  display: block;
  max-width: 132px;
  max-height: 132px;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.22));
}

.fcj-auth-retail-login-page .fcj-auth-feature-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 116px;
  padding: 18px 24px 18px 136px;
  border: 3px solid #0070be;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.fcj-auth-retail-login-page .fcj-auth-feature-card:nth-child(2) {
  border-color: #93278d;
}

.fcj-auth-retail-login-page .fcj-auth-feature-card:before {
  position: absolute;
  top: -20%;
  left: -38px;
  width: 168px;
  height: 140%;
  border-radius: 0 50% 50% 0;
  background: #168bd5;
  content: "";
}

.fcj-auth-retail-login-page .fcj-auth-feature-card:nth-child(2):before {
  background: #b844bd;
}

.fcj-auth-retail-login-page .fcj-auth-feature-media {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 112px;
  height: 112px;
  transform: translateY(-50%);
}

.fcj-auth-retail-login-page .fcj-auth-feature-media-purple img {
  max-width: 120px;
  max-height: 120px;
}

.fcj-auth-feature-media-blue {
  background: transparent;
}

.fcj-auth-feature-media-purple {
  background: transparent;
}

.fcj-auth-feature-grid p,
.fcj-auth-note {
  margin: 0;
  color: #667985;
  font-size: 16px;
  line-height: 1.7;
}

.fcj-auth-proof {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 18px 0 26px;
  padding: 20px 24px;
  border: 1px solid rgba(140, 215, 63, 0.36);
  border-top: 4px solid #8cd73f;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.fcj-auth-proof-number {
  flex: 0 0 auto;
  color: #8cd73f;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
}

.fcj-auth-retail-login-page .fcj-auth-proof-number {
  font-size: 46px;
}

.fcj-auth-proof-icon {
  flex: 0 0 auto;
  width: 132px;
}

.fcj-auth-proof-icon img {
  display: block;
  width: 100%;
  height: auto;
}

.fcj-auth-proof p {
  margin: 0;
  color: #4f626d;
  font-size: 16px;
  line-height: 1.7;
}

.fcj-auth-retail-login-page .fcj-auth-proof {
  gap: 26px;
  margin: 18px 0 24px;
  padding: 18px 24px;
  border: 3px solid #77d837;
  border-radius: 10px;
}

.fcj-auth-note {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: bold;
  color: #d7ddde;
}

.fcj-auth-note-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
}

.fcj-auth-note-row .fcj-auth-note {
  flex: 1 1 auto;
}

.fcj-auth-trophy {
  flex: 0 0 auto;
  display: block;
  width: 90px;
  height: auto;
}

.fcj-auth-trophy img {
  display: block;
  width: 100%;
  height: auto;
}

.fcj-auth-card.login,
.fcj-auth-card.register {
  position: static;
  width: auto;
  height: auto;
  min-width: 360px;
  margin: 0;
  color: #f4f6f3;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fcj-auth-card.login {
  flex: 0 0 33%;
  margin-top: 20px;
  padding-left: 3%;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 16px;
}

.fcj-auth-retail-login-page .fcj-auth-card.login {
  flex-basis: 35%;
  margin-top: 16px;
  padding: 24px 28px 26px;
  border: 1px solid rgba(26, 169, 173, 0.78);
  border-right-color: rgba(147, 39, 141, 0.84);
  border-radius: 10px;
  background: rgba(28, 30, 36, 0.72);
  box-shadow:
    0 0 0 1px rgba(147, 39, 141, 0.18),
    0 22px 44px rgba(0, 0, 0, 0.24);
}

.fcj-auth-purchase-card {
  flex: 0 0 40%;
  margin-top: 20px;
  max-height: 82vh;
  overflow-y: auto;
}

.fcj-auth-tabs {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 34px;
  padding: 0 0 12px;
  border-bottom: 0;
  background: transparent;
  border-radius: 0;
}

.fcj-auth-card.login .type-button {
  float: none;
  flex: 0 1 auto;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: rgba(244, 246, 243, 0.48);
  font-size: 16px;
  font-weight: bold;
}

.fcj-auth-card.login .type-button.current {
  border-bottom-color: #1aa9ad;
  background: transparent;
  color: #fff;
  font-size: 16px;
}

.fcj-auth-card.login .inner {
  height: auto;
  padding: 0;
}

.fcj-auth-card.register .inner {
  height: auto;
  padding: 28px 0 0;
}

.fcj-auth-card h1 {
  color: #f4f6f3;
  font-size: 30px;
  text-align: left;
  margin-bottom: 24px;
}

.fcj-auth-subtitle {
  margin: 10px 0 24px;
  color: #607477;
  font-size: 15px;
  line-height: 1.55;
}

.fcj-auth-error {
  margin-bottom: 18px;
  padding: 11px 13px;
  border-radius: 6px;
  background: #fff0f0;
  color: #b91c1c;
  font-size: 14px;
  line-height: 1.4;
}

.fcj-auth-card.login form,
.fcj-auth-card.register form {
  height: auto;
}

.fcj-auth-card.login label,
.fcj-auth-card.register label {
  display: block;
  margin: 0 0 7px;
  color: #f4f6f3;
  font-size: 14px;
  font-weight: bold;
}

.fcj-auth-card.login form input[type=password],
.fcj-auth-card.login form input[type=text],
.fcj-auth-card.login form input[type=email],
.fcj-auth-card.register form input[type=password],
.fcj-auth-card.register form input[type=text],
.fcj-auth-card.register form input[type=email] {
  display: block;
  width: 100%;
  height: 46px;
  margin: 0 0 16px;
  padding: 0 14px;
  border: 1px solid #cdd9da;
  border-radius: 6px;
  background: #fff;
  color: #1f2f32;
  font-size: 16px;
}

.fcj-auth-input-wrap {
  position: relative;
}

.fcj-auth-card.login form .fcj-auth-input-wrap input[type=password],
.fcj-auth-card.login form .fcj-auth-input-wrap input[type=text],
.fcj-auth-card.login form .fcj-auth-input-wrap input[type=email] {
  padding-right: 42px;
}

.fcj-auth-input-wrap i {
  position: absolute;
  top: 15px;
  right: 14px;
  color: #8a9299;
  font-size: 16px;
  pointer-events: none;
}

.fcj-auth-card.login form input[type=password]:focus,
.fcj-auth-card.login form input[type=text]:focus,
.fcj-auth-card.login form input[type=email]:focus,
.fcj-auth-card.register form input[type=password]:focus,
.fcj-auth-card.register form input[type=text]:focus,
.fcj-auth-card.register form input[type=email]:focus {
  border-color: #1aa9ad;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(26, 169, 173, 0.16);
}

.fcj-auth-card.login form input[type=submit],
.fcj-auth-card.login form button[type=submit],
.fcj-auth-card.login form input[type=button],
.fcj-auth-card.login form button[type=button],
.fcj-auth-card.register form input[type=submit] {
  width: 100%;
  min-height: 46px;
  height: auto;
  margin: 0 0 12px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.fcj-auth-card.login form input.fcj-auth-primary,
.fcj-auth-card.login form button.fcj-auth-primary,
.fcj-auth-card.register form input.fcj-auth-primary {
  background: #1aa9ad;
}

.fcj-auth-actions {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.fcj-auth-card.login .fcj-auth-actions input[type=button],
.fcj-auth-card.login .fcj-auth-actions button[type=button] {
  background: #5f7073;
}

.fcj-auth-retail-login-page .fcj-auth-actions button[type=button] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 16px;
  background: rgba(95, 112, 115, 0.74);
}

.fcj-auth-retail-login-page .fcj-auth-actions button span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.fcj-auth-retail-login-page .fcj-auth-actions button span i {
  width: 26px;
  font-size: 22px;
  text-align: center;
}

.fcj-auth-retail-login-page .fcj-auth-actions button:nth-child(1) span i {
  color: #ffbd3e;
}

.fcj-auth-retail-login-page .fcj-auth-actions button:nth-child(2) span i {
  color: #28c5d0;
}

.fcj-auth-retail-login-page .fcj-auth-actions button:nth-child(3) span i {
  color: #ffc451;
}

.fcj-auth-divider {
  margin: 18px 0;
  text-align: center;
  color: #607477;
  font-size: 15px;
  font-weight: bold;
}

.fcj-auth-payment-plan {
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid rgba(0, 112, 190, 0.16);
  border-left: 4px solid #0070be;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(42, 69, 76, 0.09);
}

.fcj-auth-payment-plan:nth-of-type(3) {
  border-color: rgba(147, 39, 141, 0.22);
  border-left-color: #93278d;
}

.fcj-auth-payment-plan:nth-of-type(4) {
  border-color: rgba(140, 215, 63, 0.28);
  border-left-color: #8cd73f;
}

.fcj-auth-price {
  margin: 0 0 12px;
  color: #11868e;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
}

.fcj-auth-price span,
.fcj-auth-price strong {
  margin-left: 8px;
  font-size: 15px;
}

.fcj-auth-price strong {
  color: #4f626d;
}

.fcj-auth-payment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

.fcj-auth-payment-grid .payment-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px;
  border: 1px solid #dbe5e6;
  border-radius: 6px;
  background: #fff;
}

.fcj-auth-payment-grid .payment-btn img,
.fcj-auth-payment-grid .payment-btn input {
  display: block;
  max-width: 100%;
  max-height: 28px;
  margin: 0;
}

.fcj-auth-terms-note {
  margin: 14px 0 0;
  color: #607477;
  font-size: 14px;
  line-height: 1.6;
}

.fcj-auth-terms-note a,
.fcj-auth-android-buy {
  color: #187e84;
  font-weight: bold;
  text-decoration: none;
}

.fcj-auth-android-buy {
  display: block;
  margin-top: 14px;
  text-align: center;
}

.fcj-auth-inline-link,
.fcj-auth-mobile-switch a {
  color: #187e84;
  text-decoration: none;
}

.fcj-auth-inline-link {
  display: inline-block;
  margin: -5px 0 18px;
  font-size: 14px;
}

.fcj-auth-mobile-login {
  padding: 18px 14px 28px;
}

.fcj-auth-mobile-login .fcj-auth-card.register {
  width: 100%;
  min-width: 0;
  padding: 24px 20px;
  background: #f8fbfb;
  color: #1f2f32;
}

.fcj-auth-mobile-login .fcj-auth-kicker {
  color: #187e84;
}

.fcj-auth-mobile-login .fcj-auth-mobile-switch {
  margin-top: 14px;
  text-align: center;
  font-size: 14px;
}

@media screen and (max-width: 1100px) {
  .fcj-auth-login-page {
    gap: 36px;
    padding: 3% 4% 4%;
  }

  .fcj-auth-info h1 {
    font-size: 34px;
  }

  .fcj-auth-card.login {
    flex-basis: 380px;
  }

  .fcj-auth-keyboard {
    right: 0;
    width: 180px;
    transform: scale(0.88);
    transform-origin: top right;
  }
}

@media screen and (max-width: 1200px) {
  .fcj-auth-retail-login-page .fcj-auth-feature-card {
    padding-left: 124px;
  }

  .fcj-auth-retail-login-page .fcj-auth-feature-card:before {
    width: 154px;
  }

  .fcj-auth-retail-login-page .fcj-auth-feature-media {
    left: 16px;
    width: 102px;
    height: 102px;
  }

  .fcj-auth-feature-grid h2 {
    font-size: 18px;
  }

  .fcj-auth-feature-grid p {
    font-size: 15px;
  }
}

@media screen and (max-width: 500px) {
  .fcj-auth-login-page {
    flex-direction: column;
  }

  .fcj-auth-info {
    order: 2;
    margin-bottom: 18px;
  }

  .fcj-auth-info:before {
    opacity: 0.35;
  }

  .fcj-auth-card.login {
    order: 1;
    width: 100%;
    min-width: 0;
    margin-top: 0;
    margin-bottom: 18px;
    padding-left: 0;
    border-left: 0;
  }

  .fcj-auth-retail-login-page .fcj-auth-card.login {
    border: 1px solid rgba(26, 169, 173, 0.56);
  }

  .fcj-auth-purchase-card {
    order: 1;
    width: 100%;
    max-height: none;
    min-width: 0;
    margin-top: 0;
    margin-bottom: 18px;
  }
}

@media screen and (max-width: 600px) {
  .fcj-auth-info {
    padding: 22px;
  }

  .fcj-auth-info h1,
  .fcj-auth-card h1 {
    font-size: 24px;
  }

  .fcj-auth-lead {
    font-size: 15px;
  }

  .fcj-auth-feature-grid {
    grid-template-columns: 1fr;
  }

  .fcj-auth-keyboard {
    display: none;
  }

  .fcj-auth-retail-login-page .fcj-auth-feature-card {
    min-height: 0;
    padding-left: 100px;
  }

  .fcj-auth-feature-media {
    flex-basis: 58px;
    width: 58px;
    height: 70px;
    font-size: 26px;
  }

  .fcj-auth-feature-media img {
    max-width: 88px;
    max-height: 88px;
  }

  .fcj-auth-retail-login-page .fcj-auth-feature-media {
    left: 12px;
    width: 82px;
    height: 82px;
  }

  .fcj-auth-proof {
    display: block;
  }

  .fcj-auth-note-row {
    align-items: flex-start;
  }

  .fcj-auth-trophy {
    width: 62px;
  }

  .fcj-auth-proof-number {
    margin-bottom: 8px;
  }

  .fcj-auth-payment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
