﻿﻿:root {
  --blue: #1677ff;
  --blue-dark: #0759d7;
  --cyan: #33c2ff;
  --ink: #14213a;
  --muted: #66758b;
  --line: #dbe7f5;
  --bg: #f5f9ff;
  --card: #fff;
  --soft: #edf6ff;
  --success: #1dbf73;
  --warning: #f59f00;
  --shadow: 0 18px 45px rgba(22, 72, 140, 0.13);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 231, 245, 0.8);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}
.brand-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 24px rgba(22, 119, 255, 0.25);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--muted);
  font-weight: 800;
}
.nav-links a.active,
.nav-links a:hover {
  color: var(--blue);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 12px 26px rgba(22, 119, 255, 0.26);
}
.btn-ghost {
  color: var(--blue);
  background: #fff;
  border-color: #cfe4ff;
}
.btn-soft {
  color: var(--blue-dark);
  background: var(--soft);
  border-color: #cfe4ff;
}
.btn-light {
  color: var(--blue-dark);
  background: #fff;
}
.btn-lg {
  min-height: 50px;
  padding: 12px 26px;
}
.btn-block {
  width: 100%;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.section {
  padding: 86px 0;
}
.section-blue {
  background: linear-gradient(180deg, #edf7ff, #fff);
}
.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  margin-bottom: 18px;
  font-size: 58px;
  line-height: 1.08;
}
h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.22;
}
h3 {
  margin-bottom: 8px;
  font-size: 20px;
}
.muted,
.section-head p,
.card p,
.footer p,
.form-note {
  color: var(--muted);
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(
      circle at 72% 34%,
      rgba(255, 255, 255, 0.32),
      transparent 24%
    ),
    linear-gradient(135deg, #0863de 0%, #17a6ff 58%, #b9e8ff 100%);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 470px;
  gap: 50px;
  align-items: center;
}
.hero .eyebrow {
  color: #def1ff;
}
.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 30px 0 42px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 620px;
}
.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
}
.hero-stats strong {
  display: block;
  font-size: 24px;
}
.hero-stats span {
  color: rgba(255, 255, 255, 0.76);
}
.hero-device {
  position: relative;
  height: 430px;
}
.screen {
  position: absolute;
  right: 54px;
  top: 26px;
  width: 300px;
  height: 380px;
  border: 10px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.screen:before {
  content: "";
  display: block;
  height: 92px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}
.screen-card {
  position: absolute;
  left: 24px;
  right: 24px;
  height: 58px;
  border-radius: 14px;
  background: #eef7ff;
}
.screen-card.a {
  top: 122px;
}
.screen-card.b {
  top: 198px;
}
.screen-card.c {
  top: 274px;
}
.floating-node {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
}
.floating-node.n1 {
  right: 0;
  top: 70px;
}
.floating-node.n2 {
  left: 40px;
  top: 220px;
}
.floating-node.n3 {
  right: 10px;
  bottom: 36px;
}
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 10px 28px rgba(22, 72, 140, 0.06);
}
.device-card {
  padding: 24px;
  text-align: left;
}
.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
}
.node-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.node-grid span {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfe4ff;
  border-radius: 14px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 900;
}
.feature-card {
  padding: 28px;
}
.feature-card .num {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--blue);
  font-weight: 900;
}
.cta {
  padding: 58px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #103d86);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta h2 {
  margin-bottom: 0;
}
.page-hero {
  padding: 82px 0 54px;
  background: linear-gradient(135deg, #e9f6ff, #fff);
}
.page-hero.dark {
  color: #fff;
  background: linear-gradient(135deg, #27394e, #0e315e);
}
.page-hero h1 {
  font-size: 44px;
}
.page-hero p {
  max-width: 760px;
  color: var(--muted);
}
.page-hero.dark p {
  color: rgba(255, 255, 255, 0.75);
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}
.tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  padding: 10px 20px;
}
.tab.active {
  color: #fff;
  background: var(--blue);
}
.plans {
  display: none;
}
.plans.active {
  display: grid;
}
.plan-card {
  position: relative;
  display: flex;
  min-height: 396px;
  flex-direction: column;
  padding: 28px;
}
.plan-card.hot {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.badge {
  position: absolute;
  right: 22px;
  top: 22px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}
.price {
  margin: 18px 0;
  color: var(--blue);
  font-size: 42px;
  font-weight: 900;
}
.price:before {
  content: "¥";
  font-size: 18px;
}
.origin {
  margin-left: 8px;
  color: #9aa8bb;
  text-decoration: line-through;
}
.plan-card ul {
  flex: 1;
  margin: 4px 0 24px;
  padding: 0;
  list-style: none;
}
.plan-card li {
  padding: 9px 0;
  color: var(--muted);
  border-bottom: 1px solid #edf3fb;
}
.plan-card li:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--blue);
}
.auth-page {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 56px;
  align-items: center;
  padding: 70px max(40px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(120deg, rgba(22, 119, 255, 0.92), rgba(80, 190, 255, 0.68)),
    linear-gradient(135deg, #e9f6ff, #fff);
}
.auth-copy {
  color: #fff;
  max-width: 600px;
}
.auth-copy .eyebrow,
.auth-copy p {
  color: rgba(255, 255, 255, 0.86);
}
.auth-card {
  padding: 34px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.auth-card label {
  display: block;
  margin-bottom: 16px;
  font-weight: 800;
}
.auth-card input {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
}
.auth-card input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}
.form-row,
.code-line {
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-row {
  justify-content: space-between;
  margin: 4px 0 20px;
  color: var(--muted);
  font-size: 14px;
}
.check-line {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-weight: 500 !important;
}
.check-line input {
  width: auto;
  height: auto;
  margin: 0;
}
.code-line input {
  flex: 1;
}
.code-line .btn {
  flex: 0 0 124px;
  margin-top: 8px;
  padding-inline: 12px;
}
.form-foot {
  text-align: center;
  color: var(--muted);
  margin: 18px 0 0;
}
.form-foot a,
.form-row a {
  color: var(--blue);
  font-weight: 900;
}
.tutorial-panel {
  display: none;
}
.tutorial-panel.active {
  display: grid;
}
.tutorial-card {
  padding: 26px;
}
.tutorial-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.tutorial-title button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 900;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  padding: 18px;
  border: 1px solid #edf3fb;
  border-radius: 14px;
  background: #fbfdff;
}
.step-shot {
  height: 118px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  color: var(--blue);
  font-size: 32px;
  font-weight: 900;
  background: repeating-linear-gradient(
    0deg,
    #eaf5ff,
    #eaf5ff 18px,
    #fff 19px,
    #fff 36px
  );
}
.dashboard {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 24px;
}
.profile,
.panel {
  padding: 28px;
}
.avatar {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 32px;
  font-weight: 900;
}
.info-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}
.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf3fb;
}
.dashboard-main {
  display: grid;
  gap: 24px;
}
.current-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
th,
td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #edf3fb;
}
th {
  color: var(--muted);
  font-size: 14px;
}
.status {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.paid {
  color: var(--success);
  background: rgba(29, 191, 115, 0.12);
}
.pending {
  color: var(--warning);
  background: rgba(245, 159, 0, 0.13);
}
.checkout {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 24px;
}
.pay-methods {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}
.pay-method {
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 900;
}
.pay-method.active {
  border-color: var(--blue);
  background: var(--soft);
  color: var(--blue);
}
.qr {
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 10px solid #fff;
  border-radius: 18px;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px) 0 0/28px 28px,
    linear-gradient(#111 10px, transparent 10px) 0 0/28px 28px,
    #f4f6f8;
  box-shadow: var(--shadow);
}
.qr:after {
  content: "JL";
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
}
.countdown {
  display: block;
  margin: 6px 0 18px;
  color: var(--blue);
  font-size: 28px;
  text-align: center;
}
.toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 9999;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(20, 33, 58, 0.94);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, calc(-50% + 14px));
  transition: 0.2s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--blue);
  font-weight: 900;
}
@media (max-width: 1100px) {
  .hero-inner,
  .auth-page,
  .checkout {
    grid-template-columns: 1fr;
  }
  .hero-device {
    display: none;
  }
  .grid-5,
  .node-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard {
    grid-template-columns: 1fr;
  }
  .auth-card {
    max-width: 520px;
    width: 100%;
    justify-self: center;
  }
}
@media (max-width: 780px) {
  .container {
    width: min(100% - 28px, 1200px);
  }
  .menu-btn {
    display: block;
  }
  .nav-links,
  .nav-actions {
    display: none;
  }
  .site-header.open .nav-links,
  .site-header.open .nav-actions {
    display: flex;
  }
  .site-header.open .nav {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px 0;
  }
  .site-header.open .nav-links,
  .site-header.open .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .site-header.open .nav-links a {
    padding: 10px;
    border-radius: 10px;
    background: var(--soft);
  }
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 28px;
  }
  .hero {
    min-height: auto;
    padding: 78px 0;
  }
  .hero-stats,
  .grid-3,
  .grid-2,
  .steps {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 62px 0;
  }
  .toolbar,
  .cta-inner,
  .current-plan,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }
  .page-hero h1 {
    font-size: 34px;
  }
  .auth-page {
    padding: 56px 20px;
  }
}
@media (max-width: 560px) {
  .grid-5,
  .grid-4,
  .node-grid,
  .plans {
    grid-template-columns: 1fr;
  }
  .hero-actions,
  .form-row,
  .code-line,
  .pay-methods {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
  .code-line .btn {
    width: 100%;
  }
  .auth-card,
  .plan-card,
  .profile,
  .panel {
    padding: 22px;
  }
  .tabs {
    width: 100%;
    flex-wrap: wrap;
  }
  .tab {
    flex: 1;
  }
  .qr {
    width: 190px;
    height: 190px;
  }
}

/* Login page matched to the provided design */
.login-design-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  padding: 40px 20px;
  background:
    radial-gradient(
      ellipse at 49% 52%,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 22%,
      rgba(244, 251, 255, 0.76) 42%,
      transparent 66%
    ),
    radial-gradient(
      circle at 6% 2%,
      rgba(197, 233, 255, 0.92) 0%,
      rgba(228, 246, 255, 0.72) 30%,
      transparent 58%
    ),
    radial-gradient(
      circle at 95% 93%,
      rgba(189, 229, 255, 0.88) 0%,
      rgba(226, 246, 255, 0.72) 34%,
      transparent 64%
    ),
    linear-gradient(116deg, #e0f4ff 0%, #fbfeff 49%, #d6f0ff 100%);
}

.root-center-view {
  display: none;
}

.root-authenticated .root-login-view {
  display: none;
}

.root-authenticated .root-center-view {
  display: block;
}
.login-design-page:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(
    rgba(86, 157, 213, 0.55) 0.6px,
    transparent 0.7px
  );
  background-size: 3px 3px;
}
.login-shell {
  position: relative;
  z-index: 1;

  width: min(920px, 100%);
  min-height: 540px;
  display: grid;
  grid-template-columns: 440px 1fr;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(69, 117, 158, 0.16);
}
.login-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 92px;
  color: #fff;
  background-image: url(/img/login/zcbj.png);
}
.login-visualdl {
  background-image: url(/img/login/dlbj.png);
}
.login-visual-content {
  position: relative;
  z-index: 1;
}
.login-visual-content h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 900;
}
.login-visual-content p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
}
.login-tags {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}
.login-tags span + span:before {
  content: "|";
  margin-right: 14px;
  color: rgba(255, 255, 255, 0.78);
}
.login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 44px 46px;
  background: #fff;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #111;
  font-size: 22px;
  font-weight: 800;
}
.login-logo-img {
  position: relative;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  border-radius: 9px;
  background: linear-gradient(135deg, #1887dc, #42c4ec);
  box-shadow: 0 10px 18px rgba(24, 135, 220, 0.2);
}
.login-logo-img:before,
.login-logo-img:after,
.login-logo-img i:before,
.login-logo-img i:after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
}
.login-logo-img:before {
  left: 10px;
  top: 9px;
}
.login-logo-img:after {
  right: 9px;
  top: 14px;
}
.login-logo-img i:before {
  left: 12px;
  bottom: 9px;
}
.login-logo-img i:after {
  right: 12px;
  bottom: 11px;
}
.login-logo-img i {
  position: absolute;
  inset: 0;
}
.login-logo-img i:before {
  box-shadow: 12px -10px 0 -3px transparent;
}
.login-form h1 {
  margin: 0 0 8px;
  color: #111;
  font-size: 31px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.login-subtitle {
  margin: 0 0 30px;
  color: #777;
  font-size: 14px;
}
.login-form input {
  width: 390px;
  max-width: 100%;
  height: 49px;
  margin-bottom: 14px;
  padding: 0 14px;
  color: #222;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #fff;
  outline: none;
  font-size: 14px;
}
.login-form input::placeholder {
  color: #b5b5b5;
}
.login-form input:focus {
  border-color: #83bfff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}
.login-submit {
  width: 390px;
  max-width: 100%;
  height: 46px;
  margin-top: 10px;
  border: 1px solid #e8e8e8;
  border-radius: 24px;
  color: #777;
  background: #fff;
  font-size: 15px;
  transition: 0.2s;
}
.login-submit:hover {
  color: #fff;
  border-color: #1677ff;
  background: #1677ff;
}
.login-safe {
  margin: 14px 0 8px;
  color: #b7b7b7;
  font-size: 12px;
}
.login-register {
  margin: 0;
  color: #8a8a8a;
  font-size: 14px;
}
.login-register a {
  color: #1677ff;
}
@media (max-width: 900px) {
  .login-shell {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .login-visual {
    min-height: 230px;
    padding: 48px;
  }
  .login-form {
    padding: 42px 28px;
  }
}
@media (max-width: 560px) {
  .login-design-page {
    padding: 18px;
  }
  .login-shell {
    min-height: auto;
    border-radius: 18px;
  }
  .login-visual {
    padding: 34px 28px;
  }
  .login-visual-content h2 {
    font-size: 26px;
  }
  .login-form {
    padding: 34px 20px;
  }
  .login-brand {
    font-size: 19px;
  }
  .login-form h1 {
    font-size: 28px;
  }
}

/* Register page variant based on the login design */
.register-shell {
  width: min(1170px, 100%);
  min-height: 778px;
  grid-template-columns: 538px 1fr;
  border-radius: 24px;
}
.register-visual {
  padding: 86px 70px 86px 86px;
}
.register-form {
  padding: 48px 56px 32px;
}
.register-form .login-brand {
  margin-bottom: 22px;
}
.register-form h1 {
  margin-bottom: 8px;
  font-size: 34px;
}
.register-form .login-subtitle {
  margin-bottom: 32px;
  font-size: 16px;
}
.register-form input {
  width: 522px;
  height: 65px;
  margin-bottom: 13px;
  border-radius: 9px;
  font-size: 16px;
}
.register-code-row {
  width: 522px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 12px;
  margin-bottom: 23px;
}
.register-code-row input {
  width: 100%;
  margin-bottom: 0;
}
.register-code-btn {
  height: 53px;
  align-self: center;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #2e86c8, #21a7f7);
  font-size: 16px;
  transition: 0.2s;
}
.register-code-btn:hover {
  filter: brightness(1.04);
}
.register-submit {
  width: 522px;
  height: 58px;
  margin-top: 6px;
  color: #2172bd;
  font-size: 16px;
}
.register-form .login-register {
  margin-top: 16px;
  font-size: 16px;
}
@media (max-width: 1180px) {
  .register-shell {
    grid-template-columns: 1fr;
    max-width: 620px;
    min-height: auto;
  }
  .register-visual {
    min-height: 300px;
    padding: 54px;
  }
  .register-form {
    padding: 44px 34px 34px;
  }
}
@media (max-width: 560px) {
  .register-visual {
    padding: 34px 28px;
  }
  .register-form {
    padding: 34px 20px;
  }
  .register-form input {
    height: 54px;
    font-size: 14px;
  }
  .register-code-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
  }
  .register-code-btn {
    height: 50px;
  }
}

/* Home page matched to the provided design */
.home-header {
  height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px 0 50px;
  background: #fff;
  border-bottom: 1px solid #f0f3f7;
}
.home-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #111;
  font-size: 25px;
  font-weight: 900;
}
.home-logo-icon {
  position: relative;
  width: 29px;
  height: 29px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2389d3, #39b7e7);
}
.home-logo-icon:before,
.home-logo-icon:after,
.home-logo-icon i:before,
.home-logo-icon i:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border: 2px solid #fff;
  border-radius: 50%;
}
.home-logo-icon:before {
  left: 7px;
  top: 6px;
}
.home-logo-icon:after {
  right: 6px;
  top: 9px;
}
.home-logo-icon i:before {
  left: 8px;
  bottom: 6px;
}
.home-logo-icon i:after {
  right: 8px;
  bottom: 7px;
}
.home-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 700;
}
.home-register {
  min-width: 58px;
  height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 4px;
  background: #287fc2;
}
.home-page {
  background: #fff;
  color: #191919;
}
.home-hero {
  position: relative;
  min-height: 595px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 50% 42%,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.86) 38%,
      transparent 64%
    ),
    linear-gradient(115deg, #e2f6ff 0%, #fff 48%, #f3ecff 100%);
}
.home-wave {
  position: absolute;
  inset: 65px 46px 40px;
  opacity: 0.45;
  background: repeating-radial-gradient(
    ellipse at 53% 43%,
    rgba(85, 165, 209, 0.24) 0 1px,
    transparent 2px 9px
  );
  transform: skewY(-3deg) scaleX(1.14);
  filter: blur(0.1px);
}
.home-wave:before,
.home-wave:after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  height: 130px;
  border-radius: 50%;
  border-top: 2px solid rgba(196, 224, 244, 0.7);
}
.home-wave:before {
  top: 22px;
  transform: rotate(-2deg);
}
.home-wave:after {
  bottom: 40px;
  transform: rotate(5deg);
}
.home-hero-inner {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 32px));
  margin-top: 12px;
  text-align: center;
}
.home-hero h1 {
  margin: 0 0 18px;
  color: #237cc0;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 900;
}
.home-hero h2 {
  margin: 0 0 21px;
  color: #1a1a1a;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 600;
}
.home-hero p {
  margin: 0 auto 39px;
  color: #9b9b9b;
  font-size: 16px;
}
.home-download {
  min-width: 158px;
  height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #2d7ec3, #1da7f4);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(39, 139, 213, 0.2);
}
.home-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 34px;
  color: #111;
  font-size: 13px;
}
.home-platforms span {
  padding: 0 16px;
  border-right: 1px solid #ddd;
}
.home-platforms span:last-child {
  border-right: 0;
}
.home-nodes {
  padding: 45px 20px 57px;
  background: #fff;
}
.home-section-title {
  text-align: center;
}
.home-section-title h2 {
  margin: 0 0 42px;
  color: #202020;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 500;
}
.home-node-grid {
  width: min(1280px, 100%);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px 24px;
  margin: 0 auto;
}
.home-node-grid > img,
.home-scene-grid img,
.home-flow img {
  display: block;
  width: 100%;
  height: auto;
}
.home-node-grid div {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 19px;
  border: 1px solid #d9d9d9;
  background: #fff;
}
.home-node-grid span {
  font-size: 26px;
  line-height: 1;
}
.home-node-grid b {
  font-size: 15px;
  font-weight: 500;
}
.home-scenes {
  padding: 49px 20px 54px;
  background: #f5f5f5;
}
.home-scene-grid {
  width: min(1260px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 49px;
  margin: 0 auto;
}
.home-scene-grid article {
  text-align: center;
}
.home-scene-img {
  height: 239px;
  margin-bottom: 12px;
  border-radius: 4px;
  overflow: hidden;
  background: #ddd;
}
.scene-office {
  background:
    radial-gradient(
      circle at 50% 55%,
      rgba(255, 255, 255, 0.78) 0 7%,
      transparent 8%
    ),
    linear-gradient(135deg, rgba(25, 31, 42, 0.68), rgba(170, 116, 70, 0.5)),
    repeating-linear-gradient(135deg, #3b2d24 0 18px, #514137 19px 34px);
}
.scene-privacy {
  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(67, 162, 255, 0.9) 0 8%,
      rgba(15, 86, 194, 0.45) 9% 18%,
      transparent 19%
    ),
    linear-gradient(135deg, #0e2f7a, #1a96e7 50%, #0e2b5a);
}
.scene-game {
  background:
    radial-gradient(
      circle at 46% 38%,
      rgba(255, 211, 151, 0.95) 0 8%,
      transparent 9%
    ),
    linear-gradient(135deg, #533c7d, #ff9b56 50%, #5c4da5);
}
.home-scene-grid h3 {
  margin: 0 0 8px;
  color: #222;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
}
.home-scene-grid p {
  margin: 0;
  color: #555;
  font-size: 15px;
}
.home-app-band {
  min-height: 229px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 20px;
  text-align: center;
  background:
    radial-gradient(
      ellipse at 50% 50%,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.76) 46%,
      transparent 72%
    ),
    linear-gradient(108deg, #dff6ff 0%, #fff 52%, #f2eaff 100%);
}
.home-app-band h2 {
  margin: 0 0 22px;
  color: #237cc0;
  font-size: 35px;
  line-height: 1.2;
  font-weight: 900;
}
.home-app-band p {
  margin: 0;
  color: #333;
  font-size: 16px;
}
.home-security {
  padding: 47px 20px 64px;
  background: #fff;
}
.home-security .home-section-title h2 {
  margin-bottom: 42px;
}
.home-flow {
  width: min(1060px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 0 auto;
}
.flow-circle,
.flow-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #5f5f5f;
}
.flow-circle {
  width: 150px;
  height: 150px;
  border: 1px dashed #d7e8f6;
  border-radius: 50%;
}
.flow-box {
  width: 150px;
  height: 92px;
}
.flow-circle span,
.flow-box span {
  display: block;
  margin-bottom: 10px;
  color: #5d5d5d;
  font-size: 34px;
  line-height: 1;
}
.flow-circle b,
.flow-box b {
  font-size: 14px;
  font-weight: 500;
}
.home-flow em {
  width: 34px;
  height: 1px;
  background: #d6d6d6;
  position: relative;
  flex: 0 0 34px;
}
.home-flow em:after {
  content: "";
  position: absolute;
  right: -2px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #d6d6d6;
  border-right: 1px solid #d6d6d6;
  transform: rotate(45deg);
}
@media (max-width: 1100px) {
  .home-header {
    padding: 0 24px;
  }
  .home-node-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-scene-grid {
    gap: 24px;
  }
  .home-flow {
    gap: 16px;
    flex-wrap: wrap;
  }
  .home-flow em {
    display: none;
  }
}
@media (max-width: 760px) {
  .home-header {
    height: auto;
    min-height: 68px;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 18px;
  }
  .home-logo {
    font-size: 22px;
  }
  .home-nav {
    margin-left: auto;
  }
  .home-hero {
    min-height: 520px;
  }
  .home-hero h1 {
    font-size: 34px;
  }
  .home-hero h2 {
    font-size: 21px;
  }
  .home-node-grid,
  .home-scene-grid {
    grid-template-columns: 1fr;
  }
  .home-node-grid {
    max-width: 420px;
  }
  .home-scene-img {
    height: 210px;
  }
  .home-app-band h2 {
    font-size: 28px;
  }
  .flow-circle {
    width: 130px;
    height: 130px;
  }
}
@media (max-width: 460px) {
  .home-nav {
    width: 100%;
    justify-content: flex-end;
  }
  .home-platforms span {
    padding: 5px 10px;
    border-right: 0;
  }
}

/* Pricing page matched to the provided design */
.pricing-header {
  border-bottom: 0;
}
.pricing-page {
  min-height: calc(100vh - 83px);
  padding: 57px 20px 96px;
  background: #f6f7f9;
}
.pricing-title {
  text-align: center;
  margin-bottom: 56px;
}
.pricing-title h1 {
  margin: 0 0 15px;
  color: #111;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 500;
}
.pricing-title p {
  margin: 0;
  color: #4f5965;
  font-size: 17px;
}
.pricing-grid-design {
  width: min(1340px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 49px 34px;
  margin: 0 auto;
}
.pricing-card-design {
  min-height: 465px;
  display: flex;
  flex-direction: column;
  padding: 31px 30px 29px;
  border: 1px solid #d6d6d6;
  border-radius: 13px;
  background: #fff;
}
.pricing-card-design.featured {
  border-color: #5796ff;
}
.pricing-pill {
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 30px;
  margin-bottom: 18px;
  padding: 0 17px;
  border-radius: 999px;
  color: #2679bd;
  background: #cfe4ff;
  font-size: 14px;
  font-weight: 500;
}
.pricing-card-design h2 {
  margin: 0 0 6px;
  color: #111;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 500;
}
.pricing-price {
  display: block;
  margin-bottom: 8px;
  color: #287fc2;
  font-size: 35px;
  line-height: 1.15;
  font-weight: 500;
}
.pricing-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 8px;
}
.pricing-price-row .pricing-price {
  margin-bottom: 0;
}
.pricing-original-price {
  color: #98a2b3;
  font-size: 14px;
  font-weight: 400;
  text-decoration-thickness: 1px;
}
.pricing-day {
  margin: 0 0 42px;
  color: #555;
  font-size: 20px;
}
.pricing-card-design ul {
  flex: 1;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.pricing-card-design li {
  position: relative;
  margin-bottom: 9px;
  color: #9a9a9a;
  font-size: 14px;
  line-height: 1.35;
}

.pricing-card-design li.combo-desc-good {
  color: #12a150;
  font-weight: 600;
}

.pricing-card-design li.combo-desc-bad {
  color: #e23b3b;
  font-weight: 600;
}

.pricing-card-design.combo-loading {
  min-height: 180px;
  justify-content: center;
  text-align: center;
}
.pricing-buy {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #287fbd, #1fa7f8);
  font-size: 17px;
  transition: 0.2s;
}
.pricing-buy:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.payment-choice-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.payment-choice-overlay.show {
  opacity: 1;
  visibility: visible;
}

.payment-choice-modal {
  position: relative;
  width: min(360px, 100%);
  padding: 28px 24px 24px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  transform: translateY(8px);
  transition: transform 0.2s ease;
}

.payment-choice-overlay.show .payment-choice-modal {
  transform: translateY(0);
}

.payment-choice-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #64748b;
  background: #f1f5f9;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.payment-choice-modal h2 {
  margin: 0 0 20px;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
}

.payment-choice-actions {
  display: grid;
  gap: 12px;
}

.payment-choice-btn {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.payment-choice-btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.payment-choice-btn.wechat {
  background: #18b566;
}

.payment-choice-btn.alipay {
  background: #1677ff;
}

.payment-qr-view {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.payment-qr-view img {
  width: 220px;
  height: 220px;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
}

.payment-qr-view p {
  margin: 0;
  color: #344054;
  font-size: 15px;
  font-weight: 600;
}
@media (max-width: 1180px) {
  .pricing-grid-design {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
  }
}
@media (max-width: 680px) {
  .pricing-page {
    padding: 42px 16px 70px;
  }
  .pricing-title h1 {
    font-size: 28px;
  }
  .pricing-title p {
    font-size: 15px;
  }
  .pricing-grid-design {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 420px;
  }
  .pricing-card-design {
    min-height: auto;
    padding: 26px 24px;
  }
  .pricing-day {
    margin-bottom: 28px;
  }
}

/* Pricing card hover interaction */
.pricing-card-design {
  position: relative;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
  transform-origin: center;
}
.pricing-card-design:hover {
  z-index: 2;
  border-color: #2b8cff;
  box-shadow: 0 18px 42px rgba(31, 132, 220, 0.18);
  transform: scale(1.035);
}
.pricing-card-design.featured:hover {
  border-color: #1677ff;
  box-shadow: 0 20px 48px rgba(22, 119, 255, 0.22);
}
@media (max-width: 680px) {
  .pricing-card-design:hover {
    transform: scale(1.015);
  }
}

/* Pay page matched to the provided design */
.pay-design-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background: #fff;
}
.pay-shell {
  width: min(1098px, 100%);
  min-height: 660px;
  display: grid;
  grid-template-columns: 197px 1fr 234px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.09);
}
.pay-user-panel {
  position: relative;
  overflow: hidden;
  padding: 42px 18px;
  color: #fff;
  background-image: url(/img/pay/hyzcbj.png);
}
.pay-avatar {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  margin: 12px;
  border-radius: 50%;
}
.pay-email {
  position: relative;
  z-index: 1;
  margin: 0 0 29px;
  text-align: center;
  color: #fff;
  font-size: 16px;
}
.pay-user-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 9px;
  margin: 0 0 30px;
}
.pay-meta-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.34);
  font-size: 24px;
}
.pay-user-meta small,
.pay-user-meta strong {
  display: block;
  color: #fff;
}
.pay-user-meta small {
  margin-bottom: 3px;
  font-size: 13px;
}
.pay-user-meta strong {
  font-size: 15px;
  line-height: 1.25;
}
.pay-main-panel {
  padding: 15px 23px 32px;
}
.pay-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 43px;
  margin-bottom: 24px;
}
.pay-member-tab {
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #287fc2;
  font-size: 18px;
  font-weight: 600;
}
.pay-member-tab:first-child {
  border-radius: 15px 15px 0 0;
}
.pay-member-tab:last-child {
  border-radius: 15px 15px 0 0;
}
.pay-member-tab.active {
  color: #fff;
  border-color: #2d81bd;
  background: #2d81bd;
}
.pay-plan-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0 9px 22px;
}
.pay-plan-option {
  min-height: 119px;
  padding: 12px 10px 14px;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  transition: 0.2s;
}
.pay-plan-option.active,
.pay-plan-option:hover {
  border-color: #287fc2;
}
.pay-plan-option b {
  display: block;
  margin-bottom: 8px;
  color: #111;
  font-size: 18px;
}
.pay-plan-option strong {
  display: block;
  margin-bottom: 8px;
  color: #287fc2;
  font-size: 29px;
  line-height: 1;
}
.pay-plan-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 89px;
  height: 22px;
  color: #287fc2;
  background: #cfe9ff;
  font-size: 14px;
}
.pay-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  padding: 17px 38px 24px;
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
}
.pay-benefits h2 {
  margin: 0 0 11px;
  color: #111;
  font-size: 22px;
  font-weight: 500;
}
.pay-benefits p {
  position: relative;
  margin: 0 0 8px;
  color: #444;
  font-size: 15px;
}
.pay-method-area {
  padding: 22px 16px 0;
}
.pay-method-area h2 {
  margin: 0 0 10px;
  color: #111;
  font-size: 24px;
  font-weight: 500;
}
.pay-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pay-method-card {
  position: relative;
  height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  border: 1px solid #ececec;
  border-radius: 10px;
  cursor: pointer;
}
.pay-method-card input {
  display: none;
}
.pay-method-card img {
  width: 24px;
  height: 24px;
}
.pay-method-card b {
  color: #444;
  font-size: 15px;
  font-weight: 500;
}
.pay-method-card .pay-check-active,
.pay-method-card .pay-check-inactive {
  width: 18px;
  height: 18px;
  margin-left: auto;
  position: absolute;
  right: 24px;
}
.pay-method-card .pay-check-active {
  opacity: 0;
}
.pay-method-card .pay-check-inactive {
  opacity: 1;
}
.pay-method-card.active .pay-check-active {
  opacity: 1;
}
.pay-method-card.active .pay-check-inactive {
  opacity: 0;
}
.pay-order-panel {
  margin: 13px 21px 14px 0;
  padding: 19px 16px;
  background: #f6f6f6;
}
.pay-order-panel h2 {
  margin: 0 0 18px;
  color: #111;
  font-size: 19px;
  font-weight: 700;
}
.pay-order-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  border-bottom: 1px solid #d5d5d5;
  color: #444;
  font-size: 15px;
}
.pay-order-line strong {
  font-weight: 500;
}
.pay-order-btn {
  width: 169px;
  height: 44px;
  display: block;
  margin: 20px auto 0;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2b83bd, #1da6f8);
  font-size: 16px;
}
.pay-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  z-index: 100;
}
.pay-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.pay-modal {
  width: 320px;
  padding: 28px 24px 24px;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transform: scale(0.95);
  transition: transform 0.2s ease;
}
.pay-modal-overlay.show .pay-modal {
  transform: scale(1);
}
.pay-modal h3 {
  margin: 0 0 20px;
  color: #111;
  font-size: 17px;
  font-weight: 500;
}
.pay-qr-box {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pay-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pay-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #4caf50;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pay-success-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.pay-modal-btn {
  width: 120px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2b83bd, #1da6f8);
  font-size: 15px;
  cursor: pointer;
}
@media (max-width: 1040px) {
  .pay-shell {
    grid-template-columns: 190px 1fr;
    max-width: 840px;
  }
  .pay-order-panel {
    grid-column: 1 / -1;
    margin: 0 20px 20px 20px;
  }
}
@media (max-width: 760px) {
  .pay-design-page {
    align-items: flex-start;
    padding: 18px;
  }
  .pay-shell {
    grid-template-columns: 1fr;
  }
  .pay-user-panel {
    min-height: 240px;
  }
  .pay-main-panel {
    padding: 18px;
  }
  .pay-plan-row,
  .pay-benefits,
  .pay-method-grid {
    grid-template-columns: 1fr;
  }
  .pay-benefits {
    gap: 18px;
    padding: 18px;
  }
  .pay-order-panel {
    margin: 0 18px 18px;
  }
}

