/* Scoped to the composer popover; no global/modal/chat layout overrides. */
.novo-picker{position:fixed;z-index:45;display:flex;flex-direction:column;box-sizing:border-box;width:380px;height:548px;border-radius:18px;background:#17181a;color:#f3f3f4;box-shadow:0 6px 24px #0002;overflow:hidden;font-family:Arial,Helvetica,sans-serif;font-size:14px;isolation:isolate;overscroll-behavior:contain}
.novo-picker *{box-sizing:border-box}.novo-picker button{font:inherit;color:inherit;border:0;cursor:pointer;margin:0;box-shadow:none;min-width:0;background:transparent;touch-action:manipulation}.novo-picker button:disabled{opacity:.5;cursor:default}.novo-picker button:focus-visible{outline:2px solid #0785ff;outline-offset:-2px}.novo-picker .np-top{display:flex;align-items:center;flex-shrink:0;gap:4px;height:57px;padding:10px 12px 11px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.np-top::-webkit-scrollbar{display:none}.novo-picker .np-top button{flex:0 0 32px;width:32px;height:32px;padding:5px;display:grid;place-items:center;color:#909193;border-radius:9px;font-size:22px;line-height:1}.novo-picker .np-top button.selected{background:#2b2c2f;color:#a8a9ac}.novo-picker .np-top svg{width:22px;height:22px}.novo-picker .np-top img{display:block;width:25px;height:25px;object-fit:contain}.novo-picker .np-scroll{position:relative;flex:1;min-height:0;overflow:auto;padding:0 12px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#3b3c40 transparent;-webkit-overflow-scrolling:touch}.novo-picker .np-scroll::-webkit-scrollbar{width:3px}.novo-picker .np-scroll::-webkit-scrollbar-thumb{background:#3b3c40;border-radius:3px}.novo-picker .np-section{padding:15px 0 8px}.novo-picker h3{font-size:14px;font-weight:600;line-height:18px;color:#9b9b9d;margin:0 0 12px;padding:0}.novo-picker .np-emoji-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));grid-auto-rows:40px;gap:0}.novo-picker .np-emoji-grid button{width:100%;height:40px;padding:0;display:grid;place-items:center;border-radius:7px;font-size:25px;line-height:1;font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif}.novo-picker .np-tabs{height:48px;flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:3px;padding:6px 8px 8px;background:#17181a}.novo-picker .np-tabs button{height:32px;padding:0 12px;border-radius:9px;font-size:14px;line-height:32px;font-weight:600}.novo-picker .np-tabs button.selected{background:#424352;color:#fff}.novo-picker .np-pack{padding:12px 0 22px}.novo-picker .np-pack-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:43px;margin-bottom:7px}.novo-picker .np-pack-title{padding:0;text-align:left;flex:1;line-height:18px;overflow:hidden}.novo-picker .np-pack-title strong{display:block;font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.novo-picker .np-pack-title span{display:block;font-size:13px;line-height:17px;font-weight:600;color:#77787b}.novo-picker .np-add{flex:0 0 auto;background:#0785ff;color:#fff;border-radius:10px;font-size:14px;font-weight:600;padding:7px 13px;line-height:18px}.novo-picker .np-add.installed{background:#35363e;color:#dedee5}.novo-picker .np-sticker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;align-items:center}.novo-picker .np-sticker-grid button{height:92px;width:100%;padding:0;border-radius:8px;display:grid;place-items:center}.novo-picker .np-sticker-grid img{display:block;width:100%;height:100%;max-height:92px;object-fit:contain}.novo-picker .np-empty{color:#9b9b9d;text-align:center;line-height:22px;padding:30px 12px;margin:0}.novo-picker .np-empty button,.novo-picker .np-browse{color:#168fff;padding:10px}.novo-picker .np-browse{display:block;margin:auto}.novo-picker .np-recent-title{margin:15px 0 12px}
@media(hover:hover){.novo-picker .np-top button:hover,.novo-picker .np-emoji-grid button:hover,.novo-picker .np-sticker-grid button:hover{background:#ffffff0a}.novo-picker .np-add:hover{filter:brightness(1.1)}}
@media(max-width:760px){.novo-picker{border-radius:16px}.novo-picker .np-top{height:51px;padding-top:8px;padding-bottom:8px}.novo-picker .np-tabs{height:48px}.novo-picker .np-emoji-grid{grid-auto-rows:39px}.novo-picker .np-emoji-grid button{height:39px;font-size:25px}.novo-picker .np-sticker-grid button{height:85px}.novo-picker .np-sticker-grid img{max-height:85px}}
@media(prefers-reduced-motion:reduce){.novo-picker *{scroll-behavior:auto!important}}

/* Stable finger targets for the footer; category and media scrolling remain native. */
.novo-picker .np-tabs{height:56px;padding:6px 8px}
.novo-picker .np-tabs button{min-height:44px;height:44px;line-height:44px;flex:1}
.novo-picker .np-add{min-height:44px}

.novo-picker .np-sticker-grid button.np-image-failed,.novo-picker .np-top button.np-image-failed{position:relative;background:#ffffff08;color:#8f9095}.novo-picker .np-sticker-grid button.np-image-failed::after,.novo-picker .np-top button.np-image-failed::after{content:'◌';font-size:24px;line-height:1}.novo-picker .np-top button.np-image-failed::after{font-size:16px}.novo-picker .np-image-failed img{display:none!important}
