/* 隐私政策页样式：忠实还原 closet-cn.shipisland.tech/privacy-zh.html 的视觉 */
:root {
  --primary: #1a73e8;
  --text: #333;
  --text-light: #666;
  --bg: #f5f6f7;
  --card: #fff;
  --border: #e5e6eb;
  --highlight-bg: #fff8e6;
  --highlight-border: #f0c36d;
}

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

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

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 中央卡片：与参考网站一致 */
.container {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

.card {
  background: var(--card);
  border-radius: 10px;
  padding: 40px 48px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* 文档标题 */
h1.doc-title {
  font-size: 26px;
  text-align: center;
  margin-bottom: 8px;
  color: #111;
}

.doc-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 32px;
}

/* 日期行：浅蓝框 */
.dates {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin: 20px 0 32px;
  padding: 14px 20px;
  background: #f0f6ff;
  border: 1px solid #d3e3fd;
  border-radius: 8px;
  font-size: 15px;
}

.dates strong {
  color: var(--primary);
}

/* 温馨提示：米黄高亮框 */
.notice {
  background: var(--highlight-bg);
  border: 1px solid var(--highlight-border);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 36px;
}

.notice h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #8a5a00;
}

.notice p {
  margin-bottom: 10px;
}

.notice ol {
  padding-left: 22px;
}

.notice ol li {
  margin-bottom: 6px;
}

/* 目录 */
.toc {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 36px;
  background: #fafbfc;
}

.toc-title {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 16px;
}

.toc ol {
  padding-left: 22px;
}

.toc li {
  margin-bottom: 4px;
}

.toc a {
  color: var(--primary);
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

/* 章节标题：底部 2px 主色线 */
h2.section {
  font-size: 20px;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  color: #111;
}

h3.subsection {
  font-size: 17px;
  margin: 24px 0 10px;
  color: #222;
}

p {
  margin-bottom: 12px;
}

ol,
ul {
  padding-left: 24px;
  margin-bottom: 12px;
}

li {
  margin-bottom: 6px;
}

strong {
  color: #111;
}

/* 联系信息框 */
.contact-box {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  background: #fafbfc;
  margin-bottom: 12px;
}

.contact-box p {
  margin-bottom: 4px;
}

/* 表格 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 15px;
  background: #fff;
}

th,
td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f4f6f8;
  font-weight: 600;
  color: #111;
}

td a {
  color: var(--primary);
  word-break: break-all;
}

@media (max-width: 640px) {
  .card {
    padding: 24px 20px;
  }
  h1.doc-title {
    font-size: 22px;
  }
  h2.section {
    font-size: 18px;
  }
  .dates {
    gap: 8px;
    flex-direction: column;
    align-items: center;
  }
}