/* Apple ID tutorial accordion page */
.apple-header {
  border-bottom: 0;
}
.apple-page {
  min-height: calc(100vh - 83px);
  padding: 60px 20px 100px;
  background: #f5f6f8;
}

.embed-apple .apple-header {
  display: none;
}

.embed-apple .apple-page {
  min-height: auto;
  padding-top: 28px;
}
.apple-page > h1 {
  margin: 0 0 64px;
  text-align: center;
  color: #111;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 500;
}
.apple-list {
  width: min(775px, 100%);
  display: grid;
  gap: 25px;
  margin: 0 auto;
}
.apple-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 9px rgba(0, 0, 0, 0.22);
}
.apple-head {
  width: 100%;
  min-height: 184px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 47px 35px 45px;
  border: 0;
  background: #fff;
  text-align: left;
}
.apple-head span {
  display: block;
}
.apple-head b {
  display: block;
  margin-bottom: 17px;
  color: #111;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 500;
}
.apple-head em {
  display: block;
  color: #9c9c9c;
  font-size: 18px;
  font-style: normal;
}
.apple-head strong,
.apple-close {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #111;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.apple-head strong i,
.apple-close i {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #287fc2;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}
.apple-card.open .apple-head strong i,
.apple-close i {
  transform: rotate(90deg);
}
.apple-card .red {
  color: red;
  font-style: normal;
}
.apple-head strong img {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.apple-card.open .apple-head strong {
  visibility: hidden;
  pointer-events: none;
}
.apple-card.open .apple-head strong img {
  transform: rotate(180deg);
}
.apple-more .collapse-text {
  display: none;
}
.apple-card.open .apple-more .more-text {
  display: none;
}
.apple-card.open .apple-more .collapse-text {
  display: inline;
}
.apple-drawer {
  padding: 0;
  background: #fff;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    padding 0.35s ease;
}
.apple-card.open .apple-drawer {
  padding: 0 42px 30px;
  max-height: 4000px;
  opacity: 1;
}
.apple-warning {
  margin: 0 0 34px;
  padding: 15px 0;
  border-top: 1px solid #e4e4e4;
  border-bottom: 1px solid #e4e4e4;
  text-align: center;
  color: red;
  font-size: 16px;
  font-weight: 700;
}
.apple-steps {
  display: grid;
  gap: 46px;
}
.apple-step {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 58px;
}
.apple-step h3 {
  margin: 9px 0 8px;
  color: #111;
  font-size: 17px;
  line-height: 1.55;
  font-weight: bold;
}
.apple-step p {
  margin: 0;
  color: #9a9a9a;
  font-size: 14px;
  line-height: 1.75;
}
.apple-step label {
  display: inline-flex;
  min-width: 60px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: #297dbd;
  font-size: 13px;
  font-weight: 700;
}
.apple-step .red-label {
  background: #e84e4e;
}
.apple-shot {
  position: relative;
  min-height: 150px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 12px;
  color: #444;
  background: #f4f7fb;
  overflow: hidden;
}
.apple-shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.apple-shot span {
  position: relative;
  z-index: 1;
  width: 76%;
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #fff;
  border: 1px solid #dfe7f0;
  font-size: 13px;
  font-weight: 700;
}
.apple-shot mark {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 22px;
  min-width: 74px;
  padding: 4px 7px;
  border: 2px solid #ff3333;
  background: rgba(255, 255, 255, 0.72);
  color: #111;
  font-size: 12px;
  font-weight: 700;
}
.phone-shot {
  min-height: auto;
  border-radius: 24px;
  background: linear-gradient(#fff, #eef3f8);
}
.web-shot {
  width: 190px;
  min-height: 150px;
  border-radius: 4px;
  background: linear-gradient(#333 0 24px, #fff 24px);
}
.form-shot {
  min-height: 210px;
  background: repeating-linear-gradient(180deg, #fff 0 28px, #eef3f8 29px 56px);
}
.app-shot {
  min-height: 175px;
  background: linear-gradient(135deg, #eaf4ff, #fff);
}
.download-shot {
  min-height: 165px;
  background:
    radial-gradient(circle at 45% 44%, #2da1ec 0 22px, transparent 24px),
    linear-gradient(135deg, #fff, #edf7ff);
}
.warning-shot {
  min-height: 190px;
  border-radius: 24px;
  background: linear-gradient(#fff, #f4f4f4);
}
.apple-close {
  float: right;
  margin-top: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.apple-drawer:after {
  content: "";
  display: block;
  clear: both;
}
@media (max-width: 760px) {
  .apple-page {
    padding: 42px 14px 70px;
  }
  .apple-page > h1 {
    margin-bottom: 34px;
    font-size: 28px;
  }
  .apple-head {
    min-height: 150px;
    padding: 28px 24px;
    align-items: flex-start;
    flex-direction: column;
  }
  .apple-head b {
    font-size: 21px;
  }
  .apple-head em {
    font-size: 15px;
  }
  .apple-drawer {
    padding: 0;
  }
  .apple-card.open .apple-drawer {
    padding: 0 22px 28px;
  }
  .apple-step {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
  }
  .apple-shot {
    width: min(240px, 100%);
  }
}

/* Apple public account expanded content completion */
.apple-public-steps {
  gap: 42px;
}
.error-shot {
  min-height: 190px;
  border-radius: 24px;
  background: linear-gradient(#fff, #f4f7fb);
}
.security-shot {
  min-height: 190px;
  border-radius: 24px;
  background: linear-gradient(#fff, #eef5fb);
}
.security-shot.dark {
  background: linear-gradient(#d7d7d7, #a5a5a5);
}
.security-shot span:before {
  content: "🔒";
  display: block;
  margin-bottom: 8px;
  color: #45a8f5;
  font-size: 24px;
}

/* Mobile refinements */
@media (max-width: 760px) {
  body {
    min-width: 0;
  }

  .home-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 12px 16px;
  }

  .home-logo-img {
    width: 34px;
    height: auto;
  }

  .home-nav {
    gap: 12px;
    font-size: 14px;
  }

  .home-register {
    min-width: 54px;
    height: 32px;
  }

  .home-hero {
    min-height: auto;
    padding: 74px 0 58px;
  }

  .home-wave {
    inset: 36px 0 24px;
    transform: skewY(-3deg) scaleX(1);
  }

  .home-hero-inner {
    width: min(100% - 32px, 520px);
    margin-top: 0;
  }

  .home-hero p {
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.75;
  }

  .home-download {
    width: min(100%, 220px);
  }

  .home-platforms {
    gap: 10px;
    margin-top: 24px;
  }

  .home-platforms span {
    min-height: 32px;
    padding: 5px 10px;
    border: 1px solid #e6edf5;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
  }

  .home-platforms img {
    width: 18px;
    height: 18px;
    object-fit: contain;
  }

  .home-nodes,
  .home-scenes,
  .home-security {
    padding: 38px 16px 46px;
  }

  .home-section-title h2 {
    margin-bottom: 24px;
    font-size: 24px;
  }

  .home-node-grid {
    width: min(100%, 520px);
  }

  .home-scene-grid {
    width: min(100%, 420px);
    gap: 28px;
  }

  .home-scene-grid article {
    padding: 18px;
    border: 1px solid #eceff4;
    border-radius: 12px;
    background: #fff;
  }

  .home-app-band {
    min-height: auto;
    padding: 46px 18px;
  }

  .home-app-band p {
    font-size: 15px;
    line-height: 1.8;
  }

  .home-flow {
    width: min(100%, 520px);
  }

  .login-design-page {
    align-items: flex-start;
    min-height: 100svh;
    padding: 16px;
  }

  .login-shell,
  .register-shell {
    width: 100%;
    border-radius: 16px;
  }

  .login-visual,
  .register-visual {
    min-height: auto;
    padding: 28px 22px;
  }

  .login-tags {
    gap: 8px 12px;
  }

  .login-tags span + span:before {
    display: none;
  }

  .login-form,
  .register-form {
    padding: 30px 18px;
  }

  .login-form input,
  .login-submit,
  .register-form input,
  .register-submit,
  .register-code-row {
    width: 100%;
  }

  .pricing-page {
    min-height: auto;
  }

  .pricing-title {
    margin-bottom: 32px;
  }

  .pricing-card-design {
    box-shadow: 0 10px 24px rgba(20, 33, 58, 0.06);
  }

  .pay-design-page {
    min-height: 100svh;
    padding: 14px;
    background: #f6f7f9;
  }

  .pay-shell {
    min-height: auto;
    overflow: visible;
    border-radius: 14px;
  }

  .pay-user-panel {
    min-height: auto;
    padding: 22px 18px;
    background-size: cover;
    background-position: center;
  }

  .pay-avatar {
    display: block;
    margin: 0 auto 10px;
  }

  .pay-email {
    margin-bottom: 18px;
    overflow-wrap: anywhere;
  }

  .pay-user-meta {
    max-width: 260px;
    margin: 0 auto 14px;
  }

  .pay-plan-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 20px;
  }

  .pay-plan-option {
    min-height: 106px;
    padding: 12px 8px;
  }

  .pay-plan-option strong {
    font-size: 25px;
  }

  .pay-benefits,
  .pay-method-area {
    padding-inline: 0;
  }

  .pay-benefits p {
    display: flex;
    gap: 6px;
    align-items: flex-start;
  }

  .pay-benefits img {
    flex: 0 0 auto;
    margin-top: 3px;
  }

  .pay-order-panel {
    margin: 0;
    border-radius: 0 0 14px 14px;
  }

  .pay-order-btn {
    width: 100%;
  }

  .pay-modal-overlay {
    padding: 18px;
  }

  .pay-modal {
    width: min(100%, 320px);
  }

  .apple-page {
    min-height: auto;
  }

  .apple-head strong,
  .apple-close {
    white-space: normal;
  }

  .apple-step h3,
  .apple-step p {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 24px;
  }

  .home-header {
    gap: 10px;
  }

  .home-logo {
    font-size: 20px;
  }

  .home-nav {
    width: auto;
    margin-left: 0;
    justify-content: flex-end;
  }

  .home-hero h1 {
    font-size: 30px;
  }

  .home-hero h2 {
    font-size: 19px;
  }

  .home-platforms {
    justify-content: flex-start;
  }

  .home-platforms span {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
    font-size: 12px;
  }

  .pricing-page {
    padding: 34px 12px 56px;
  }

  .pricing-card-design {
    padding: 22px 18px;
  }

  .pay-design-page {
    padding: 10px;
  }

  .pay-main-panel {
    padding: 14px;
  }

  .pay-tabs {
    height: 40px;
  }

  .pay-member-tab {
    font-size: 15px;
  }

  .pay-plan-row {
    grid-template-columns: 1fr;
  }

  .pay-method-card {
    padding: 0 16px;
  }

  .pay-method-card .pay-check-active,
  .pay-method-card .pay-check-inactive {
    right: 16px;
  }

  .apple-page {
    padding: 34px 10px 52px;
  }

  .apple-list {
    gap: 16px;
  }

  .apple-head {
    min-height: auto;
    padding: 22px 18px;
  }

  .apple-card.open .apple-drawer {
    padding: 0 16px 24px;
  }

  .apple-warning {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .apple-steps,
  .apple-public-steps {
    gap: 28px;
  }

  .apple-step h3 {
    font-size: 16px;
  }

  .apple-shot {
    width: min(220px, 100%);
  }

  .toast {
    width: calc(100% - 32px);
    text-align: center;
  }
}
.auth-user-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

.auth-user-link img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.auth-user-link span {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-logout {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: #eef7ff;
  color: #1684dc;
  font-weight: 700;
  cursor: pointer;
}

.auth-logout:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.center-page {
  min-height: 100vh;
  padding: 112px 16px 56px;
  background: #f5f8fb;
}

.center-wrap {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.center-card {
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.1);
}

.center-empty {
  padding: 56px 24px;
  text-align: center;
}

.center-empty h1 {
  margin: 0;
  font-size: 32px;
}

.center-empty p {
  margin: 14px 0 26px;
  color: #667085;
}

.center-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 28px;
  background: #1684dc;
  color: #fff;
  font-weight: 700;
}

.center-profile {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px;
}

.center-profile > div {
  min-width: 0;
  flex: 1;
}

.center-profile img {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  object-fit: cover;
}

.center-profile h1 {
  margin: 0;
  font-size: 30px;
}

.center-profile p {
  margin: 8px 0 0;
  color: #667085;
}

.center-wallet {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.center-wallet span {
  color: #667085;
  font-size: 14px;
  font-weight: 700;
}

.center-wallet strong {
  color: #1684dc;
  font-size: 26px;
}

.center-wallet a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 16px;
  background: #1684dc;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.center-subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.center-subscribe-actions button {
  min-height: 36px;
  border: 1px solid #cde6f8;
  border-radius: 999px;
  padding: 0 16px;
  color: #0f6fb5;
  background: #eaf7ff;
  font-weight: 700;
  cursor: pointer;
}

.center-subscribe-actions button:hover {
  border-color: #1684dc;
  background: #dff2ff;
}

.center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.center-actions button {
  min-height: 36px;
  border: 1px solid #dbe8f5;
  border-radius: 999px;
  padding: 0 16px;
  background: #f4f9ff;
  color: #1684dc;
  font-weight: 700;
  cursor: pointer;
}

.center-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.center-grid article {
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.center-grid span {
  color: #667085;
  font-size: 14px;
  font-weight: 700;
}

.center-grid strong {
  display: block;
  margin-top: 10px;
  color: #101828;
  font-size: 26px;
}

.center-grid p {
  margin: 10px 0 0;
  color: #667085;
  line-height: 1.7;
}

.center-grid a {
  display: inline-flex;
  margin-top: 16px;
  color: #1684dc;
  font-weight: 700;
}

.center-software {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.center-software-downloads,
.center-software-guide {
  min-width: 0;
}

.center-software strong {
  margin-top: 8px;
}

.center-download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.center-download-btn {
  min-height: 76px;
  display: grid;
  place-items: center;
  gap: 7px;
  border: 1px solid #e3edf8;
  border-radius: 14px;
  color: #344054;
  background: #f8fbff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.center-download-btn:hover {
  transform: translateY(-2px);
  border-color: #b9dbf7;
  background: #eef8ff;
}

.center-download-btn.active {
  color: #1684dc;
  border-color: #1684dc;
  background: #eaf7ff;
  box-shadow: 0 10px 26px rgba(22, 132, 220, 0.12);
}

.center-download-btn img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.center-software-guide ol {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.center-guide-empty {
  margin: 14px 0 0;
  color: #667085;
  line-height: 1.7;
}

.center-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.center-guide-download {
  min-width: 138px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2b83bd, #1da6f8);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.center-guide-tutorial {
  color: #1684dc;
  border: 1px solid #1684dc;
  background: #fff;
}

.center-ios-guide-action {
  margin: 16px 0 12px;
}

.center-apple-embed {
  height: 620px;
  margin-top: 18px;
  border: 1px solid #e3edf8;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.center-apple-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.center-software-guide li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
}

.center-software-guide b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1684dc;
  font-size: 14px;
}

.center-software-guide p {
  margin: 0;
  color: #667085;
  line-height: 1.6;
}

.center-expire {
  width: min(280px, 100%);
  margin-left: auto;
  padding: 22px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #e5f0fb;
}

.center-expire span {
  color: #667085;
  font-size: 14px;
  font-weight: 700;
}

.center-expire strong {
  display: block;
  margin-top: 10px;
  color: #101828;
  font-size: 24px;
}

.center-expire p {
  margin: 10px 0 0;
  color: #667085;
  line-height: 1.7;
}

.center-expire a {
  display: inline-flex;
  margin-top: 14px;
  color: #1684dc;
  font-weight: 700;
}

.center-status-active {
  color: #12a150;
}

.center-status-expired {
  color: #e23b3b;
}

.center-buy-only {
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 22px;
  background: #1684dc;
  color: #fff;
}

.record-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.record-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.record-modal {
  width: min(1180px, calc(100vw - 48px));
  max-height: min(76vh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  transform: translateY(8px);
  transition: transform 0.2s ease;
}

.record-modal-overlay.show .record-modal {
  transform: translateY(0);
}

.record-modal.withdraw-modal-size {
  width: min(480px, calc(100vw - 32px));
}

.record-modal.tutorial-modal-size {
  width: min(920px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
}

.software-guide-gallery {
  display: grid;
  gap: 24px;
}

.software-guide-step {
  margin: 0;
  overflow: hidden;
  border: 1px solid #e3edf8;
  border-radius: 8px;
  background: #f8fafc;
}

.software-guide-step img {
  display: block;
  width: 100%;
  height: auto;
}

.record-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid #edf2f7;
}

.record-modal-head h2 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
}

.record-modal-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #64748b;
  background: #f1f5f9;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.record-modal-close:hover {
  color: #0f172a;
  background: #e2e8f0;
}

.record-modal-body {
  overflow: auto;
  padding: 20px 24px 24px;
}

.record-loading,
.record-empty {
  padding: 44px 16px;
  color: #667085;
  text-align: center;
}

.record-table-wrap {
  overflow-x: auto;
}

.record-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.record-table th {
  padding: 12px 14px;
  color: #667085;
  background: #f8fafc;
  font-weight: 600;
  white-space: nowrap;
}

.record-table td {
  padding: 14px;
  border-bottom: 1px solid #edf2f7;
  color: #344054;
  white-space: nowrap;
}

.wallet-record-table {
  min-width: 1040px;
}

.withdraw-record-table {
  min-width: 980px;
}

.record-remark {
  max-width: 460px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amount-text {
  font-weight: 700;
}

.amount-text.income {
  color: #d92d20;
}

.amount-text.expense {
  color: #0f8a43;
}

.record-table tbody tr:hover {
  background: #f8fbff;
}

.record-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.record-status.paid {
  color: #0f8a43;
  background: #e8f8ef;
}

.record-status.unpaid {
  color: #b45309;
  background: #fff4df;
}

.record-status.pending {
  color: #b45309;
  background: #fff4df;
}

.record-status.failed {
  color: #d92d20;
  background: #fee4e2;
}

.record-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
  color: #667085;
  font-size: 14px;
}

.record-page-btn {
  min-width: 74px;
  min-height: 34px;
  border: 1px solid #dbe8f5;
  border-radius: 999px;
  color: #287fc2;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.record-page-btn:disabled {
  color: #98a2b3;
  background: #f2f4f7;
  cursor: not-allowed;
}

.withdraw-form {
  display: grid;
  gap: 22px;
  padding: 8px 0 4px;
}

.withdraw-field {
  display: grid;
  gap: 10px;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
}

.withdraw-field input {
  width: 100%;
  height: 48px;
  border: 1px solid #dbe8f5;
  border-radius: 10px;
  padding: 0 14px;
  color: #111827;
  background: #fff;
  font-size: 15px;
  outline: none;
}

.withdraw-field input:focus {
  border-color: #287fc2;
  box-shadow: 0 0 0 4px rgba(40, 127, 194, 0.12);
}

.withdraw-input-row {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 10px;
}

.withdraw-all-btn {
  height: 48px;
  border: 1px solid #dbe8f5;
  border-radius: 10px;
  color: #287fc2;
  background: #f8fbff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.withdraw-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.withdraw-actions.single-action {
  grid-template-columns: 1fr;
}

.withdraw-actions button {
  min-height: 42px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.withdraw-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #2b83bd, #1da6f8);
}

.withdraw-secondary {
  border: 1px solid #dbe8f5;
  color: #287fc2;
  background: #fff;
}

@media (max-width: 720px) {
  .center-profile {
    align-items: flex-start;
    flex-direction: column;
  }

  .center-expire {
    width: 100%;
    margin-left: 0;
  }

  .center-grid {
    grid-template-columns: 1fr;
  }

  .center-software {
    grid-template-columns: 1fr;
  }

  .center-download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .record-modal-overlay {
    padding: 14px;
  }

  .record-modal-head,
  .record-modal-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .withdraw-actions {
    grid-template-columns: 1fr;
  }

  .withdraw-input-row {
    grid-template-columns: 1fr;
  }
}
