/* 频道手记. Builds on timeline.css (hero, rail, month list); only the message feed is new. */
.s920-channel-synced { margin-left:8px; color:#97a397; }
.s920-channel-head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:2px 0 16px; font-size:11px; letter-spacing:.4px; color:#7d8a7e; }
.s920-channel-head a { font-size:11px; color:#45685a; }
.s920-channel-empty { padding:44px 24px; text-align:center; color:#7d8a7e; background:#fff; border:1px dashed #d6e0d4; border-radius:14px; }
.s920-channel-empty p { margin:0 0 8px; }
.s920-channel-day { position:relative; margin:0 0 30px; }
.s920-channel-day:before { content:''; position:absolute; left:4px; top:36px; bottom:6px; width:1px; background:#dce4da; }
.s920-page .s920-channel-date { display:flex; align-items:baseline; gap:10px; margin:0 0 12px; padding:0; border:0; font-size:11px; font-weight:400; color:#8a968b; letter-spacing:.6px; }
.s920-channel-date b { font:600 18px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:0; color:#2d5a49; }
.s920-tg-post { position:relative; margin:0 0 14px 26px; padding:20px 24px 12px; background:#fff; border:1px solid #e3e9e1; border-radius:14px; box-shadow:0 6px 24px #24392b05; scroll-margin-top:24px; transition:border-color .2s,box-shadow .2s; }
.s920-tg-post:before { content:''; position:absolute; left:-27px; top:25px; z-index:1; width:9px; height:9px; border-radius:50%; background:#f3f4f1; border:2px solid #9fbcab; }
.s920-tg-post:target { border-color:#8fc0a8; box-shadow:0 0 0 4px #d7eadf; }
.s920-tg-post:target:before { background:#2d8469; border-color:#2d8469; }
.s920-tg-meta { display:flex; align-items:center; gap:8px; margin-bottom:10px; font-size:11px; color:#8a968b; }
.s920-tg-meta time { font:600 13px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace; color:#3d6655; }
.s920-tg-badge { padding:0 6px; font-size:9px; color:#8a968b; border:1px solid #dfe6dc; border-radius:4px; }
.s920-page .s920-tg-origin { margin-left:auto; font-size:11px; color:#6b8a7a; white-space:nowrap; }
.s920-tg-forward { margin:0 0 8px; font-size:11px; color:#8a968b; }
.s920-page .s920-tg-reply { display:block; margin:0 0 12px; padding:7px 12px; overflow:hidden; font-size:12px; line-height:1.6; color:#5f7468; white-space:nowrap; text-overflow:ellipsis; background:#f4f7f2; border-left:3px solid #9fbcab; border-radius:0 8px 8px 0; }
.s920-tg-reply span { display:block; font-size:10px; font-weight:600; color:#3f7a62; }
.s920-tg-text { font-size:14.5px; line-height:1.95; color:#2c3d36; overflow-wrap:anywhere; }
.s920-tg-text strong { color:#20362f; }
.s920-tg-text a { text-decoration:underline; text-decoration-color:#a9c9b9; text-underline-offset:3px; }
.s920-tg-text blockquote { margin:10px 0; padding:10px 14px; font-size:13.5px; color:#53675c; background:#f5f8f3; border:0; border-left:3px solid #a9c3b2; border-radius:0 8px 8px 0; }
.s920-tg-text blockquote:before,.s920-tg-text blockquote:after { display:none; }
.s920-tg-text code { padding:1px 5px; font:12.5px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; color:#2f5446; background:#f0f3ee; border-radius:4px; }
.s920-tg-text pre { margin:10px 0; padding:12px 14px; white-space:pre-wrap; font:12.5px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace; background:#f4f6f2; border:0; border-radius:8px; }
.s920-tg-text pre code { padding:0; background:none; }
.s920-tg-spoiler { color:transparent; background:#cfd8d1; border-radius:3px; transition:color .2s,background .2s; }
.s920-tg-spoiler:hover,.s920-tg-spoiler:focus-within { color:inherit; background:#eef2ec; }
.s920-tg-media { display:grid; gap:3px; margin:-20px -24px 18px; overflow:hidden; border-radius:13px 13px 0 0; border-bottom:1px solid #e8ece5; }
.s920-tg-media-1 { grid-template-columns:1fr; }
.s920-tg-media-2,.s920-tg-media-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.s920-tg-media-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.s920-page .s920-tg-media a { position:relative; display:block; min-height:110px; background:#eef1ec; }
.s920-tg-media img { display:block; width:100%; height:100%; margin:0; object-fit:contain; background:#f1f4ef; border-radius:0; box-shadow:none; }
.s920-tg-media-1 a { max-height:460px; }
.s920-tg-media-1 img { max-height:460px; object-fit:contain; }
.s920-tg-media-2,.s920-tg-media-3,.s920-tg-media-4 { align-items:start; }
.s920-page .s920-tg-media-2 a,.s920-page .s920-tg-media-3 a,.s920-page .s920-tg-media-4 a { width:100%; min-width:0; min-height:0; aspect-ratio:1; max-height:420px; } /* inline ratio from Telegram wins; screenshots are never cropped */
.s920-page .s920-tg-media .s920-tg-pending { display:flex; aspect-ratio:auto; max-height:none; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:110px; font-size:12px; color:#6c8276; background:#f4f7f2; }
.s920-tg-pending small { font-size:11px; color:#3f7a62; }
.s920-tg-video>span { position:absolute; top:50%; left:50%; display:grid; place-items:center; width:54px; height:54px; margin:-27px 0 0 -27px; font-size:18px; color:#fff; background:#14322ab3; border-radius:50%; }
.s920-tg-video small { position:absolute; right:10px; bottom:10px; padding:2px 8px; font-size:10px; color:#fff; background:#14322ab3; border-radius:10px; }
.s920-page .s920-tg-link { display:flex; gap:14px; align-items:center; margin:14px 0 4px; padding:12px 14px; color:inherit; background:#f8faf6; border:1px solid #e1e8df; border-left:3px solid #5d9a80; border-radius:10px; transition:background .2s; }
.s920-page .s920-tg-link:hover { background:#f1f6ef; }
.s920-tg-link>span { display:grid; flex:1; gap:2px; min-width:0; }
.s920-tg-link small { font-size:10px; font-weight:600; letter-spacing:.3px; color:#3f7a62; }
.s920-tg-link b { font-size:13px; line-height:1.55; color:#24392f; }
.s920-tg-link em { display:-webkit-box; overflow:hidden; font-size:12px; font-style:normal; line-height:1.65; color:#7a877d; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.s920-tg-link img { flex:none; width:72px; height:72px; margin:0; object-fit:cover; border-radius:8px; }
.s920-tg-note { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px 12px; margin:12px 0 0; padding:10px 12px; font-size:12px; color:#7a6a4c; background:#fbf8f0; border:1px solid #ece4d2; border-radius:8px; }
.s920-tg-note ul { flex-basis:100%; margin:4px 0 0 18px; padding:0; }
.s920-tg-note a { white-space:nowrap; }
.s920-tg-foot { display:flex; justify-content:flex-end; align-items:center; gap:10px; margin-top:12px; padding-top:9px; border-top:1px dashed #e7ece4; }
.s920-page .s920-tg-copy { padding:4px 10px; font-size:10px; color:#708674; background:#f6f8f3; border:1px solid #e1e7dc; border-radius:6px; }
.s920-page .s920-tg-permalink { font-size:13px; color:#b0bcb2; }
.s920-page .s920-channel-paging { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:6px; }
.s920-page .s920-channel-paging a { padding:9px 15px; font-size:12px; color:#3c6656; background:#fff; border:1px solid #dbe3d8; border-radius:8px; }
.s920-page .s920-channel-paging a:hover { background:#eef3ec; }
@media(max-width:760px) {
 .s920-channel-synced { display:none; }
 .s920-channel-day:before,.s920-tg-post:before { display:none; }
 .s920-tg-post { margin-left:0; padding:16px 16px 10px; border-radius:12px; }
 .s920-tg-text { font-size:14px; line-height:1.9; }
 .s920-tg-media { margin:-16px -16px 14px; border-radius:11px 11px 0 0; }
 .s920-tg-media-1 a,.s920-tg-media-1 img { max-height:360px; }
 .s920-tg-link img { width:56px; height:56px; }
}
@media print { .s920-tg-foot,.s920-channel-paging { display:none!important; } .s920-tg-post { break-inside:avoid; box-shadow:none; } }
