/* 名单保持可读，照片保留远景；朋友圈继承灰绿通讯窗口。 */
.class-roster { border:1px solid #dbe3e7; margin:24px 0; padding:19px; font:12px/1.7 var(--sans); color:#607988; background:#fafbfc; }
.roster-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.roster-heading h3 { margin:0; font-size:14px; font-weight:normal; color:#456c86; }
.roster-heading > span { color:#94a2ac; font-size:10px; }
.class-roster .roster-direction { font-size:11px; color:#9aa7af; margin:8px 0 16px; }
.roster-row + .roster-row { border-top:1px dotted #d9e2e7; padding-top:12px; margin-top:13px; }
.roster-row h4 { font-size:11px; font-weight:normal; color:#95a3ac; margin:0 0 9px; }
.roster-row ol { display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); list-style:none; margin:0; padding:0; gap:5px; }
.roster-row li { text-align:center; min-width:0; }
.roster-row li small { display:block; font:9px Arial,sans-serif; color:#b0bac1; margin-bottom:4px; }
.roster-row li strong { font-weight:normal; white-space:nowrap; font-size:12px; }
.roster-row li em { display:block; font-style:normal; font-size:9px; color:#9b9a8d; }
.batch-list { border:1px solid #d9e4ec; padding:21px; margin:24px 0; }
.batch-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.batch-heading h3 { font:17px/1.7 var(--serif); color:#456c86; }
.batch-heading > span { font-size:11px; color:#8a9eac; white-space:nowrap; }
.batch-list > p { font:12px/1.9 var(--sans); color:#8a9ba7; margin:10px 0; }
.batch-list ul { list-style:none; padding:0; margin:16px 0; }
.batch-list li { display:flex; align-items:center; justify-content:space-between; gap:15px; border-top:1px dotted #d8e3eb; padding:17px 0; font-size:12px; }
.batch-list li > div > a { color:#4a708a; font:14px/1.8 var(--serif); }
.batch-list li small { display:block; color:#93a39e; margin-top:5px; font-size:10px; }
.batch-list li > a { display:inline-flex; align-items:center; white-space:nowrap; font-size:11px; color:#7e98aa; }
.batch-list .icon { width:14px; height:14px; }
.batch-actions { display:flex; justify-content:space-between; align-items:center; gap:15px; border-top:1px solid #e1e8ed; padding-top:18px; }
.batch-actions > span { font-size:11px; line-height:1.8; color:#8e9eaa; }
.batch-actions button:disabled { opacity:.4; cursor:not-allowed; }
.batch-complete { background:#f3f7f4; padding:14px; font-size:12px; color:#7e9685; }
.moment-shortcut { margin-left:9px; }
.moments-window { display:grid; grid-template-columns:60px minmax(0,1fr); max-width:900px; height:calc(100svh - 155px); min-height:530px; margin:auto; border:1px solid #ced4d1; background:#f7f7f7; box-shadow:0 14px 40px #182a2020; }
.moments-content { min-width:0; min-height:0; display:flex; flex-direction:column; }
.moments-header { display:flex; align-items:center; gap:16px; padding:17px 22px; border-bottom:1px solid #e0e4e0; background:#f7f7f7; }
.moments-header h2 { font-size:17px; font-weight:normal; color:#464f48; }
.moments-header > span { margin-left:auto; font-size:11px; color:#a4aca6; }
.moments-header > button .icon { transform:rotate(180deg); }
.moments-scroll { flex:1; min-height:0; overflow:auto; background:#fff; }
.moments-cover { position:relative; height:154px; margin-bottom:31px; }
.moments-cover > img { width:100%; height:100%; object-fit:cover; filter:saturate(.5) brightness(.82); }
.moments-cover > div { position:absolute; bottom:-21px; right:32px; display:flex; align-items:center; gap:14px; }
.moments-cover strong { color:#fff; font-size:15px; font-weight:normal; text-shadow:0 1px 4px #1a2927; }
.moments-cover .avatar { width:62px; height:62px; border:3px solid #fff; }
.moments-feed { max-width:680px; margin:auto; padding:0 25px; }
.moment-post { display:flex; align-items:flex-start; gap:13px; padding:24px 0; border-bottom:1px solid #edf0ed; }
.moment-post > .avatar { width:39px; height:39px; flex-shrink:0; }
.moment-post-body { flex:1; min-width:0; }
.moment-post-body > h3 { font-size:14px; font-weight:normal; color:#60778b; margin:0 0 6px; }
.moment-post-body > p { font-size:13px; line-height:1.9; color:#4e5651; }
.moment-post-body > time { display:block; margin-top:12px; color:#a1aaa3; font:10px Arial,var(--sans); }
.moment-photo { display:block; width:100%; max-width:470px; margin-top:12px; position:relative; padding:0; text-align:left; }
.moment-photo img { width:100%; height:auto; display:block; }
.moment-photo span { position:absolute; right:7px; bottom:7px; color:#fff; background:#40594e99; padding:4px 7px; font-size:9px; }
.moment-roster { margin:9px 0 0; }
.moment-roster > summary { color:#728c80; font-size:11px; cursor:pointer; padding:7px 0; }
.moment-roster .class-roster { margin:5px 0; padding:12px; }
.moment-roster .roster-heading { flex-direction:column; align-items:flex-start; gap:3px; }
.moment-roster .roster-row ol { grid-template-columns:repeat(5,minmax(0,1fr)); gap:11px 5px; }
.moment-likes,.moment-comments { background:#f3f5f3; padding:8px 10px; font-size:11px; line-height:1.8; color:#718390; }
.moment-likes { margin-top:11px; }
.moment-likes .moment-like-person { border:0; background:none; padding:0; color:inherit; font:inherit; cursor:pointer; }
.moment-comments { border-top:1px solid #e7ece7; color:#6b746d; }
.moment-comments p { margin:2px 0; }
.moment-comments strong { color:#6b8294; font-weight:normal; }
.moment-notice { margin-top:13px; padding:20px 18px; background:#fbfbf7; border:1px solid #e4e4d9; color:#7c8376; }
.moment-notice > span { font-size:10px; letter-spacing:2px; }
.moment-notice h3 { font:19px/1.7 var(--serif); color:#627260; margin:6px 0 15px; }
.moment-notice dl { display:grid; grid-template-columns:68px 1fr; margin:0; font-size:12px; line-height:1.9; }
.moment-notice dd { margin:0 0 5px; }
.moment-notice > p { font-size:10px; margin-top:12px; }
.moment-file { display:flex; align-items:center; gap:13px; padding:15px; background:#f3f5f2; border:1px solid #e3e9e1; width:100%; margin-top:12px; text-align:left; color:#87967e; }
.moment-file > .icon:first-child { width:27px; height:27px; }
.moment-file > .icon:last-child { width:15px; height:15px; margin-left:auto; }
.moment-file strong { font-size:12px; font-weight:normal; color:#6c7e65; }
.moment-file small { display:block; margin-top:5px; font-size:10px; color:#a0ad98; }
.moments-end { text-align:center; font-size:10px; color:#bbc3bb; padding:25px 0 40px; }
.image-dialog:has(.class-roster) { width:min(1300px,calc(100% - 30px)); }
.image-dialog .class-roster { margin:0 24px 22px; }
.image-dialog:has(.class-roster) .lightbox-image { max-height:none; width:100%; height:auto; object-fit:contain; }
.original-social-note { padding:14px 17px; margin:22px 0; border:1px solid #dce5ec; background:#f7f9fa; font:12px/1.9 var(--sans); color:#8da1ae; }
.chat-record-attachment { display:flex; align-items:center; gap:12px; background:#fff; padding:16px; border:1px solid #e1e7e2; text-align:left; color:#7d947a; width:270px; }
.chat-record-attachment strong { display:block; font-size:12px; color:#5f775f; font-weight:normal; }
.chat-record-attachment small { display:block; font-size:10px; color:#a3afa0; margin-top:5px; }
@media(max-width:850px) { .roster-row ol { grid-template-columns:repeat(5,minmax(0,1fr)); gap:13px 5px; } }
@media(max-width:650px) {
  .class-roster { padding:13px; }
  .roster-heading { flex-direction:column; align-items:flex-start; gap:4px; }
  .roster-row li strong { font-size:12px; }
  .batch-list { padding:15px; }
  .batch-heading { flex-direction:column; align-items:flex-start; gap:4px; }
  .batch-list li { gap:8px; }
  .batch-list li > div > a { font-size:13px; }
  .batch-actions { flex-direction:column; align-items:flex-start; }
  .moments-window { height:calc(100svh - 81px); min-height:430px; grid-template-columns:minmax(0,1fr); }
  .moments-window > .chat-rail { display:none; }
  .moments-header { padding:12px 15px; }
  .moments-feed { padding:0 16px; }
  .moment-post { gap:10px; }
  .moment-post > .avatar { width:33px; height:33px; }
  .moment-post-body > p { font-size:13px; }
  .moment-notice { padding:15px 12px; }
  .moment-notice dl { grid-template-columns:55px 1fr; font-size:11px; }
  .moment-shortcut { margin-left:0; }
  .image-dialog .class-roster { margin:0 10px 15px; }
}
