
/* ═══ 笔记区美化(分隔线/侧栏/条目/分页) ═══ */
.arts .shd { position: relative; }
.arts .shd::after { content: ""; display: block; height: 1px; background: linear-gradient(90deg, var(--accent) 0 48px, var(--border-light) 48px); margin-top: 22px; }
.arts-layout { align-items: start; }
.arts-side { position: sticky; top: 84px; }
.cat-label { font-size: 12px; letter-spacing: 2px; color: var(--ink-4); font-weight: 500; margin-bottom: 12px; padding-left: 14px; }
.cat-list { border-left: 1px solid var(--border-light); }
.cat-item { position: relative; border-radius: 0 8px 8px 0; }
.cat-item::before { content: ""; position: absolute; left: -1px; top: 20%; bottom: 20%; width: 2px; background: transparent; transition: background .2s var(--ease), top .2s, bottom .2s; }
.cat-item:hover::before { background: var(--border); }
.cat-item.active::before { background: var(--accent); top: 12%; bottom: 12%; }
.cat-item.active { background: linear-gradient(90deg, var(--accent-soft) 0%, rgba(253,240,235,0) 90%); }
.cat-item.active .cnt { color: var(--accent); }
.art-item { position: relative; padding: 22px 18px 22px 20px; border-radius: 14px; transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.art-item + .art-item::before { content: ""; position: absolute; top: 0; left: 20px; right: 18px; height: 1px; background: var(--border-light); transition: opacity .2s; pointer-events: none; }
.art-item:hover { transform: translateY(-2px); background: var(--surface); box-shadow: 0 6px 24px rgba(44,42,38,.06); }
.art-item:hover::before, .art-item:hover + .art-item::before { opacity: 0; }
.art-date { width: 74px; text-align: right; padding-top: 2px; }
.art-date-day { font-family: 'Source Serif 4', 'Noto Serif SC', serif; font-size: 30px; font-weight: 700; line-height: 1; transition: color .2s; font-variant-numeric: tabular-nums; }
.art-item:hover .art-date-day { color: var(--accent); }
.art-date-ym { font-size: 11px; letter-spacing: .5px; margin-top: 4px; }
.art-tag { border-radius: 100px; padding: 2.5px 10px; }
.art-title { font-size: 17px; }
.art-title .t { background-image: linear-gradient(var(--accent), var(--accent)); background-repeat: no-repeat; background-size: 0% 2px; background-position: 0 96%; transition: background-size .3s var(--ease); padding-bottom: 2px; }
.art-item:hover .art-title .t { background-size: 100% 2px; }
.art-excerpt { -webkit-line-clamp: 2; }
.arts-pager .pager-btn { border-radius: 100px; }
.arts-pager .pager-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
@media (max-width: 860px) {
    .arts-side { position: static; }
    .cat-list { border-left: none; }
    .cat-item { border-radius: 100px; }
    .cat-item::before { display: none; }
    .art-item { padding: 18px 14px; }
    .art-date-day { font-size: 26px; }
}
