/* 梦箱 · 柔月星空。无外部字体、无脚本、无统计。 */
:root {
  --ink: #1d1a28;
  --surface: #302b40;
  --line: rgba(191, 184, 207, 0.22);
  --cream: #f7ede3;
  --mist: #c9c2d8;
  --sand: #cbbde8;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(120% 60% at 80% 0%, #3a3157 0%, var(--ink) 60%) fixed, var(--ink);
  color: var(--mist);
  font: 17px/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 20px 48px; }
header.site { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
header.site .moon {
  width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #fff7ea 0%, #efe2cf 55%, #cbbde8 100%);
  box-shadow: 0 0 24px rgba(247, 237, 227, 0.35);
  flex: none;
}
header.site a { color: var(--cream); text-decoration: none; font-size: 20px; font-weight: 600; letter-spacing: 0.04em; }
nav.top { margin-left: auto; display: flex; gap: 16px; font-size: 15px; }
nav.top a { color: var(--sand); font-weight: 400; font-size: 15px; }
h1 { color: var(--cream); font-size: 30px; line-height: 1.3; margin: 0 0 8px; font-weight: 600; }
h2 { color: var(--cream); font-size: 21px; line-height: 1.4; margin: 40px 0 12px; font-weight: 600; }
h3 { color: var(--cream); font-size: 17px; margin: 24px 0 6px; font-weight: 600; }
p, li { margin: 0 0 12px; }
ul, ol { padding-left: 1.3em; margin: 0 0 12px; }
a { color: var(--sand); text-underline-offset: 3px; }
strong { color: var(--cream); font-weight: 600; }
.lede { font-size: 18px; color: var(--mist); }
.meta { font-size: 15px; color: var(--mist); opacity: 0.85; }
.card {
  background: rgba(48, 43, 64, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  margin: 16px 0;
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.table-scroll { overflow-x: auto; margin: 12px 0 16px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; line-height: 1.6; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 10px 10px 0; text-align: left; vertical-align: top; }
th { color: var(--cream); font-weight: 600; white-space: nowrap; }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
details summary { color: var(--cream); cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
details[open] summary { margin-bottom: 6px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 24px;
  background: var(--sand); color: var(--ink); font-weight: 600; text-decoration: none;
}
footer.site { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.8; color: var(--mist); opacity: 0.9; }
footer.site a { color: var(--mist); }
footer.site p { margin: 0; }
@media (max-width: 420px) {
  h1 { font-size: 26px; }
  nav.top { gap: 12px; }
}
@media (max-width: 600px) {
  .table-scroll { overflow: visible; }
  table { min-width: 0; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  td { display: block; border: 0; padding: 2px 0; }
  td::before { content: attr(data-label) "："; color: var(--cream); font-weight: 600; }
  td:first-child { font-size: 17px; color: var(--cream); font-weight: 600; margin-bottom: 4px; }
  td:first-child::before { content: none; }
}
