/* forward.css — 转发（10-17）：选转给谁、聊天里的多选、「聊天记录」卡片和打开后的记录 */

/* ---- 选转给谁：搜索 + 聊天列表（右边圆圈勾选）+ 发送 ---- */
.fw-pick { display: flex; flex-direction: column; gap: 10px; padding: 0 16px 16px; }
.fw-note { margin: 0; font-size: 13px; color: var(--muted); }
.fw-search { width: 100%; box-sizing: border-box; height: 38px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--surface-2); color: var(--ink); font: inherit; font-size: 15px; }
.fw-list { display: flex; flex-direction: column; max-height: 52vh; overflow-y: auto; overscroll-behavior: contain; margin: 0 -6px; }
.fw-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 6px; border: 0; border-radius: 12px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.fw-row:active { background: var(--surface-2); }
.fw-row .ui-avatar { flex: none; }
.fw-gav { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--surface-2); color: var(--ink-2); }
.fw-row-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.fw-row-t i { margin-left: 6px; font-style: normal; font-size: 11.5px; color: var(--muted); }
.fw-check, .ct-root.is-picking .ct-row.is-pickable::before {
  flex: none; width: 20px; height: 20px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--surface) center / 12px no-repeat;
}
.fw-row.is-on .fw-check, .ct-root.is-picking .ct-row.is-picked::before {
  border-color: var(--clay); background-color: var(--clay);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fw-empty { margin: 18px 0; text-align: center; font-size: 13px; color: var(--muted); }

/* ---- 聊天里的多选：能转的那些行左边一个圆圈；输入区换成底部一条 ---- */
.ct-root.is-picking .ct-row.is-pickable { position: relative; padding-left: 34px; cursor: pointer; }
.ct-root.is-picking .ct-row.is-pickable::before { content: ''; position: absolute; left: 4px; top: 50%; margin-top: -10px; }
.ct-root.is-picking .ct-row:not(.is-pickable) { opacity: .45; }
.ct-root.is-picking .ct-row .ct-msg { pointer-events: none; }
.ct-root.is-picking .ct-composer > :not(.ct-pickbar) { display: none; }
.ct-pickbar { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 4px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-1); }
.ct-pickbar[hidden] { display: none; }
.ct-pick-x, .ct-pick-go { flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 12px; background: none; color: var(--ink-2); font: inherit; font-size: 14.5px; cursor: pointer; }
.ct-pick-n { flex: 1; min-width: 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-pick-go { background: var(--surface-2); color: var(--ink); }
.ct-pick-go.is-main { background: var(--clay); color: #fff; }
.ct-pick-go:disabled { opacity: .4; cursor: default; }

/* ---- 「聊天记录」卡片：标题 + 前三行 + 底下一行小字（和名片同一种信笺） ---- */
.ct-logm {
  display: flex; flex-direction: column; align-items: stretch; gap: 6px; width: min(250px, 74vw); padding: 12px 14px 0; border: 0; border-radius: 16px; text-align: left;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 6px 14px rgba(90, 70, 40, .06); color: var(--ink); font-family: var(--font-display); cursor: pointer;
}
.ct-logm:active { transform: scale(.98); }
.ct-logm-t { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-logm-l { display: flex; flex-direction: column; gap: 2px; }
.ct-logm-l i { font-style: normal; font-size: 12.5px; line-height: 1.45; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-logm-l i .mx-slot { width: 1.3em; height: 1.3em; vertical-align: -0.3em; }
.ct-logm-f { margin-top: 6px; padding: 8px 0 10px; border-top: 1px solid var(--line-2); font-size: 11.5px; letter-spacing: 1px; color: var(--muted); }

/* ---- 打开的聊天记录：一条一条往下排，媒体点了才解开 ---- */
.fw-log { display: flex; flex-direction: column; gap: 14px; padding: 4px 18px 22px; }
.fw-log-wait, .fw-log-end { margin: 12px 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.fw-it { display: flex; flex-direction: column; gap: 5px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.fw-it-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fw-it-n { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fw-it-h time { font-size: 11.5px; color: var(--muted); }
.fw-it-tx { margin: 0; font-family: var(--font-display); font-size: 15px; line-height: 1.55; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.fw-it-img { display: block; max-width: min(260px, 100%); max-height: 320px; border-radius: 12px; }
.fw-it-audio { width: min(260px, 100%); }
.fw-it-media { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; }
.fw-it-media.is-busy { opacity: .6; cursor: progress; }
.fw-it-ph { position: relative; display: flex; align-items: center; justify-content: center; min-width: 120px; min-height: 90px; max-width: 220px; overflow: hidden; border-radius: 12px; background: var(--surface-2); font-size: 12.5px; color: var(--muted); }
.fw-it-ph img { display: block; max-width: 220px; max-height: 220px; filter: blur(0); }
.fw-play { position: absolute; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; }
.fw-it-row { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); font-size: 14px; }
.fw-ext { padding: 3px 5px; border-radius: 4px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 600 9.5px/1 -apple-system, sans-serif; letter-spacing: .5px; color: var(--clay); }
