/* ===== 赋引擎 · 达人端 H5 试用版 =====
   设计令牌与小程序端一致（小程序 rpx ÷ 2 = 此处 px） */
:root {
  --primary: #3d6bff;
  --primary-2: #6a8dff;
  --reward: #ff7a3d;
  --muted: #9aa0b0;
  --muted-2: #b8bec9;
  --bg: #f5f6fa;
  --line: #f2f3f7;
  --danger: #e64340;
  --ok: #2ba245;
  --text: #222;
  --radius: 8px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0; padding: 0; background: #e9ecf3; color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px; -webkit-font-smoothing: antialiased;
}
body { display: flex; justify-content: center; }
#app {
  width: 100%; max-width: 420px; min-height: 100vh; background: var(--bg);
  display: flex; flex-direction: column; position: relative;
  box-shadow: 0 0 30px rgba(0, 0, 0, .07);
}
a { color: inherit; text-decoration: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; color: inherit; }
input, textarea { -webkit-appearance: none; appearance: none; }

/* ===== 顶部导航 ===== */
.navbar {
  height: 46px; background: #fff; display: flex; align-items: center;
  position: sticky; top: 0; z-index: 30; border-bottom: 1px solid #f0f1f5; flex: 0 0 auto;
}
.navbar .nav-back {
  width: 46px; text-align: center; font-size: 22px; color: #333; cursor: pointer; line-height: 46px;
}
.navbar .nav-title { flex: 1; text-align: center; font-size: 16px; font-weight: 500; }
.navbar .nav-right { width: 46px; flex: 0 0 auto; }

main { flex: 1 1 auto; padding-bottom: 16px; }
main.has-footer { padding-bottom: 88px; }

