@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--bg:#f8f7ff;--ink:#21193b;--muted:#625a76;--purple:#6438df;--line:#e8e3f4;--soft:#eee8ff;--white:#fff;font-family:"DM Sans",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-size:16px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8f6af1;outline-offset:3px}[hidden]{display:none!important}.wrap{width:min(1260px,calc(100% - 72px));margin-inline:auto}.top{background:#fff;border-bottom:1px solid var(--line)}.bar{display:flex;align-items:center;justify-content:space-between;min-height:72px;gap:18px}.brand{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font:700 22px "Space Grotesk",system-ui}.brand>span:last-child{color:var(--purple)}.mark{border-radius:10px;background:#6b42e5;color:white;font-size:22px;width:34px;height:34px;display:grid;place-items:center;margin-right:4px}.bar nav{display:flex;gap:6px}.bar nav a,.saved{padding:9px 13px;border-radius:10px;font-size:14px;font-weight:700;color:var(--muted)}.bar nav a:hover,.bar nav a[aria-current],.saved:hover,.saved[aria-current]{background:var(--soft);color:var(--purple)}.saved{border:1px solid var(--line);white-space:nowrap}.skip,.sr{position:absolute;left:-10000px}.skip:focus{left:8px;top:8px;background:white;padding:10px;z-index:10}
.hero{margin-top:28px;border-radius:28px;background:linear-gradient(112deg,#ece3ff 1%,#e6dcff 55%,#cebaff 100%);min-height:408px;position:relative;overflow:hidden;display:grid;grid-template-columns:1fr .76fr;align-items:center}.hero-copy{padding:42px 0 45px 54px;z-index:1}.edition{display:inline-flex;align-items:center;gap:8px;background:#ffffffa8;border:1px solid #fff8;border-radius:30px;padding:7px 11px;color:#5134a1;font-size:.74rem;letter-spacing:.12em;font-weight:800}.edition span{width:7px;height:7px;background:#7750eb;border-radius:50%}h1,h2,h3{font-family:"Space Grotesk",system-ui;letter-spacing:-.04em;margin:0}h1{font-size:clamp(3rem,6.1vw,5.3rem);line-height:.95;margin:17px 0}h1 em{font-style:normal;color:#6337db}.hero-copy>p,.page-head>p{color:#54476e;font-size:1.08rem;margin:16px 0 23px}.search{display:flex;align-items:center;gap:10px;max-width:535px;border:1px solid #d9c9fc;border-radius:14px;background:#fff;padding:5px 12px;height:55px;box-shadow:0 6px 20px #4d25a214}.search:focus-within{outline:2px solid #8f6af1}.search>span{font-size:28px;color:#6e44dc}.search input{width:100%;min-width:0;border:0;outline:0!important;background:none}.search kbd{background:#f3effb;border:1px solid var(--line);border-radius:5px;padding:1px 7px;color:var(--muted)}.suggest{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.suggest button,.chips button{background:#ffffff95;border:1px solid #fff;border-radius:25px;padding:6px 12px;font-size:.87rem;font-weight:700}.suggest button:hover,.chips button:hover{color:var(--purple);border-color:#a888f7}
.hero-art{position:relative;height:100%;min-height:350px}.orbit{position:absolute;width:370px;height:250px;left:50%;top:51%;transform:translate(-50%,-50%) rotate(-24deg);border:1px dashed #8a63de80;border-radius:50%;box-shadow:0 0 0 23px #ffffff22,0 0 0 48px #ffffff1d}.art{position:absolute;display:grid;place-items:center;line-height:1;filter:drop-shadow(0 12px 9px #4d288529)}.art-main{font-size:clamp(7rem,16vw,13rem);left:49%;top:51%;transform:translate(-50%,-50%) rotate(-10deg)}.art-one{font-size:4.4rem;left:13%;top:20%;transform:rotate(-14deg)}.art-two{font-size:4.9rem;right:12%;top:17%;transform:rotate(18deg)}.art-three{font-size:3.6rem;right:12%;bottom:18%;transform:rotate(12deg)}.art-four{font-size:3.6rem;left:17%;bottom:15%;transform:rotate(-14deg)}.star{position:absolute;font-style:normal;color:white;font-size:32px}.star.a{left:48%;top:11%}.star.b{right:24%;bottom:13%;font-size:22px}
.catalog{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px;margin-top:34px;align-items:start}aside{padding:13px;background:white;border:1px solid var(--line);border-radius:18px}aside h2{font-size:1rem;padding:7px 9px 12px}aside button{display:flex;align-items:center;gap:9px;width:100%;text-align:left;background:none;border:1px solid transparent;border-radius:9px;padding:9px;font-size:.9rem;white-space:nowrap;color:var(--muted)}aside button[aria-pressed=true],aside button:hover{background:var(--soft);color:#5730bf;font-weight:700}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.section-head h2{font-size:2rem}.section-head p{margin:4px 0 0;color:var(--muted);font-size:.9rem}.neutral,.primary{font-weight:700;border-radius:10px;padding:9px 14px;border:1px solid var(--line);background:white;display:inline-flex;align-items:center;justify-content:center;gap:6px}.neutral:hover{border-color:#a888f7;color:var(--purple)}.primary{background:var(--purple);border-color:var(--purple);color:white}.primary:hover{background:#5429cb}.chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}.chips button{border:1px solid var(--line);background:white;color:var(--muted)}.chips button[aria-pressed=true]{border-color:#cdbbfb;background:var(--soft);color:#552bc0}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(111px,1fr));gap:10px}.tile{min-width:0;position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden}.tile:hover,.tile:focus-within{border-color:#ad91f6;background:#fcfaff}.tile-main{grid-column:1/-1;background:none;border:0;min-width:0;min-height:99px;display:grid;place-content:center;gap:6px;padding:9px 6px 8px}.glyph{font-size:2rem;line-height:1.2}.tile-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;color:var(--muted);text-transform:capitalize}.tile-copy{position:absolute;right:4px;top:4px;background:white;border:1px solid var(--line);border-radius:6px;padding:1px 5px;opacity:0;color:var(--purple);font-size:14px}.tile:hover .tile-copy,.tile:focus-within .tile-copy{opacity:1}.more{display:flex;margin:19px auto 0}.empty{grid-column:1/-1;padding:34px;background:white;border-radius:18px;border:1px solid var(--line);color:var(--muted)}
.home-arcade,.page{margin:43px 0}.page-head{padding:32px;border:1px solid #e3d8ff;border-radius:24px;background:#efe7ff;margin-bottom:24px}.page-head h1{font-size:clamp(2.7rem,6vw,4rem)}.page-head p{margin-bottom:0}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:14px}.card,.panel{background:white;border:1px solid var(--line);border-radius:18px;padding:21px}.card{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.card p,.panel p{margin:0;color:var(--muted);line-height:1.5}.card h3{font-size:1.4rem}.card .primary{margin-top:auto}.card-icon{font-size:2.5rem;background:var(--card,#eee8ff);border-radius:13px;padding:9px 12px}.panel{max-width:760px;margin:0 auto}.quiz{text-align:center;padding:28px}.quiz-meta{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:.92rem}.quiz progress{width:100%;accent-color:var(--purple);height:8px;margin:14px 0 24px}.quiz h2{font-size:clamp(1.5rem,4vw,2rem)}.question-art{min-height:108px;display:flex;align-items:center;justify-content:center;font-size:clamp(3rem,10vw,5.4rem);line-height:1.2;gap:12px}.silhouette{filter:brightness(0)}.answers{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.answers button{min-height:48px}.answers button[data-correct]{background:#e1f6e8;border-color:#6fb48a;color:#155d38}.answers button[data-wrong]{background:#ffe8ec;border-color:#d57b8a;color:#8a2841}.quiz-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:17px}.leader{padding:0;list-style:none;text-align:left}.leader li{display:flex;justify-content:space-between;padding:10px;border-bottom:1px solid var(--line)}.studio-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.studio-grid .panel{width:100%;max-width:none}.studio-grid label{display:grid;gap:5px;margin:12px 0;font-weight:700}.studio-grid input,.studio-grid select,.studio-grid textarea,.quiz input{border:1px solid #dcd4eb;border-radius:8px;padding:9px;background:white;width:100%}.studio-grid input[type=color]{height:40px;padding:4px}.studio-grid canvas{display:block;max-width:100%;width:300px;aspect-ratio:1;margin:0 auto 12px;background:repeating-conic-gradient(#f0edf7 0% 25%,#fff 0% 50%) 50% / 20px 20px;border:1px solid var(--line);border-radius:16px}.studio-grid .actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.prompt-result{min-height:1.5em;margin-top:8px!important}.guide-grid .card strong{color:var(--purple)}.foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:22px 0;border-top:1px solid var(--line);color:var(--muted);margin-top:32px;font-size:.88rem}.foot .brand{font-size:18px;color:var(--ink)}.foot>a:last-child{text-decoration:underline}
dialog{width:min(520px,calc(100% - 30px));max-height:85dvh;overflow:auto;border:1px solid var(--line);border-radius:22px;padding:26px;color:var(--ink);box-shadow:0 18px 70px #23183d50}dialog::backdrop{background:#21193b80}#close-detail{position:absolute;right:12px;top:10px;border:0;border-radius:9px;background:var(--soft);font-size:22px;width:36px;height:36px}.detail-glyph{margin:0 auto 9px;background:var(--soft);border-radius:20px;width:126px;height:112px;display:grid;place-items:center;font-size:4.5rem}.detail-title{text-align:center;text-transform:capitalize}.detail-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:15px 0}.detail-meta{display:grid;grid-template-columns:auto 1fr;gap:7px 13px;font-size:.91rem}.detail-meta dt{color:var(--muted)}.detail-meta dd{margin:0;overflow-wrap:anywhere}.related{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.related button{font-size:1.35rem}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--ink);color:white;border-radius:12px;padding:11px 18px;z-index:5;pointer-events:none}.toast:empty{display:none}
@media(max-width:900px){.wrap{width:calc(100% - 36px)}.hero-copy{padding-left:30px}.catalog{grid-template-columns:175px minmax(0,1fr);gap:15px}.hero-art{min-height:300px}.art-one,.art-two,.art-three,.art-four{font-size:3rem}.orbit{width:230px;height:170px}}
@media(max-width:630px){.wrap{width:calc(100% - 24px)}.bar{flex-wrap:wrap;gap:0;padding:10px 0 5px}.bar nav{order:3;width:100%;justify-content:space-between;margin-top:6px}.bar nav a{padding:7px 8px}.hero{margin-top:13px;display:block;min-height:0;border-radius:20px}.hero-copy{position:relative;padding:25px 16px}.hero-art{display:none}.catalog{display:block;margin-top:16px}aside{display:flex;overflow:auto;padding:5px;gap:3px;margin-bottom:17px}aside h2{display:none}aside button{width:auto}.grid{grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:7px}.tile-main{min-height:82px}.tile-copy{opacity:1}.section-head h2{font-size:1.55rem}.section-head .neutral{font-size:.8rem;padding:7px}.studio-grid{grid-template-columns:1fr}.page{margin:20px 0}.page-head{padding:21px}.quiz{padding:16px}.question-art{min-height:80px}}

.search-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  max-width: 535px;
  margin-top: 9px;
  padding: 7px;
  background: #f8f5ff;
  border: 1px solid #d9c9fc;
  border-radius: 13px;
}
.search-match {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-height: 59px;
  padding: 4px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.search-match:hover {
  border-color: #a888f7;
  color: var(--purple);
}
.search-match span:first-child { font-size: 1.4rem; line-height: 1; }
.search-match span:last-child { font-size: .78rem; line-height: 1.15; text-transform: capitalize; }
.search-preview p { grid-column: 1 / -1; margin: 4px 6px; color: var(--muted); }

.hero h1 { line-height: 1.12; }
.studio-jump { display:flex; justify-content:flex-end; margin-bottom:14px; }
.emoji-picker > label { margin-bottom:5px; }
.emoji-picker .search-preview { margin: 5px 0 12px; }
.recipe-library { margin-top:32px; }
.recipe-filters { display:flex; flex-wrap:wrap; gap:12px; margin:0 0 18px; }
.recipe-filters label { display:grid; gap:5px; font-weight:700; }
.recipe-filters input,.recipe-filters select { background:white; border:1px solid var(--line); border-radius:9px; padding:9px 12px; max-width:100%; }
.recipe-card .neutral { margin-top:auto; }
.studio-grid .wallpaper-preview { display:grid; justify-items:center; align-content:start; gap:14px; }
.studio-grid .wallpaper-preview canvas { width:auto; height:auto; max-height:min(65vh,540px); max-width:100%; aspect-ratio:auto; margin:0; border:6px solid var(--ink); border-radius:22px; object-fit:contain; background:none; }
.wallpaper-settings { display:grid; grid-template-columns:1fr 1fr; gap:0 12px; }
.wallpaper-palette { display:flex; flex-wrap:wrap; gap:6px; margin:12px 0 5px; }
.wallpaper-palette button { font-size:1.15rem; }
.wallpaper-palette span { font-size:.85rem; color:var(--muted); }
.studio-grid .wallpaper-check { display:flex; align-items:center; gap:8px; }
.studio-grid .wallpaper-check input { width:auto; }

@media(max-width:390px) {
  .wallpaper-settings { grid-template-columns:1fr; }
  .emoji-picker .search-preview { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.recipe-card .card-icon { display:inline-flex; align-items:center; gap:.25em; }
.wallpaper-settings label { min-width:0; }
#wallpaper-size-status { grid-column:1/-1; font-size:.9rem; }

.bar nav a { white-space:nowrap; }
@media(max-width:630px) { .bar nav { flex-wrap:wrap; justify-content:flex-start; gap:3px; } }

.directory-controls { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:6px 14px; align-items:center; margin-bottom:18px; max-width:720px; }
.directory-controls label { font-weight:700; }
.directory-controls label[for="directory-search"] { grid-area:1/1; }
.directory-controls label[for="directory-group"] { grid-area:1/2; }
.directory-controls :is(input,select) { min-width:0; width:100%; min-height:42px; border-radius:10px; border:1px solid var(--line); background:white; padding:7px 10px; }
.directory-controls p { grid-column:1/-1; color:var(--muted); margin:4px 0 0; }
.directory-grid { margin-top:12px; display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,125px),1fr)); gap:7px; }
.directory-grid a { display:flex; gap:7px; align-items:center; padding:7px; border:1px solid var(--line); border-radius:8px; font-size:.875rem; overflow-wrap:anywhere; }
.directory-grid a:hover { background:var(--soft); border-color:var(--purple); }
.directory-glyph { flex:none; font-size:1.3rem; }
.blog-post .entry-panel p { max-width:75ch; margin-bottom:1.5rem; }
.blog-post .entry-panel a { text-decoration:underline; text-underline-offset:.15em; }
@media(max-width:900px) { .bar nav { flex-wrap:wrap; } }

.foot-links { display:flex; flex-wrap:wrap; align-items:center; column-gap:14px; row-gap:7px; }
.foot-links a { display:inline-flex; align-items:center; min-height:34px; white-space:nowrap; }
.foot-links .foot-feature { padding:5px 10px; border:1px solid var(--line); border-radius:8px; background:#fff; font-weight:700; color:var(--ink); }
.foot-links a:hover,.foot-links a[aria-current="page"] { color:var(--purple); text-decoration:underline; }

.hero .search { height:62px; padding-inline:14px; }
.hero .search input { font-size:1.08rem; }
.hero .suggest button { font-size:.94rem; padding:8px 13px; }

.animated-controls { margin:0 0 16px; }
.animated-controls label { display:inline-flex; gap:8px; align-items:center; font-weight:700; }
.animated-card { align-items:stretch; }
.animated-card h2 { font-size:1.2rem; }
.animated-card > a { color:var(--purple); text-decoration:underline; font-size:.875rem; }
.animated-stage { display:grid; place-items:center; min-height:108px; border-radius:13px; background:var(--soft); overflow:hidden; }
.animated-glyph { font-size:3.1rem; line-height:1; transform-origin:center; }
.animated-actions { display:flex; flex-wrap:wrap; gap:7px; }
.animated-glyph.is-playing { animation-duration:.8s; animation-timing-function:ease-in-out; }
.animated-glyph.is-playing[data-motion=wave] { animation-name:emoji-wave; }
.animated-glyph.is-playing[data-motion=bounce] { animation-name:emoji-bounce; }
.animated-glyph.is-playing[data-motion=pulse] { animation-name:emoji-pulse; }
.animated-glyph.is-playing[data-motion=launch] { animation-name:emoji-launch; }
.animated-glyph.is-playing[data-motion=shake] { animation-name:emoji-shake; }
.animated-glyph.is-playing[data-motion=flip] { animation-name:emoji-flip; }
.animated-glyph.is-playing[data-motion=melt] { animation-name:emoji-melt; }
@keyframes emoji-wave { 25%,65% { transform:rotate(-25deg); } 45%,85% { transform:rotate(24deg); } }
@keyframes emoji-bounce { 30% { transform:translateY(-22px); } 54% { transform:translateY(2px); } 75% { transform:translateY(-9px); } }
@keyframes emoji-pulse { 25%,65% { transform:scale(1.3); } 45% { transform:scale(.95); } }
@keyframes emoji-launch { 15% { transform:translate(-7px,7px); } 65% { transform:translate(45px,-36px); opacity:.3; } }
@keyframes emoji-shake { 20%,55% { transform:translateX(-8px); } 38%,75% { transform:translateX(8px); } }
@keyframes emoji-flip { 100% { transform:rotate(360deg); } }
@keyframes emoji-melt { 62% { transform:translateY(12px) scale(1.25,.5); } }

.guide-grid .card h2{font-size:1.35rem}
.guide-examples{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.guide-examples a{display:block;padding:5px 9px;border:1px solid var(--line);border-radius:10px;background:#f7f3ff;color:var(--purple);font-size:.88rem;text-decoration:underline;text-underline-offset:.15em}
.guide-action{margin-top:auto;color:var(--purple);font-weight:700;text-decoration:underline;text-underline-offset:.15em}

.animated-card > .animated-card-link { display:grid; gap:10px; color:var(--ink); text-decoration:none; }
.animated-card-link:hover h2 { text-decoration:underline; text-underline-offset:.15em; }
.animated-detail { max-width:640px; margin-top:12px; }
.animated-detail .animated-stage { min-height:clamp(150px,34vw,250px); }
.animated-detail .animated-glyph { font-size:clamp(4rem,12vw,7rem); }
.animated-detail .animated-controls { margin:0; }

.animated-link-label { display:inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .animated-link-label { animation:animated-nav-bounce .65s ease-out .2s; }
  a:is(:hover,:focus-visible) > .animated-link-label {
    animation:animated-nav-interaction .65s ease-out;
  }
}
@keyframes animated-nav-bounce {
  0%, 60%, 100% { transform:translateY(0); }
  34% { transform:translateY(-4px); }
  78% { transform:translateY(-2px); }
}
@keyframes animated-nav-interaction {
  0%, 60%, 100% { transform:translateY(0); }
  34% { transform:translateY(-4px); }
  78% { transform:translateY(-2px); }
}
.animated-detail .animated-actions .primary { min-height:48px; padding:11px 21px; font-size:1.05rem; }

.bar nav a[href="/animated-emoji/"] {
  background:#eee6ff;
  color:#4b22af;
  box-shadow:inset 0 0 0 1px #c9b2ff;
}
.bar nav a[href="/animated-emoji/"]:is(:hover,:focus-visible,[aria-current="page"]) {
  background:#dfd0ff;
  color:#391484;
  box-shadow:inset 0 0 0 1px #a581f5;
}
.wave-article { max-width:78ch; margin-top:16px; }
.wave-article a { color:var(--purple); text-decoration:underline; text-underline-offset:.15em; }

.page-head.animated-gallery-head {
  background:radial-gradient(ellipse at 95% 0%, #f8e5ff, transparent 58%),
    linear-gradient(125deg, #e7dcff, #f1ebff 55%, #e4efff);
}
.animated-search { display:grid; gap:7px; max-width:540px; margin-top:20px; }
.animated-search label { font-weight:700; }
.animated-search input {
  width:100%; min-height:48px; padding:10px 14px; font:inherit; color:var(--ink);
  border:1px solid #bca5ed; border-radius:13px; background:#fff;
}
.animated-gallery-head .animated-count { margin:0; font-size:.9rem; }
.animated-grid .animated-card[hidden] { display:none; }
.entry-panel.wave-article { margin-top:clamp(20px,3vw,36px); padding:clamp(20px,4vw,36px); }
.wave-article h2:not(:first-child) { margin-top:1.6em; }
.wave-article h3 { margin-top:1.25em; }

.animation-detail-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); align-items:start; gap:16px; margin-top:12px; }
.animation-detail-grid .animated-detail { max-width:none; margin-top:0; }
.animation-related h2 { font-size:1.25rem; }
.animation-related ul { display:grid; gap:8px; list-style:none; margin:12px 0 0; padding:0; }
.animation-related a { display:flex; gap:10px; align-items:center; padding:9px 11px; border-radius:10px; background:#f4eeff; color:var(--purple); font-weight:700; }
.animation-related a:hover { text-decoration:underline; }
.animation-related a span { font-size:1.35rem; }
@media (max-width:700px) {
  .animation-detail-grid { grid-template-columns:1fr; }
}

#emoji-sidebar-picks { margin-top:14px; padding:14px; background:#fff; border:1px solid var(--line); border-radius:18px; }
#emoji-sidebar-picks h2 { font-size:1rem; }
#emoji-sidebar-picks ul { display:grid; gap:4px; list-style:none; margin:8px 0 14px; padding:0; }
#emoji-sidebar-picks li a { display:flex; align-items:center; gap:7px; padding:6px; border-radius:8px; color:var(--ink); font-size:.9rem; }
#emoji-sidebar-picks li a:is(:hover,:focus-visible) { background:#eee6ff; }
.sidebar-gallery-link { color:var(--purple); text-decoration:underline; font-size:.9rem; font-weight:700; }
@media (prefers-reduced-motion: no-preference) {
  #emoji-sidebar-picks a:is(:hover,:focus-visible) .sidebar-animated { animation:animated-nav-bounce .65s ease-out; }
}
@media (max-width:680px) {
  #emoji-sidebar-picks ul { grid-template-columns:repeat(auto-fit,minmax(125px,1fr)); }
  #emoji-sidebar-picks { margin-bottom:16px; }
}

.animated-glyph.is-playing[data-motion=drive] { animation-name:emoji-drive; }
.animated-glyph.is-playing[data-motion=hover] { animation-name:emoji-hover; animation-duration:1.1s; }
.animated-glyph.is-playing[data-motion=crawl] { animation-name:emoji-crawl; animation-duration:1.4s; }
.animated-glyph.is-playing[data-motion=fall] { animation-name:emoji-fall; animation-duration:1.1s; }
.animated-glyph.is-playing[data-motion=ring] { animation-name:emoji-ring; transform-origin:50% 12%; }
@keyframes emoji-drive {
  0%,100% { transform:translateX(0); }
  25% { transform:translateX(.2em); }
  72% { transform:translateX(-.55em); }
}
@keyframes emoji-hover {
  0%,100% { transform:translateY(0); }
  35% { transform:translateY(-.19em) rotate(-5deg); }
  73% { transform:translateY(.08em) rotate(4deg); }
}
@keyframes emoji-crawl {
  0%,100% { transform:translateX(0); }
  20%,40% { transform:translateX(-.12em) scaleX(1.05); }
  60%,82% { transform:translateX(-.29em) scaleX(1.02); }
}
@keyframes emoji-fall {
  0%,100% { transform:translateY(0); }
  24% { transform:translate(-.12em,-.24em) rotate(-12deg); }
  76% { transform:translate(.15em,.26em) rotate(17deg); }
}
@keyframes emoji-ring {
  0%,100% { transform:rotate(0); }
  18% { transform:rotate(18deg); }
  38% { transform:rotate(-16deg); }
  58% { transform:rotate(10deg); }
  78% { transform:rotate(-6deg); }
}

.page-head.animated-gallery-head { position:relative; overflow:hidden; min-height:clamp(255px,28vw,360px); padding:clamp(24px,5vw,56px); background:linear-gradient(115deg,#ece4ff 20%,#e2d7fa 62%,#ccb6fa); }
.animated-gallery-head > :is(h1,p,.animated-search) { position:relative; z-index:1; max-width:min(58%,560px); }
.animated-search input { min-height:54px; box-shadow:0 8px 20px #47228212; }
.animated-hero-art {
  position:absolute; inset:7% 3% 7% auto; width:36%; display:grid; place-items:center;
  isolation:isolate; pointer-events:none;
}
.animated-hero-art::before {
  content:""; position:absolute; width:68%; aspect-ratio:1; border-radius:50%;
  background:radial-gradient(circle at 30% 22%, #fff 0%, #f8eeff 28%, #d9c3ff 64%, #a67af0 100%);
  box-shadow:inset -10px -13px 30px #7943b62b, 0 22px 45px #6841a82e;
}
.animated-hero-orbit {
  position:absolute; width:97%; height:48%; border:1px solid #fff9; border-radius:50%;
  transform:rotate(-24deg); box-shadow:0 0 0 8px #ffffff24;
}
.animated-hero-hand {
  position:relative; font-size:clamp(4rem,10vw,8rem); line-height:1;
  transform-origin:65% 82%; filter:drop-shadow(0 9px 10px #653a8b45);
}
.animated-hero-butterfly {
  position:absolute; top:13%; right:4%; display:grid; place-items:center;
  width:26%; aspect-ratio:1; border:1px solid #fff9; border-radius:50%;
  background:linear-gradient(140deg,#fff9,#e2ccff75); box-shadow:0 8px 24px #6841a82b;
  font-size:clamp(1.7rem,4vw,3.4rem);
}
.animated-hero-rocket {
  position:absolute; bottom:12%; left:6%; font-size:clamp(1.7rem,4vw,3.4rem); line-height:1;
  filter:drop-shadow(0 5px 7px #6841a846);
}
@keyframes emoji-hero-rocket {
  0%,100% { transform:translate(0); }
  20% { transform:translate(-4px,4px); }
  65% { transform:translate(18px,-21px); }
}
.animated-hero-sparkle { position:absolute; color:#fff; line-height:1; text-shadow:0 2px 8px #9062cb55; }
.animated-hero-sparkle-top { top:17%; left:12%; font-size:clamp(1.1rem,3vw,2.1rem); }
.animated-hero-sparkle-bottom { bottom:19%; right:15%; font-size:clamp(1rem,2.4vw,1.6rem); }
.animated-more:not([hidden]) { display:block; margin:18px auto 0; }
.animated-glyph.is-playing[data-motion=flutter] { animation-name:emoji-flutter; }
@keyframes emoji-flutter {
  0%,100% { transform:translateY(0) scaleX(1); }
  25% { transform:translate(.06em,-.13em) scaleX(.73) rotate(-7deg); }
  50% { transform:translate(.13em,-.24em) scaleX(1) rotate(6deg); }
  73% { transform:translate(.06em,-.13em) scaleX(.78); }
}
@media (prefers-reduced-motion:no-preference) {
  .emoji-motion-enabled .animated-hero-hand { animation:emoji-wave .8s ease-in-out .3s; }
  .emoji-motion-enabled .animated-hero-butterfly { animation:emoji-flutter 1s ease-in-out .45s; }
  .emoji-motion-enabled .animated-hero-rocket { animation:emoji-hero-rocket 1s ease-in-out .65s; }
}
@media (max-width:640px) {
  .page-head.animated-gallery-head { min-height:0; }
  .animated-gallery-head > :is(h1,p,.animated-search) { max-width:none; }
  .animated-hero-art { position:relative; inset:auto; height:150px; width:min(75%,230px); margin:18px auto 0; }
}

.animated-search-picks { display:flex; flex-wrap:wrap; gap:7px; margin:3px 0; }
.animated-search-picks button {
  padding:6px 11px; border-radius:999px; border:1px solid #fff;
  background:#ffffffa0; color:var(--ink); font:inherit; font-size:.875rem; font-weight:700;
}
.animated-search-picks button:hover { background:#fff; color:var(--purple); }

.directory-entry:not([hidden]) { display:flex; flex-direction:column; align-items:stretch; gap:4px; }
.directory-entry .directory-meaning { flex:1; }
.directory-entry .directory-animation { justify-content:center; color:var(--purple); background:#f6f0ff; font-weight:700; }
