.sticker-picker{border:1px solid var(--color-border);background:var(--color-surface);width:100%;min-width:0;color:var(--color-text);border-radius:14px;margin-top:8px;overflow:hidden}.sticker-picker button{font:inherit;cursor:pointer}.sticker-picker button:disabled{cursor:not-allowed;opacity:.4}.sticker-picker button:focus-visible,.sticker-play-toggle:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}.sticker-picker-header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;gap:8px;padding:8px;display:flex}.sticker-tabs{gap:4px;min-width:0;display:flex}.sticker-tabs button{white-space:nowrap;background:0 0;border:0;border-radius:8px;padding:7px 12px;font-size:13px}.sticker-tabs button[aria-selected=true]{background:var(--color-accent-soft);color:var(--color-accent)}.sticker-close,.sticker-modal-close{background:0 0;border:0;padding:4px 8px;line-height:1;font-size:24px!important}.sticker-picker-body{overscroll-behavior:contain;height:260px;max-height:36dvh;padding:10px;overflow:auto}.sticker-grid{grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:10px;display:grid}.sticker-cell{text-align:center;min-width:0}.sticker-send{background:0 0;border:0;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:100%;min-height:94px;padding:5px;display:flex}.sticker-send:hover,.emoji-grid button:hover{background:var(--color-surface-interactive)}.sticker-send img{object-fit:contain;width:64px;height:64px}.sticker-send span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:11px;overflow:hidden}.sticker-preview-button{color:var(--color-text-muted);background:0 0;border:0;padding:3px 9px;font-size:11px!important}.emoji-group-title{color:var(--color-text-muted);margin:6px 0 8px;font-size:12px;font-weight:500}.emoji-grid{grid-template-columns:repeat(auto-fill,minmax(36px,1fr));gap:3px;margin-bottom:16px;display:grid}.emoji-grid button{background:0 0;border:0;border-radius:7px;min-height:36px;padding:3px;font-size:25px}.sticker-empty{text-align:center;color:var(--color-text-subtle);padding:55px 10px;font-size:13px}.sticker-art{vertical-align:middle;justify-content:center;align-items:center;width:150px;max-width:100%;display:inline-flex;position:relative}.sticker-art img{object-fit:contain;width:100%;height:100%;display:block}.sticker-art-placeholder{min-height:80px;color:var(--color-text-muted);justify-content:center;align-items:center;padding:12px;font-size:13px;display:flex}.sticker-play-toggle{white-space:nowrap;border:1px solid var(--color-border);background:var(--color-surface-elevated);color:var(--color-text-muted);cursor:pointer;border-radius:12px;padding:3px 7px;font-size:10px;position:absolute;bottom:2px;left:50%;transform:translate(-50%)}.sticker-modal-backdrop{z-index:1000;background:#0007;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.sticker-modal{background:var(--color-surface);border-radius:20px;flex-direction:column;align-items:center;gap:18px;width:320px;max-width:100%;max-height:85dvh;padding:24px;display:flex;position:relative;overflow:auto;box-shadow:0 20px 80px #0003}.sticker-modal h3{margin:0;font-size:16px}.sticker-modal-close{position:absolute;top:10px;right:10px}.sticker-large{flex-shrink:0;width:240px}.sticker-modal-send{background:var(--color-accent);width:100%;color:var(--color-canvas);border:0;border-radius:10px;padding:11px}.sticker-modal-send:disabled{opacity:.4}@media (max-width:480px){.sticker-tabs button{padding:7px 10px}.sticker-picker-body{height:230px;max-height:33dvh}.sticker-grid{grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:5px}.sticker-send img{width:58px;height:58px}}.sticker-art-noto{width:128px}.sticker-art-cats{width:190px}.sticker-art.sticker-large{width:240px}.sticker-attribution{text-align:right;color:var(--color-text-subtle);padding:5px 12px 8px;font-size:10px}.sticker-attribution a:hover{color:var(--color-accent)}.sticker-recent-emoji{min-height:94px;color:var(--color-text);border-radius:9px;font-size:36px!important}.sticker-recent-emoji:hover{background:var(--color-surface-interactive)}.message-bubble.sticker-bubble,.message-row.self .message-bubble.sticker-bubble{box-shadow:none;background:0 0;border:0;gap:4px;padding:0}.sticker-bubble .message-time{align-self:flex-end}.sticker-bubble .message-quote{background:var(--color-surface-elevated);border-radius:10px;max-width:220px;padding:8px 10px}.sticker-unavailable{color:var(--color-text-muted);padding:14px}.sticker-grid.sticker-grid-six{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.sticker-grid-six .sticker-send{min-height:70px;padding:3px 1px}.sticker-grid-six .sticker-send img{aspect-ratio:1;width:min(100%,48px);height:auto}.sticker-grid-six .sticker-recent-emoji{min-width:0;min-height:70px;padding:3px 1px}.sticker-grid-six .sticker-preview-button{padding:3px 1px}.sticker-tabs{overscroll-behavior:contain;scrollbar-width:none;flex:1;overflow-x:auto}.sticker-tabs button,.sticker-close{flex-shrink:0}.sticker-art-dogs{width:190px}.custom-sticker-art{vertical-align:middle;justify-content:center;align-items:center;width:150px;max-width:100%;min-height:64px;display:inline-flex}.custom-sticker-art>.sticker-art{width:100%}.custom-sticker-grid .custom-sticker-art,.sticker-send .custom-sticker-art{width:64px;height:64px}.custom-sticker-art .sticker-art-placeholder{min-height:60px;padding:4px;font-size:11px}.custom-sticker-toolbar{color:var(--color-text-subtle);justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12px;display:flex}.custom-sticker-toolbar button,.custom-sticker-confirm button,.custom-sticker-error button{color:var(--color-accent);background:0 0;border:0;min-height:36px;padding:5px 10px}.custom-sticker-add{border:1px dashed var(--color-border);min-height:94px;color:var(--color-text-muted);background:0 0;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex}.custom-sticker-add span{font-size:12px}.custom-sticker-status{color:var(--color-text-muted);margin:12px 0;font-size:12px;line-height:1.6}.custom-sticker-error{color:var(--color-accent);overflow-wrap:anywhere;font-size:12px;line-height:1.5}.custom-sticker-confirm{border:1px solid var(--color-border);background:var(--color-surface-elevated);border-radius:10px;margin-bottom:10px;padding:10px}.custom-sticker-confirm p{margin:0;font-size:13px}.custom-sticker-confirm>div{justify-content:flex-end;gap:8px;display:flex}.sticker-grid-six .custom-sticker-art{width:48px;height:48px;min-height:48px}.sticker-grid-six .custom-sticker-art .sticker-art-placeholder{min-height:40px;font-size:10px}.sticker-tabs button{padding:7px 8px;font-size:12px}.sticker-picker button{color:var(--color-text-muted);-webkit-tap-highlight-color:transparent}.sticker-picker .sticker-send{color:var(--color-text)}.sticker-picker .sticker-tabs button[aria-selected=true],.sticker-picker .custom-sticker-toolbar button,.sticker-picker .custom-sticker-confirm button,.sticker-picker .custom-sticker-error button{color:var(--color-accent)}.sticker-send{touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.sticker-send img{pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.sticker-hold-overlay{z-index:1200;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;color:var(--color-text);background:#0006;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.sticker-hold-card{border:1px solid var(--color-border);background:var(--color-surface-elevated);border-radius:20px;flex-direction:column;align-items:center;gap:10px;max-width:100%;padding:24px;display:flex;box-shadow:0 20px 80px #0005}.sticker-hold-card>.sticker-art,.sticker-hold-card>.custom-sticker-art{width:240px;max-width:65vw;min-height:150px}.sticker-hold-card>span:last-child{color:var(--color-text-muted);font-size:13px}
.message-delivery{align-items:center;gap:3px;display:inline-flex}.message-row.self>.message-bubble{max-width:80%}.message-bubble>button{margin-left:8px;text-decoration:underline}.load-older-button:disabled{opacity:.55;cursor:wait}.conversation-page .conversation-timeline{overflow-anchor:none;scroll-behavior:auto}.message-retracted{color:var(--color-text-muted);font-style:italic}.message-quote,.chat-reply-draft{border-left:3px solid var(--color-accent);background:var(--color-surface);overflow-wrap:anywhere;border-radius:6px;margin:0 0 8px;padding:6px 10px;font-size:12px}.message-quote p,.chat-reply-draft p{white-space:pre-wrap;margin:3px 0 0}.message-quote p{max-height:72px;overflow:auto}.chat-reply-draft{justify-content:space-between;align-items:center;gap:10px;display:flex}.chat-reply-draft>div{min-width:0}.chat-reply-draft p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-reply-draft button{flex-shrink:0;padding:8px}.chat-message-actions{color:var(--color-text-muted);margin:3px 5px;font-size:11px}.chat-message-actions summary{cursor:pointer;padding:4px;list-style:none}.chat-message-actions summary::-webkit-details-marker{display:none}.chat-message-actions>div{flex-wrap:wrap;gap:8px;display:flex}.chat-message-actions button,.chat-search-panel button,.chat-action-status button,.chat-reply-draft button{color:inherit;border:1px solid var(--color-border);cursor:pointer;background:0 0;border-radius:7px;padding:6px 10px}.chat-message-actions button:disabled{opacity:.5;cursor:default}.chat-action-status{color:var(--color-text-muted);justify-content:space-between;align-items:center;gap:10px;padding:6px 16px;font-size:12px;display:flex}.chat-search-panel{border-bottom:1px solid var(--color-border);background:var(--color-surface);flex:0 auto;min-height:0;max-height:45dvh;padding:12px 16px;overflow:auto}.chat-search-panel form{align-items:center;gap:6px;display:flex}.chat-search-panel input{border:1px solid var(--color-border);background:var(--color-canvas);min-width:0;color:var(--color-text);border-radius:8px;flex:1;padding:8px}.chat-search-panel form button{flex-shrink:0}.chat-search-result{border-bottom:1px solid var(--color-border);grid-template-columns:1fr auto;gap:4px 10px;padding:10px 0;display:grid}.chat-search-result p{white-space:pre-wrap;overflow-wrap:anywhere;grid-column:1/-1;margin:0}.chat-search-result time{color:var(--color-text-muted);font-size:11px}.chat-message-actions button:focus-visible,.chat-search-panel button:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}.conversation-timeline .message-row{align-items:flex-start}.virtual-message-list{overflow-anchor:none;flex-shrink:0;display:block;position:relative}.virtual-history-control{text-align:center;position:absolute;top:0;left:0;right:0}.load-newer-button{color:var(--color-text-muted);border:1px solid var(--color-border);background:0 0;border-radius:10px;margin:16px auto;padding:8px 12px;display:block}.album-collect-dialog{border:1px solid var(--color-border);width:min(420px,100vw - 32px);max-height:80dvh;color:var(--color-text);background:var(--color-surface);margin:auto;overflow:auto}.album-collect-dialog::backdrop{background:#0008}.album-collect-dialog .list-stack{margin:16px 0}.album-collect-dialog h2{font-size:20px}.message-time-with-album{gap:8px;width:100%;min-width:0;margin-top:6px;display:flex}.message-album-source{white-space:nowrap;text-overflow:ellipsis;min-width:0;color:inherit;flex:1;font-size:11px;line-height:1.5;text-decoration:none;overflow:hidden}.message-album-source:hover{color:var(--color-accent,#ff5278)}.message-sent-time,.message-time-with-album .message-delivery{white-space:nowrap;flex-shrink:0}
