/* 聊天复盘（review） */
.rv-tip{display:flex;align-items:center;gap:8px;max-width:none}
.rv-tip .pill{flex:none}
.rv-grid{display:grid;grid-template-columns:264px minmax(0,1fr) 352px;gap:14px;align-items:start}
.rv-side{display:flex;flex-direction:column;gap:8px;min-width:0}
.rv-cap{padding-left:4px}
.rv-list{display:flex;flex-direction:column;gap:7px;min-width:0}

/* 导入入口和聊天列表 */
.rv-imp{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:9px 12px;border:1px dashed var(--line-2);border-radius:16px;background:transparent;text-align:left;font:inherit;color:inherit;cursor:pointer;transition:background-color .2s,border-color .2s,transform .22s var(--ease),box-shadow .22s var(--ease)}
.rv-imp:hover{background:var(--glass-2);border-color:var(--purple);transform:translateY(-2px);box-shadow:var(--sh)}
.rv-imp:active{transform:scale(.985)}
.rv-imp:focus-visible,.rv-it:focus-visible{outline:2px solid var(--purple-ink);outline-offset:3px}
.rv-impic{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;flex:none;color:var(--purple-ink);background:var(--grad-soft);box-shadow:inset 0 0 0 1px var(--line)}
.rv-imp .nm,.rv-imp .sub,.rv-it .nm,.rv-it .sub{display:block}
.rv-imp .nm{color:var(--purple-ink)}
.rv-it{align-items:center;min-height:64px}
.rv-it:active{transform:scale(.985)}
.rv-it .pill{height:22px;padding:0 8px;font-size:11.5px;flex:none}
.rv-it>.ic{color:var(--faint);width:16px;height:16px}
.rv-when{display:block;font-size:11px;color:var(--faint)}
.rv-todo{font-size:11.5px;color:var(--faint);white-space:nowrap;flex:none}
.rv-modal{flex:none}
textarea.rv-paste{min-height:150px;font:400 14px/1.65 var(--ui)}

/* 聊天气泡 */
.rv-chat{display:flex;flex-direction:column;gap:12px;padding:16px 18px 20px;min-width:0}
.rv-chead{display:flex;align-items:center;gap:12px;min-width:0;padding-bottom:12px;border-bottom:1px solid var(--line)}
.rv-sw{flex:none;font-size:12.5px;min-height:36px}
.rv-day{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11.5px;color:var(--faint)}
.rv-day .ic{width:14px;height:14px}
.rv-day .pill{height:20px;padding:0 8px;font-size:11px}
.rv-lines{display:flex;flex-direction:column;gap:10px}
.rv-row{display:flex;gap:8px;align-items:flex-end;min-width:0}
.rv-row.me{justify-content:flex-end}
.rv-bub{max-width:82%;padding:9px 13px;border-radius:17px 17px 17px 6px;font-size:13.5px;line-height:1.55;background:var(--glass-2);box-shadow:inset 0 0 0 1px var(--line);overflow-wrap:anywhere;transition:box-shadow .2s,transform .22s var(--ease)}
.rv-row.me .rv-bub{border-radius:17px 17px 6px 17px;background:var(--grad-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--purple) 30%,transparent)}
.rv-bub:hover{transform:translateY(-1px);box-shadow:inset 0 0 0 1px var(--line-2)}
.rv-zh{display:grid;grid-template-rows:1fr;transition:grid-template-rows .32s var(--ease),opacity .28s,margin-top .32s var(--ease);margin-top:4px;font-size:12px;line-height:1.55;color:var(--slate)}
.rv-zh>div{min-height:0;overflow:hidden}
.rv-nozh .rv-zh{grid-template-rows:0fr;opacity:0;margin-top:0}

