/* ─── 协议页面通用样式（privacy + third） ─── */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-break: break-all;
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  outline: none;
  font-family: system-ui, -apple-system;
  background-color: #fff;
}

h1 {
  font-size: 18px;
  font-weight: 500;
  color: rgba(0, 0, 0, 1);
  text-align: center;
  padding: 20px 0 12px 0;
  line-height: 25px;
}

.privacy-version {
  text-align: left;
  padding: 0 0 16px 0;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.4);
  line-height: 20px;
}

.privacy-version p {
  margin: 0 0 8px 0;
  padding: 0;
  text-align: left;
  color: rgba(0, 0, 0, 0.4);
  font-size: 13px;
  line-height: 20px;
}

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

.privacy-content {
  padding: 0 0 24px 0;
}

.privacy-content p {
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  line-height: 23px;
  text-align: justify;
  margin-bottom: 12px;
}

/* third 类型段落间距稍大 */
.type-third .privacy-content p {
  margin-bottom: 16px;
}

.privacy-content h2 {
  font-size: 15px;
  font-weight: 600;
  color: rgba(0, 0, 0, 1);
  line-height: 22px;
  margin: 20px 0 12px 0;
}

.privacy-content h3 {
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 0, 0, 1);
  line-height: 20px;
  margin: 16px 0 10px 0;
}

.privacy-content a {
  color: var(--colorPrimaryText, #0066ff);
  text-decoration: none;
}

.privacy-content strong {
  color: rgba(0, 0, 0, 1);
  font-weight: 500;
}

.privacy-content ul,
.privacy-content ol {
  padding-left: 20px;
  margin: 8px 0;
}

.privacy-content li {
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  line-height: 23px;
  margin-bottom: 4px;
}

.privacy-content blockquote {
  border-left: 3px solid #ddd;
  padding-left: 12px;
  margin: 12px 0;
  color: rgba(0, 0, 0, 0.6);
}

.privacy-content code {
  background: #f5f5f5;
  padding: 2px 4px;
  border-radius: 2px;
  font-size: 13px;
}

.privacy-content pre {
  background: #f5f5f5;
  padding: 12px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 12px 0;
}

.privacy-content pre code {
  background: none;
  padding: 0;
}

.privacy-content hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 16px 0;
}

.privacy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}

.privacy-content th,
.privacy-content td {
  border: 1px solid #eee;
  padding: 8px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
}

.privacy-content th {
  background: #f9f9f9;
  font-weight: 500;
  color: rgba(0, 0, 0, 1);
}

@media print {
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

@media screen and (min-width: 0px) and (max-width: 599px) {
  .container {
    padding: 0 24px 48px;
  }
}

@media screen and (min-width: 600px) and (max-width: 839px) {
  .container {
    padding: 0 calc((100% - 88px) / 8 + 24px) 48px;
  }
}

@media screen and (min-width: 840px) and (max-width: 1920px) {
  .container {
    padding: 0 calc((100% - 120px) / 6 + 32px) 48px;
  }
}