/*//qingyanphp/conv_room.css
 *会话器面板样式 v1.0：移动优先，app感
 *20260929
 *010 v2
 */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;background:#eef1f5;font:14px/1.5 "PingFang SC","Microsoft YaHei",sans-serif}
#conv_room{display:flex;flex-direction:column;height:100vh;max-width:720px;margin:0 auto;background:#fff;box-shadow:0 0 12px rgba(0,0,0,.08)}
/*顶栏*/
#cr_top{background:#1f6fb2;color:#fff;padding:6px 10px}
#cr_topic_row{display:flex;align-items:center;gap:8px}
#cr_topic{flex:1;font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
#cr_sub_row{display:flex;align-items:center;gap:8px;margin-top:4px;font-size:12px}
#cr_members{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.9}
#cr_stype{max-width:130px;border:none;border-radius:4px;padding:2px 4px;font-size:12px;background:#3a86c8;color:#fff}
.cr_icon{border:none;background:rgba(255,255,255,.18);color:#fff;border-radius:4px;padding:3px 8px;cursor:pointer;font-size:12px}
.cr_icon:active{background:rgba(255,255,255,.35)}
/*消息区*/
#cr_msgs{flex:1;overflow-y:auto;padding:10px;background:#eef1f5}
.cr_msg{max-width:78%;margin-bottom:10px;padding:8px 10px;border-radius:10px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.06);word-break:break-word}
.cr_msg b{color:#1f6fb2;font-size:13px;margin-right:6px}
.cr_msg small{color:#999;font-size:11px}
.cr_msg img{display:block;margin-top:6px;border-radius:6px}
.cr_msg video{display:block;margin-top:6px;border-radius:6px}
.cr_msg audio{width:100%;margin-top:6px}
.cr_own{margin-left:auto;background:#d9ecff}
.cr_flowtag{display:inline-block;background:#e6f0ff;color:#1f6fb2;border-radius:4px;padding:0 5px;font-size:11px;margin-left:4px}
.cr_dim{color:#999}
/*输入栏*/
#cr_input_bar{display:flex;gap:6px;padding:8px;border-top:1px solid #e0e4e9;background:#fff;align-items:flex-end}
#cr_mode{border:1px solid #d0d5db;border-radius:6px;padding:6px 4px;font-size:12px;background:#f7f9fb}
#cr_attach{border:none;background:#f0f3f7;border-radius:6px;padding:7px 9px;cursor:pointer}
#cr_text{flex:1;resize:none;border:1px solid #d0d5db;border-radius:8px;padding:7px 9px;font-size:14px;max-height:96px;font-family:inherit}
#cr_rec{border:none;background:#e74c3c;color:#fff;border-radius:6px;padding:7px 10px;cursor:pointer}
#cr_send{border:none;background:#1f6fb2;color:#fff;border-radius:8px;padding:8px 14px;cursor:pointer}
#cr_send:active{background:#175a92}
/*抽屉面板*/
.cr_mask{display:none;position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:9}
.cr_sheet{display:none;position:fixed;left:0;right:0;bottom:0;max-width:720px;margin:0 auto;max-height:70vh;background:#fff;border-radius:14px 14px 0 0;z-index:10;flex-direction:column;box-shadow:0 -4px 16px rgba(0,0,0,.15)}
.cr_sheet.open{display:flex}
.cr_mask.open{display:block}
.cr_sheet_hd{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-bottom:1px solid #eef1f5;font-weight:600}
.cr_close{border:none;background:none;font-size:20px;cursor:pointer;color:#666}
.cr_sheet_bd{overflow-y:auto;padding:12px 14px}
.cr_sheet_bd h4{margin:10px 0 6px;color:#1f6fb2;font-size:13px}
.cr_sheet_bd h4:first-child{margin-top:0}
.chip{display:inline-block;background:#e6f0ff;color:#1f6fb2;border-radius:12px;padding:2px 10px;margin:0 6px 6px 0;font-size:12px}
.kv{display:inline-block;background:#f4f6f8;border-radius:6px;padding:2px 8px;margin:0 6px 6px 0;font-size:12px;color:#444}
.kv b{color:#1f6fb2;font-weight:500}
.goods{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:6px}
.good{width:96px;border:1px solid #eef1f5;border-radius:8px;overflow:hidden}
.good img{width:96px;height:72px;object-fit:cover;display:block;background:#f4f6f8}
.good span{display:block;font-size:12px;padding:4px 6px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fb{font-size:12px;color:#888}
.fbar{margin-bottom:8px}
.fbar .fl{display:flex;justify-content:space-between;font-size:12px;margin-bottom:2px}
.fbar .bg{height:8px;background:#eef1f5;border-radius:4px;overflow:hidden}
.fbar .fg{height:100%;background:#1f6fb2;border-radius:4px}