/* 复盘卡 */
.rv-out{position:sticky;top:0;display:flex;flex-direction:column;gap:12px;padding:16px 18px 18px;min-width:0}
.rv-ttl{min-width:0}
.rv-empty{border-radius:18px;min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:22px 20px;background:var(--paper) url(../img/bg_2.jpg) center/cover;box-shadow:inset 0 0 0 1px var(--line)}
.rv-orb{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:var(--purple-ink);background:var(--white);box-shadow:inset 0 0 0 1px var(--line-2),0 0 0 6px color-mix(in srgb,var(--purple) 12%,transparent);animation:rv-breathe 2.6s ease-in-out infinite}
@keyframes rv-breathe{50%{box-shadow:inset 0 0 0 1px var(--purple),0 0 0 11px color-mix(in srgb,var(--purple) 5%,transparent)}}
.rv-f{display:flex;flex-direction:column;gap:3px;padding-bottom:11px;border-bottom:1px solid var(--line)}
.rv-f.hi{padding:11px 13px;border:0;border-radius:16px;background:var(--grad-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--purple) 30%,transparent)}
.rv-k{display:flex;align-items:center;gap:6px;font:500 12px var(--display);color:var(--faint);letter-spacing:.04em}
.rv-k .ic{width:14px;height:14px;color:var(--purple)}
.rv-f.hi .rv-k{color:var(--purple-ink)}
.rv-v{min-height:1.75em}
.rv-v .ai{min-height:0;padding:6px 0 4px}
.rv-v .caret{display:inline-block;width:1.5px;height:1.05em;background:var(--purple-ink);vertical-align:-.15em;margin-left:1px;animation:blink 1s steps(2) infinite}
.rv-extra{display:flex;flex-direction:column;gap:10px}
.rv-extra[hidden]{display:none}
.rv-grp{display:flex;flex-direction:column;gap:6px}
.rv-tag{height:auto;min-height:24px;padding:3px 10px;white-space:normal;line-height:1.45;border-radius:12px}
.rv-in .rv-grp{animation:rise .5s var(--ease) both}
.rv-in .rv-grp+.rv-grp{animation-delay:.14s}
.rv-in .rv-tag{animation:rise .45s var(--ease) both;animation-delay:calc(var(--i,0)*70ms + .1s)}
.rv-acts{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:2px}
.rv-acts .btn.p,.rv-acts .btn.s{flex:1}
.rv-go{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 6px;white-space:nowrap}
.rv-go .ic{width:15px;height:15px;transition:transform .22s var(--ease)}
.rv-go:hover .ic{transform:translateX(3px)}

@media (max-width:1180px){
  .rv-grid{grid-template-columns:240px minmax(0,1fr)}
  .rv-out{grid-column:2;position:static}
}
@media (max-width:860px){
  .rv-tip{align-items:flex-start}
  .rv-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .rv-out{grid-column:auto}
  .rv-cap{display:none}
  .rv-list{flex-direction:row;overflow-x:auto;scroll-snap-type:x proximity;padding:5px;margin:-5px;gap:8px;scrollbar-width:none}
  .rv-list::-webkit-scrollbar{display:none}
  .rv-list>*{flex:0 0 auto;width:232px;scroll-snap-align:center}
  .rv-list>.rv-imp{width:148px}
  .rv-imp .sub{display:none}
  .rv-imp .nm{white-space:normal}
  .rv-chat{padding:14px 14px 18px}
  .rv-sw{min-height:44px}
  .rv-bub{max-width:86%;font-size:14px}
  .rv-zh{font-size:12.5px}
  .rv-out{padding:14px 14px 16px}
  .rv-empty{min-height:150px}
  /* #view 手机上底部留了 104 像素，粘性定位从内容区算起，所以用负值让它浮在底部导航上方 */
  .rv-dock{position:sticky;bottom:-30px;z-index:6;align-self:stretch;padding:7px;border-radius:999px;background:var(--glass-2);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:inset 0 0 0 1px var(--line-2),var(--sh-h)}
  .rv-dock .rv-acts{padding:0;flex-wrap:nowrap}
  .rv-dock .btn.g{padding:0 12px;height:44px}
  .rv-dock .rv-go{padding:0 12px}
}
