/* One rounded focus surface, and a centered raised send control. */
#smart-main #ia-message,#smart-main #ia-message:focus,#smart-main #ia-message:focus-visible{outline:0!important;outline-offset:0!important;border:0!important;box-shadow:none!important}
#smart-main .ia-compose-row{align-items:center!important;outline:0!important}
#smart-main .ia-compose-row:focus-within{outline:0!important;border-color:#c09d59!important;box-shadow:inset 0 1px 2px #fff,0 0 0 2px #cba55c18,0 5px 16px #77643a10!important}
#smart-main #ia-send{display:grid!important;place-items:center!important;align-items:center!important;justify-content:center!important;align-self:center!important;box-sizing:border-box!important;padding:0!important;margin:0!important;width:52px!important;height:52px!important;min-width:52px!important;flex:0 0 52px!important;border-radius:17px!important;line-height:1!important;outline:0!important;outline-offset:0!important}
#smart-main #ia-send svg{display:block!important;width:29px!important;height:29px!important;margin:0!important;padding:0!important;overflow:visible;filter:drop-shadow(0 1px .35px #fff6c9b8) drop-shadow(0 1px .65px #44391e35)!important;transform:none!important}
#smart-main #ia-send:not(:disabled):active{transform:none!important;filter:brightness(.99)}
#smart-main #ia-send:focus-visible{outline:0!important;box-shadow:inset 0 0 0 2px #7e62299c,inset 0 2px 1px #fffdf3,0 4px 10px #5e4b2024!important}
/* The popup and every highlight are contained by their own rounded frame. */
#smart-main .fw-picker{display:flex;flex-direction:column;gap:0;box-sizing:border-box;min-width:0;max-width:calc(100vw - 24px);overflow:hidden;padding:11px;border-radius:18px;isolation:isolate}
#smart-main .fw-picker[hidden]{display:none!important}
#smart-main .fw-picker-title{flex:none;margin:0 3px 9px}
#smart-main .fw-emoji-search{flex:none;box-sizing:border-box;min-width:0;width:100%;height:36px;margin:0 0 9px;padding:7px 10px;border:1px solid #dddcc9;border-radius:11px;background:#f8f9f1;color:#42624a;font:inherit;font-size:12px;outline:0;box-shadow:none}
#smart-main .fw-emoji-search:focus-visible{outline:0!important;border-color:#bca268;box-shadow:inset 0 0 0 1px #c7ac72!important}
#smart-main .fw-emoji-scroll{min-height:0;max-height:252px;overflow-x:hidden;overflow-y:scroll;overscroll-behavior:contain;scrollbar-gutter:stable;padding:3px 5px 3px 2px;border-radius:10px;scrollbar-width:thin;scrollbar-color:#b0bda4 #f0f2e8;outline:0}
#smart-main .fw-emoji-scroll::-webkit-scrollbar{width:8px}#smart-main .fw-emoji-scroll::-webkit-scrollbar-track{background:#f0f2e8;border-radius:9px}#smart-main .fw-emoji-scroll::-webkit-scrollbar-thumb{background:#b0bda4;border:2px solid #f0f2e8;border-radius:9px}
#smart-main .fw-emoji-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;min-width:0;padding:1px}
#smart-main .fw-picker button{box-sizing:border-box;min-width:0;max-width:100%;padding:0;transform:none!important;outline-offset:0!important;overflow:hidden}
#smart-main .fw-emoji-grid button{display:grid;place-items:center;min-width:0;width:100%;height:38px;padding:0;border:0;border-radius:10px;background:transparent;font-family:'Segoe UI Emoji','Apple Color Emoji','Noto Color Emoji',sans-serif;font-size:25px;line-height:1;cursor:pointer}
#smart-main .fw-emoji-grid button:hover,#smart-main .fw-emoji-grid button:active{background:#e8eddf;transform:none!important}
#smart-main .fw-picker button:focus-visible{outline:0!important;box-shadow:inset 0 0 0 2px #ba9c59!important}
#smart-main .fw-emoji-empty{grid-column:1/-1;margin:10px 4px;font-size:12px;color:#6a7a65;line-height:1.5}
#smart-main .fw-stickers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;min-height:0;overflow:hidden}
#smart-main .fw-stickers button{min-width:0;max-width:100%;height:104px;padding:6px;border-radius:13px;overflow:hidden;gap:4px;transform:none!important}
#smart-main .fw-stickers button:hover{background:#eaf0e1}
#smart-main .fw-stickers img{flex:none;width:64px;height:64px;max-width:100%;object-fit:contain;animation:none!important;transform:none}
#smart-main .fw-sticker-preview{overflow:hidden;padding:4px 0;min-height:48px}
#smart-main .fw-sticker-preview img{animation:none!important;transform:none;flex:none;object-fit:contain}
#smart-main .fw-stickers .fw-react-sleep,#smart-main .fw-sticker-preview .fw-react-sleep{transform-origin:50% 92%;animation:fw-sleep-breath 5.2s ease-in-out infinite!important;will-change:transform}
#smart-main .fw-stickers .fw-react-fedya,#smart-main .fw-sticker-preview .fw-react-fedya{transform-origin:50% 94%;animation:fw-cat-breath 4.8s ease-in-out infinite!important}
#smart-main .fw-stickers .fw-react-hello,#smart-main .fw-sticker-preview .fw-react-hello{animation:fw-robot-warmth 5s ease-in-out infinite!important}
@keyframes fw-sleep-breath{0%,100%{transform:scale(1,1)}48%{transform:scale(1.004,1.022)}}
@keyframes fw-cat-breath{0%,100%{transform:scale(1,1)}50%{transform:scale(1.002,1.008)}}
@keyframes fw-robot-warmth{0%,100%{filter:brightness(1)}50%{filter:brightness(1.045)}}
@media(prefers-reduced-motion:reduce){#smart-main .fw-stickers img,#smart-main .fw-sticker-preview img{animation:none!important;transform:none!important;filter:none!important;will-change:auto}}
