:root{
  --ink:#172033;
  --muted:#637083;
  --line:#dfe6ee;
  --line-strong:#cdd8e5;
  --card:#ffffff;
  --bg:#f5f7fb;
  --blue:#1267d6;
  --blue-dark:#0b4fae;
  --blue-soft:#eaf3ff;
  --violet:#6d55d9;
  --pink:#f06292;
  --green:#1f9d6b;
  --shadow:0 12px 32px rgba(34,53,84,.09);
  --shadow-sm:0 5px 16px rgba(34,53,84,.07);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:none}
button,input{font:inherit}
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(205,216,229,.9);
}
.site-header-inner{
  max-width:1280px;
  min-height:76px;
  margin:0 auto;
  padding:10px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.site-brand{
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--ink);
}
.site-brand:hover{color:var(--ink)}
.site-logo{
  width:50px;
  height:50px;
  flex:0 0 50px;
  border-radius:14px;
  box-shadow:0 6px 18px rgba(18,103,214,.18);
}
.site-brand-copy{display:flex;flex-direction:column;min-width:0}
.site-brand-name{font-size:19px;font-weight:850;letter-spacing:-.02em;white-space:nowrap}
.site-brand-sub{margin-top:2px;color:var(--muted);font-size:12px;font-weight:650}
.site-nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.site-nav a{
  color:#344158;
  padding:9px 12px;
  border-radius:10px;
  font-size:14px;
  font-weight:750;
}
.site-nav a:hover{background:var(--blue-soft);color:var(--blue-dark)}
.page-wrap{max-width:1280px;margin:0 auto;padding:30px 22px 56px}
.hero-card{
  position:relative;
  overflow:hidden;
  border:1px solid #d9e4f1;
  background:linear-gradient(135deg,#ffffff 0%,#f5f9ff 55%,#fdf6ff 100%);
  border-radius:28px;
  box-shadow:var(--shadow);
  padding:42px 44px;
}
.hero-card::after{
  content:"😀 ✨ ❤️ 🔥 🌐";
  position:absolute;
  right:-18px;
  top:16px;
  font-size:54px;
  line-height:1.8;
  width:255px;
  opacity:.12;
  transform:rotate(-8deg);
  pointer-events:none;
}
.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-bottom:12px;
  padding:7px 11px;
  border:1px solid #cfe2fb;
  border-radius:999px;
  background:#fff;
  color:var(--blue-dark);
  font-size:12px;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.hero-card h1{
  position:relative;
  z-index:1;
  max-width:780px;
  margin:0;
  color:#132038;
  font-size:clamp(38px,6vw,68px);
  line-height:1.02;
  letter-spacing:-.045em;
}
.hero-card .hero-copy{
  position:relative;
  z-index:1;
  max-width:790px;
  margin:18px 0 0;
  color:#526178;
  font-size:18px;
  line-height:1.65;
}
.hero-stats{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.stat-chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 11px;
  border-radius:999px;
  background:#fff;
  border:1px solid #dce6f1;
  color:#42516a;
  font-size:13px;
  font-weight:750;
}
.tool-panel{
  margin-top:20px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:var(--shadow-sm);
}
.search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.search-box{position:relative}
.search-icon{position:absolute;left:17px;top:50%;transform:translateY(-50%);font-size:21px;pointer-events:none}
.search-input{
  width:100%;height:58px;
  border:1px solid var(--line-strong);
  border-radius:16px;
  padding:0 18px 0 50px;
  color:var(--ink);
  background:#fbfcfe;
  font-size:17px;
  outline:none;
  transition:border .15s,box-shadow .15s,background .15s;
}
.search-input:focus{border-color:#74a8ea;background:#fff;box-shadow:0 0 0 4px rgba(18,103,214,.10)}
.copy-control{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.copy-control-label{color:#5a687c;font-size:13px;font-weight:800;margin-right:2px}
.copy-multi-btn{
  min-width:46px;height:40px;padding:0 10px;border:1px solid #d7e1ec;border-radius:11px;background:#f8fafc;color:#44536b;cursor:pointer;font-weight:800;
}
.copy-multi-btn:hover{border-color:#9fc1eb;background:#f2f7ff}
.copy-multi-btn.active{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 6px 14px rgba(18,103,214,.20)}
.category-strip{margin-top:18px;display:flex;gap:9px;overflow-x:auto;padding:2px 1px 6px;scrollbar-width:thin}
.category-pill{
  flex:0 0 auto;display:inline-flex;align-items:center;padding:9px 13px;border:1px solid #dbe5ef;border-radius:999px;background:#fff;color:#35445b;font-size:13px;font-weight:800;box-shadow:0 2px 8px rgba(34,53,84,.04)
}
.category-pill:hover{border-color:#9ec2ee;background:var(--blue-soft);color:var(--blue-dark)}
.section-card{
  margin-top:24px;
  padding:26px;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--card);
  box-shadow:var(--shadow-sm);
  scroll-margin-top:96px;
}
.section-heading-row{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:15px}
.section-card h2,.content-card h2{margin:0;color:#1d2a40;font-size:28px;line-height:1.15;letter-spacing:-.025em}
.section-card h2 a{color:inherit}
.section-card h2 a:hover{color:var(--blue)}
.section-desc{margin:7px 0 0;max-width:850px;color:var(--muted);font-size:15px;line-height:1.55}
.view-link{flex:0 0 auto;color:var(--blue);font-size:13px;font-weight:850}
.emoji-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px}
.emoji-btn{
  position:relative;min-height:96px;padding:10px 7px;border:1px solid #e0e7ef;border-radius:16px;background:#fff;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;transition:transform .12s,border-color .12s,box-shadow .12s,background .12s;
}
.emoji-btn:hover{transform:translateY(-2px);border-color:#a9c8ee;background:#fbfdff;box-shadow:0 8px 18px rgba(40,75,115,.09)}
.emoji-btn:focus-visible{outline:none;border-color:var(--blue);box-shadow:0 0 0 4px rgba(18,103,214,.12)}
.emoji-char{font-size:38px;line-height:1}
.emoji-name{max-width:100%;color:#5b687a;font-size:11px;font-weight:650;line-height:1.2;overflow-wrap:anywhere}
.copy-toast{position:absolute;left:50%;top:8px;transform:translate(-50%,-110%);padding:7px 9px;border-radius:8px;background:#15284a;color:#fff;font-size:12px;font-weight:850;white-space:nowrap;opacity:0;pointer-events:none;transition:.14s;z-index:4}
.copy-toast.show{opacity:1;top:3px}
.popular-wrap{margin-top:24px;padding:26px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,#fff,#fbfcff);box-shadow:var(--shadow-sm)}
.popular-head{margin-bottom:15px}
.popular-head h2{margin:0;font-size:27px;letter-spacing:-.02em}
.popular-head p{margin:7px 0 0;color:var(--muted);line-height:1.55}
.single-links-text{display:flex;flex-wrap:wrap;gap:8px}
.single-links-text a{display:inline-flex;align-items:center;min-height:36px;padding:7px 10px;border:1px solid #d8e3ef;border-radius:999px;background:#fff;color:#40506a;font-size:13px;font-weight:750}
.single-links-text a:hover{border-color:#a8c7ed;background:var(--blue-soft);color:var(--blue-dark)}
.search-results-wrap{margin-top:24px;padding:26px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow-sm)}
.search-results-wrap[hidden],.search-empty[hidden]{display:none!important}
.search-results-head h2{margin:0;font-size:28px}.search-results-meta{margin:6px 0 15px;color:var(--muted)}
.search-empty{padding:28px;text-align:center;border:1px dashed #cbd8e6;border-radius:16px;background:#fafcff;color:var(--muted)}
.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}
.info-card{padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-sm)}
.info-card strong{display:block;margin-bottom:6px;color:#25344c;font-size:16px}.info-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}
.content-card{padding:30px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow)}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-bottom:18px;color:#7a8797;font-size:13px}.breadcrumbs a{color:#5a6c84;font-weight:700}
.page-title{margin:0;color:#18253b;font-size:clamp(34px,5vw,52px);line-height:1.08;letter-spacing:-.035em}
.page-intro{max-width:850px;margin:12px 0 0;color:var(--muted);font-size:17px;line-height:1.65}
.single-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:28px;margin-top:26px;align-items:start}
.single-emoji-panel{position:static;padding:26px;border:1px solid #dbe5f0;border-radius:22px;background:linear-gradient(180deg,#f8fbff,#fff);text-align:center}
.single-emoji{display:block;width:100%;border:0;background:transparent;cursor:pointer;font-size:112px;line-height:1.15;padding:8px 0 10px}
.single-emoji-name{color:#4a5870;font-size:15px;font-weight:800}
.primary-copy-btn{width:100%;min-height:48px;margin-top:16px;border:0;border-radius:13px;background:var(--blue);color:#fff;font-size:15px;font-weight:850;cursor:pointer;box-shadow:0 8px 18px rgba(18,103,214,.18)}
.primary-copy-btn:hover{background:var(--blue-dark)}
.single-body{min-width:0}
.text-section{padding:0 0 24px;margin-bottom:24px;border-bottom:1px solid #e7edf4}.text-section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.text-section h2{margin:0 0 9px;font-size:26px;letter-spacing:-.02em}.text-section p{margin:0;color:#4f5e72;font-size:16px;line-height:1.75}.text-section p+p{margin-top:12px}
.related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;margin-top:12px}.related-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-width:0;min-height:126px;padding:12px;overflow:hidden;border:1px solid #dfe7f0;border-radius:14px;background:#fbfcfe;text-align:center;color:#40506a;font:inherit;font-weight:750;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}.related-card:hover{border-color:#a9c8ee;background:#f2f7ff;transform:translateY(-1px)}.related-card:focus-visible{outline:3px solid rgba(22,112,220,.2);outline-offset:2px}.related-emoji{display:block;font-size:34px;margin-bottom:7px}.related-name{display:block;width:100%;max-width:100%;font-size:14px;line-height:1.2;overflow-wrap:anywhere;word-break:break-word;hyphens:auto}.related-action{display:block;margin-top:9px;color:#0969da;font-size:12px;line-height:1.15;font-weight:850}.related-card.is-copied{border-color:#75c69a;background:#f1fbf5}.related-card.is-copied .related-action{color:#197a45}
.category-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center}.category-hero-emoji{font-size:90px;line-height:1;filter:drop-shadow(0 8px 16px rgba(34,53,84,.12))}
.faq-list{display:grid;gap:10px;margin-top:15px}.faq-item{padding:17px 18px;border:1px solid var(--line);border-radius:15px;background:#fbfcfe}.faq-item h3{margin:0 0 6px;font-size:16px}.faq-item p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.navigation{margin-top:24px}
.edt-leaderboard-promo{width:100%;display:flex;justify-content:center;margin:26px 0}.edt-leaderboard-promo a{display:block;max-width:100%;border-radius:18px;overflow:hidden}.edt-leaderboard-promo img{display:block;width:100%;max-width:728px;height:auto;border-radius:18px}
.site-footer{margin-top:18px;padding:28px 20px;background:#14223b;color:#dbe5f4}.site-footer-inner{max-width:1280px;margin:0 auto;display:flex;justify-content:space-between;gap:22px;align-items:center;flex-wrap:wrap}.site-footer a{color:#fff}.site-footer-main{font-weight:800}.site-footer-sub{margin-top:5px;color:#9fb0c7;font-size:13px}.site-footer-links{display:flex;gap:14px;flex-wrap:wrap;font-size:14px;font-weight:700}
.prose{max-width:900px;color:#4f5e72;font-size:16px;line-height:1.75}.prose h2{margin-top:28px}.prose p{margin:0 0 14px}.prose ul{padding-left:22px}.prose li{margin:7px 0}
.latest-note{margin-top:16px;padding:13px 15px;border-radius:14px;background:#f6f9fc;border:1px solid #dce6f0;color:#5a687b;font-size:13px;line-height:1.55}
@media(max-width:900px){
  .site-header-inner{align-items:flex-start}.site-nav{display:none}.hero-card{padding:32px 26px}.hero-card::after{font-size:42px}.search-row{grid-template-columns:1fr}.copy-control{justify-content:flex-start}.info-grid{grid-template-columns:1fr}.single-layout{grid-template-columns:1fr}.single-emoji-panel{position:static}.category-hero{grid-template-columns:1fr}.category-hero-emoji{display:none}
}
@media(max-width:620px){
  .site-header-inner{min-height:66px;padding:8px 14px}.site-logo{width:44px;height:44px;flex-basis:44px}.site-brand-name{font-size:16px}.site-brand-sub{font-size:11px}.page-wrap{padding:18px 12px 40px}.hero-card{padding:26px 20px;border-radius:22px}.hero-card .hero-copy{font-size:16px}.tool-panel,.section-card,.popular-wrap,.search-results-wrap,.content-card{padding:18px;border-radius:18px}.search-input{height:54px}.copy-control-label{width:100%}.section-heading-row{align-items:start}.view-link{display:none}.section-card h2,.content-card h2{font-size:24px}.emoji-grid{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px}.emoji-btn{min-height:86px;border-radius:13px}.emoji-char{font-size:34px}.emoji-name{font-size:10px}.single-emoji{font-size:92px}.site-footer{padding:24px 16px}.site-footer-inner{display:block}.site-footer-links{margin-top:14px}
}

/* 52-language switcher + multilingual layout */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.site-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.language-switcher{position:relative;z-index:180;flex:0 0 auto}
.language-button{height:40px;padding:0 11px;border:1px solid var(--line-strong);border-radius:11px;background:#fff;color:#344158;display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:800;cursor:pointer;box-shadow:0 2px 7px rgba(34,53,84,.04)}
.language-button:hover{border-color:#a9c6e8;background:var(--blue-soft);color:var(--blue-dark)}
.language-current-flag,.language-flag{font-size:18px;line-height:1;flex:0 0 auto}
.language-caret{font-size:11px;color:#728198}
.language-menu{display:none;position:absolute;top:calc(100% + 10px);right:0;width:min(760px,calc(100vw - 32px));max-height:min(72vh,540px);overflow:auto;padding:12px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;background:#fff;border:1px solid #d5e0ec;border-radius:18px;box-shadow:0 24px 60px rgba(25,47,80,.22)}
.language-switcher.open .language-menu{display:grid}
.language-option{display:flex;align-items:center;gap:8px;min-width:0;min-height:42px;padding:8px 10px;border:1px solid #e1e8f0;border-radius:11px;background:#fbfcfe;color:#3d4b62;font-size:13px;font-weight:750;text-decoration:none}
.language-option:hover{border-color:#acc8ea;background:var(--blue-soft);color:var(--blue-dark)}
.language-option.active{border-color:#7aa9e6;background:#eaf3ff;color:var(--blue-dark);box-shadow:inset 0 0 0 1px rgba(18,103,214,.08)}
.language-option.unavailable{opacity:.48;cursor:not-allowed;filter:saturate(.65)}
.language-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
[dir="rtl"] .language-menu{right:auto;left:0}
[dir="rtl"] .search-icon{left:auto;right:17px}
[dir="rtl"] .search-input{padding-left:18px;padding-right:50px}
[dir="rtl"] .breadcrumbs,[dir="rtl"] .section-heading-row,[dir="rtl"] .site-footer-inner{direction:rtl}

@media(max-width:900px){
  .site-header-inner{align-items:center}
  .site-header-actions{gap:6px}
  .language-menu{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:620px){
  .site-header-inner{gap:8px}
  .site-brand-sub{display:none}
  .site-brand-name{font-size:15px}
  .language-button{width:46px;min-width:46px;height:40px;padding:0;justify-content:center}
  .language-current-name,.language-caret{display:none}
  .language-current-flag{font-size:23px}
  .language-menu{position:fixed;top:72px;left:12px!important;right:12px!important;width:auto;max-height:calc(100vh - 92px);grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}
}
