/*
 * EmojisHive Standalone Stylesheet
 * Extracted from original emojis.php (non-standalone)
 * Author: Badz Khan
 * Version: 2.1
 * Site: https://EmojisHive.com/
 */

/* 🧩 Layout Basics */
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #333;
  margin: 0;
  padding: 0;
}

.ek-container { margin-top: 5px; }
.ek-main { padding-left: 30px; }

/* 🌈 HERO SECTION */
/* 🌈 HERO SECTION (Reduced Height, Content-Fit) */
.emoji-hero {
  width: 100%;
  background: linear-gradient(90deg, #f9fdfb 0%, #e8f7f0 100%);
  padding: 70px 50px 150px; /* home page hero */
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.emoji-hero-alt {
  background: linear-gradient(120deg, #f3f8ff 0%, #e8f7f0 50%, #f9fdfb 100%);
 padding: 70px 50px 150px; /* ✅ Match homepage hero size exactly */
  position: relative;
  overflow: hidden;
}


.emoji-hero.visible { opacity: 1; transform: translateY(0); }

.emoji-hero-inner { max-width: 900px; margin: 0 auto; }
.emoji-hero-title {
  color: #0b8e62;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.emoji-hero-text {
  color: #333;
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 🎈 Animated icons inside hero */
.emoji-hero-icons span {
  display: inline-block;
  font-size: 2.7rem;
  margin: 0 8px;
  animation: floatUpDown 4.5s ease-in-out infinite;
}
@keyframes floatUpDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
.emoji-hero-icons span:nth-child(odd) { animation-delay: 1s; }
.emoji-hero-icons span:nth-child(even) { animation-delay: 2s; }

/* ✨ Background emoji drift layers */
.emoji-hero::before,
.emoji-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  background-size: 160px 160px;
  opacity: 0.07;
  z-index: 1;
  animation: emojiDrift 45s linear infinite;
}
.emoji-hero::before {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><text y='50' font-size='50'>😄</text><text x='70' y='120' font-size='50'>❤️</text><text x='30' y='160' font-size='50'>🌈</text><text x='100' y='60' font-size='50'>✨</text></svg>");
}
.emoji-hero::after {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><text y='80' font-size='50'>🔥</text><text x='100' y='40' font-size='50'>🎉</text><text x='50' y='150' font-size='50'>🍕</text><text x='20' y='100' font-size='50'>🐶</text><text x='130' y='100' font-size='50'>💕</text><text x='70' y='180' font-size='50'>😍</text></svg>");
  transform: rotate(10deg);
  animation-direction: reverse;
  animation-duration: 60s;
}
@keyframes emojiDrift {
  0% { background-position: 0 0; }
  50% { background-position: 80px 60px; }
  100% { background-position: 0 0; }
}

/* 🩵 Bottom fade for hero */
.emoji-hero::after {
  height: 100px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 100%);
}


/* 📱 Hero responsiveness */
@media (max-width: 767.98px) {
  .emoji-hero { padding: 70px 15px 25px; }
  .emoji-hero-text { font-size: 1rem; }
  .emoji-hero-icons span { font-size: 2rem; }
}

/* ✅ Mobile dropdown visibility rules */
@media (max-width: 767.98px) {
  #emojiMobileSelect {
    display: block !important;
    padding-top: 60px !important; /* MOBILE dropdown menu padding here */
  }
}

@media (min-width: 768px) {
  #emojiMobileSelect {
    display: none !important;
  }
}