/* ===== 卡片 / 通用 ===== */
.card { background: #fff; border-radius: var(--radius); padding: 12px; margin: 10px; }
.sec-title { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; font-size: 13px; }
.tip-line { color: var(--muted); font-size: 11px; margin-bottom: 6px; }
.tag {
  display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 11px;
  background: #f0f3ff; color: var(--primary); margin: 0 6px 6px 0;
}
.divider { height: 1px; background: var(--line); margin: 10px 0; }

/* ===== 按钮 ===== */
.btn-primary {
  display: block; width: 100%; border: none; background: var(--primary); color: #fff;
  border-radius: 22px; font-size: 15px; padding: 11px 0; cursor: pointer;
  transition: opacity .15s;
}
.btn-primary:active { opacity: .82; }
.btn-primary[disabled] { background: #b8c6ff; }
.btn-cancel {
  display: block; width: 100%; background: #fff; color: var(--danger);
  border: 1px solid #f0d3d3; border-radius: 22px; font-size: 15px; padding: 10px 0; cursor: pointer;
}
.btn-ghost {
  display: block; width: 100%; background: #fff; color: var(--primary);
  border: 1px solid #d6dffd; border-radius: 22px; font-size: 15px; padding: 10px 0; cursor: pointer;
}
.footer-bar {
  position: fixed; bottom: 0; width: 100%; max-width: 420px; background: #fff;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); z-index: 25;
  border-top: 1px solid #f0f1f5;
}

/* ===== 表单 ===== */
.field {
  display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.field:last-child { border-bottom: none; }
.field .f-label { width: 84px; flex: 0 0 auto; color: #333; font-size: 14px; }
.field .f-value { flex: 1; color: #222; font-size: 14px; text-align: right; }
.field .f-input { flex: 1; border: none; outline: none; background: transparent; text-align: right; font-size: 14px; }
.field .f-input::placeholder { color: var(--muted-2); }
.field select.f-input { text-align-last: right; direction: rtl; }
.arrow { color: #c4c9d4; margin-left: 6px; }
.textarea {
  width: 100%; min-height: 110px; background: #f7f8fb; border-radius: 8px; border: none;
  outline: none; padding: 10px; font-size: 13px; resize: vertical;
}
.ipt-box {
  background: #f7f8fb; border-radius: 8px; padding: 11px 12px; display: flex; align-items: center;
}
.ipt-box input { flex: 1; border: none; outline: none; background: transparent; font-size: 15px; }
.code-btn {
  border: none; background: none; color: var(--primary); font-size: 13px; white-space: nowrap;
  padding: 0 0 0 10px; cursor: pointer;
}
.code-btn[disabled] { color: var(--muted-2); }

/* ===== Tab 条 ===== */
.tabs-wrap { display: flex; align-items: center; padding: 10px 10px 0; }
.tabs { display: flex; flex: 1; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 6px 14px; margin-right: 8px; border-radius: 15px; background: #fff;
  color: #666; font-size: 13px; white-space: nowrap; cursor: pointer; flex: 0 0 auto;
}
.tab.active { background: var(--primary); color: #fff; }
.read-all { color: var(--primary); font-size: 12px; margin-left: 8px; flex: 0 0 auto; cursor: pointer; }

/* ===== 任务卡 ===== */
.guide-bar {
  display: flex; align-items: center; margin: 10px 10px 0;
  background: linear-gradient(90deg, #eef3ff, #f7f9ff);
  border-radius: var(--radius); padding: 11px 12px; cursor: pointer;
}
.guide-bar .g-text { flex: 1; color: var(--primary); font-size: 13px; }
.guide-bar .g-ico { color: var(--primary); margin-right: 8px; font-size: 14px; }
.guide-bar .g-arrow { color: var(--primary); font-size: 16px; }
.task-card { cursor: pointer; }
.task-card .row1 { display: flex; justify-content: space-between; align-items: flex-start; }
.task-card .title {
  flex: 1; font-size: 15px; font-weight: 600; margin-right: 8px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.reward { color: var(--reward); font-size: 17px; font-weight: bold; white-space: nowrap; }
.reward .unit { font-size: 11px; font-weight: normal; }
.task-card .row2 { display: flex; align-items: center; margin-top: 8px; color: var(--muted); font-size: 12px; }
.task-card .brand { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-card .meta { margin-left: 8px; white-space: nowrap; }

/* ===== 任务详情 ===== */
.head { display: flex; justify-content: space-between; align-items: flex-start; }
.head .title { flex: 1; font-size: 17px; font-weight: 600; margin-right: 10px; line-height: 1.4; }
.grid { display: flex; flex-wrap: wrap; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 4px; }
.grid-item { width: 50%; padding: 8px 0; }
.grid-item .g-label { color: var(--muted); font-size: 12px; }
.grid-item .g-val { font-size: 15px; font-weight: 500; margin-top: 2px; }
.avatars { display: flex; flex-wrap: wrap; }
.avatars .avatar {
  width: 32px; height: 32px; border-radius: 50%; background: #eee; margin: 0 8px 8px 0; object-fit: cover;
}
.notice-text { color: #666; font-size: 12px; line-height: 1.7; }
.materials { display: flex; flex-direction: column; gap: 8px; }
.material-video { width: 100%; height: 180px; border-radius: 6px; background: #000; }
/* 专属素材标记 / 任务详情页的素材池说明 */
.own-tag {
  margin-left: 6px; padding: 1px 6px; font-size: 10px; font-weight: normal;
  color: #3d6bff; background: #eef3ff; border-radius: 10px;
}
.mat-pool { display: flex; align-items: center; background: #f5f7ff; border-radius: 6px; padding: 10px; }
.mp-num {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 6px;
  color: #3d6bff; font-size: 20px; font-weight: bold;
}
.mp-text { flex: 1; margin-left: 10px; }
.mp-title { font-size: 13px; color: var(--text); font-weight: 600; }
.mp-desc { font-size: 11px; color: var(--muted); line-height: 1.6; margin-top: 4px; }

/* ===== 订单 ===== */
.order-card { cursor: pointer; }
.order-card .row1 { display: flex; justify-content: space-between; align-items: flex-start; }
.order-card .title { flex: 1; font-size: 14px; font-weight: 500; margin-right: 8px; }
.status { font-size: 12px; color: var(--primary); white-space: nowrap; }
.status.ok { color: var(--ok); }
.status.gray { color: var(--muted); }
.status.bad { color: var(--danger); }
.order-card .row2 { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12px; color: var(--muted); }
.order-card .row2 .reward { font-size: 13px; }
.order-card .row3 { margin-top: 6px; font-size: 11px; color: var(--muted); }
.order-card .row3 .reject { color: var(--danger); }
.status-card { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; }
.status-card .row1 { display: flex; justify-content: space-between; align-items: center; }
.status-card .st { font-size: 17px; font-weight: bold; }
.status-card .reward { font-size: 16px; color: #fff; }
.status-card .task-title { margin-top: 8px; font-size: 14px; opacity: .95; }
.status-card .meta { margin-top: 5px; font-size: 12px; opacity: .8; }
.status-card .reject { margin-top: 5px; font-size: 12px; color: #ffd6d5; }
.link-line { display: flex; align-items: center; background: #f7f8fb; border-radius: 5px; padding: 8px; }
.link-text, .link-line .txt {
  flex: 1; font-size: 12px; color: var(--primary); word-break: break-all;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.copy-btn { margin-left: 8px; color: var(--primary); font-size: 12px; white-space: nowrap; cursor: pointer; }
.shots { display: flex; flex-wrap: wrap; }
.shot {
  width: 84px; height: 84px; border-radius: 6px; overflow: hidden; margin: 0 8px 8px 0;
  position: relative; background: #f0f1f5; cursor: pointer;
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-del {
  position: absolute; top: 0; right: 0; width: 20px; height: 20px; background: rgba(0, 0, 0, .5);
  color: #fff; text-align: center; line-height: 19px; border-radius: 0 0 0 6px; font-size: 14px;
}
.shot-add {
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  color: var(--muted-2); border: 1px dashed #d5dae3; background: #fff;
}
.fb-item { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.fb-item:last-child { border-bottom: none; }
.fb-status { color: var(--reward); }
.fb-status.ok { color: var(--ok); }
.fb-status.bad { color: var(--danger); }

/* ===== 消息 ===== */
.msg-card { cursor: pointer; }
.msg-card .msg-row { display: flex; align-items: center; }
.msg-card .msg-title { font-size: 14px; font-weight: 500; flex: 1; }
.msg-card .msg-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--danger); }
.msg-card .msg-content { color: #666; font-size: 13px; margin-top: 6px; line-height: 1.6; }
.msg-card .msg-time { color: var(--muted-2); font-size: 11px; margin-top: 6px; }
.msg-card.unread { border-left: 3px solid var(--primary); }

/* ===== 我的 ===== */
.header { display: flex; align-items: center; }
.avatar-lg {
  width: 50px; height: 50px; border-radius: 50%; background: #eee; object-fit: cover; flex: 0 0 auto;
}
.avatar-ph {
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: #c4cdf2; font-size: 20px;
}
.user-info { margin-left: 12px; }
.user-info .nickname { font-size: 16px; font-weight: 600; }
.user-info .phone { color: var(--muted); font-size: 12px; margin-top: 4px; }
.beans-card {
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
  background: linear-gradient(90deg, var(--primary), var(--primary-2)); color: #fff;
}
.beans-card .beans-label { font-size: 12px; opacity: .85; }
.beans-card .beans-num { font-size: 26px; font-weight: bold; }
.orders-sq { display: flex; }
.o-item { flex: 1; text-align: center; cursor: pointer; }
.o-item .o-num { font-size: 18px; font-weight: bold; }
.o-item .o-label { color: var(--muted); font-size: 12px; margin-top: 4px; }
.entries { padding: 4px 12px; }
.entry {
  display: flex; justify-content: space-between; align-items: center; padding: 13px 0;
  border-bottom: 1px solid var(--line); font-size: 14px; cursor: pointer;
}
.entry:last-child { border-bottom: none; }
.entry.danger, .entry.danger .s-label { color: var(--danger); }

/* ===== 金豆 / 邀请 ===== */
.balance-card { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; text-align: center; padding: 24px 12px; }
.balance-card .b-label { font-size: 13px; opacity: .85; }
.balance-card .b-num { font-size: 36px; font-weight: bold; margin: 6px 0; }
.r-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.r-item:last-child { border-bottom: none; }
.r-title { font-size: 14px; }
.r-time { color: var(--muted-2); font-size: 11px; margin-top: 3px; }
.r-right { text-align: right; }
.r-amount { font-size: 15px; font-weight: 600; }
.r-amount.in { color: var(--reward); }
.r-amount.out { color: var(--ok); }
.r-settle { color: var(--muted); font-size: 11px; margin-top: 3px; }
.invite-card { text-align: center; }
.i-title { font-size: 17px; font-weight: 600; }
.i-desc { color: var(--muted); font-size: 12px; margin-top: 6px; line-height: 1.6; }
.i-stats { display: flex; margin: 16px 0; }
.i-stat { flex: 1; }
.i-stat .n { font-size: 22px; font-weight: bold; }
.i-stat .l { color: var(--muted); font-size: 12px; margin-top: 3px; }
.i-tip { color: var(--muted-2); font-size: 11px; margin-top: 12px; line-height: 1.6; }
.v-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.v-item:last-child { border-bottom: none; }
.v-name { font-size: 14px; }
.v-time { color: var(--muted-2); font-size: 11px; margin-top: 3px; }
.v-status { font-size: 12px; color: var(--primary); }
.v-sub { color: var(--muted); font-size: 11px; }

/* ===== 协议 ===== */
.a-h { font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
.a-h:first-child { margin-top: 0; }
.a-p { color: #555; font-size: 13px; line-height: 1.8; margin-bottom: 4px; }

/* ===== 底部 TabBar ===== */
.tabbar {
  position: fixed; bottom: 0; width: 100%; max-width: 420px; height: 56px; background: #fff;
  border-top: 1px solid #f0f1f5; display: flex; z-index: 26;
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar .tb {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--muted); font-size: 11px; gap: 3px;
}
.tabbar .tb.active { color: var(--primary); }
.tabbar svg { width: 20px; height: 20px; display: block; }

/* ===== 浮层 ===== */
#toast {
  position: fixed; top: 42%; left: 50%; transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, .78); color: #fff; padding: 10px 16px; border-radius: 6px;
  font-size: 13px; z-index: 200; max-width: 76%; text-align: center; line-height: 1.5;
  opacity: 0; pointer-events: none; transition: opacity .18s;
}
#toast.show { opacity: 1; }
.mask {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 150;
  display: flex; align-items: center; justify-content: center; padding: 0 40px;
}
.mask.bottom { align-items: flex-end; padding: 0; }
.modal {
  width: 100%; max-width: 290px; background: #fff; border-radius: 10px; overflow: hidden;
}
.modal .m-body { padding: 20px 18px; text-align: center; }
.modal .m-title { font-size: 15px; font-weight: 600; }
.modal .m-content { color: #666; font-size: 13px; margin-top: 8px; line-height: 1.6; }
.modal .m-input {
  width: 100%; margin-top: 12px; background: #f7f8fb; border: none; border-radius: 6px;
  padding: 9px 10px; outline: none; text-align: center;
}
.modal .m-actions { display: flex; border-top: 1px solid var(--line); }
.modal .m-actions .mb {
  flex: 1; padding: 12px 0; text-align: center; font-size: 15px; cursor: pointer; border: none;
  background: none;
}
.modal .m-actions .mb + .mb { border-left: 1px solid var(--line); }
.modal .mb.primary { color: var(--primary); font-weight: 500; }
.modal .mb.danger { color: var(--danger); font-weight: 500; }
.sheet {
  width: 100%; max-width: 420px; background: #fff; border-radius: 14px 14px 0 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
}
.sheet-title { font-size: 16px; font-weight: 600; text-align: center; }
.sheet-tip { color: var(--muted); font-size: 12px; text-align: center; margin: 6px 0 12px; }
.poster-panel { text-align: center; }
.poster-panel img { width: 100%; border-radius: 8px; }
.poster-panel .p-hint { color: var(--muted); font-size: 12px; margin: 10px 0; }
.poster-panel .p-close { color: var(--primary); font-size: 14px; padding: 12px 0 4px; cursor: pointer; }
.img-view { max-width: 100%; max-height: 86vh; border-radius: 6px; }
.loading { text-align: center; color: var(--muted); padding: 40px 0; font-size: 13px; }
.spinner {
  width: 20px; height: 20px; margin: 0 auto 8px; border: 2px solid #dfe3ec;
  border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== 登录页 ===== */
.login { padding: 44px 20px 20px; text-align: center; }
.login .logo { font-size: 30px; font-weight: bold; color: var(--primary); letter-spacing: 2px; }
.login .slogan { color: var(--muted); font-size: 13px; margin-top: 8px; }
.login .form { margin: 28px 0 0; padding: 16px; text-align: left; }
.login .row { margin-bottom: 12px; }
.login .submit { margin-top: 18px; }
.login .agree {
  display: flex; align-items: center; justify-content: center; margin-top: 14px;
  font-size: 12px; color: var(--muted); flex-wrap: wrap; gap: 4px;
}
.login .agree .link { color: var(--primary); }
.login .cbox {
  width: 14px; height: 14px; border-radius: 50%; border: 1px solid #c4c9d4; margin-right: 4px;
  display: inline-block; position: relative; flex: 0 0 auto;
}
.login .cbox.on { background: var(--primary); border-color: var(--primary); }
.login .cbox.on::after {
  content: ''; position: absolute; left: 4px; top: 1.5px; width: 3px; height: 6px;
  border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}

/* ===== 试用版提示条 ===== */
.trial-tip {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 7px 12px;
  background: #fff8ef; color: #a5620d; font-size: 11.5px; line-height: 1.5;
}
.trial-tip .x { margin-left: auto; color: #c9a06a; font-size: 15px; cursor: pointer; padding: 0 2px; }

/* ===== 联系运营入口（消息页） ===== */
.chat-entry { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.chat-entry .ce-icon { font-size: 22px; }
.chat-entry .ce-body { flex: 1; min-width: 0; }
.chat-entry .ce-title { font-size: 14px; font-weight: 600; }
.chat-entry .ce-sub {
  font-size: 12px; color: var(--muted); margin-top: 4px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.chat-entry .ce-badge {
  min-width: 20px; height: 20px; line-height: 20px; padding: 0 5px; text-align: center;
  border-radius: 10px; background: var(--danger); color: #fff; font-size: 11px;
}
.chat-entry .ce-arrow { color: #c6ccd8; font-size: 20px; }

/* ===== 接单资格卡片 ===== */
.qual-card .q-top { display: flex; align-items: center; justify-content: space-between; }
.qual-card .q-title { font-size: 14px; font-weight: 600; }
.qual-card .q-state { font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.qual-card .q-state.ok { background: #e8f7ee; color: #16a34a; }
.qual-card .q-state.bad { background: #fdeaea; color: #e23b3b; }
.qual-card .q-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 9px; font-size: 13px;
}
.qual-card .q-label { color: var(--muted); }
.qual-card .q-value { font-weight: 600; }
.qual-card .q-tip {
  margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 11px; line-height: 1.6;
}

/* ===== 专属运营（归属） ===== */
.invite-tip {
  margin: 0 10px 8px; padding: 9px 12px; background: #eef2ff; color: #4a63c8;
  font-size: 12px; border-radius: 6px; text-align: center;
}
.invite-entry {
  text-align: center; color: var(--muted-2); font-size: 12px;
  margin-top: 12px; cursor: pointer;
}
.owner-card { display: flex; align-items: center; justify-content: space-between; }
.owner-card .ow-label { color: var(--muted); font-size: 12px; }
.owner-card .ow-name { font-size: 16px; font-weight: 600; margin: 4px 0 3px; }
.owner-card .ow-name.ow-none { color: #e0a13a; font-weight: 400; font-size: 14px; }
.owner-card .ow-tip { color: var(--muted-2); font-size: 11px; }
.op-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; border-bottom: 1px solid var(--line);
  font-size: 15px; cursor: pointer;
}
.op-item .op-arrow { color: var(--muted-2); }

/* ===== 联系运营（直聊页） ===== */
.chat-page { min-height: calc(100vh - 46px); padding-bottom: 68px; }
.chat-notice {
  margin: 10px; padding: 9px 12px; background: #eef2ff; color: #4a63c8;
  font-size: 11px; border-radius: 6px; line-height: 1.6;
}
.chat-intro { text-align: center; padding: 50px 30px; }
.chat-intro .ci-title { font-size: 15px; font-weight: 600; }
.chat-intro .ci-sub { font-size: 12px; color: var(--muted); margin-top: 5px; }
.crow { display: flex; padding: 0 12px; margin-bottom: 12px; }
.crow.mine { justify-content: flex-end; }
.crow .cw { max-width: 76%; }
.crow.mine .cw { display: flex; flex-direction: column; align-items: flex-end; }
.cbub {
  background: #fff; border-radius: 10px; padding: 9px 12px; font-size: 14px;
  line-height: 1.6; word-break: break-word; white-space: pre-wrap;
}
.crow.mine .cbub { background: var(--primary); color: #fff; }
.ctm { font-size: 10px; color: var(--muted-2); margin-top: 4px; }
.chat-img { max-width: 160px; border-radius: 6px; display: block; margin-top: 6px; cursor: pointer; }
.chat-bar {
  position: fixed; bottom: 0; width: 100%; max-width: 420px; background: #fff;
  display: flex; align-items: center; gap: 8px; z-index: 25;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid #f0f1f5;
}
.cbar-icon {
  width: 32px; height: 32px; border-radius: 50%; background: #f0f3ff; color: var(--primary);
  font-size: 20px; line-height: 30px; text-align: center; flex: 0 0 auto; cursor: pointer;
}
.cbar-input {
  flex: 1; height: 34px; background: var(--bg); border: none; border-radius: 17px;
  padding: 0 14px; font-size: 14px; outline: none; min-width: 0;
}
.cbar-send {
  flex: 0 0 auto; border: none; background: var(--primary); color: #fff;
  border-radius: 17px; height: 34px; padding: 0 16px; font-size: 14px; cursor: pointer;
}
