* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f6f7f9;
  color: #1f2933;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
}

body {
  margin: 0;
  min-height: 100%;
}

.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 18px 44px;
}

.title {
  margin: 0 0 18px;
  color: #111827;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
}

.content {
  min-height: 260px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  overflow-wrap: break-word;
  word-break: break-word;
}

.content.loading,
.content.empty,
.content.error {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 15px;
}

.content.error {
  color: #b42318;
}

.content img,
.content video,
.content iframe,
.content table {
  max-width: 100%;
}

.content img,
.content video {
  height: auto;
}

.content table {
  border-collapse: collapse;
}

.content th,
.content td {
  padding: 8px;
  border: 1px solid #d1d5db;
}

.content p:first-child,
.content h1:first-child,
.content h2:first-child,
.content h3:first-child {
  margin-top: 0;
}

.content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .page {
    padding: 18px 12px 32px;
  }

  .title {
    font-size: 20px;
  }

  .content {
    padding: 18px 14px;
    border-radius: 6px;
  }
}
