button,a,input,textarea{touch-action:manipulation}button{transition:background-color .1s,opacity .1s}button:active:not(:disabled){opacity:.72}.message-actions{overflow:visible;gap:0;min-height:52px;padding:2px 6px}.message-actions [data-action=reply],.message-actions [data-action=edit],.message-actions [data-action=view],.message-actions [data-action=react]{display:none!important}.message-actions button{width:40px;min-width:40px;flex-basis:40px;height:48px;position:relative}.message-actions #selected-count{min-width:22px;flex:1;font-size:15px;text-align:center}.message-actions [data-action=share]{width:auto;min-width:72px;flex-basis:72px;display:flex;gap:3px;align-items:center;justify-content:center;border-radius:15px;background:var(--accentSoft);color:var(--accent);font-size:12px;font-weight:650}.message-actions .action-label{display:inline;font-size:12px}.message-actions .glyph{width:23px;height:23px}.attachment-download .glyph{width:20px;height:20px}.attachment-download{background:transparent;border:0;width:36px;height:36px;min-height:36px;color:var(--accent);display:grid;place-items:center;padding:5px}.attachment-caption{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:2px 2px 0;min-height:32px}.attachment-caption small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0;flex:1;color:var(--muted);font-size:11px}.bubble.has-media,.bubble.has-document{width:min(82%,360px);padding:5px 5px 4px;max-width:86%;contain-intrinsic-size:auto 260px}.bubble{content-visibility:auto;contain-intrinsic-size:auto 60px}.bubble.has-media .message-text,.bubble.has-document .message-text{display:block;padding:5px}.bubble .attachment-wrap{margin:0;width:100%;min-width:0}.bubble .chat-image{display:block;width:100%;max-width:none;height:auto;max-height:420px;object-fit:contain;border-radius:8px;background:var(--surface2);cursor:pointer}.chat-video-card{border:0;position:relative;display:block;width:100%;padding:0;overflow:hidden;min-height:170px;border-radius:8px;background:#1c2b33;color:#fff}.chat-video-card img,.chat-video-poster{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}.chat-video-card>.glyph{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:56px;height:56px;background:#0008;border-radius:50%;padding:15px;pointer-events:none}.video-duration{position:absolute;bottom:8px;left:10px;font-size:12px;font-weight:600;background:#0007;border-radius:8px;padding:3px 7px;pointer-events:none}.video-placeholder{display:grid;place-items:center;min-height:180px;color:#a9c3c6}.chat-video-poster{min-height:180px}.chat-document-card{border:0;padding:0;display:block;width:100%;border-radius:8px;overflow:hidden;background:var(--surface2);color:var(--ink);text-align:start}.document-cover{height:170px;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:12px;background:color-mix(in srgb,var(--accent) 7%,var(--surface));color:var(--accent)}.document-cover img{width:100%;max-height:none!important;height:auto;object-fit:cover;object-position:top;align-self:flex-start}.document-cover .glyph{width:50px;height:50px}.document-format{font-size:24px;font-weight:750}.document-description{padding:12px;display:flex;flex-direction:column;gap:5px}.document-description strong{font-size:15px;overflow-wrap:anywhere}.document-description small{color:var(--muted);font-size:12px}.chat-audio{width:100%;max-width:100%;height:44px}.load-earlier{display:block;margin:0 auto 12px;border:0;border-radius:20px;font-size:12px;padding:8px 15px;background:var(--surface);color:var(--accent)}.quoted{display:block;text-align:start;border:0;border-inline-start:3px solid var(--accent);min-height:34px;background:var(--surface2);font-size:12px;padding:7px 10px}.tone-preview.playing{background:var(--accentSoft);color:var(--accent)}.tone-preview.playing:before{content:'♪ ';font-weight:700}
.voice-hidden{display:none!important}.voice-bar{background:var(--surface);padding:12px 12px max(10px,env(safe-area-inset-bottom));border-top:1px solid var(--line);flex-shrink:0}.voice-top{display:flex;align-items:center;gap:9px;min-height:32px}.voice-dot{background:#e34949;width:10px;height:10px;border-radius:50%;animation:voice-blink 1s infinite;flex-shrink:0}.voice-time{font-variant-numeric:tabular-nums;font-size:15px;min-width:45px}.voice-wave{display:flex;align-items:center;justify-content:center;gap:3px;flex:1;overflow:hidden;height:32px;color:var(--accent)}.voice-wave i{display:block;width:3px;min-width:3px;border-radius:4px;background:currentColor;animation:voice-wave .7s ease-in-out infinite alternate}.voice-wave i:nth-child(3n){animation-delay:-.2s}.voice-wave i:nth-child(2n){animation-delay:-.5s}.voice-hint{font-size:12px;color:var(--muted)}.voice-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:8px}.voice-bottom>.icon-button,.voice-send{width:48px;height:48px;min-width:48px;border:0;background:transparent;display:grid;place-items:center;color:var(--ink)}.voice-bottom>.icon-button:first-child{color:#d04747}.voice-send{border-radius:50%;background:var(--accent);color:var(--surface)}.voice-preview{width:calc(100% - 106px);height:44px;min-width:0}.voice-bar[data-phase=paused] .voice-dot,.voice-bar[data-phase=paused] .voice-wave i,.voice-bar[data-phase=ready] .voice-dot{animation:none}.voice-bar[data-phase=ready] .voice-dot{background:var(--accent)}.voice-bar[data-phase=ready] .voice-wave{visibility:hidden}.voice-bar[data-phase=starting] .voice-wave,.voice-bar[data-phase=stopping] .voice-wave{display:none}@keyframes voice-blink{50%{opacity:.35}}@keyframes voice-wave{to{transform:scaleY(.45)}}
.media-screen{position:fixed;inset:0;z-index:40;display:flex;flex-direction:column;background:#080e11;color:#fff;width:100%;height:100dvh;overflow:hidden;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.media-header{height:64px;min-height:64px;display:flex;align-items:center;gap:0;padding:0 6px;background:#101b20;color:#fff;flex-shrink:0}.media-header .icon-button,.media-reply .icon-button{background:transparent;color:#fff;width:40px;min-width:40px;height:48px;padding:7px;display:grid;place-items:center;border:0}.media-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px;margin-inline:4px}.media-info strong{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-info small{font-size:12px;color:#d3dfe3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-stage{flex:1;min-height:0;position:relative;overflow:hidden;display:flex;justify-content:center;align-items:center}.media-loading{position:absolute;z-index:2;top:50%;left:50%;transform:translate(-50%,-50%);font-size:13px;max-width:80%;background:#172b35d9;padding:10px 16px;border-radius:20px;text-align:center;pointer-events:none}.fullscreen-video{width:100%;height:100%;object-fit:contain;background:#080e11;border-radius:0}.video-center-play{position:absolute;border:0;border-radius:50%;background:#0007;color:white;width:64px;height:64px;display:grid;place-items:center}.video-center-play .glyph{width:28px;height:28px}.media-footer{flex-shrink:0;background:#080e11;padding:6px 10px 10px}.video-controls{display:flex;align-items:center;gap:8px;min-height:48px;font-size:12px;font-weight:650}.video-controls .icon-button{width:36px;min-width:36px;background:transparent;color:white;display:grid;place-items:center;padding:5px;border:0}.video-controls time{white-space:nowrap;font-variant-numeric:tabular-nums}.video-seek{flex:1;width:20px;min-width:0;accent-color:#27c58f;padding:0;margin:0}.video-speed{border:0;padding:6px;background:transparent;color:#fff;font-size:13px;white-space:nowrap}.media-reply{display:flex;gap:4px;align-items:center;background:#1e3039;border-radius:30px;padding:4px 8px 4px 14px;min-height:52px}.media-reply input{flex:1;min-width:30px;border:0;background:transparent;color:#fff;font-size:15px;padding:5px;outline:none}.media-reply input::placeholder{color:#aab9c1}.media-reaction{background:transparent;border:0;padding:0;width:36px;min-width:36px;font-size:25px}.media-reply-send{background:transparent;border:0;color:#35d49e;padding:5px;width:38px;min-width:38px;display:grid;place-items:center}.media-previous,.media-next{position:absolute;top:50%;left:8px;z-index:4;border:0;border-radius:50%;background:#0006;color:#fff;display:grid;place-items:center;width:38px;height:48px;min-height:48px;padding:8px}.media-next{left:auto;right:8px;transform:rotate(180deg)}.media-screen .fullscreen-image{flex:1;position:absolute;inset:0;width:100%;height:100%;min-height:0;direction:ltr;background:#080e11;touch-action:none;padding:0}.image-pad{display:flex;align-items:center;justify-content:center;min-width:100%;min-height:100%}.fullscreen-image .zoom-image{max-width:none;max-height:none;object-fit:fill;display:block;margin:0;border-radius:0;flex-shrink:0}.fullscreen-document{display:block;position:absolute;inset:0;border:0;width:100%;height:100%;background:#e8ebed}.media-screen[data-kind=application] .media-footer,.media-screen[data-kind=text] .media-footer{display:none}.fullscreen-audio{width:90%;max-width:600px}.viewing-media .reaction-tray{visibility:hidden}.message-text{white-space:pre-wrap;overflow-wrap:anywhere}.draft-queue{max-height:180px;overflow-y:auto}.draft-thumbnail{max-height:64px}.media-screen:fullscreen{height:100vh}.media-reaction{font-family:'Noto Color Emoji','Apple Color Emoji','Segoe UI Emoji',system-ui}@media(prefers-reduced-motion:reduce){.voice-dot,.voice-wave i{animation:none}button,a{transition:none}}
