.byk-top-banner figure.byk-motion-stage{position:relative}
.byk-motion-piece{position:absolute;z-index:2;display:grid;place-items:center;width:72px;height:72px;padding:16px;border:1px solid #ffffff70;border-radius:22px;background:#edfff5;color:#20485a;box-shadow:0 8px 24px #13294616;cursor:pointer;animation:byk-drift 6s ease-in-out infinite;transition:box-shadow .2s;touch-action:manipulation}
.byk-motion-piece--0{left:5%;top:20%;transform:rotate(-6deg)}
.byk-motion-piece--1{right:4%;top:58%;width:60px;height:60px;padding:13px;background:#eee8ff;animation-delay:-3s}
.byk-motion-piece svg{display:block;width:100%;height:100%;overflow:visible}
.byk-motion-words{width:auto;max-width:158px;height:auto;min-height:55px;padding:13px 16px;font-family:inherit;font-weight:700;font-size:15px;line-height:1.3;text-align:center;border-radius:18px}
.byk-motion-piece:hover{box-shadow:0 10px 28px #13294632;animation-play-state:paused}
.byk-motion-piece:focus-visible,.byk-home-word:focus-visible{outline:3px solid #fff;outline-offset:5px}
.byk-motion-piece.byk-react{animation:byk-pop .75s ease both}
.byk-react .wave{animation:byk-wave .3s ease-in-out 2;transform-origin:center}
.byk-home-word{border:0;cursor:pointer;pointer-events:auto;font-family:inherit;touch-action:manipulation}
.byk-home-word.byk-react{animation:byk-pop .75s ease both!important}
@keyframes byk-drift{0%,100%{translate:0 0}50%{translate:0 -7px}}
@keyframes byk-pop{0%,100%{scale:1}35%{scale:1.12;rotate:5deg}65%{scale:.98;rotate:-2deg}}
@keyframes byk-wave{50%{transform:scaleY(.55)}}
@media(max-width:800px){.byk-motion-piece{width:58px;height:58px;padding:12px;border-radius:17px}.byk-motion-piece--0{left:8%;top:18%}.byk-motion-piece--1{right:7%;top:58%}.byk-motion-words{width:auto;max-width:125px;height:auto;font-size:12px;padding:10px}}
@media(prefers-reduced-motion:reduce){.byk-motion-piece,.byk-home-word,.byk-react,.byk-react .wave{animation:none!important;transition:none!important}}
/* Match all six solo portraits, anchored to the bottom edge. Keep original PNGs intact. */
html body .byk-top-banner:not([data-top-menu="test"]) .byk-top-banner-inner{height:440px!important;min-height:440px!important;padding:0 40px!important;gap:24px!important}
html body .byk-top-banner:not([data-top-menu="test"]){height:440px!important;min-height:440px!important}
html body .byk-top-banner:not([data-top-menu="test"]) .byk-top-banner-copy{padding:28px 0}
html body .byk-top-banner:not([data-top-menu="test"]) figure{position:relative;align-self:end;height:440px!important;max-height:440px!important;margin:0!important;overflow:hidden!important;width:100%;max-width:none}
html body .byk-top-banner:not([data-top-menu="test"]) figure>img{position:absolute;top:0;left:50%;transform:translateX(-50%);width:453.33px!important;height:680px!important;max-height:none!important;max-width:none!important;object-fit:contain!important;object-position:top center!important}
@media(max-width:800px){html body .byk-top-banner:not([data-top-menu="test"]){height:auto!important;min-height:0!important}html body .byk-top-banner:not([data-top-menu="test"]) .byk-top-banner-inner{height:auto!important;min-height:0!important;padding:24px 24px 0!important;gap:0!important}html body .byk-top-banner:not([data-top-menu="test"]) .byk-top-banner-copy{padding:0 0 18px}html body .byk-top-banner:not([data-top-menu="test"]) figure{height:340px!important;max-height:340px!important}html body .byk-top-banner:not([data-top-menu="test"]) figure>img{width:353.33px!important;height:530px!important}}

html body .byk-top-banner:not([data-top-menu="test"]) figure{display:block!important}
html body .byk-top-banner:not([data-top-menu="test"]) figure>img{inset:20px auto auto 50%!important;transform:translateX(-50%)!important;margin:0!important}


/* Light editorial ornaments, without interface-style icon tiles. */
.byk-greeting{position:absolute;z-index:2;left:1%;top:22%;max-width:164px;padding:14px 17px;background:#d9fff1;color:#203e52;border:0;border-radius:23px 23px 23px 7px;box-shadow:none;transform:rotate(-5deg);font:700 17px/1.3 Arial,sans-serif;cursor:pointer;animation:byk-drift 7s ease-in-out infinite;touch-action:manipulation}
.byk-greeting::after{content:"";position:absolute;bottom:-7px;left:23px;border-top:10px solid #d9fff1;border-right:11px solid transparent}
.byk-greeting:focus-visible{outline:3px solid white;outline-offset:5px}.byk-greeting:hover{animation-play-state:paused}.byk-greeting.byk-react{animation:byk-pop .7s ease both}
.byk-soft-spark{position:absolute;right:5%;top:15%;color:#dcfff5;font:38px/1 Georgia,serif;pointer-events:none;animation:byk-soft-glow 6s ease-in-out infinite}
.byk-soft-ring{position:absolute;right:7%;top:62%;width:12px;height:12px;border:3px solid #e5ddff;border-radius:50%;pointer-events:none;opacity:.85;animation:byk-drift 8s ease-in-out infinite}
@keyframes byk-soft-glow{0%,100%{opacity:.65;scale:.92}50%{opacity:1;scale:1.04}}
@media(max-width:800px){.byk-greeting{left:0;top:22%;max-width:122px;font-size:13px;padding:11px 12px}.byk-soft-spark{right:2%;font-size:29px}.byk-soft-ring{right:3%}}
@media(prefers-reduced-motion:reduce){.byk-greeting,.byk-soft-spark,.byk-soft-ring{animation:none!important}}

/* Each message has its own treatment; avoid repeated icon cards and ornaments. */
.byk-greeting{max-width:168px;font-size:18px;padding:14px 16px;left:0;top:24%;animation-duration:8s}
[data-top-menu="education"] .byk-greeting{background:#e0fff4;border-radius:21px 21px 7px 21px;transform:rotate(-6deg)}
[data-top-menu="education"] .byk-soft-spark{font-size:27px;right:6%;top:19%}
[data-top-menu="smart"] .byk-greeting,[data-top-menu="support"] .byk-greeting{background:none;color:#e0fff4;padding:0;font-size:22px;font-style:italic;line-height:1.4;box-shadow:none;transform:rotate(-5deg)}
[data-top-menu="smart"] .byk-greeting::after,[data-top-menu="support"] .byk-greeting::after,[data-top-menu="enroll"] .byk-greeting::after,[data-top-menu="classroom"] .byk-greeting::after{display:none}
[data-top-menu="support"] .byk-greeting{top:30%;left:0;animation:none;transform:none}
[data-top-menu="enroll"] .byk-greeting{background:none;color:#fff1fb;font-size:23px;padding:0;left:calc(2% + 55px);text-align:center;transform:translateX(-50%) rotate(-7deg);top:28%}
.byk-soft-swoosh{position:absolute;left:2%;top:37%;width:110px;height:14px;border-bottom:3px solid #e8ccff;border-radius:0 0 60% 50%;transform:rotate(-7deg);pointer-events:none}
[data-top-menu="community"] .byk-greeting{background:#f5e9ff;color:#3e3651;transform:rotate(-5deg);top:23%}
[data-top-menu="community"] .byk-greeting::after{border-top-color:#f5e9ff}
[data-top-menu="classroom"] .byk-greeting{background:#fff4e9;color:#4c3150;max-width:170px;border-radius:26px 26px 26px 8px;top:29%;font-size:17px;transform:rotate(-4deg)}
[data-top-menu="classroom"] .byk-soft-spark{font-size:23px;top:18%;right:8%;color:#fff4fa}
@media(max-width:800px){.byk-greeting{max-width:115px!important;font-size:14px!important;padding:10px 12px;left:0;top:20%}[data-top-menu="enroll"] .byk-greeting{left:calc(2% + 41px)}.byk-soft-swoosh{width:82px;top:36%}[data-top-menu="smart"] .byk-greeting,[data-top-menu="support"] .byk-greeting,[data-top-menu="enroll"] .byk-greeting{font-size:17px!important}[data-top-menu="classroom"] .byk-greeting{font-size:13px!important}}

/* Speech belongs to the teacher: sit beside the face and point inward. */
[data-top-menu="education"] .byk-greeting,[data-top-menu="community"] .byk-greeting,[data-top-menu="classroom"] .byk-greeting{left:0;top:12%;transform:none;border-radius:22px;max-width:170px;animation:byk-drift 9s ease-in-out infinite}
[data-top-menu="education"] .byk-greeting::after,[data-top-menu="community"] .byk-greeting::after,[data-top-menu="classroom"] .byk-greeting::after{display:block;position:absolute;left:auto;right:-19px;top:23px;bottom:auto;width:22px;height:17px;border:0;background:#e0fff4;clip-path:polygon(0 0,100% 15%,0 100%)}
[data-top-menu="community"] .byk-greeting::after{background:#f5e9ff}
[data-top-menu="classroom"] .byk-greeting::after{background:#fff4e9}
@media(max-width:800px){[data-top-menu="education"] .byk-greeting,[data-top-menu="community"] .byk-greeting,[data-top-menu="classroom"] .byk-greeting{top:12%;left:0;max-width:112px!important}[data-top-menu="education"] .byk-greeting::after,[data-top-menu="community"] .byk-greeting::after,[data-top-menu="classroom"] .byk-greeting::after{right:-14px;width:17px;top:20px}}
@media(prefers-reduced-motion:reduce){.byk-top-banner .byk-greeting{animation:none!important}}

/* Vary the side by the portrait gesture, with inward-facing speech tails. */
[data-top-menu="community"] .byk-greeting,[data-top-menu="classroom"] .byk-greeting{left:auto;right:0;top:16%;max-width:158px}
[data-top-menu="community"] .byk-greeting::after,[data-top-menu="classroom"] .byk-greeting::after{left:-19px;right:auto;top:23px;clip-path:polygon(100% 0,0 15%,100% 100%)}
[data-top-menu="smart"] .byk-greeting{left:auto;right:0;top:20%;max-width:145px;transform:rotate(4deg)}
[data-top-menu="classroom"] .byk-soft-spark{left:11%;right:auto;top:61%;font-size:19px;opacity:.7}
@media(max-width:800px){[data-top-menu="community"] .byk-greeting,[data-top-menu="classroom"] .byk-greeting{left:auto;right:0;top:15%;max-width:112px!important}[data-top-menu="community"] .byk-greeting::after,[data-top-menu="classroom"] .byk-greeting::after{left:-14px;right:auto}[data-top-menu="smart"] .byk-greeting{left:auto;right:0;max-width:100px!important}}

/* Shared gentle motion: preserve portrait, copy, placement and inward tails. */
@media(prefers-reduced-motion:no-preference){
 html body .byk-top-banner .byk-greeting,html body .hero .byk-home-word{animation:byk-gentle-float 4s ease-in-out infinite!important}
 html body [data-top-menu="smart"] .byk-greeting,html body .hero .hero-float--speak{animation-delay:-1.3s!important}
 html body [data-top-menu="community"] .byk-greeting,html body .hero .hero-float--abc{animation-delay:-2.6s!important}
 html body .byk-top-banner .byk-soft-spark{animation:byk-gentle-spark 6s ease-in-out infinite!important}
 html body .byk-top-banner .byk-soft-ring{animation:byk-gentle-float 7s ease-in-out infinite!important}
 html body .byk-top-banner .byk-greeting:hover,html body .byk-top-banner .byk-greeting:focus-visible,html body .hero .byk-home-word:hover,html body .hero .byk-home-word:focus-visible{animation-play-state:paused!important}
 html body .hero .byk-home-word.byk-react,html body .byk-top-banner .byk-greeting.byk-react{animation:byk-pop .75s ease both!important}
}
@keyframes byk-gentle-float{0%,100%{translate:0 0}50%{translate:0 -5px}}
@keyframes byk-gentle-spark{0%,100%{opacity:.55;scale:.95}50%{opacity:1;scale:1.03}}
@media(prefers-reduced-motion:reduce){html body .byk-top-banner .byk-greeting,html body .hero .byk-home-word,html body .byk-top-banner .byk-soft-spark,html body .byk-top-banner .byk-soft-ring{animation:none!important;translate:none!important}}

/* Child high-five greeting. */
html body [data-top-menu="test"] .byk-greeting{left:auto;right:0;top:12%;max-width:145px;font-size:17px;transform:rotate(4deg)}
html body [data-top-menu="test"] .byk-soft-spark{left:6%;right:auto;top:17%;font-size:26px}
@media(max-width:800px){html body [data-top-menu="test"] .byk-greeting{right:0;top:6%;font-size:13px;max-width:112px;padding:10px 12px}}
