.interaction-page{display:flex;flex-direction:column;height:100%;min-height:0}
.interaction-stream{flex:1;min-height:0;overflow:auto;padding:10px 16px 18px;overscroll-behavior:contain}
.interaction-record{overflow-wrap:anywhere}
.date-narration{margin:18px auto;text-align:center;max-width:94%;font-size:14px;line-height:1.9;color:#7b86a5;white-space:pre-wrap}
.date-narration small{font-size:10px;letter-spacing:2px;color:#a4adbf}.date-narration p{margin-top:5px}
.date-empty{text-align:center;padding:65px 15px;color:var(--blue);font-family:serif;font-size:20px}
.date-empty small{display:block;font-family:sans-serif;font-size:12px;color:var(--muted);margin-top:16px}
.interaction-status{flex-shrink:0;padding:0 12px;max-height:150px;overflow:auto}
.date-compose-tools{padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.date-compose-tools>.primary{padding:9px 14px;font-size:13px}.date-mode{display:flex;gap:4px;padding:3px;background:#e8edfc;border-radius:13px}
.date-mode button{padding:7px 13px;border-radius:10px;color:var(--muted);font-size:12px}.date-mode .active{background:#fff;color:var(--blue);box-shadow:0 2px 4px #2444bd12}
.real-date .composer{flex-shrink:0}.real-date .bubble{max-width:78%;padding:12px 15px;text-align:left;line-height:1.7;background:#fff;border:1px solid var(--line);border-radius:18px}.real-date .mine .bubble{background:var(--blue);color:white}
.channel-setting{border-top:1px solid var(--line);padding:15px 0}.channel-setting summary{color:var(--blue);font-weight:600;cursor:pointer}.channel-settings form{margin-top:10px}
.interaction-call{display:flex;flex-direction:column;min-height:0;height:100%;background:radial-gradient(ellipse at 100% 0,#ffd4aa77,transparent 55%),linear-gradient(155deg,#e7eeff,#f9fbff 70%)}
.call-focus{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;text-align:center;gap:13px}.call-focus h2{font-size:24px;color:var(--blue);font-family:serif}.call-duration{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}.call-orbit{width:115px;height:80px;opacity:.7;display:grid;place-items:center}.call-orbit svg{width:70px;height:70px;max-height:80px}.call-orbit.is-listening{animation:call-listen 1.4s ease-in-out infinite}.call-status{font-size:14px;color:var(--blue)}.call-error{font-size:12px;color:#ad6c38;line-height:1.7;overflow-wrap:anywhere}
.real-call-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:16px 12px 24px;flex-shrink:0}.real-call-controls button{min-width:0;font-size:11px;text-align:center;color:var(--blue);display:flex;flex-direction:column;align-items:center;gap:9px}.real-call-controls button>span{display:grid;place-items:center;width:47px;height:47px;border-radius:50%;border:1px solid #cddaf0;background:linear-gradient(145deg,#fff,#e6edff);box-shadow:inset 0 1px #fff,0 4px 9px #35599912}.real-call-controls .call-hang>span{background:#e77763;color:white;border-color:#da8575}.real-call-controls svg{width:21px;height:21px}
.history-intro{display:flex;align-items:center;gap:18px;padding:22px 5px}.history-intro>span{width:65px;flex-shrink:0}.history-intro h2{font-size:23px;line-height:1.5;color:var(--blue);font-family:serif}.interaction-history{border:1px solid var(--line);border-radius:19px;background:linear-gradient(145deg,#fff,#f1f5ff);overflow:hidden}.interaction-history summary{padding:17px 15px;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none}.interaction-history summary b{font-size:14px;overflow-wrap:anywhere}.interaction-history summary small{display:block;font-size:11px;color:var(--muted);margin-top:7px}.interaction-history summary svg{width:16px;flex-shrink:0}.history-actions{display:flex;justify-content:space-between;gap:12px;padding:0 15px 10px}.history-records{padding:12px;max-height:450px;overflow:auto;border-top:1px solid var(--line);font-size:13px}.history-records .avatar{display:none}.history-records .bubble{max-width:90%;text-align:left;line-height:1.7;white-space:pre-wrap;padding:10px;border-radius:14px;border:1px solid var(--line);background:#fff}.history-records .mine .bubble{background:#edf1ff}
.record-preview{white-space:pre-wrap;max-height:200px;overflow:auto}.record-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.record-actions button{padding:11px}
.real-chat .emoji-message{width:112px;height:112px;max-width:40vw}.real-chat .emoji-message .original-sticker{height:112px;min-height:0}.real-chat .emoji-message img{max-width:112px;max-height:112px;object-fit:contain}
.real-chat .chat-tools{gap:2px;justify-content:space-between}.real-chat .chat-tools button{min-width:0;padding:5px}.real-chat .chat-tools svg{width:20px;height:20px}
@keyframes call-listen{50%{transform:scale(1.07);opacity:1}}html[data-motion="off"] .call-orbit{animation:none}@media(prefers-reduced-motion:reduce){.call-orbit{animation:none}}
.date-symbols{display:flex;align-items:center;justify-content:space-between;width:135px;margin:0 auto 25px;gap:35px}.date-symbols svg{width:48px;height:48px;flex-shrink:0}.reply-dots{display:inline-flex;gap:4px;align-items:center;padding:0 5px}.reply-dots i{display:block;width:5px;height:5px;background:currentColor;border-radius:50%;animation:reply-hop 1.1s ease-in-out infinite}.reply-dots i:nth-child(2){animation-delay:.16s}.reply-dots i:nth-child(3){animation-delay:.32s}.reply-light{display:inline-block;width:7px;height:7px;background:#a7b0c6;border-radius:50%;margin-right:8px}.reply-light.is-working{background:#d8776e;animation:reply-blink 1.1s ease-in-out infinite}.reply-light.is-done{background:#75a56c}.reply-light.is-error{background:#c6a45e}.real-chat .chat-message,.real-date .interaction-record{animation:bubble-arrive .22s ease-out both}@keyframes reply-hop{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1}}@keyframes reply-blink{50%{opacity:.35}}@keyframes bubble-arrive{from{opacity:0;transform:translateY(6px) scale(.985)}to{opacity:1;transform:none}}html[data-motion="off"] .reply-dots i,html[data-motion="off"] .reply-light,html[data-motion="off"] .real-chat .chat-message,html[data-motion="off"] .real-date .interaction-record{animation:none}@media(prefers-reduced-motion:reduce){.reply-dots i,.reply-light,.real-chat .chat-message,.real-date .interaction-record{animation:none!important}}
.chat-settings-menu{display:grid;gap:21px;padding:0 0 5px}.chat-settings-menu section{min-width:0}.chat-settings-menu h4{font-size:12px;color:var(--muted);font-weight:500;margin-bottom:11px;letter-spacing:1px}.chat-settings-menu .sheet-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.chat-settings-menu .sheet-actions button{min-width:0;padding:13px 5px;line-height:1.5;overflow-wrap:anywhere;min-height:78px;font-size:11px}.chat-settings-menu .sheet-actions svg{width:22px;height:22px;flex-shrink:0}.sheet:has(.chat-settings-menu){padding-left:18px;padding-right:18px}.sheet:has(.chat-settings-menu) .sheet-heading{position:sticky;top:-10px;padding:12px 0;background:#fafcff;z-index:2;margin-top:-5px;border-bottom:1px solid var(--line)}
.unified-context{padding-top:20px;border-top:1px solid var(--line)}.unified-context h4{color:var(--blue);font-size:15px;margin-bottom:10px}.real-date .composer{margin:0;padding:14px 16px 18px;border-top:1px solid #dce4f5;gap:10px;background:#f8faff}.real-date .composer textarea{padding:12px 14px;line-height:1.7;min-height:48px;border-radius:15px}.real-date .date-compose-tools{padding:12px 16px 14px}.real-date .composer .send{margin-top:3px;flex-shrink:0}
.sheet .sheet-handle{position:sticky;top:-10px;z-index:4;width:64px;height:24px;margin:-2px auto 8px;background:#f9fbff;border-radius:12px;cursor:ns-resize;touch-action:none;flex-shrink:0}.sheet .sheet-handle:after{content:"";position:absolute;width:36px;height:4px;top:10px;left:14px;border-radius:4px;background:#c8d4ed}.sheet .sheet-handle:focus-visible{outline:2px solid var(--orange);outline-offset:1px}.sheet.height-adjustable{min-height:120px;overscroll-behavior:contain;overflow:auto}.sheet.is-resizing{transition:none!important;user-select:none}.sheet.is-resizing .sheet-handle:after{background:var(--blue)}.sheet .sheet-heading,.sheet:has(.chat-settings-menu) .sheet-heading{position:sticky;top:14px;z-index:3;padding:8px 0 12px;background:#fafcff;border-bottom:1px solid var(--line);margin-bottom:14px}.sheet[aria-label="我的表情包"] .sticker-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.sheet[aria-label="我的表情包"] .sticker-image{height:68px;min-height:0}.sheet[aria-label="我的表情包"] .original-sticker{height:68px;min-height:0}.sheet[aria-label="我的表情包"] .sticker-item{padding:0}.sheet[aria-label="我的表情包"] .pref-pagination{margin-top:10px}
.real-date .chat-message{flex-direction:row;justify-content:flex-start;gap:0;padding:4px 0}.real-date .chat-message.mine{flex-direction:row;justify-content:flex-end}.real-date .chat-message .bubble{max-width:84%;font-size:var(--reading-size,16px)}.real-date .date-narration p{margin-top:0}

/* 通话记录内嵌展开，保留所有通话操作，不进入其它路由。 */
.real-call-controls{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:14px 10px 18px}.real-call-controls button{line-height:1.5}.real-call-controls button[aria-expanded="true"]>span{background:#dce7ff;border-color:#9fb5e7}.call-focus.with-records{padding:8px 16px 10px;gap:7px;justify-content:flex-start;overflow:auto}.call-focus.with-records>.avatar,.call-focus.with-records>h2,.call-focus.with-records>.call-orbit{display:none}.call-focus.with-records>.call-duration,.call-focus.with-records>.call-status{flex-shrink:0}.call-record-panel{display:flex;flex-direction:column;flex:1 0 160px;min-height:160px;width:100%;max-width:100%;border:1px solid #cddaf1;border-radius:21px;background:#ffffffb8;overflow:hidden;text-align:left}.call-record-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line);flex-shrink:0}.call-record-title h3{font-size:14px;color:var(--blue)}.call-record-title span{font-size:10px;color:var(--muted)}.call-record-stream{flex:1;min-height:0;overflow:auto;padding:10px 12px;overscroll-behavior:contain}.call-record-stream .chat-message{flex-direction:row;justify-content:flex-start;gap:0;padding:5px 0;margin-bottom:5px}.call-record-stream .chat-message.mine{justify-content:flex-end}.call-record-stream .bubble{font-size:var(--reading-size,16px);max-width:92%;padding:8px 11px;line-height:1.55;text-align:left;white-space:pre-wrap}.call-record-stream .interaction-record{overflow-wrap:anywhere}.call-record-stream .attachment-audio{max-width:100%}.call-record-empty{color:var(--muted);padding:22px 12px;text-align:center;font-size:13px;line-height:1.8}.call-record-latest{flex-shrink:0;border-top:1px solid var(--line);padding:10px}.call-record-stream:focus-visible{outline:2px solid #a6bce9;outline-offset:-2px}
@media(max-width:360px){.real-call-controls button>span{width:42px;height:42px}.real-call-controls{padding-left:8px;padding-right:8px}.call-record-title{padding:10px}.call-record-title span{font-size:9px}}
.interaction-call .interaction-status{flex-shrink:1;min-height:0;max-height:min(150px,18vh)}

/* 约会记录标题左侧苹果组合：避免落回通用24px图标尺寸。 */
.date-history-intro>span{display:grid;place-items:center;width:88px;height:88px;flex:0 0 88px}.date-history-intro>span>svg{width:88px;height:88px}.date-history-intro h2{min-width:0}

/* 双方头像略放大，气泡宽度随之留出空间。 */
.real-chat .chat-message .avatar{width:40px;height:40px;flex:0 0 40px;border-radius:13px}.real-chat .chat-message .avatar svg{width:32px;height:32px}.real-chat .chat-message-content{max-width:calc(100% - 49px)}

/* 在线输入提示占用原页头副标题，避免等待状态反复挤压消息视窗。 */
.real-chat .chat-typing{display:inline-flex;align-items:center;gap:4px;height:16px;white-space:nowrap}.real-chat .chat-inline-cancel{font:inherit;color:var(--blue);margin-left:3px;padding:0;min-height:16px}.real-chat .chat-message{animation:chat-message-fade .15s ease-out both}@keyframes chat-message-fade{from{opacity:.55}to{opacity:1}}

/* 固定普通副标题与等待提示的行框，避免安卓出现1px消息区高度变化。 */
.real-chat .header-sub{line-height:18px;min-height:18px}
.real-chat .chat-typing{height:18px;vertical-align:top}

/* 话筒收音与等待最终文字共用三点提示，状态文字供辅助阅读。 */
.call-status{position:relative;min-height:22px;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px}.call-status-accessible{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.call-status .reply-dots{min-height:22px}

#call-float-root{position:absolute;z-index:24;width:46px;height:46px;touch-action:none}#call-float-root[hidden]{display:none}.call-float-button{position:relative;display:grid;place-items:center;width:46px;height:46px;border:1px solid #b9ccee;border-radius:50%;color:var(--blue);background:linear-gradient(145deg,#fff,#d9e6ff);box-shadow:0 4px 15px #2a4d9825;touch-action:none;user-select:none}.call-float-button>svg{width:23px;height:23px}.call-float-light{position:absolute;right:2px;bottom:2px;width:9px;height:9px;border:2px solid #f8faff;border-radius:50%;background:#75a56c}.call-float-button.is-active{box-shadow:0 0 0 4px #bed2fa38,0 4px 14px #2a4d9825}.call-float-button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
