:root{--bg:#f0f4f8;--blue:#1684f8;--ink:#20242b;--muted:#89919e}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:"Microsoft YaHei",Arial,sans-serif;color:var(--ink)}button{font:inherit;cursor:pointer}
.page{min-height:100vh;padding:30px 24px 205px;background:linear-gradient(180deg,#c9e2fc 0,#e8f1fa 240px,var(--bg) 440px)}.content{width:min(1180px,100%);margin:auto}
.profile{text-align:center;margin:18px auto 38px}.avatar{margin:auto;width:90px;height:90px;border-radius:50%;background:#fff center/cover no-repeat;display:grid;place-items:center;box-shadow:0 4px 16px #57728e19;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.avatar.avatar-empty{background:#fff}.profile h1{font-size:32px;font-weight:500;margin:16px 0 5px}.profile p{margin:0;color:#59616e;font-size:17px;font-weight:600}
.cases{background:#fff;border-radius:19px;padding:16px 20px 20px;margin-bottom:42px}.case-title{display:flex;justify-content:space-between;align-items:center;font-size:21px;margin-bottom:12px}.case-title button{background:none;border:0;color:#9299a4}.case-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.case{border-radius:14px;overflow:hidden;background:#f3f5f8}.casepic{height:190px;display:grid;place-items:center;background:#e5ebf3 center/cover no-repeat;color:#68788b;font-size:52px}.casepic img{width:100%;height:100%;object-fit:cover}.casebody{padding:12px 15px 15px}.casename{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}.tag{display:inline-block;border:1px solid #d0d5dc;color:#858c97;border-radius:5px;padding:3px 7px;font-size:12px;margin:8px 0}.count{color:#9399a3;font-size:15px}
.chatlog{padding:0 0 90px;min-height:420px}.time{text-align:center;color:#9299a4;font-size:15px;margin:20px auto 28px}.bubble{background:#fff;border-radius:0 26px 26px 26px;padding:23px 25px;font-size:18px;line-height:1.75;width:fit-content;max-width:88%;margin:0 0 20px;white-space:pre-line}.bubble.long{border-radius:24px;max-width:100%;margin-bottom:26px}.bubble.user{margin-left:auto;border-radius:24px 0 24px 24px;background:#cce5ff}.bubble.pending,.status.pending{opacity:0;transform:translateY(16px);pointer-events:none}.bubble.in,.status.in{animation:pop .48s cubic-bezier(.18,.8,.25,1) forwards}@keyframes pop{0%{opacity:0;transform:translateY(16px) scale(.97)}70%{opacity:1;transform:translateY(-2px) scale(1.005)}100%{opacity:1;transform:translateY(0) scale(1)}}
.choices{display:flex;gap:9px;margin-top:9px}.choices button{border:0;background:#e9f4ff;color:#344355;border-radius:14px;padding:10px 17px}.choices button:hover{background:#d5eaff}.choices button:disabled{opacity:.55}.status{text-align:center;color:#89919e;background:#e4e9ef;border-radius:12px;padding:10px 20px;width:max-content;margin:0 auto 26px}
.dock{position:fixed;z-index:5;bottom:0;left:0;right:0;background:linear-gradient(180deg,#f0f4f800,#f0f4f8 28%);padding:15px 24px 22px}.dockinner{width:min(1180px,100%);margin:auto}.phone{display:inline-flex;align-items:center;gap:10px;background:white;border:1px solid #e3e6ea;border-radius:19px;padding:12px 17px;margin-bottom:14px;font-weight:600;box-shadow:0 4px 15px #182a3c0c}.phone b{font-size:20px}.composer{height:145px;border-radius:18px;background:#fff;padding:20px;position:relative;box-shadow:0 4px 15px #182a3c08}.composer textarea{width:100%;height:75px;border:0;outline:0;resize:none;font:17px "Microsoft YaHei",sans-serif}.composer textarea::placeholder{color:#939ba6}.send{position:absolute;right:19px;bottom:17px;border:0;border-radius:14px;background:var(--blue);color:white;padding:11px 23px;font-size:17px}.notice{position:fixed;z-index:9;bottom:192px;left:50%;transform:translateX(-50%);background:#21344b;color:white;border-radius:10px;padding:11px 17px;display:none}.notice.show{display:block}
@media(max-width:750px){.page{padding:18px 14px 192px}.profile{margin:12px auto 25px}.avatar{width:70px;height:70px;font-size:34px}.profile h1{font-size:25px}.profile p{font-size:14px}.cases{padding:13px;border-radius:15px}.case-grid{grid-template-columns:repeat(2,1fr);gap:10px}.casepic{height:125px;font-size:42px}.casebody{padding:9px}.casename{font-size:14px}.count{font-size:12px}.case-title{font-size:18px}.bubble{font-size:15px;padding:17px;max-width:94%}.dock{padding:10px 14px 14px}.composer{height:130px}.composer textarea{font-size:15px}.send{padding:9px 17px}.chatlog{min-height:330px}}
