* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.main {
  padding: 20px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content {
  padding: 20px;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.blue-card {
  background-color: #1890ff;
  border-radius: 12px;
  padding: 30px;
}

.blue-card .title {
  color: #fff;
}

.blue-card .tip-text {
  color: #fff;
}

.blue-card .qrcode-container {
  margin: 20px auto;
}

.qrcode-wrapper {
  position: relative;
  display: inline-block;
  padding: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.35), rgba(255,255,255,0.15));
  border-radius: 20px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 0 rgba(0, 0, 0, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.qrcode-wrapper::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
  border-radius: 22px;
  z-index: -1;
  opacity: 0.5;
}

.qrcode-wrapper::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  pointer-events: none;
}

.title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
}

.blue-card .title {
  color: #fff;
}

.tip-text {
  text-align: center;
  font-size: 15px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.8;
  font-weight: 500;
}

.blue-card .tip-text {
  color: #fff;
}

.qrcode-container {
  width: 260px;
  height: 260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qrcode-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.assistant-section {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  margin-top: 20px;
  padding: 20px;
}

.blue-card .assistant-title {
  color: #fff;
}

.blue-card .assistant-desc {
  color: #fff;
}

.blue-card .assistant-desc strong {
  color: #fff;
}

.blue-card .info-item {
  color: #fff;
}

.blue-card .verify-icon {
  background-color: #fff;
}

.blue-card .verify-icon::after {
  color: #1890ff;
}

.assistant-title {
  font-size: 15px;
  font-weight: 600;
  color: #1890ff;
  margin-bottom: 15px;
  text-align: center;
}

.assistant-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: center;
}

.assistant-desc strong {
  color: #1890ff;
  font-weight: 600;
}

.info-list {
  display: flex;
  gap: 15px;
  padding: 15px;
  flex-wrap: wrap;
}

.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #e8e8e8;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-content {
  flex: 1;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #fff;
}

.certify-item {
  gap: 0;
}

.info-text {
  flex: 0 1 auto;
}

.verify-icon {
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.verify-icon::after {
  content: '✓';
  color: #1890ff;
  font-size: 12px;
  font-weight: bold;
}

.certify-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.register-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
}

.register-link {
  color: #1890ff;
  text-decoration: none;
}

.footer {
  padding: 20px 10px;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.footer-nav-item {
  font-size: 13px;
  color: #999;
  text-decoration: none;
}

.copyright {
  font-size: 12px;
  color: #999;
  text-align: center;
}

/* ==================== 手机端适配 ==================== */
@media screen and (max-width: 768px) {
  .main {
    padding: 15px !important;
  }

  .content {
    padding: 15px !important;
    max-width: 100% !important;
  }

  .blue-card {
    padding: 20px !important;
  }

  .title {
    font-size: 20px !important;
    margin-bottom: 15px !important;
  }

  .qrcode-container {
    width: 240px !important;
    height: 240px !important;
    max-width: 100% !important;
  }

  .qrcode-wrapper {
    padding: 10px !important;
    border-radius: 18px !important;
  }

  .tip-text {
    font-size: 14px !important;
    margin-bottom: 15px !important;
    padding: 0 10px !important;
  }

  .assistant-section {
    margin-top: 20px !important;
    padding: 18px !important;
  }

  .assistant-title {
    font-size: 14px !important;
    margin-bottom: 12px !important;
  }

  .assistant-desc {
    font-size: 13px !important;
    margin-bottom: 12px !important;
  }

  .info-list {
    gap: 12px !important;
    padding: 12px !important;
  }

  .avatar {
    width: 120px !important;
    height: 120px !important;
  }

  .info-items {
    gap: 10px !important;
  }

  .info-item {
    font-size: 13px !important;
    gap: 8px !important;
  }

  .verify-icon {
    width: 18px !important;
    height: 18px !important;
  }

  .verify-icon::after {
    font-size: 11px !important;
  }

  .register-bar {
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 15px !important;
    font-size: 13px !important;
  }

  .footer-nav-item {
    font-size: 12px !important;
  }

  .copyright {
    font-size: 11px !important;
  }
}

@media screen and (max-width: 480px) {
  .main {
    padding: 12px !important;
  }

  .content {
    padding: 12px !important;
  }

  .blue-card {
    padding: 18px !important;
  }

  .title {
    font-size: 18px !important;
    margin-bottom: 12px !important;
  }

  .qrcode-container {
    width: 200px !important;
    height: 200px !important;
    max-width: 90vw !important;
  }

  .qrcode-wrapper {
    padding: 8px !important;
    border-radius: 16px !important;
  }

  .tip-text {
    font-size: 13px !important;
    margin-bottom: 12px !important;
  }

  .assistant-section {
    margin-top: 15px !important;
    padding: 12px !important;
  }

  .assistant-title {
    font-size: 13px !important;
  }

  .assistant-desc {
    font-size: 12px !important;
  }

  .info-list {
    gap: 10px !important;
    padding: 10px !important;
  }

  .avatar {
    width: 100px !important;
    height: 100px !important;
  }

  .info-item {
    font-size: 12px !important;
  }

  .verify-icon {
    width: 16px !important;
    height: 16px !important;
  }

  .verify-icon::after {
    font-size: 10px !important;
  }
}

@media screen and (max-width: 375px) {
  .blue-card {
    padding: 15px !important;
  }

  .qrcode-container {
    width: 180px !important;
    height: 180px !important;
    max-width: 85vw !important;
  }

  .qrcode-wrapper {
    padding: 7px !important;
    border-radius: 14px !important;
  }

  .title {
    font-size: 16px !important;
  }

  .assistant-section {
    margin-top: 12px !important;
    padding: 10px !important;
  }

  .avatar {
    width: 80px !important;
    height: 80px !important;
  }

  .info-item {
    font-size: 10px !important;
  }

  .verify-icon {
    width: 12px !important;
    height: 12px !important;
  }

  .verify-icon::after {
    font-size: 8px !important;
  }

  .verify-icon {
    width: 14px !important;
    height: 14px !important;
  }

  .verify-icon::after {
    font-size: 9px !important;
  }

  .tip-text {
    font-size: 12px !important;
  }
}

@media screen and (max-width: 320px) {
  .blue-card {
    padding: 12px !important;
  }

  .qrcode-container {
    width: 160px !important;
    height: 160px !important;
    max-width: 80vw !important;
  }

  .qrcode-wrapper {
    padding: 6px !important;
    border-radius: 12px !important;
  }

  .title {
    font-size: 15px !important;
  }

  .content {
    padding: 10px !important;
  }

  .assistant-section {
    margin-top: 10px !important;
    padding: 8px !important;
  }

  .info-list {
    gap: 8px !important;
    padding: 8px !important;
  }

  .avatar {
    width: 80px !important;
    height: 80px !important;
  }

  .info-item {
    font-size: 10px !important;
  }

  .verify-icon {
    width: 12px !important;
    height: 12px !important;
  }

  .verify-icon::after {
    font-size: 8px !important;
  }
}
