/* =================================================================
 * 15. Entry list (index, archive, search)
 * ================================================================= */
.proof-entry-list .wp-block-post-template {
    list-style: none;
    padding: 0;
    margin: 0;
}
.proof-entry-list-item {
    padding-block: var(--wp--preset--spacing--32);
    border-bottom: 1px solid var(--wp--preset--color--line);
}
.proof-entry-list-item:last-child { border-bottom: 0; }
.proof-entry-list-item .wp-block-post-date {
    margin-bottom: 0.4rem;
}
.proof-entry-list-item .wp-block-post-title {
    font-size: var(--wp--preset--font-size--2-xl);
    line-height: var(--wp--custom--line-height--heading);
    font-weight: 400;
    margin: 0.2rem 0 0.6rem;
}
.proof-entry-list-item .wp-block-post-title a {
    color: var(--wp--preset--color--text-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 200ms ease, color 200ms ease;
}
.proof-entry-list-item .wp-block-post-title a:hover {
    color: var(--wp--preset--color--accent);
    border-bottom-color: var(--wp--preset--color--accent);
}
.proof-entry-list-item .wp-block-post-excerpt {
    color: var(--wp--preset--color--text-secondary);
    font-size: var(--wp--preset--font-size--sm);
    line-height: 1.7;
}
.proof-entry-list-item .wp-block-post-excerpt p { margin: 0; }

.proof-entry-divider { display: none; } /* legacy hook, replaced by item border */

/* End-of-content marker — base form (used by index/archive lists). */
.proof-end-marker {
    color: var(--wp--preset--color--mark);
    font-size: var(--wp--preset--font-size--lg);
    text-align: center;
    margin: var(--wp--preset--spacing--64) 0;
    letter-spacing: 0.4em;
    user-select: none;
}

/* The ARTICLE-end variant escalates from a quiet centered glyph to a
   full-width tailpiece: two hairlines flanking the ⊕ in accent ink,
   sized up to feel substantial. This is the MAJOR back-matter
   boundary — it separates article-body-plus-apparatus (body +
   footnotes) from post-metadata (tags) and discussion (comments).
   Without this weight the ⊕ visually loses to the tags strip below
   and the three-part hierarchy collapses. */
.proof-end-marker--article {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4em;
    margin-block: var(--wp--preset--spacing--64) var(--wp--preset--spacing--40);
    color: var(--wp--preset--color--text-muted);
    font-size: var(--wp--preset--font-size--lg);
    letter-spacing: 0;       /* single glyph, no tracking needed */
    line-height: 1;
}
/* Short flanking hairlines, NOT full-width — the ⊕ should read as a
   tailpiece ornament, not a section divider. Two pencil-strokes about
   3em long on each side give just enough framing to say "this is a
   boundary marker" without competing with the strong "§ 评论" rule
   below. */
.proof-end-marker--article::before,
.proof-end-marker--article::after {
    content: "";
    flex: 0 0 3em;
    height: 1px;
    background: var(--wp--preset--color--line);
}

/* =================================================================
 * 16. 404
 * ================================================================= */
.proof-404 {
    text-align: center;
    padding-block: var(--wp--preset--spacing--96);
}
.proof-404-code {
    font-family: var(--wp--preset--font-family--heading);
    font-weight: 400;
    letter-spacing: var(--ls-tight);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.proof-404-code::before { display: none; }

/* =================================================================
 * 17. Footer
 * ================================================================= */
.proof-site-footer {
    padding-block: var(--wp--preset--spacing--16);
    padding-inline: var(--anchor-inset);
    border-top: 1px solid var(--wp--preset--color--line);
    color: var(--wp--preset--color--text-muted);
    font-size: var(--wp--preset--font-size--xs);
    letter-spacing: var(--ls-wide);
}
.proof-footer-line {
    gap: 0.4rem;
    align-items: center;
}
.proof-footer-line > * { margin: 0; }
.proof-footer-mark {
    font-size: var(--wp--preset--font-size--xs);
    color: var(--wp--preset--color--text-muted);
    margin: 0;
}
.proof-footer-name {
    font-style: italic;
    color: var(--wp--preset--color--text-muted);
    font-size: var(--wp--preset--font-size--xs);
}
.proof-footer-name a {
    color: inherit;
    text-decoration: none;
}
.proof-footer-year {
    font-family: var(--font-mono);
    color: var(--wp--preset--color--text-muted);
    font-size: var(--wp--preset--font-size--xs);
}
.proof-footer-line::after {
    content: "·  ·  ·";
    color: var(--wp--preset--color--mark);
    letter-spacing: 0.5em;
    margin-left: 0.4rem;
}
/* Second footer line: server emits "自 YYYY 年以来 · 截至 YYYY-MM-DD"
 * so the markup is cache-stable; proof.js rewrites the value half to
 * "已连载 X 年 Y 月 Z 日" against the visitor's clock at runtime. */
.proof-footer-since-line {
    margin-top: 0.4rem;
    gap: 0.4em;
}
.proof-since {
    font-family: var(--font-mono);
    font-size: var(--wp--preset--font-size--xxs);
    color: var(--wp--preset--color--text-muted);
    letter-spacing: 0.04em;
    display: inline-flex;
    gap: 0.5em;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: center;
}
.proof-since__head,
.proof-since__value {
    color: inherit;
}
.proof-since__sep {
    color: var(--wp--preset--color--mark);
    opacity: 0.7;
}