/* 🧱 Sidebar */
.ek-aside { position: sticky; top: 90px; align-self: flex-start; }
.ek-sidebox { background:#fff; border-right:1px solid #eee; padding:20px; }
.ek-side-title { font-size:18px; color:#0b8e62; margin-bottom:12px; }
.ek-cat-btn {
  display:block; width:100%; text-align:left; padding:8px 10px;
  border-radius:8px; border:0; background:transparent; color:#333;
  cursor:pointer; transition:background .15s ease, color .15s ease;
}
.ek-cat-btn:hover, .ek-cat-btn.active { background:#e8f7f0; color:#0b8e62; }

@media (max-width:767.98px) {
  .ek-aside { display:none!important; }
  .ek-main { padding-left:0; }
  .ek-mobile-select {
    display:block!important;
    width:100%; font-size:15px;
    border-radius:8px; border:1px solid #ccc;
    padding:8px 10px; margin-bottom:15px;
  }
}

/* 🌟 Emoji Grid */
.emoji-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
  gap:15px;
}
.emoji-card {
  position:relative;
  border:1px solid #eee;
  border-radius:10px;
  text-align:center;
  padding:10px;
  background:#fff;
  box-shadow:0 2px 4px rgba(0,0,0,0.05);
  cursor:pointer;
  user-select:none;
  transition:transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.emoji-card:hover {
  transform:translateY(-6px) scale(1.06);
  box-shadow:0 8px 16px rgba(11,142,98,0.15);
  filter:brightness(1.03);
}
.emoji-card:focus-visible{
  outline:2px solid #0b8e62;
  outline-offset:3px;
}
.emoji-char { font-size:30px; display:block; }
.emoji-name { font-size:13px; color:#555; margin-top:5px; }

/* ✅ Tooltip copy hint */
.emoji-card::after {
  content:"📋 Copy to clipboard";
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: #0b8e62;
  color: #fff;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.emoji-card:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-3px);
}
.emoji-card.copied::after {
  content:"✅ Copied!"; opacity:1; background:#0b8e62;
}

/* 📱 Hide "📋 Copy to clipboard" on mobile, but keep "✅ Copied!" */
@media (max-width: 768px) {
  .emoji-card::after {
    content: none;           /* hide the clipboard tooltip text */
  }
  .emoji-card.copied::after {
    display: block !important; /* still show the Copied message */
    content: "✅ Copied!";     /* restore the Copied text */
  }
}



/* 🌍 Trending Emojis Sidebar */
.ek-divider {
  border:0; border-top:2px solid #c6f0d9;
  margin:18px 0; width:100%;
}
.ek-trending-box {
  background:#fff;
  border:1px solid #e2f2ea;
  border-radius:12px;
  padding:18px;
  box-shadow:0 3px 12px rgba(0,0,0,0.04);
}
.ek-trending-title {
  font-size:1.5rem;
  font-weight:700;
  color:#0b8e62;
  margin-bottom:12px;
}
.trending-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  justify-items:center;
}
.trending-grid .emoji-card {
  font-size:22px;
  border:1px solid #eee;
  border-radius:10px;
  padding:8px;
  box-shadow:0 2px 4px rgba(0,0,0,0.05);
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}
.trending-grid .emoji-card:hover {
  transform:translateY(-5px) scale(1.05);
  box-shadow:0 6px 14px rgba(11,142,98,0.15);
}

/* 🌟 About Section */
.emoji-about {
  background:linear-gradient(180deg,#ffffff 0%,#f7fcf9 100%);
  border-radius:16px;
  padding:60px 40px;
  box-shadow:0 4px 16px rgba(0,0,0,0.04);
  text-align:center;
  width:100%;
  margin:0 auto 5px auto;
}
.emoji-about-title {
  color:#0b8e62;
  font-weight:700;
  font-size:2rem;
  margin-bottom:20px;
}
.emoji-features {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
}
.emoji-feature-card {
  flex:1 1 250px;
  background:#fff;
  border-radius:12px;
  padding:20px;
  box-shadow:0 2px 8px rgba(0,0,0,0.04);
}
.emoji-feature-icon { font-size:2rem; display:block; margin-bottom:10px; }

/* 💬 FAQ Section */
.emoji-faq {
  background:linear-gradient(180deg,#f7fcf9 0%,#ffffff 100%);
  border-radius:16px;
  padding:60px 30px;
  box-shadow:0 4px 12px rgba(0,0,0,0.03);
}
.emoji-faq-title {
  font-size:2rem;
  font-weight:700;
  color:#0b8e62;
  margin-bottom:35px;
}
.emoji-faq-item {
  border:1px solid #e2f2ea;
  border-radius:10px;
  background:#fff;
  margin-bottom:12px;
}
.emoji-faq-question {
  width:100%;
  background:none;
  border:none;
  padding:16px 20px;
  font-size:1.3rem;
  font-weight:600;
  text-align:left;
  color:#0b8e62;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
}
.emoji-faq-question:hover { background:#e8f7f0; }
.emoji-faq-answer {
  display:none;
  padding:0 20px 15px 20px;
  color:#444;
  font-size:1.1rem;
}
.emoji-faq-item.active .emoji-faq-answer { display:block; }

/* 📱 Responsive FAQ */
@media (max-width:767.98px) {
  .emoji-faq { padding:40px 20px; }
  .emoji-faq-title { font-size:1.6rem; }
  .emoji-faq-question { font-size:1rem; }
}

/* 🌈 View All Emojis Button */
.ek-viewall-btn {
  display:inline-block;
  background:linear-gradient(90deg,#10b981,#34d399,#a7f3d0);
  color:#fff;
  font-weight:700;
  letter-spacing:0.4px;
  padding:14px 36px;
  border-radius:50px;
  box-shadow:0 4px 12px rgba(16,185,129,0.3);
  text-decoration:none;
  transition:all 0.35s ease;
  position:relative;
  overflow:hidden;
}
.ek-viewall-btn:hover {
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 8px 22px rgba(16,185,129,0.45);
}
.ek-viewall-btn::before {
  content:"";
  position:absolute;
  top:0; left:-75%;
  width:50%; height:100%;
  background:linear-gradient(120deg,rgba(255,255,255,0.25),rgba(255,255,255,0));
  transform:skewX(-25deg);
  transition:all 0.5s ease;
}
.ek-viewall-btn:hover::before { left:125%; }

/* 🏠 Floating Buttons */
.back-home-btn,
.ek-viewall-float-btn {
  position:fixed;
  z-index:9999;
  border-radius:50px;
  text-align:center;
  color:#fff;
  background:#0b8e62;
  font-weight:700;
  text-decoration:none;
  transition:all 0.3s ease;
}
.back-home-btn {
  bottom:22px; right:22px;
  width:48px; height:48px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 10px rgba(0,0,0,0.15);
}
.back-home-btn:hover { background:#099e6f; transform:scale(1.05); }
.ek-viewall-float-btn {
  bottom:20px; left:50%;
  transform:translateX(-50%) translateY(20px);
  padding:12px 28px;
  box-shadow:0 6px 20px rgba(16,185,129,0.3);
  opacity:0; pointer-events:none;
}
.ek-viewall-float-btn.visible {
  opacity:1;
  transform:translateX(-50%) translateY(0);
  pointer-events:auto;
}
@media (min-width:768px) {
  .ek-viewall-float-btn { display:none!important; }
}


/* 🔥 Trending Emojis & 🌍 Top Emojis Sidebar */
.ek-sidebox h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #0b8e62;
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 8px;
  text-align: center;
}

.trending-grid .emoji-card {
  font-size: 22px;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.trending-grid .emoji-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 14px rgba(11,142,98,0.15);
}

.emoji-country-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.emoji-country-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #f1f1f1;
  font-size: 15px;
}
.emoji-country-list .flag {
  font-size: 20px;
  margin-right: 6px;
}
.emoji-country-list .char {
  font-size: 20px;
  margin-left: 8px;
}
.emoji-country-list small {
  color: #888;
  margin-left: 4px;
  font-size: 12px;
}


/* 🧭 Sidebar (Non-sticky, scrolls with page) */
/* 🧭 Sidebar (scrolls normally) */
.ek-aside {
  display: block;
  position: relative;
  top: auto;
  height: auto;
}

/* Sidebar boxes layout */
.ek-sidebox {
  background: #fff;
  border: 1px solid #e2f2ea;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

/* Sidebar headings */
.ek-side-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0b8e62;
  margin-bottom: 12px;
}

/* Divider */
.ek-divider {
  border: 0;
  border-top: 2px solid #c6f0d9;
  margin: 10px 0;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .ek-aside {
    margin-bottom: 20px;
  }
}







/* 🌍 Alternate Hero for All Emojis Page */
.emoji-hero-alt {
  background: linear-gradient(120deg, #f3f8ff 0%, #e8f7f0 50%, #f9fdfb 100%);
  position: relative;
  overflow: hidden;
}

/* Dim floating emoji overlay */
.emoji-hero-alt::before,
.emoji-hero-alt::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  background-size: 160px 160px;
  opacity: 0.08;
  z-index: 1;
}

.emoji-hero-alt::before {
  background-image: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'>\
      <text x='10' y='60' font-size='50'>😀</text>\
      <text x='80' y='110' font-size='50'>🔥</text>\
      <text x='40' y='150' font-size='50'>💬</text>\
      <text x='100' y='60' font-size='50'>🌍</text>\
      <text x='130' y='150' font-size='50'>❤️</text>\
    </svg>");
  animation: emojiDrift 50s linear infinite;
}

.emoji-hero-alt::after {
  background-image: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'>\
      <text x='20' y='80' font-size='50'>🎉</text>\
      <text x='110' y='40' font-size='50'>🌈</text>\
      <text x='60' y='150' font-size='50'>😎</text>\
      <text x='10' y='130' font-size='50'>🐶</text>\
    </svg>");
  animation: emojiDriftReverse 65s linear infinite;
}

@keyframes emojiDriftReverse {
  0% { background-position: 0 0; }
  50% { background-position: -60px 40px; }
  100% { background-position: 0 0; }
}

/* 🖥️ Make hero span full width, above container */
.emoji-hero-alt {
  margin-top: -20px; /* optional, smooth transition under navbar */
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.emoji-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}





/* Optional: make hero slightly fade-up for a gentle motion */
.emoji-hero,
.emoji-hero-alt {
  transition: opacity 0.8s ease, transform 0.8s ease;
  opacity: 0;
  transform: translateY(12px);
}

.emoji-hero.visible,
.emoji-hero-alt.visible {
  opacity: 1;
  transform: translateY(0);
}



/* 🌿 Scroll-To-Top Button — Floating, Glowing & Green Tooltip */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: linear-gradient(135deg, #10b981, #34d399, #6ee7b7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(16,185,129,0.4);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: all;
  animation: floatPulse 3s ease-in-out infinite;
}

#scrollTopBtn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(16,185,129,0.6);
}

/* 🪄 Floating Glow Animation */
@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 12px rgba(16,185,129,0.4);
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 0 20px rgba(16,185,129,0.65);
  }
}

/* 💚 Tooltip Bubble — Green Glow Fade-Up */
.tooltip-bubble {
  position: absolute;
  bottom: 65px;
  right: 50%;
  transform: translateX(50%);
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #fff;
  padding: 7px 12px;
  font-size: 13px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(16,185,129,0.4);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.4s ease;
}

#scrollTopBtn:hover .tooltip-bubble {
  opacity: 1;
  transform: translateX(50%) translateY(-5px);
  box-shadow: 0 0 20px rgba(16,185,129,0.6);
}

/* Tooltip small arrow (green glow) */
.tooltip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #34d399 transparent transparent transparent;
  filter: drop-shadow(0 0 2px rgba(16,185,129,0.6));
}

#scrollTopBtn:hover {
  transform: scale(1.1) rotate(-15deg);
  box-shadow: 0 0 20px rgba(16,185,129,0.6);
}


