* { box-sizing: border-box; }
:root {
  color-scheme: light;
  /* 微信绿主题 + Element Plus 主色（覆盖 vendor 默认蓝） */
  --wx-green: #07c160;
  --wx-green-dark: #059c50;
  --wx-green-light: #3bd182;
  --el-color-primary: #07c160;
  --el-color-primary-rgb: 7, 193, 96;
  --el-color-primary-light-3: #39cf84;
  --el-color-primary-light-5: #5bd897;
  --el-color-primary-light-7: #7ee0aa;
  --el-color-primary-light-8: #9ee8bd;
  --el-color-primary-light-9: #d1f5e4;
  --el-color-primary-dark-2: #059c50;
}
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(900px 560px at 15% 10%, rgba(7, 193, 96, 0.16), transparent 60%),
    radial-gradient(900px 560px at 85% 18%, rgba(9, 187, 120, 0.12), transparent 60%),
    radial-gradient(760px 520px at 55% 92%, rgba(52, 199, 140, 0.10), transparent 58%),
    linear-gradient(180deg, #f5fbf7, #eef7f1);
  color: #0b1220;
}

/* iOS Safari: 输入字体小于 16px 会触发聚焦自动放大 */
@media (max-width: 768px) {
  input,
  textarea,
  select,
  .el-input__inner,
  .el-textarea__inner {
    font-size: 16px !important;
  }
}
.page {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.shell { width: 100%; max-width: 1040px; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  user-select: none;
}
.topbar-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .3px;
  color: #0b1220;
}
.topbar-badge {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255,255,255,.70);
  color: rgba(15, 23, 42, 0.72);
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}

.card {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.92);
  box-shadow: 0 28px 100px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(10px);
}
.grid { display: grid; grid-template-columns: 1fr; }
.hero {
  display: none;
  padding: 34px 30px;
  background:
    radial-gradient(900px 560px at 15% 10%, rgba(7, 193, 96, 0.18), transparent 60%),
    radial-gradient(900px 560px at 85% 18%, rgba(9, 187, 120, 0.12), transparent 60%),
    linear-gradient(135deg, rgba(7, 193, 96, 0.04), rgba(15,23,42,.01));
  border-right: 1px solid rgba(15,23,42,.06);
}
.hero-kicker {
  font-size: 12px;
  letter-spacing: .18em;
  color: rgba(15,23,42,.60);
  font-weight: 800;
}
.hero-title {
  margin-top: 10px;
  font-size: 30px;
  font-weight: 950;
  line-height: 1.16;
  letter-spacing: .2px;
  color: #0b1220;
}
.hero-desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(15,23,42,.68);
  max-width: 42ch;
}
.hero-pills {
  margin-top: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-features {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 52ch;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.07);
  background: rgba(255,255,255,.58);
  box-shadow: 0 18px 50px rgba(15,23,42,.06);
}
.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(7, 193, 96, 0.20), rgba(9, 187, 120, 0.12));
  border: 1px solid rgba(7, 193, 96, 0.22);
  box-shadow: 0 14px 34px rgba(7, 193, 96, 0.12);
}
.feature-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: rgba(5, 120, 62, 0.88);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-title {
  font-size: 13px;
  font-weight: 900;
  color: rgba(15,23,42,.88);
  letter-spacing: .2px;
  line-height: 1.25;
}
.feature-desc {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(15,23,42,.62);
}
.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  max-width: 52ch;
}
.hero-actions .hint {
  font-size: 12px;
  color: rgba(15,23,42,.62);
}
.btn-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -3px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .92;
}
.pill {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.65);
  color: rgba(15,23,42,.72);
}

.pane { min-width: 0; padding: 18px 18px 20px; }
.pane-head {
  display: block;
  text-align: center;
  position: relative;
  margin-bottom: 14px;
}
.pane-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-weight: 900;
  letter-spacing: .2px;
}
.pane-brand {
  min-width: 0;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wx-green-light), var(--wx-green));
  box-shadow: 0 10px 22px rgba(7, 193, 96, 0.28);
  flex: 0 0 auto;
}
.pane-sub {
  font-size: 12px;
  color: rgba(15,23,42,.62);
  margin-top: 8px;
  line-height: 1.55;
  text-align: center;
}
.pane-version {
  position: absolute;
  top: 0;
  right: 0;
}
.pane .topbar-title {
  font-size: 28px;
  letter-spacing: .4px;
}
.pane-head::after {
  content: "";
  display: block;
  width: 78px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(7,193,96,.2), rgba(7,193,96,.62), rgba(7,193,96,.2));
}

.tabs .el-tabs__header { margin: 0 0 8px; }
.tabs .el-tabs__nav-wrap::after { height: 1px; }
.tabs .el-form-item { margin-bottom: 14px; }
.w-full { width: 100%; }
.mobile-only { display: inline-flex; }

.lookup-result {
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(248,250,252,.9));
  padding: 14px 14px;
  font-size: 12px;
  color: rgba(15,23,42,.82);
  line-height: 1.65;
  box-shadow: 0 14px 40px rgba(15,23,42,.06);
}
.lookup-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}
@media (max-width: 420px) {
  .lookup-stats { grid-template-columns: 1fr; }
}
.lookup-stat-card {
  border-radius: 12px;
  padding: 12px 12px 10px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(15,23,42,.07);
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.lookup-stat-label {
  font-size: 11px;
  font-weight: 900;
  color: rgba(15,23,42,.52);
  letter-spacing: .08em;
}
.lookup-stat-value {
  font-size: 26px;
  font-weight: 950;
  color: #0b1220;
  line-height: 1;
  letter-spacing: .02em;
}
.lookup-stat-hint {
  font-size: 11px;
  line-height: 1.45;
  color: rgba(15,23,42,.48);
  margin-top: auto;
}

@media (max-width: 480px) {
  .page { padding: 16px; }
  .pane { padding: 16px; }
}
@media (min-width: 940px) {
  .grid { grid-template-columns: 1.04fr 1fr; }
  .hero {
    display: block;
    padding: 30px 24px;
  }
  .hero-title { font-size: 28px; }
  .hero-features { gap: 8px; }
  .feature { padding: 9px 10px; }
  .pane {
    padding: 22px 22px 24px;
  }
  .pane-head { margin: 8px 0 18px; }
  .pane .topbar-title { font-size: 31px; }
  .pane-sub { font-size: 13px; }
  .pane .tabs {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }
  .mobile-only { display: none; }
}
@media (max-width: 939px) {
  .pane-version {
    position: static;
    margin-top: 10px;
  }
}

/* 查粉弹窗：手机宽度适配，避免超出屏幕 */
.login-lookup-dialog.el-dialog {
  width: min(560px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px);
  margin: 8vh auto !important;
  box-sizing: border-box;
}

.login-lookup-dialog .el-dialog__body {
  box-sizing: border-box;
  overflow-x: hidden;
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

.login-lookup-dialog .el-dialog__header {
  box-sizing: border-box;
  padding-left: 16px;
  padding-right: 16px;
}

.login-lookup-dialog .el-form,
.login-lookup-dialog .lookup-result,
.login-lookup-dialog .lookup-stats {
  max-width: 100%;
  min-width: 0;
}

.login-lookup-dialog .lookup-stat-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .login-lookup-dialog.el-dialog {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px);
    margin: 6vh auto !important;
  }

  .login-lookup-dialog .lookup-stats {
    grid-template-columns: 1fr;
  }

  .login-lookup-dialog .lookup-stat-value {
    font-size: 22px;
  }

  .login-lookup-dialog .lookup-stat-card {
    min-height: 76px;
  }
}
