/* EmojiJar Core 1.0.1 – copy grids, chips, cards, tray */
:root{--ej-purple:#3E0557;--ej-purple-2:#5B1280;--ej-ink:#2A0B3D;--ej-muted:#6A5680;--ej-line:#EADCF2;--ej-yellow:#FFC83D;--ej-orange:#F7931E;--ej-cream:#FFF8EC}
.ej{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji","Segoe UI Symbol",system-ui,sans-serif}

/* search */
.ej-search{display:flex;align-items:center;gap:6px;max-width:640px;margin:0 0 1.2em;background:#fff;border:2px solid var(--ej-purple);border-radius:999px;padding:4px 4px 4px 18px}
.ej-search input[type=search]{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:16px;padding:8px 0;color:var(--ej-ink)}
.ej-search button{border:0;border-radius:999px;background:var(--ej-yellow);color:#2A0440;font-weight:800;font-size:15px;padding:0 22px;height:44px;cursor:pointer;line-height:1}
.ej-search button:hover,.ej-search button:focus{background:var(--ej-orange);color:#fff}
.ej-search--hero{margin:0 auto 1em;border:0;box-shadow:0 8px 24px rgba(0,0,0,.25);padding:6px 6px 6px 22px}
.ej-search--hero input[type=search]{font-size:17px}
.ej-search--hero button{height:48px;padding:0 26px;font-size:16px}

/* single emoji tiles */
.ej-singles{display:grid;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:10px;margin:0 0 1.6em}
.ej-singles--small{grid-template-columns:repeat(auto-fill,minmax(96px,1fr))}
.ej-tile{all:unset;box-sizing:border-box;cursor:pointer;min-height:108px;padding:8px 6px;border:2px solid var(--ej-line);border-radius:16px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;transition:transform .08s,border-color .12s,box-shadow .12s;-webkit-tap-highlight-color:transparent}
.ej-tile:hover,.ej-tile:focus{background:#fff;color:inherit;border-color:var(--ej-orange);box-shadow:0 4px 14px rgba(62,5,87,.12)}
.ej-tile:focus-visible{outline:3px solid var(--ej-orange);outline-offset:2px}
.ej-tile:active{transform:scale(.95)}
.ej-tile.is-copied,.ej-tile.is-copied:hover,.ej-tile.is-copied:focus{border-color:#2E9E5B;background:#EFFAF3}
.ej-tile__c{font-size:40px;line-height:1.1}
.ej-tile__n{font-size:11.5px;line-height:1.2;color:var(--ej-muted);word-break:break-word}
.ej-singles--small .ej-tile{min-height:96px}.ej-singles--small .ej-tile__c{font-size:34px}

/* library mini tiles */
.ej-lib{display:grid;grid-template-columns:repeat(auto-fill,minmax(54px,1fr));gap:6px}
.ej-tile--mini{min-height:54px;padding:4px;border-radius:12px}
.ej-tile--mini .ej-tile__c{font-size:28px}
.ej-group{margin:0 0 1.8em;scroll-margin-top:80px}
.ej-group h2 small{font-size:14px;font-weight:600;color:var(--ej-muted)}
.ej-jump{position:sticky;top:0;z-index:5;background:var(--ej-cream);display:flex;flex-wrap:wrap;gap:8px;padding:10px 0;margin:0 0 1.2em;border-bottom:2px solid var(--ej-line)}

/* combos */
.ej-combos{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 1.6em}
.ej-combo{all:unset;box-sizing:border-box;cursor:pointer;min-height:56px;max-width:100%;padding:10px 18px;border:2px solid var(--ej-line);border-radius:14px;background:#fff;color:var(--ej-ink);font-size:23px;line-height:1.35;white-space:pre-wrap;word-break:break-word;transition:transform .08s,border-color .12s}
.ej-combo:hover,.ej-combo:focus{background:#fff;color:var(--ej-ink);border-color:var(--ej-orange)}
.ej-combo:focus-visible{outline:3px solid var(--ej-orange);outline-offset:2px}
.ej-combo:active{transform:scale(.97)}
.ej-combo.is-copied,.ej-combo.is-copied:hover,.ej-combo.is-copied:focus{border-color:#2E9E5B;background:#EFFAF3}

/* chips */
.ej-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 1.6em}
.ej-chip{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border:2px solid var(--ej-line);border-radius:999px;background:#fff;color:var(--ej-purple)!important;text-decoration:none!important;font-size:14px;font-weight:700}
.ej-chip:hover{background:var(--ej-yellow);border-color:var(--ej-yellow)}

/* collection cards */
.ej-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin:0 0 1.6em}
.ej-card{display:flex;flex-direction:column;gap:6px;padding:18px;background:#fff;border:2px solid var(--ej-line);border-radius:18px;text-decoration:none!important;color:var(--ej-ink)!important;transition:transform .12s,border-color .12s}
.ej-card:hover{border-color:var(--ej-orange);transform:translateY(-2px)}
.ej-card__e{font-size:28px;letter-spacing:2px;white-space:nowrap;overflow:hidden}
.ej-card__t{font-family:"Baloo 2",system-ui,sans-serif;font-weight:800;font-size:21px;color:var(--ej-purple)}
.ej-card__d{font-size:13.5px;color:var(--ej-muted)}

/* categories */
.ej-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin:0 0 1.6em}
.ej-cat{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border:2px solid var(--ej-line);border-radius:16px;text-decoration:none!important;color:var(--ej-ink)!important}
.ej-cat:hover{border-color:var(--ej-orange)}
.ej-cat__e{font-size:32px}
.ej-cat__t{display:flex;flex-direction:column;font-weight:700;font-size:15px}
.ej-cat__t small{font-weight:400;font-size:12.5px;color:var(--ej-muted)}

/* banner */
.ej-banner{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;background:var(--ej-yellow);border-radius:22px;padding:24px 28px;margin:0 0 1.8em}
.ej-banner__txt{flex:1 1 340px}
.ej-banner__label{font-size:13px;font-weight:800;letter-spacing:.8px;color:var(--ej-purple);text-transform:uppercase}
.ej-banner__title{margin:2px 0 4px!important;font-family:"Baloo 2",system-ui,sans-serif;font-weight:800;font-size:30px;line-height:1.1;color:#2A0440}
.ej-banner__text{margin:0!important;font-size:15px;color:#3B1A4F}
.ej-banner__e{font-size:38px;letter-spacing:6px}
.ej-btn{display:inline-flex;align-items:center;min-height:48px;padding:0 24px;border-radius:999px;background:var(--ej-purple);color:#fff!important;font-weight:800;text-decoration:none!important}
.ej-btn:hover{background:var(--ej-purple-2)}

/* ads: space around, never touching copy buttons */
.ej-ad{margin:28px 0;min-height:100px;text-align:center}

/* search page */
.ej-search-box{margin-bottom:20px}
.ej-search-h{margin:.6em 0 .6em}

/* copy tray */
.ej-tray{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:999;display:flex;align-items:center;gap:10px;max-width:calc(100vw - 20px);box-sizing:border-box;padding:6px 6px 6px 16px;background:var(--ej-purple);color:#fff;border-radius:999px;box-shadow:0 10px 30px rgba(42,4,64,.35)}
.ej-tray[hidden]{display:none}
.ej-tray__msg{font-size:13px;font-weight:700;color:var(--ej-yellow);white-space:nowrap}
.ej-tray__items{font-size:22px;max-width:280px;min-width:0;overflow:hidden;white-space:nowrap}
.ej-tray__all,.ej-tray__x{border:0;cursor:pointer;font-weight:800;border-radius:999px;height:40px;line-height:1}
.ej-tray__all,.ej-tray__all:hover,.ej-tray__all:focus{background:var(--ej-yellow);color:#2A0440;padding:0 16px}
.ej-tray__x,.ej-tray__x:hover,.ej-tray__x:focus{background:var(--ej-purple-2);color:#fff;width:40px;font-size:20px;padding:0}
@media (max-width:600px){
	.ej-singles{grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:8px}
	.ej-tile{min-height:90px}.ej-tile__c{font-size:34px}.ej-tile__n{font-size:10.5px}
	.ej-combo{font-size:20px;padding:8px 14px;min-height:50px}
	.ej-tray{left:10px;right:10px;transform:none;max-width:none}
	.ej-tray__items{flex:1;max-width:none}
	.ej-banner{padding:20px}.ej-banner__title{font-size:25px}
	.ej-search button{padding:0 16px}
}