/* 📱 Responsive */
@media (max-width: 767.98px) {
  #scrollTopBtn {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .tooltip-bubble {
    bottom: 58px;
    font-size: 12px;
    padding: 6px 10px;
  }
}



/* 📱 Compact hero on mobile (tight vertical spacing) */
@media (max-width: 768px) {
  .emoji-hero,
  .emoji-hero-alt {
    padding-top: 20px !important;
    padding-bottom: 15px !important;
    min-height: auto !important;
  }

  /* also reduce text spacing inside hero */
  .emoji-hero-title,
  .emoji-hero-text {
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
  }

  /* make floating icons smaller and closer */
  .emoji-hero-icons span {
    font-size: 1.6rem !important;
    margin: 0 4px !important;
  }

  /* ensure inner container fits snugly */
  .emoji-hero-inner {
    padding: 0 !important;
    margin: 0 auto !important;
  }
}



/* ================================================================
   🔧 MOBILE DRAWER FIX - Override Old Styles with New Header Design
   Add this at the END of your style.css file
   ================================================================ */

/* Disable old top-slide drawer completely and use new right-side drawer */
@media (max-width: 767.98px) {
  .mobile-drawer {
    /* Reset old top-slide positioning */
    top: auto !important;
    left: auto !important;
    width: 320px !important;
    height: 100vh !important;
    
    /* Force right-side positioning (slides from right) */
    position: fixed !important;
    right: -320px !important;
    
    /* Ensure it starts hidden */
    display: block !important;
    transform: none !important;
    
    /* Keep new professional styling */
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%) !important;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15) !important;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    
    /* Reset old padding to match new design */
    padding: 80px 0 40px 0 !important;
    border-radius: 0 !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  
  /* When drawer is active (open) */
  .mobile-drawer.active {
    right: 0 !important;
    top: auto !important;
    left: auto !important;
  }
  
  /* Reset overlay to work with right-side drawer */
  #drawerOverlay {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(2px) !important;
    z-index: 9998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
  }
  
  #drawerOverlay.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Ensure hamburger menu button works */
  #mobileMenuBtn {
    display: inline-block !important;
  }
  
  /* Hide old hamburger animation if present */
  #mobileMenuBtn .bar {
    background: #0b8e62 !important;
  }
}

