/* Rules page: the launcher terms, copied word for word by tools/terms-sync.mjs.
   The class names (meta, clause, num) come from the launcher's terms.html. */
.reference-content .terms-doc .meta { margin:0 0 8px; color:#7d9fb6; font-size:13px; letter-spacing:.5px; }
.reference-content .terms-doc > p:not(.meta) { margin:0 0 10px; color:#d3e6ed; font-size:15px; line-height:1.9; }
.reference-content .terms-part .ac-tier-head { margin-bottom:10px; }
.reference-content .clause { display:grid; grid-template-columns:39px minmax(0,1fr); padding:12px 0; border-bottom:1px solid var(--line); color:#abc3d4; font-size:15px; line-height:1.9; }
.reference-content .clause:last-child,.reference-content .clause:has(+table) { border-bottom:0; }
.reference-content .clause .num { color:#9ad7e8; font-weight:600; font-variant-numeric:tabular-nums; }
.reference-content .clause ul { margin:6px 0 0; padding-left:1.2em; }
.reference-content .clause li { margin:4px 0; }
/* The retention table lines up with the clause text above it (the number column is 39px). */
.reference-content .terms-part table { width:auto; min-width:0; margin:2px 0 12px 39px; font-size:14px; }
.reference-content .terms-part th,.reference-content .terms-part td { padding:10px 18px; }
.reference-content .terms-part th { background:#142738; color:#9fc6d8; font-size:13px; font-weight:500; }
@media(max-width:640px) {
 body.handbook-page .reference-content .terms-doc { scroll-margin-top:var(--jump); }
 body.handbook-page .reference-content .clause { scroll-margin-top:calc(var(--jump) - 12px); }
 .reference-content .clause { grid-template-columns:33px minmax(0,1fr); font-size:14px; }
 .reference-content .terms-part table { width:100%; margin-left:0; }
 /* Day counts and 刪除所有資料 stay on one line; only the first column wraps. */
 .reference-content .terms-part table tr>:not(:first-child) { white-space:nowrap; }
}
