/* Official WeChat publishing console. */
.user-app.route-wechat {
  background: #f5f7fb;
}

.user-app.route-wechat .wechat-console-page {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.user-app.route-wechat .wechat-console-hero {
  position: relative;
  min-height: 164px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 27px;
  overflow: hidden;
  border: 1px solid rgba(70, 179, 149, 0.28);
  border-radius: 16px;
  color: #f8fafc;
  background:
    linear-gradient(90deg, transparent 0 72%, rgba(141, 230, 212, 0.055) 72% 72.4%, transparent 72.4%),
    linear-gradient(rgba(133, 181, 219, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 181, 219, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 10% 0%, rgba(31, 122, 112, 0.24), transparent 35%),
    linear-gradient(135deg, #07131f 0%, #102d3b 58%, #0b2330 100%);
  background-size: auto, 30px 30px, 30px 30px, auto, auto;
  box-shadow: 0 18px 42px rgba(8, 28, 40, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.user-app.route-wechat .wechat-console-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, #55d6b4, #8dc5ff 52%, rgba(141, 197, 255, 0.12));
}

.user-app.route-wechat .wechat-console-hero::after {
  content: "WECHAT";
  position: absolute;
  right: 28px;
  bottom: 16px;
  color: rgba(213, 232, 246, 0.08);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 58px;
  font-weight: 900;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.user-app.route-wechat .wechat-console-copy,
.user-app.route-wechat .wechat-console-actions {
  position: relative;
  z-index: 1;
}

.user-app.route-wechat .wechat-console-copy {
  min-width: 0;
}

.user-app.route-wechat .wechat-console-kicker {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(141, 230, 212, 0.2);
  border-radius: 999px;
  color: #a9eadf;
  background: rgba(28, 116, 108, 0.14);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.user-app.route-wechat .wechat-console-copy h2 {
  margin: 12px 0 0;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
}

.user-app.route-wechat .wechat-console-copy p {
  max-width: 650px;
  margin-top: 8px;
  color: rgba(222, 232, 244, 0.66);
  font-size: 12.5px;
  line-height: 1.65;
}

.user-app.route-wechat .wechat-console-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.user-app.route-wechat .wechat-console-trust span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid rgba(213, 228, 244, 0.13);
  border-radius: 999px;
  color: rgba(225, 236, 247, 0.76);
  background: rgba(255, 255, 255, 0.05);
  font-size: 10px;
  font-weight: 750;
}

.user-app.route-wechat .wechat-console-trust svg {
  color: #8de6de;
}

.user-app.route-wechat .wechat-console-actions .btn {
  min-height: 44px;
  padding: 0 17px;
  border-color: rgba(240, 220, 174, 0.56);
  border-radius: 10px;
  color: #142033;
  background: linear-gradient(135deg, #f4e2af, #d5b46c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48), 0 12px 26px rgba(206, 168, 84, 0.16);
  font-size: 12.5px;
  font-weight: 900;
}

.user-app.route-wechat .wechat-overview {
  min-height: 220px;
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  overflow: hidden;
  border: 1px solid #dce5ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(20, 49, 82, 0.065);
}

.user-app.route-wechat .wechat-overview-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid #e4ebf3;
  background:
    radial-gradient(circle at 0 0, rgba(47, 125, 157, 0.11), transparent 43%),
    linear-gradient(145deg, #f9fcff, #f2f8fc);
}

.user-app.route-wechat .wechat-overview-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.user-app.route-wechat .wechat-overview-label > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #38526b;
  font-size: 11px;
  font-weight: 850;
}

.user-app.route-wechat .wechat-overview-label svg {
  color: #168b84;
}

.user-app.route-wechat .wechat-overview-label em {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.user-app.route-wechat .wechat-overview-label em i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.user-app.route-wechat .wechat-overview-label .is-online {
  color: #087f61;
  background: #e8f8f2;
}

.user-app.route-wechat .wechat-overview-label .is-online i {
  background: #18a378;
  box-shadow: 0 0 8px rgba(24, 163, 120, 0.42);
}

.user-app.route-wechat .wechat-overview-label .is-offline {
  color: #9a3412;
  background: #fff4eb;
}

.user-app.route-wechat .wechat-overview-label .is-offline i {
  background: #e9781f;
}

.user-app.route-wechat .wechat-overview-value {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  margin-top: 18px;
}

.user-app.route-wechat .wechat-overview-value > b {
  color: #13324f;
  font-size: 50px;
  font-weight: 900;
  line-height: 0.92;
}

.user-app.route-wechat .wechat-overview-value > span {
  display: grid;
  gap: 3px;
  padding-bottom: 3px;
}

.user-app.route-wechat .wechat-overview-value em {
  color: #6b8095;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.user-app.route-wechat .wechat-overview-value small {
  color: #60758b;
  font-size: 10.5px;
}

.user-app.route-wechat .wechat-overview-progress {
  height: 7px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce7ef;
}

.user-app.route-wechat .wechat-overview-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #168b84, #429fd0);
}

.user-app.route-wechat .wechat-overview-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.user-app.route-wechat .wechat-overview-meta span {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid #e0e9f2;
  border-radius: 9px;
  color: #38516a;
  background: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  white-space: nowrap;
}

.user-app.route-wechat .wechat-overview-meta b {
  color: #7a8ea1;
  font-size: 8.5px;
}

.user-app.route-wechat .wechat-overview-guide {
  min-width: 0;
  padding: 24px;
}

.user-app.route-wechat .wechat-guide-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-app.route-wechat .wechat-guide-title > span {
  width: 38px;
  height: 38px;
  display: flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfe4e1;
  border-radius: 11px;
  color: #168b84;
  background: #edf9f6;
}

.user-app.route-wechat .wechat-guide-title b,
.user-app.route-wechat .wechat-guide-title small {
  display: block;
}

.user-app.route-wechat .wechat-guide-title b {
  color: #142d46;
  font-size: 14px;
  font-weight: 900;
}

.user-app.route-wechat .wechat-guide-title small {
  margin-top: 3px;
  color: #71859a;
  font-size: 10.5px;
}

.user-app.route-wechat .wechat-setup-steps {
  display: flex;
  align-items: center;
  margin-top: 18px;
}

.user-app.route-wechat .wechat-setup-steps span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #71859a;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.user-app.route-wechat .wechat-setup-steps span > i {
  width: 21px;
  height: 21px;
  display: inline-flex;
  flex: 0 0 21px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e1eb;
  border-radius: 7px;
  color: #71859a;
  background: #f5f8fb;
  font-size: 9px;
  font-style: normal;
}

.user-app.route-wechat .wechat-setup-steps span.is-done {
  color: #087f61;
}

.user-app.route-wechat .wechat-setup-steps span.is-done > i {
  border-color: #b8e3d8;
  color: #087f61;
  background: #eaf9f4;
}

.user-app.route-wechat .wechat-setup-steps em {
  height: 1px;
  flex: 1 1 auto;
  margin: 0 8px;
  background: #dce6ef;
}

.user-app.route-wechat .wechat-ip-row {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 11px;
  border: 1px solid #d7e5f0;
  border-radius: 10px;
  background: #f8fbfe;
}

.user-app.route-wechat .wechat-ip-row > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #526a82;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}

.user-app.route-wechat .wechat-ip-row svg {
  color: #168b84;
}

.user-app.route-wechat .wechat-ip-row code {
  min-width: 0;
  padding: 7px 9px;
  overflow: hidden;
  border: 1px solid #dce7f0;
  border-radius: 7px;
  color: #184e78;
  background: #fff;
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-app.route-wechat .wechat-guide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
}

.user-app.route-wechat .wechat-guide-footer > span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #71859a;
  font-size: 9.5px;
}

.user-app.route-wechat .wechat-guide-footer > span svg {
  flex: 0 0 auto;
  color: #168b84;
}

.user-app.route-wechat .wechat-guide-footer .btn {
  min-height: 34px;
  border-radius: 8px;
  white-space: nowrap;
}

.user-app.route-wechat .wechat-accounts-section {
  min-width: 0;
}

.user-app.route-wechat .wechat-accounts-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 11px;
  padding: 0 2px 10px;
  border-bottom: 1px solid #dde6ef;
}

.user-app.route-wechat .wechat-accounts-head > div {
  min-width: 0;
}

.user-app.route-wechat .wechat-accounts-head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #172f48;
  font-size: 15px;
  font-weight: 900;
}

.user-app.route-wechat .wechat-accounts-head span svg {
  color: #168b84;
}

.user-app.route-wechat .wechat-accounts-head p {
  margin-top: 4px;
  color: #71859a;
  font-size: 10.5px;
}

.user-app.route-wechat .wechat-accounts-head > b {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #dce6ef;
  border-radius: 999px;
  color: #38526b;
  background: #fff;
  font-size: 10.5px;
}

.user-app.route-wechat .wechat-empty-state {
  min-height: 218px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 28px;
  border: 1px dashed #c9d8e6;
  border-radius: 14px;
  background:
    linear-gradient(rgba(22, 139, 132, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 139, 132, 0.025) 1px, transparent 1px),
    #fbfdff;
  background-size: 32px 32px;
  text-align: center;
}

.user-app.route-wechat .wechat-empty-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfe4e1;
  border-radius: 16px;
  color: #168b84;
  background: #edf9f6;
}