/* Force hide drawer completely on desktop (769px and up) */
@media (min-width: 769px) {
  .mobile-drawer,
  #drawerOverlay,
  #mobileMenuBtn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Prevent body scroll when drawer is open */
body.drawer-open {
  overflow: hidden !important;
}

/* Make sure desktop navigation shows on desktop */
@media (min-width: 768px) {
  #navbar-main {
    display: block !important;
  }
}

/* Hide desktop nav on mobile */
@media (max-width: 767.98px) {
  #navbar-main {
    display: none !important;
  }
}

/* =================================================================
   End of Mobile Drawer Fix
   ================================================================= */
   


/* 🦶 Sticky Footer Layout */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}
body > footer {
  margin-top: auto;
}


/* ==========================================================
   EmojisHive — Modern Full-Width Layout (Option B)
   Safe additions (doesn't remove existing styles)
   ========================================================== */

.eh-container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 14px 44px; /* bottom padding prevents last section touching footer */
}
.eh-section{
  margin-top: 18px;
}
.eh-section .section-head{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin-bottom:10px;
}
.eh-section .section-head h2{
  margin:0;
  font-size:18px;
  font-weight:700;
}
.eh-muted{ color:#6b7280; font-size:12px; }

/* Category chips */
.eh-chips{
  display:flex;
  gap:10px;
  overflow:auto;
  padding: 6px 2px 10px;
  scrollbar-width: thin;
}
.eh-chip{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border:1px solid #e6ece8;
  border-radius:999px;
  background:#fff;
  color:#2f3b35;
  text-decoration:none;
  font-size:13px;
  line-height:1;
}
.eh-chip:hover{ text-decoration:none; border-color:#cfe0d6; }

/* Modern emoji tile (used across home/category/trends) */
.eh-emoji-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:flex-start;
  justify-content:flex-start;
  overflow:visible;
}
.eh-emoji-tile{
  /* auto-sized tile (no fixed width/height) */
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;

  padding:10px 12px;
  border:1px solid #edf2ef;
  border-radius:16px;
  background:#fff;

  position:relative;
  text-decoration:none;
  color:inherit;
  user-select:none;
  overflow:visible;
  cursor:pointer;
}
.eh-emoji-tile:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.06);
  border-color:#dfe9e4;
}
.eh-emoji-tile:active{ transform: translateY(0px) scale(0.99); }
.eh-emoji-tile .emoji-char{
  font-size:34px;
  line-height:1;
}

