* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  background: #f5f7fa;
  color: #303133;
  line-height: 1.7;
}

.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

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

.title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: #111827;
}

.subtitle {
  margin: 12px 0 0;
  font-size: 14px;
  text-align: center;
  color: #909399;
}

.info-box {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.info-row {
  margin: 6px 0;
  font-size: 15px;
  word-break: break-all;
}

.section {
  margin-top: 24px;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #111827;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 8px;
}

.section h3 {
  margin: 16px 0 8px;
  font-size: 16px;
  color: #374151;
  font-weight: 600;
}

.section p {
  margin: 0 0 10px;
  font-size: 15px;
  color: #374151;
}

.section ul,
.section ol {
  margin: 0 0 10px 22px;
  padding: 0;
  color: #374151;
}

.section li {
  margin: 0 0 8px;
  font-size: 15px;
}

.section strong {
  color: #111827;
}

.tips {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
}

.tips--privacy {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.tips--terms {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

.status {
  margin-top: 24px;
  text-align: center;
  color: #909399;
  font-size: 14px;
}

.hidden {
  display: none;
}

/* 联系方式框 */
.contact-box {
  margin: 12px 0;
  padding: 16px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.contact-box p {
  margin: 6px 0;
  font-size: 15px;
}

/* 表格通用样式 */
.info-table,
.permission-table,
.sdk-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 14px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.info-table thead,
.permission-table thead,
.sdk-table thead {
  background: #f1f5f9;
}

.info-table th,
.permission-table th,
.sdk-table th {
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 2px solid #e5e7eb;
  font-size: 14px;
}

.info-table td,
.permission-table td,
.sdk-table td {
  padding: 10px;
  border-bottom: 1px solid #f3f4f6;
  color: #4b5563;
  vertical-align: top;
  font-size: 14px;
}

.info-table tbody tr:last-child td,
.permission-table tbody tr:last-child td,
.sdk-table tbody tr:last-child td {
  border-bottom: none;
}

.info-table tbody tr:hover,
.permission-table tbody tr:hover,
.sdk-table tbody tr:hover {
  background: #f9fafb;
}

.sdk-table a {
  color: #2563eb;
  text-decoration: none;
}

.sdk-table a:hover {
  text-decoration: underline;
}

/* 表格响应式 */
@media (max-width: 768px) {
  .info-table,
  .permission-table,
  .sdk-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 16px 12px 28px;
  }

  .card {
    padding: 20px 14px;
    border-radius: 12px;
  }

  .title {
    font-size: 24px;
  }

  .section h2 {
    font-size: 17px;
  }

  .section h3 {
    font-size: 15px;
  }

  .section p,
  .info-row {
    font-size: 14px;
  }

  .info-table,
  .permission-table,
  .sdk-table {
    font-size: 12px;
  }

  .info-table th,
  .permission-table th,
  .sdk-table th,
  .info-table td,
  .permission-table td,
  .sdk-table td {
    padding: 8px 6px;
  }

  .contact-box p {
    font-size: 14px;
  }
}
