:root{--wx-green: #07c160;--wx-bg: #ededed;--wx-panel: #f7f7f7;--wx-text: #111;--wx-sub: #888;--wx-line: #e5e5e5;--safe-bottom: env(safe-area-inset-bottom, 0px)}*{box-sizing:border-box}html,body,#app{height:100%;margin:0;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,sans-serif;background:var(--wx-bg);color:var(--wx-text)}a{color:inherit;text-decoration:none}button{font:inherit}.page{height:100%;display:flex;flex-direction:column}.nav-bar{position:sticky;top:0;z-index:12;margin:10px 12px 8px;min-height:48px;display:flex;align-items:center;justify-content:center;font-weight:700;border-radius:22px;background:#ffffffc7;border:1px solid rgba(255,255,255,.55);backdrop-filter:blur(22px) saturate(1.6);-webkit-backdrop-filter:blur(22px) saturate(1.6);box-shadow:0 10px 28px #0f172a14,0 1px #ffffffa6 inset}.nav-bar .left,.nav-bar .right{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:0 12px;color:#1a1a1a}.nav-bar .left{left:0}.nav-bar .right{right:0}.nav-back{width:40px;height:40px;border:none;border-radius:14px;background:#0000000a;display:grid;place-items:center;cursor:pointer;color:inherit;padding:0}#webim-toast-host{position:fixed;left:50%;top:42%;transform:translate(-50%,-50%);z-index:2000;display:flex;flex-direction:column;gap:10px;pointer-events:none}.webim-toast{min-width:120px;max-width:80vw;padding:12px 18px;border-radius:14px;background:#141416e0;color:#fff;font-size:14px;font-weight:600;text-align:center;opacity:0;transform:translateY(8px) scale(.98);transition:.18s ease;box-shadow:0 12px 32px #00000038}.webim-toast.show{opacity:1;transform:none}.webim-toast-success{background:#07c160eb}.webim-toast-error{background:#fa5151eb}.webim-confirm-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:2100;padding:24px}.webim-confirm{width:100%;max-width:300px;background:#fff;border-radius:18px;padding:20px 18px 16px;box-shadow:0 20px 50px #0003}.webim-confirm-title{font-weight:700;font-size:17px;margin-bottom:8px}.webim-confirm-msg{color:#666;font-size:14px;line-height:1.5;margin-bottom:16px}.webim-confirm-actions{display:flex;gap:8px}.webim-confirm-actions button{flex:1;height:42px;border:none;border-radius:12px;font-weight:700;cursor:pointer}.webim-confirm-actions .ghost{background:#f2f2f7}.webim-confirm-actions .ok{background:#07c160;color:#fff}.tabbar{height:calc(52px + var(--safe-bottom));padding-bottom:var(--safe-bottom);display:grid;grid-template-columns:repeat(4,1fr);background:#f7f7f7;border-top:1px solid var(--wx-line)}.tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;color:#191919;gap:2px}.tabbar a.active{color:var(--wx-green)}.tabbar .ico{font-size:20px;line-height:1}.list-item{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#fff;border-bottom:1px solid #f0f0f0}.avatar{width:48px;height:48px;border-radius:6px;background:#cfcfcf;object-fit:cover;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600}.avatar.sm{width:40px;height:40px}.btn{border:none;background:var(--wx-green);color:#fff;border-radius:6px;padding:10px 16px}.btn.ghost{background:#fff;color:#111;border:1px solid #ddd}.input{width:100%;border:1px solid #ddd;border-radius:6px;padding:10px 12px;outline:none;background:#fff}.badge{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#fa5151;color:#fff;font-size:12px;display:inline-flex;align-items:center;justify-content:center}.toast{position:fixed;left:50%;top:40%;transform:translate(-50%,-50%);background:#000000bf;color:#fff;padding:10px 16px;border-radius:8px;z-index:99}.modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:80;padding:24px}.modal{width:100%;max-width:320px;background:#fff;border-radius:12px;padding:20px}.modal h3{margin:0 0 8px}.modal p{margin:0 0 16px;color:#666;font-size:14px;line-height:1.5}.modal .actions{display:flex;gap:8px}.modal .actions button{flex:1}