/* slightly smaller tiles on small screens */
@media (max-width: 520px){
  .eh-emoji-tile{ padding:9px 11px; border-radius:14px; }
  .eh-emoji-tile .emoji-char{ font-size:30px; }
}
/* Tooltip from data-tip */
.eh-emoji-tile[data-tip]::after{
  content: attr(data-tip);
  position:absolute;
  left:50%;
  bottom:100%;
  transform: translate(-50%, -8px);
  background: rgba(15,23,42,0.92);
  color:#fff;
  padding:7px 10px;
  border-radius:10px;
  font-size:12px;
  line-height:1.1;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition: opacity .12s ease, transform .12s ease;
  z-index:9999;
}
.eh-emoji-tile[data-tip]::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:100%;
  transform: translate(-50%, -2px);
  border:7px solid transparent;
  border-top-color: rgba(15,23,42,0.92);
  opacity:0;
  transition: opacity .12s ease, transform .12s ease;
  z-index:9999;
}
.eh-emoji-tile:hover::after,
.eh-emoji-tile:hover::before{
  opacity:1;
  transform: translate(-50%, -10px);
}
/* Hide old name blocks when tiles are used */
.eh-emoji-grid .emoji-name{ display:none !important; }

/* Make any emoji-item feel clickable */
.emoji-item, .emoji-item * { cursor:pointer; }

/* Fix any overflow issues */
.emoji-grid, .emoji-items { overflow:visible; }


/* Breadcrumb UI */
.emoji-breadcrumb{
  font-size:13px;
  color:#5b6b63;
}
.emoji-breadcrumb a{
  color:#0b8e62;
  text-decoration:none;
}
.emoji-breadcrumb a:hover{ text-decoration:none; }


/* No underline on hover (clean UI) */
.eh-emoji-tile:hover,
.eh-cat-card:hover,
.eh-chip:hover,
.eh-cat-chip:hover,
.category-card:hover,
a:hover{ text-decoration:none; }
