/* 法律页样式（privacy.html / agreement.html 共用）*/
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #0B0D1A;
  color: #E3E5EE;
  line-height: 1.75;
}

.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: rgba(11, 13, 26, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .back {
  color: #9DA3B3;
  text-decoration: none;
  font-size: 15px;
}
.topbar .back:hover { color: #7B6EF6; }
.topbar .title {
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  margin-left: auto;
  margin-right: auto;
  padding-right: 84px;  /* 视觉居中补偿 back 按钮 */
}

article {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 24px 40px;
}

article .loading {
  text-align: center;
  color: #5C6278;
  padding: 80px 0;
}

article h1 {
  font-size: 26px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
article h2 {
  font-size: 20px;
  font-weight: 600;
  color: #B5AAFF;
  margin: 38px 0 14px;
}
article h3 {
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 26px 0 10px;
}
article p, article li {
  font-size: 15px;
  color: #C5C8D2;
}
article strong { color: #FFFFFF; }
article em { color: #B5AAFF; font-style: normal; }
article a { color: #7B6EF6; text-decoration: none; }
article a:hover { text-decoration: underline; }
article code {
  background: rgba(123, 110, 246, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
  color: #B5AAFF;
  font-family: "SF Mono", Consolas, monospace;
  font-size: 13.5px;
}
article hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 32px 0;
}
article blockquote {
  border-left: 3px solid #7B6EF6;
  padding: 4px 16px;
  margin: 18px 0;
  background: rgba(123, 110, 246, 0.06);
  color: #9DA3B3;
}
article blockquote p { margin: 8px 0; }
article ul, article ol {
  padding-left: 26px;
  margin: 12px 0 18px;
}
article li { margin: 6px 0; }

article table {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  font-size: 14px;
  background: rgba(18, 21, 40, 0.6);
  border-radius: 8px;
  overflow: hidden;
}
article th, article td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: top;
}
article th {
  background: rgba(123, 110, 246, 0.12);
  color: #B5AAFF;
  font-weight: 600;
}
article tr:last-child td { border-bottom: none; }

.legal-footer {
  text-align: center;
  padding: 28px 24px 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 40px;
  color: #5C6278;
  font-size: 13px;
}
.legal-footer a {
  color: #9DA3B3;
  text-decoration: none;
  margin: 0 6px;
}
.legal-footer a:hover { color: #7B6EF6; }
.legal-footer .beian {
  margin-top: 12px;
  font-size: 12px;
}
.legal-footer .beian a { color: #5C6278; }

@media (max-width: 480px) {
  article { padding: 24px 18px 30px; }
  article h1 { font-size: 22px; }
  article h2 { font-size: 17px; }
  .topbar .title { padding-right: 60px; font-size: 15px; }
}