.user-app.route-wechat .wechat-empty-state b {
  display: block;
  color: #19344e;
  font-size: 15px;
  font-weight: 900;
}

.user-app.route-wechat .wechat-empty-state p {
  max-width: 390px;
  margin-top: 5px;
  color: #71859a;
  font-size: 11px;
  line-height: 1.6;
}

.user-app.route-wechat .wechat-empty-state .btn {
  min-height: 36px;
  margin-top: 2px;
  border-radius: 8px;
}

.user-app.route-wechat .wechat-account {
  border-color: #dce5ef;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(20, 49, 82, 0.055);
}

.user-app.route-wechat .wechat-account-info > div {
  border-color: #dfe8f1;
  border-radius: 9px;
  background: #f8fafc;
}

.user-app.route-wechat .wechat-whitelist {
  border-color: #c9deed;
  border-radius: 10px;
  background: #f5faff;
}

@media (max-width: 900px) {
  .user-app.route-wechat .wechat-overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .user-app.route-wechat .wechat-overview-main {
    border-right: 0;
    border-bottom: 1px solid #e4ebf3;
  }
}

@media (max-width: 720px) {
  .user-app.route-wechat .wechat-console-hero {
    align-items: flex-start;
    flex-direction: column;
    min-height: 202px;
    padding: 22px 20px;
  }

  .user-app.route-wechat .wechat-console-actions {
    width: 100%;
  }

  .user-app.route-wechat .wechat-console-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .user-app.route-wechat .wechat-overview-main,
  .user-app.route-wechat .wechat-overview-guide {
    padding: 19px;
  }
}

@media (max-width: 560px) {
  .user-app.route-wechat .wechat-console-page {
    gap: 14px;
  }

  .user-app.route-wechat .wechat-console-copy h2 {
    font-size: 25px;
  }

  .user-app.route-wechat .wechat-overview-value > b {
    font-size: 44px;
  }

  .user-app.route-wechat .wechat-overview-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .user-app.route-wechat .wechat-setup-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .user-app.route-wechat .wechat-setup-steps em {
    display: none;
  }

  .user-app.route-wechat .wechat-setup-steps span {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-height: 58px;
    text-align: center;
    white-space: normal;
  }

  .user-app.route-wechat .wechat-ip-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .user-app.route-wechat .wechat-ip-row > span {
    grid-column: 1 / -1;
  }

  .user-app.route-wechat .wechat-ip-row code {
    white-space: normal;
    word-break: break-all;
  }

  .user-app.route-wechat .wechat-guide-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .user-app.route-wechat .wechat-guide-footer .btn {
    width: 100%;
    justify-content: center;
  }

  .user-app.route-wechat .wechat-empty-state {
    min-height: 238px;
    padding: 24px 18px;
  }
}
