/* GGE 0.5.2 — playful but accessible hero, English Minute and gentle sound control */
.eg-main .gge-audio-row { display:flex;justify-content:flex-end;margin:-12px 0 14px;min-height:32px;position:relative;z-index:3 }
.eg-body .gge-sound-toggle { border:1.5px solid #b2e1dc;background:#fffdf4;color:#176875;border-radius:999px;padding:7px 13px;box-shadow:0 4px 10px rgba(4,108,100,.08);font:800 12px/1.2 'Plus Jakarta Sans',sans-serif;cursor:pointer;min-height:36px }
.eg-body .gge-sound-toggle[aria-pressed="true"] { background:#cefae6;border-color:#48bfa8;color:#075b52 }
.eg-joy-scene { isolation:isolate }
.eg-joy-scene .gge-scene-spark { position:absolute;z-index:5;display:block;font-size:22px;filter:drop-shadow(0 2px 2px rgba(7,78,83,.12));pointer-events:none;animation:ggeOrbit 4s ease-in-out infinite }
.eg-joy-scene .gge-scene-spark--one { top:9%;left:13%;color:#ffc13e;animation-delay:-.4s }
.eg-joy-scene .gge-scene-spark--two { top:33%;right:8%;color:#ff819f;animation-delay:-1.3s }
.eg-joy-scene .gge-scene-spark--three { bottom:24%;left:7%;color:#73c7e3;animation-delay:-2.2s }
.eg-joy-scene .gge-hero-talk { position:absolute;top:12px;left:12px;z-index:6;display:inline-flex;align-items:center;gap:7px;background:#fffef5;border:2px solid #fff;box-shadow:0 5px 0 rgba(7,113,127,.10),0 9px 18px rgba(10,103,111,.13);border-radius:18px 18px 18px 5px;padding:9px 12px;color:#075b65;font:900 12px/1.22 'Plus Jakarta Sans',system-ui,sans-serif;max-width:65%;text-align:left;cursor:pointer;animation:ggeTalkFloat 4.5s ease-in-out infinite }
.eg-joy-scene .gge-hero-talk-icon { font-size:18px;flex:none }
.eg-joy-scene .gge-hero-talk.gge-talk-pop { animation:ggeTalkClick .34s ease both }
.eg-joy-scene .gge-hero-talk:focus-visible { outline:3px solid #ed9040;outline-offset:3px }
.eg-scene.eg-joy-scene .eg-scene-students { transition:filter .3s ease }
.eg-scene.eg-joy-scene:hover .eg-scene-students { filter:drop-shadow(0 12px 12px rgba(6,75,83,.18)) saturate(1.06) }
.gge-mini-english { display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:24px;padding:28px;border:3px solid #fff;border-radius:30px;background:radial-gradient(circle at 8% 14%,#fff0ae 0,transparent 55%),linear-gradient(125deg,#fff7d8,#d6fbf0 62%,#ddf4ff);box-shadow:0 12px 0 rgba(17,139,139,.10),0 20px 35px rgba(15,109,126,.12);position:relative;overflow:hidden }
.gge-mini-english::after { content:"";position:absolute;bottom:0;left:0;right:0;height:10px;background:url('../img/gayo-border.png') center/200px auto repeat-x;opacity:.5;pointer-events:none }
.gge-mini-info { position:relative;z-index:1;align-self:center }
.gge-mini-kicker { display:inline-flex;background:#fff7c9;border:2px solid #fff;border-radius:30px;padding:7px 12px;font-size:12px;font-weight:900;color:#966116;letter-spacing:.05em }
.eg-body .gge-mini-info h2 { color:#0d6570;font-size:clamp(24px,3.3vw,36px);margin:16px 0 10px;letter-spacing:-.035em;line-height:1.13 }
.gge-mini-info p { color:#466b74;margin:0 0 18px;font-size:15px;line-height:1.65 }
.gge-mini-stamps { display:flex;flex-wrap:wrap;gap:7px }
.gge-mini-stamps span { background:#fff;border:2px solid #fff6cc;border-radius:30px;color:#186c75;font-weight:800;font-size:12px;padding:6px 10px;box-shadow:0 3px 0 rgba(60,150,145,.09) }
.gge-mini-board { position:relative;z-index:1;background:#fff;border:2px solid #b3e9df;border-radius:24px;padding:22px;box-shadow:0 9px 0 rgba(26,150,141,.10),0 14px 24px rgba(40,116,118,.09);min-width:0 }
.gge-mini-head,.gge-mini-actions { display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap }
.gge-mini-level { color:#238e86;font-weight:900;font-size:11px;letter-spacing:.06em }
.gge-mini-level span { background:#e2f8ee;border-radius:30px;padding:3px 8px;margin-left:5px;color:#3d807b }
.gge-mini-score { background:#fff0b7;border-radius:14px;padding:6px 10px;color:#86580b;font-size:14px;font-weight:900 }
.gge-mini-word { color:#0b577d;font-size:clamp(30px,4vw,43px);font-weight:900;letter-spacing:-.035em;margin:13px 0 5px }
.eg-body .gge-mini-listen { display:inline-flex;align-items:center;gap:7px;background:#daf4ff;border:2px solid #a0dcef;border-radius:14px;padding:8px 12px;color:#096881;font-weight:900;font-size:13px;cursor:pointer }
.gge-mini-prompt { color:#3e6472;font-size:14px;font-weight:800;margin:16px 0 10px }
.gge-mini-choices { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px }
.eg-body .gge-mini-choice { min-width:0;min-height:52px;padding:8px 6px;border:2px solid #d9e9e8;border-radius:13px;background:#f7fbff;color:#204b61;font:850 14px/1.3 'Plus Jakarta Sans',system-ui,sans-serif;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease }
.eg-body .gge-mini-choice:hover:enabled { background:#fff2c6;border-color:#e9b84b;transform:translateY(-2px) }
.eg-body .gge-mini-choice.is-right { background:#c8f9d9;border-color:#27b28b }
.eg-body .gge-mini-choice.is-wrong { background:#ffe3e6;border-color:#f1a8af }
.eg-body .gge-mini-choice:disabled { cursor:default }
.gge-mini-feedback { min-height:49px;margin:12px 0;font-size:13px;line-height:1.45;font-weight:800;color:#437081 }
.gge-mini-feedback.is-right { color:#08765f }
.gge-mini-feedback.is-wrong { color:#b45d3d }
.gge-mini-actions { border-top:1px dashed #d3e7e7;padding-top:10px }
.eg-body .gge-mini-next { background:#ffcd68;border:2px solid #e5b851;border-radius:12px;min-height:40px;padding:8px 12px;color:#704d10;font-weight:900;cursor:pointer }
.gge-mini-actions>span { color:#66818b;font-size:11px;line-height:1.35 }
@keyframes ggeOrbit { 0%,100% { transform:translate3d(0,0,0) rotate(-8deg);opacity:.85 }50% { transform:translate3d(5px,-10px,0) rotate(12deg);opacity:1 } }
@keyframes ggeTalkFloat { 0%,100% { transform:translateY(0) rotate(-2deg) }50% { transform:translateY(-7px) rotate(1deg) } }
@keyframes ggeTalkClick { 0% { transform:scale(.93) }65% { transform:scale(1.05) }100% { transform:scale(1) } }
@media(max-width:760px) { .eg-main .gge-audio-row { margin:-4px 0 10px } .eg-body .gge-sound-toggle { font-size:11px;min-height:33px } .eg-joy-scene .gge-hero-talk { top:9px;left:9px;max-width:70%;font-size:10px;padding:8px;gap:4px }.eg-joy-scene .gge-hero-talk-icon { font-size:15px } .eg-joy-scene .gge-scene-spark { font-size:17px } .gge-mini-english { grid-template-columns:minmax(0,1fr);padding:17px;gap:17px;border-radius:24px }.gge-mini-board { padding:15px;border-radius:20px }.gge-mini-info h2 { font-size:25px }.gge-mini-stamps span { font-size:10px }.gge-mini-choices { gap:6px }.eg-body .gge-mini-choice { font-size:12px;min-height:48px } .gge-mini-actions>span { font-size:10px } }
@media(max-width:360px) { .gge-mini-choices { grid-template-columns:1fr } .eg-body .gge-mini-choice { min-height:43px } }
@media(prefers-reduced-motion:reduce){ .eg-joy-scene .gge-scene-spark,.eg-joy-scene .gge-hero-talk,.eg-joy-scene .gge-hero-talk.gge-talk-pop{animation:none!important;transition:none!important;transform:none!important} }
/* Keep target stable for touch and keyboard while its icon remains playful. */
.eg-joy-scene .gge-hero-talk {animation:none;transform:none}
.eg-joy-scene .gge-hero-talk-icon {display:inline-block;animation:ggeOrbit 3.6s ease-in-out infinite;transform-origin:center}
@media(prefers-reduced-motion:reduce) { .eg-joy-scene .gge-hero-talk-icon {animation:none!important} }
