.emoji-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.emoji-search-field{grid-column:span 2}.emoji-controls .field{margin:0}.emoji-gallery{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;max-height:600px;padding:4px;display:grid;overflow:auto}.emoji-tile{border:1px solid var(--line);min-width:0;color:var(--ink);cursor:pointer;background:#fff;border-radius:9px;flex-direction:column;align-items:center;gap:8px;min-height:115px;padding:10px 4px;display:flex}.emoji-tile img{object-fit:contain;background:repeating-conic-gradient(#e7e9e8 0% 25%,#fff 0% 50%) 50%/12px 12px;border-radius:5px;max-width:100%}.emoji-tile span{overflow-wrap:anywhere;font-size:10px;line-height:1.35}.emoji-tile[aria-pressed=true]{background:var(--mint);border:2px solid var(--accent)}.emoji-resource-error:before{content:"Preview unavailable";color:#943c2e;font-size:11px}.emoji-pagination{justify-content:space-between;align-items:center;gap:10px;margin:20px 0;display:flex}.emoji-pagination span{text-align:center;font-size:12px}.emoji-pagination .button{padding:10px 14px;font-size:12px}.emoji-chosen{border-top:1px solid var(--line);margin-top:16px;padding-top:18px}.emoji-chosen h2{font-size:18px}.emoji-chip{border:1px solid var(--line);background:var(--mint);color:var(--ink);cursor:pointer;overflow-wrap:anywhere;border-radius:20px;max-width:100%;min-height:44px;padding:8px 10px;font-size:11px}.emoji-chosen #emoji-selected{flex-wrap:wrap;gap:6px;margin:10px 0;display:flex}.emoji-chosen #emoji-count{margin-right:16px;font-size:12px}.emoji-chosen .text-link{cursor:pointer;background:0 0;border:0;min-height:44px;font-size:12px}.emoji-preview{align-items:center;gap:20px;margin:22px 0;display:flex}.emoji-checker{border:1px solid var(--line);background:repeating-conic-gradient(#e7e9e8 0% 25%,#fff 0% 50%) 50%/20px 20px;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:160px;height:160px;display:flex}.emoji-checker img{object-fit:contain;max-width:100%;max-height:100%}.emoji-preview p{overflow-wrap:anywhere;font-size:12px}.emoji-preview h3{font-size:18px}.emoji-actions{flex-wrap:wrap;gap:12px;margin-top:20px;display:flex}.emoji-license{margin-top:24px;font-size:11px}.emoji-license a{color:var(--accent);text-decoration:underline}.emoji-code-list{gap:12px;max-height:720px;display:grid;overflow:auto}.emoji-code-row{border:1px solid var(--line);border-radius:9px;flex-wrap:wrap;gap:8px;min-width:0;padding:14px;display:flex}.emoji-code-row strong{flex-basis:100%;font-size:14px}.emoji-code{border:1px solid var(--line);color:var(--ink);overflow-wrap:anywhere;text-align:left;cursor:pointer;background:#f6faf7;border-radius:5px;max-width:100%;min-height:44px;padding:9px;font-family:Consolas,monospace;font-size:12px}.emoji-code-row span{font-size:12px}.emoji-copy-fallback label{margin:15px 0 8px;font-size:13px;display:block}.emoji-copy-fallback textarea{border:1px solid var(--line);resize:vertical;border-radius:8px;width:100%;padding:10px;font:12px Consolas,monospace}.emoji-workbench button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.emoji-workbench [hidden]{display:none!important}.emoji-workbench #emoji-status{min-height:24px;font-size:12px}.emoji-workbench button:disabled{opacity:.5;cursor:default}.emoji-workbench #emoji-result-label{overflow-wrap:anywhere;font-size:12px}@media (width<=700px){.emoji-gallery{grid-template-columns:repeat(4,minmax(0,1fr));max-height:480px}.emoji-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.emoji-controls .field select{font-size:13px}.emoji-search-field{grid-column:span 2}.emoji-tile{min-height:110px}.emoji-tile img{width:48px;height:48px}.emoji-tile span{font-size:9px}.emoji-preview{gap:12px}.emoji-checker{width:110px;height:110px}.emoji-preview h3{font-size:16px}.emoji-pagination{flex-wrap:wrap}.emoji-pagination span{flex:1}.emoji-actions .button{flex:1;padding:12px;font-size:12px}.emoji-code-row{padding:10px}.emoji-code{font-size:11px}.emoji-chosen .emoji-chip{font-size:10px}}.emoji-workbench~.related-section .related-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:none;display:grid}@media (width<=700px){.emoji-controls .field input,.emoji-controls .field select{font-size:16px}.emoji-workbench~.related-section .related-grid{grid-template-columns:1fr}}.emoji-start{background:var(--mint);border:1px solid #c9dfd4;border-radius:14px;grid-template-columns:minmax(0,1fr) 280px;align-items:center;gap:32px;margin:6px 0 24px;padding:32px;display:grid}.emoji-start-copy,.emoji-start-action{min-width:0}.emoji-start h2{margin:10px 0 12px;font-size:28px;line-height:1.2}.emoji-start-copy>p{max-width:540px;color:var(--ink);margin:0;font-size:14px}.emoji-start-copy>.emoji-start-note{color:var(--muted);margin-top:12px;font-size:12px}.emoji-demo{justify-content:center;align-items:center;gap:10px;margin-bottom:18px;font-size:32px;line-height:1.3;display:flex}.emoji-demo span{min-width:0;display:block}.emoji-start-action .button{gap:12px;width:100%}.emoji-start .button>span{font-size:14px;font-weight:650}.emoji-start .button>.emoji-browse-arrow{font-size:20px;font-weight:400}.emoji-start-action small{text-align:center;color:var(--muted);margin-top:10px;font-size:10px;line-height:1.5;display:block}.emoji-start .message{margin:16px 0 0;font-size:12px}.emoji-spinner{border:2px solid #ffffff70;border-top-color:#fff;border-radius:50%;flex-shrink:0;width:17px;height:17px;animation:.8s linear infinite emoji-spin}.emoji-workbench[data-catalog-state=loading] .emoji-browse-arrow{display:none}.emoji-workbench[data-catalog-state=loading] #emoji-browse{opacity:1;cursor:wait}.emoji-loading-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;max-height:320px;margin:20px 0;display:grid;overflow:hidden}.emoji-skeleton{border:1px solid var(--line);background:#f7faf7;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:104px;display:flex}.emoji-skeleton span{background:#dfe9e2;border-radius:6px;animation:1.2s ease-in-out infinite emoji-pulse;display:block}.emoji-skeleton span:first-child{width:44px;height:44px}.emoji-skeleton span:last-child{width:65%;height:9px}.emoji-workbench[data-emoji-mode=codes] .emoji-loading-grid{grid-template-columns:1fr;max-height:280px}.emoji-workbench[data-emoji-mode=codes] .emoji-skeleton{align-items:flex-start;min-height:80px;padding:16px}.emoji-workbench[data-emoji-mode=codes] .emoji-skeleton span:first-child{width:35%;height:12px}.emoji-workbench[data-emoji-mode=codes] .emoji-skeleton span:last-child{width:75%}.emoji-browser-heading{justify-content:space-between;align-items:center;gap:12px;margin:24px 0 20px;display:flex}.emoji-browser-heading h2{margin:0;font-size:22px}.emoji-browser-heading>span{color:var(--muted);font-size:12px}.emoji-workbench #emoji-status:empty{display:none}.emoji-workbench .emoji-actions{margin-bottom:12px}@keyframes emoji-spin{to{transform:rotate(360deg)}}@keyframes emoji-pulse{50%{opacity:.45}}@media (width<=700px){.emoji-start{grid-template-columns:1fr;gap:22px;padding:22px}.emoji-start h2{font-size:25px}.emoji-start-copy>p{font-size:13px}.emoji-start-action{width:100%}.emoji-demo{gap:10px;margin-bottom:14px;font-size:28px}.emoji-start-action .button{min-height:50px;padding-inline:12px}.emoji-browser-heading{align-items:flex-start}.emoji-browser-heading h2{font-size:20px}.emoji-loading-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.emoji-spinner,.emoji-skeleton span{animation:none}}
