:root{--bg:#ededed;--panel:#fff;--text:#1f2329;--muted:#8a8f99;--green:#07c160;--line:#dde1e6}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.55 system-ui,-apple-system,"Microsoft YaHei",sans-serif}.page{width:min(900px,100%);margin:auto;min-height:100vh;background:#f4f4f4}.mast{position:sticky;top:0;z-index:2;padding:18px 24px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.95)}h1{margin:0;font-size:20px}.meta{margin-top:5px;color:var(--muted);font-size:12px}main{padding:20px 24px 50px}.message{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;margin:0 0 22px}.avatar{display:grid;width:40px;height:40px;place-items:center;overflow:hidden;border-radius:5px;background:#627d68;color:#fff;font-weight:700}.avatar img{width:100%;height:100%;object-fit:cover}.message-body{min-width:0}header{display:flex;align-items:center;gap:12px;margin-bottom:6px;color:#576b95}header time{color:var(--muted);font-size:11px;font-weight:400}.content{display:flex;align-items:flex-start;flex-direction:column;gap:7px}.bubble,.voice,.file,.location,.link,.payment{max-width:min(540px,100%);border-radius:6px;background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.bubble{padding:9px 12px;white-space:pre-wrap;overflow-wrap:anywhere}.media{display:block;max-width:min(360px,100%);max-height:420px;border-radius:6px;object-fit:contain;background:#ddd}.image img,.video-poster img{display:block;max-width:100%;max-height:420px;border-radius:6px}.video-poster{position:relative}.video-poster span{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:38px}.voice{display:flex;align-items:center;gap:10px;min-width:150px;padding:10px 12px}.voice audio{width:230px;max-width:55vw;height:30px}.file,.payment{display:flex;align-items:center;gap:12px;width:300px;padding:13px}.file small,.link small,.location small{display:block;color:var(--muted)}.file-icon{display:grid;width:46px;height:46px;place-items:center;background:#f2f3f5;color:#576b95;font-size:11px;font-weight:700}.location,.link{display:flex;width:340px;overflow:hidden;color:inherit;text-decoration:none}.location{flex-direction:column;padding:12px}.location span{color:#555}.link img{width:112px;min-height:90px;object-fit:cover}.link>div{min-width:0;padding:11px}.link p,.payment p{margin:4px 0 0;color:#666}.payment{background:#fa9d3b;color:#fff}.payment>span{display:grid;width:44px;height:44px;place-items:center;border:2px solid rgba(255,255,255,.8);border-radius:50%;font-size:20px}.payment p{color:rgba(255,255,255,.85)}.tags{display:flex;gap:5px}.tag{padding:2px 7px;border-radius:4px;background:#e9f8ef;color:#168447;font-size:11px}pre{max-width:100%;overflow:auto;padding:12px;background:#fff;border-radius:6px}@media(max-width:600px){.mast,main{padding-left:12px;padding-right:12px}.message{grid-template-columns:36px minmax(0,1fr)}.avatar{width:34px;height:34px}}
