/* GGE UI 0.5.6 — lapisan interaksi & animasi.
 * Hanya menambah gerak dan umpan balik; tidak mengubah tata letak atau palet warna.
 * Semua warna memakai variabel --eg-* yang sudah ada. */

/* ---------- Tombol: umpan balik tekan + riak ---------- */
.eg-body .eg-btn,.eg-body .eg-chipbtn,.eg-body .eg-opt,.eg-body .eg-feel,.eg-body .gge-mini-choice{position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}
.eg-body .eg-btn:active,.eg-body .eg-chipbtn:active,.eg-body .gge-mini-choice:active{transform:scale(.97)}
.gge-ripple{position:absolute;border-radius:50%;pointer-events:none;background:currentColor;opacity:.18;transform:scale(0);animation:gge-ripple .55s ease-out forwards}
@keyframes gge-ripple{to{transform:scale(2.6);opacity:0}}
.eg-body :focus-visible{outline:3px solid var(--eg-pop-gold,var(--eg-gold));outline-offset:2px}

/* ---------- Pilihan jawaban ---------- */
.eg-body .eg-opt{transition:transform .18s ease,box-shadow .18s ease,background-color .2s ease,border-color .2s ease}
.eg-body .eg-opt:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 6px 0 -2px var(--eg-line)}
.eg-body .eg-opt.is-chosen{transform:translateY(-2px) scale(1.01)}
.eg-body .eg-opt.is-chosen .eg-optkey{animation:gge-pop .3s ease}
.eg-body .eg-opt.is-right{animation:gge-right .5s cubic-bezier(.3,1.6,.5,1)}
.eg-body .eg-opt.is-right .eg-optkey{animation:gge-pop .45s ease}
/* Salah: gerak lembut, bukan getar keras — sesuai prinsip growth mindset */
.eg-body .eg-opt.is-wrong{animation:gge-nudge .45s ease}
@keyframes gge-pop{0%{transform:scale(1)}45%{transform:scale(1.28)}100%{transform:scale(1)}}
@keyframes gge-right{0%{transform:scale(1)}40%{transform:scale(1.035)}100%{transform:scale(1)}}
@keyframes gge-nudge{0%,100%{transform:translateX(0)}30%{transform:translateX(-4px)}60%{transform:translateX(3px)}}

/* ---------- Kotak umpan balik ---------- */
.eg-body .eg-feedback.is-right,.eg-body .eg-feedback.is-wrong{animation:gge-rise .4s cubic-bezier(.2,.9,.3,1.2)}
.eg-body .eg-feedback .eg-fb-head{display:flex;align-items:center;gap:8px}
.eg-body .eg-feedback.is-right .eg-fb-head::before{content:"✓";display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--eg-teal);color:#fff;font-size:15px;animation:gge-pop .5s ease .1s both}
.eg-body .eg-feedback.is-wrong .eg-fb-head::before{content:"🌱";font-size:20px;display:inline-block;animation:gge-sprout .7s ease .1s both}
.eg-body .eg-fb-btns .eg-chipbtn{animation:gge-rise .35s ease both}
.eg-body .eg-fb-btns .eg-chipbtn:nth-child(2){animation-delay:.06s}
.eg-body .eg-fb-btns .eg-chipbtn:nth-child(3){animation-delay:.12s}
.eg-body .eg-fb-btns .eg-chipbtn:nth-child(4){animation-delay:.18s}
.eg-body .eg-fb-box:not([hidden]){animation:gge-rise .3s ease}
.gge-yet{display:block;margin-top:2px;font-size:.9em;font-weight:600;color:var(--eg-muted)}
@keyframes gge-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes gge-sprout{0%{transform:scale(0) translateY(6px)}60%{transform:scale(1.25)}100%{transform:scale(1)}}

/* ---------- Check-in perasaan ---------- */
.eg-body .eg-feel{transition:transform .2s ease}
.eg-body .eg-feel:hover{transform:translateY(-3px)}
.eg-body .eg-feel.is-on{animation:gge-bounce .5s cubic-bezier(.3,1.7,.5,1)}
.eg-body .eg-checkin.is-ask{animation:gge-glow 1.6s ease 2}
@keyframes gge-bounce{0%{transform:scale(1)}40%{transform:scale(1.18)}100%{transform:scale(1)}}
@keyframes gge-glow{50%{box-shadow:0 0 0 6px var(--eg-cream)}}

/* ---------- Jejak usaha (pita kecil di atas soal) ---------- */
.gge-effort{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.gge-effort span{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;background:var(--eg-mint);color:var(--eg-forest);font-size:13px;font-weight:700;line-height:1.2}
.gge-effort span.is-streak{background:var(--eg-cream);color:var(--eg-goldt)}
.gge-effort b{font-variant-numeric:tabular-nums}
.gge-effort span.is-bump{animation:gge-pop .45s ease}

/* ---------- Lencana / toast ---------- */
.gge-toast{position:fixed;left:50%;bottom:calc(88px + env(safe-area-inset-bottom,0px));z-index:9999;display:flex;align-items:center;gap:12px;max-width:min(92vw,380px);padding:12px 16px;border-radius:var(--eg-radius,18px);background:var(--eg-paper,#fff);color:var(--eg-ink);box-shadow:0 14px 34px -12px rgba(19,57,70,.35);border:2px solid var(--eg-gold);transform:translate(-50%,30px);opacity:0;transition:transform .45s cubic-bezier(.2,1.4,.4,1),opacity .3s ease}
.gge-toast.is-in{transform:translate(-50%,0);opacity:1}
.gge-toast-ico{font-size:30px;line-height:1;animation:gge-pop .6s ease .2s both}
.gge-toast strong{display:block;font-size:15px}
.gge-toast small{display:block;color:var(--eg-muted);font-size:13px;line-height:1.35}
.gge-confetti{position:fixed;inset:0;pointer-events:none;z-index:9998}

/* ---------- Statistik & bilah progres ---------- */
.eg-body .eg-bar i{transition:width 1s cubic-bezier(.2,.8,.2,1)}
.eg-body .eg-bar.gge-pre i{width:0!important}
.eg-body .eg-barcol i{transform-origin:bottom;animation:gge-grow .8s cubic-bezier(.2,.8,.2,1) both}
.eg-body .eg-barcol:nth-child(2) i{animation-delay:.08s}.eg-body .eg-barcol:nth-child(3) i{animation-delay:.16s}.eg-body .eg-barcol:nth-child(4) i{animation-delay:.24s}
@keyframes gge-grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.eg-body .eg-student-stat .eg-iconbox,.eg-body .eg-stat .eg-iconbox{transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
.eg-body .eg-student-stat:hover .eg-iconbox,.eg-body .eg-stat:hover .eg-iconbox{transform:rotate(-8deg) scale(1.1)}

/* ---------- Kartu unit & aktivitas ---------- */
.eg-body .eg-unitcard,.eg-body .eg-actcard,.eg-body .eg-unit-progress-list li{transition:transform .22s ease,box-shadow .22s ease}
.eg-body .eg-unitcard:hover,.eg-body .eg-actcard:hover{transform:translateY(-4px)}
.eg-body .eg-unit-progress-list li:hover{transform:translateX(4px)}
.eg-body .eg-unitcard:hover .eg-iconbox,.eg-body .eg-actcard:hover .eg-iconbox,.eg-body .eg-unit-progress-list li:hover .eg-iconbox{animation:gge-wiggle .5s ease}
@keyframes gge-wiggle{25%{transform:rotate(-10deg)}75%{transform:rotate(8deg)}}

/* ---------- Beranda & maskot ---------- */
.eg-body .gge-hero-talk{transition:transform .2s ease}
.eg-body .gge-hero-talk::after{content:"";position:absolute;inset:-3px;border-radius:inherit;border:2px solid var(--eg-pop-gold,var(--eg-gold));opacity:0;animation:gge-ring 2.6s ease-out 1.2s 3;pointer-events:none}
.eg-body .gge-hero-talk.is-talking .gge-hero-talk-icon{animation:gge-talk .35s ease infinite alternate}
@keyframes gge-ring{0%{opacity:.8;transform:scale(1)}70%,100%{opacity:0;transform:scale(1.15)}}
@keyframes gge-talk{to{transform:scale(1.25)}}
.eg-body .eg-avatar img{transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
.eg-body .eg-avatar:hover img{transform:rotate(-6deg) scale(1.06)}
.eg-body .eg-logo-mark img{transition:transform .5s cubic-bezier(.3,1.6,.5,1)}
.eg-body .eg-logo:hover .eg-logo-mark img{transform:rotate(-12deg) scale(1.08)}

/* ---------- Word Quest mini ---------- */
.eg-body .gge-mini-word.is-flip{animation:gge-flip .45s ease}
.eg-body .gge-mini-choice.is-right{animation:gge-right .45s cubic-bezier(.3,1.6,.5,1)}
.eg-body .gge-mini-choice.is-wrong{animation:gge-nudge .4s ease}
.eg-body .gge-mini-score.is-bump{animation:gge-pop .45s ease;display:inline-block}
@keyframes gge-flip{0%{transform:perspective(500px) rotateX(0)}50%{transform:perspective(500px) rotateX(90deg);opacity:.2}100%{transform:perspective(500px) rotateX(0)}}

/* ---------- Formulir (Daftar / Masuk / tugas) ---------- */
.eg-body .eg-form input:not([type=checkbox]):not([type=radio]),.eg-body .eg-form select,.eg-body .eg-form textarea,.eg-body .eg-textarea textarea{transition:border-color .2s ease,box-shadow .2s ease}
.eg-body .eg-form input:focus,.eg-body .eg-form select:focus,.eg-body .eg-form textarea:focus,.eg-body .eg-textarea textarea:focus{box-shadow:0 0 0 4px var(--eg-mint)}
.eg-body .gge-shake{animation:gge-nudge .4s ease 2}
.eg-body .eg-btn.is-loading{pointer-events:none;opacity:.85}
.eg-body .eg-btn.is-loading::after{content:"";display:inline-block;width:14px;height:14px;margin-left:8px;vertical-align:-2px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:gge-spin .7s linear infinite}
@keyframes gge-spin{to{transform:rotate(360deg)}}
.gge-wordcount{display:flex;align-items:center;gap:8px;margin-top:6px;font-size:13px;font-weight:600;color:var(--eg-muted)}
.gge-wordcount i{flex:1;max-width:160px;height:6px;border-radius:9px;background:var(--eg-line);overflow:hidden}
.gge-wordcount i b{display:block;height:100%;width:0;background:var(--eg-teal);border-radius:inherit;transition:width .3s ease}
.gge-wordcount.is-goal{color:var(--eg-forest)}

/* ---------- Alert & navigasi ---------- */
.eg-body .eg-alert{animation:gge-rise .35s ease}
.eg-body .eg-nav a{transition:transform .2s ease}
.eg-body .eg-nav a:active{transform:scale(.92)}
.eg-body .eg-nav a[aria-current="page"] svg,.eg-body .eg-nav a.is-active svg{animation:gge-bounce .5s ease}
.eg-body details>summary{transition:color .2s ease}
.eg-body details[open]>*:not(summary){animation:gge-rise .3s ease}

/* ---------- Gerak dikurangi ---------- */
@media (prefers-reduced-motion:reduce){
  .eg-body *,.eg-body *::before,.eg-body *::after,.gge-toast,.gge-toast *{animation:none!important;transition:none!important}
  .gge-confetti{display:none}
}

/* =====================================================================
 * 0.5.7 — tata letak gambar panel, Word Quest ringkas, menu bawah satu baris
 * ===================================================================== */

/* ---------- Gambar siswa pada panel: pindah ke samping atas, tanpa ruang kosong ----------
 * Panel "Keep growing" (adegan hero) tidak disentuh. */
.eg-body{--gge-art:104px}
.eg-body .eg-journey-grid .eg-step.eg-step--visual,
.eg-body .eg-feature-card,
.eg-body .eg-trust-grid .eg-trust-item,
.eg-body .eg-trust-item,
.eg-body .eg-trust-intro,
.eg-body .eg-extra-card{
  display:grid!important;grid-template-columns:minmax(0,1fr) var(--gge-art);column-gap:12px;
  align-content:start;align-items:start;min-height:0!important;height:auto!important;padding-bottom:20px!important;padding-right:20px!important
}
.eg-body :is(.eg-step--visual,.eg-feature-card,.eg-trust-item,.eg-trust-intro,.eg-extra-card)>*{grid-column:1/-1}
.eg-body :is(.eg-step--visual,.eg-feature-card,.eg-trust-item,.eg-extra-card)>.eg-iconbox,
.eg-body .eg-trust-intro>.eg-overline{grid-column:1;grid-row:1;justify-self:start}
.eg-body .eg-step--visual>.eg-step-index{grid-column:1;grid-row:1;justify-self:end;align-self:start}
.eg-body :is(.eg-step--visual,.eg-feature-card,.eg-trust-item,.eg-trust-intro)>:is(h2,h3),
.eg-body .eg-extra-card>strong{grid-column:1;grid-row:2;margin-top:8px}
.eg-body :is(.eg-step--visual,.eg-feature-card,.eg-trust-item,.eg-trust-intro,.eg-extra-card)>.eg-phase-art{
  grid-column:2!important;grid-row:1 / span 2!important;align-self:start!important;justify-self:end;
  position:static!important;inset:auto!important;width:var(--gge-art)!important;max-width:none!important;min-height:0!important;margin:0!important
}
.eg-body .eg-phase-art img{display:block;width:100%!important;height:auto!important;max-height:none!important;margin:0!important;border-radius:16px}

/* Kartu fase pada dasbor murid */
.eg-body .eg-student-journey .eg-phase.eg-phase--visual{
  display:grid!important;grid-template-columns:minmax(0,1fr) 78px;column-gap:8px;align-items:start;min-height:0!important;padding-bottom:14px!important
}
.eg-body .eg-student-journey .eg-phase .eg-phase-art.is-mini{position:static!important;width:78px!important;max-width:none!important;min-height:0!important;margin:0!important;align-self:start}
.eg-body .eg-student-journey .eg-phase .eg-phase-art.is-mini img{max-height:none!important}
/* Panel "Lanjutkan belajar" */
.eg-body .eg-continue-feature .eg-phase-art.is-panel.is-continue{align-self:start!important;margin:0!important}

@media(max-width:760px){
  .eg-body{--gge-art:78px}
  .eg-body .eg-journey-grid .eg-step.eg-step--visual,.eg-body .eg-feature-card,.eg-body .eg-trust-item,.eg-body .eg-trust-intro,.eg-body .eg-extra-card{padding:16px!important;column-gap:10px}
  .eg-body :is(.eg-step--visual,.eg-feature-card,.eg-trust-item,.eg-trust-intro)>p,.eg-body .eg-extra-card>span:not(.eg-iconbox){margin-bottom:0}
  .eg-body .eg-student-journey .eg-phase.eg-phase--visual{grid-template-columns:minmax(0,1fr) 62px;padding:12px!important}
  .eg-body .eg-student-journey .eg-phase .eg-phase-art.is-mini{width:62px!important}
}

/* ---------- Word Quest: satu soal, pilihan berjajar, lebih ringkas ---------- */
.eg-body .gge-mini-choices{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.eg-body .gge-mini-word{min-height:1.2em}
@media(max-width:760px){
  .eg-body .gge-mini-english{grid-template-columns:1fr!important;gap:12px!important;padding:16px!important}
  .eg-body .gge-mini-info h2{margin:8px 0 4px!important;font-size:22px!important}
  .eg-body .gge-mini-info p{margin:0!important;font-size:13.5px;line-height:1.5}
  .eg-body .gge-mini-stamps{display:none!important}
  .eg-body .gge-mini-board{padding:14px!important}
  .eg-body .gge-mini-prompt{margin:6px 0 8px!important}
  .eg-body .gge-mini-choice{min-height:42px!important;padding:6px 4px!important;font-size:14px}
  .eg-body .gge-mini-feedback{margin:8px 0 0!important;min-height:2.6em}
  .eg-body .gge-mini-actions{margin-top:6px!important}
}

/* ---------- Menu bawah dasbor murid: satu baris, rapat ---------- */
@media(max-width:760px){
  .eg-body .eg-tabbar.eg-tabbar-all{
    grid-template-columns:repeat(var(--gge-tabs,7),minmax(0,1fr))!important;grid-auto-rows:auto!important;
    gap:2px!important;padding:5px 4px calc(6px + env(safe-area-inset-bottom))!important
  }
  .eg-body .eg-tabbar.eg-tabbar-all.is-short{--gge-tabs:2}
  .eg-body .eg-tabbar.eg-tabbar-all a,.eg-body .eg-tabbar.eg-tabbar-all a:nth-child(n){
    grid-column:auto!important;grid-row:auto!important;height:auto!important;min-height:58px!important;min-width:0!important;
    padding:4px 0!important;gap:2px!important;font-size:9.5px!important;line-height:1.1!important;border-radius:12px!important;text-align:center
  }
  .eg-body .eg-tabbar.eg-tabbar-all .eg-nav-art{width:34px!important;height:34px!important;border-radius:11px!important}
  .eg-body .eg-tabbar.eg-tabbar-all .eg-nav-art svg{width:28px!important;height:28px!important}
  .eg-body .eg-tabbar.eg-tabbar-all .eg-nav-label{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 1px}
  .eg-body.eg-screen-app .eg-footer{padding-bottom:calc(84px + env(safe-area-inset-bottom))!important}
}
@media(max-width:360px){
  .eg-body .eg-tabbar.eg-tabbar-all .eg-nav-art{width:30px!important;height:30px!important}
  .eg-body .eg-tabbar.eg-tabbar-all .eg-nav-art svg{width:25px!important;height:25px!important}
  .eg-body .eg-tabbar.eg-tabbar-all a{font-size:8.5px!important}
}

/* ---------- Ikon menu yang lebih hidup ---------- */
.eg-nav-art svg .gge-i-bob{transform-box:fill-box;transform-origin:center;animation:gge-ibob 2.4s ease-in-out infinite}
.eg-nav-art svg .gge-i-spark{transform-box:fill-box;transform-origin:center;animation:gge-ispark 2s ease-in-out infinite}
a.is-active .eg-nav-art svg,a[aria-current="page"] .eg-nav-art svg{animation:gge-bounce .6s cubic-bezier(.3,1.7,.5,1)}
@keyframes gge-ibob{50%{transform:translateY(-1.2px) rotate(-4deg)}}
@keyframes gge-ispark{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.7)}}

/* =====================================================================
 * 0.5.8 — menu bawah ponsel: Ruang Gayo & Angket di "Lainnya", jarak lebih lega
 * ===================================================================== */
.gge-more-btn,.gge-more-sheet{display:none}
@media(max-width:760px){
  .eg-body .eg-tabbar.eg-tabbar-all{gap:4px!important;padding:6px 8px calc(7px + env(safe-area-inset-bottom))!important}
  .eg-body .eg-tabbar.eg-tabbar-all a,.eg-body .eg-tabbar.eg-tabbar-all a:nth-child(n),.eg-body .eg-tabbar .gge-more-btn{
    min-height:62px!important;padding:5px 2px!important;gap:3px!important;font-size:11px!important;line-height:1.15!important
  }
  .eg-body .eg-tabbar.eg-tabbar-all .eg-nav-label{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
    display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:normal}
  .eg-body .eg-tabbar.eg-tabbar-all .eg-nav-art{width:36px!important;height:36px!important}
  .eg-body .eg-tabbar.eg-tabbar-all .eg-nav-art svg{width:29px!important;height:29px!important}

  /* Tombol "Lainnya" meniru gaya tombol menu lain */
  .eg-body .eg-tabbar .gge-more-btn{
    display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;border:0;background:transparent;
    font-family:inherit;font-weight:850;color:#2F6475;border-radius:12px;cursor:pointer;-webkit-tap-highlight-color:transparent
  }
  .eg-body .eg-tabbar .gge-more-btn .eg-nav-art{position:relative;display:inline-grid;place-items:center;background:#FFF0BC;border-radius:12px}
  .eg-body .eg-tabbar .gge-more-btn.is-active,.eg-body .eg-tabbar .gge-more-btn[aria-expanded="true"]{background:#DDF9F3;color:#067681;box-shadow:inset 0 0 0 2px #A5EBDD}
  .gge-more-dot{position:absolute;top:-3px;right:-3px;width:11px;height:11px;border-radius:50%;background:var(--eg-coral,#FF796C);border:2px solid #fff;animation:gge-ispark 1.6s ease-in-out infinite}

  /* Panel "Lainnya" dari bawah */
  .gge-more-sheet:not([hidden]){display:block;position:fixed;inset:0;z-index:60}
  .gge-more-backdrop{position:absolute;inset:0;background:rgba(19,57,70,.32);opacity:0;transition:opacity .25s ease}
  .gge-more-panel{position:absolute;left:8px;right:8px;bottom:calc(84px + env(safe-area-inset-bottom));display:grid;gap:8px;padding:10px 12px 12px;
    background:#FFFDF7;border:2px solid #FFCE79;border-radius:20px;box-shadow:0 18px 40px -14px rgba(24,92,117,.4);transform:translateY(16px);opacity:0;
    transition:transform .3s cubic-bezier(.2,1.3,.4,1),opacity .2s ease}
  .gge-more-sheet.is-open .gge-more-backdrop{opacity:1}
  .gge-more-sheet.is-open .gge-more-panel{transform:none;opacity:1}
  .gge-more-grip{justify-self:center;width:38px;height:4px;border-radius:9px;background:var(--eg-line,#DCE5E2)}
  .gge-more-item{display:flex;align-items:center;gap:12px;padding:10px;border-radius:14px;text-decoration:none!important;color:var(--eg-ink)!important;background:#fff;box-shadow:inset 0 0 0 1.5px var(--eg-line,#DCE5E2)}
  .gge-more-item.is-active{background:#DDF9F3;box-shadow:inset 0 0 0 2px #A5EBDD}
  .gge-more-item .eg-nav-art{flex:0 0 auto;width:42px;height:42px;display:inline-grid;place-items:center;border-radius:13px;background:#C9F5D5}
  .gge-more-item:nth-of-type(2) .eg-nav-art{background:#CEF0FF}
  .gge-more-item .eg-nav-art svg{width:32px;height:32px}
  .gge-more-text{flex:1;min-width:0}
  .gge-more-text strong{display:block;font-size:15px}
  .gge-more-text small{display:block;font-size:12.5px;color:var(--eg-muted)}
  .gge-more-badge{flex:0 0 auto;min-width:24px;height:24px;padding:0 7px;display:inline-grid;place-items:center;border-radius:99px;background:var(--eg-coral,#FF796C);color:#fff;font-size:13px}
}
@media(max-width:360px){
  .eg-body .eg-tabbar.eg-tabbar-all a,.eg-body .eg-tabbar .gge-more-btn{font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){.gge-more-panel,.gge-more-backdrop{transition:none!important}.gge-more-dot{animation:none!important}}
@media(max-width:760px){
  .eg-body .eg-tabbar.eg-tabbar-all a.gge-tab-beranda .eg-nav-art{background:#FFE5B0}
  .eg-body .eg-tabbar.eg-tabbar-all a.gge-tab-belajar .eg-nav-art{background:#C8F3E9}
  .eg-body .eg-tabbar.eg-tabbar-all a.gge-tab-aktivitas .eg-nav-art{background:#E4D8FF}
  .eg-body .eg-tabbar.eg-tabbar-all a.gge-tab-progress .eg-nav-art{background:#FFE8A5}
  .eg-body .eg-tabbar.eg-tabbar-all a.gge-tab-refleksi .eg-nav-art{background:#FFDAE8}
  .eg-body .eg-tabbar.eg-tabbar-all a.gge-tab-angket .eg-nav-art{background:#CEF0FF}
}

/* =====================================================================
 * 0.5.9 — header desktop lebih padat (satu baris)
 * ===================================================================== */
@media(min-width:761px){
  .eg-body .eg-top-student .eg-top-row{padding-top:10px!important;padding-bottom:10px!important;row-gap:8px!important;column-gap:16px!important;align-items:center}
  .eg-body .eg-top-student .eg-student-nav{padding-top:8px!important;gap:2px!important}
  .eg-body .eg-top-student .eg-student-nav a{padding:7px 11px!important;gap:6px!important;font-size:13px!important;border-radius:11px}
  .eg-body .eg-top-student .eg-student-nav a svg{width:16px;height:16px}
  .eg-body .eg-top-student .eg-logo-mark,.eg-body .eg-top-student .eg-logo-mark img{width:38px!important;height:38px!important}
  .eg-body .eg-top-student .eg-user .eg-avatar{width:34px!important;height:34px!important}
  .eg-body .eg-top-student .eg-user .eg-iconlink{width:36px!important;height:36px!important}
}
/* Layar lebar: logo, menu, dan akun dalam satu baris */
@media(min-width:1140px){
  .eg-body .eg-top-student .eg-top-row{grid-template-columns:auto minmax(0,1fr) auto!important;padding-top:8px!important;padding-bottom:8px!important}
  .eg-body .eg-top-student .eg-logo{grid-column:1!important;grid-row:1!important}
  .eg-body .eg-top-student .eg-student-nav{grid-column:2!important;grid-row:1!important;border-top:0!important;padding-top:0!important;justify-content:center!important;flex-wrap:nowrap!important}
  .eg-body .eg-top-student .eg-student-nav a{white-space:nowrap}
  .eg-body .eg-top-student .eg-user{grid-column:3!important;grid-row:1!important}
}
@media(min-width:1140px) and (max-width:1279px){
  .eg-body .eg-top-student .eg-student-nav a{padding:7px 8px!important;font-size:12.5px!important}
  .eg-body .eg-top-student .eg-username{display:none}
  .eg-body .eg-top-student .eg-logo small,.eg-body .eg-top-student .eg-logo-sub{display:none}
}

/* =====================================================================
 * 0.6.0 — kartu "Hari ini mau belajar apa?" di dasbor murid
 * ===================================================================== */
.gge-today{margin:4px 0 6px;padding:16px;border-radius:var(--eg-radius,20px);background:var(--eg-paper,#fff);border:2px solid var(--eg-line);box-shadow:0 6px 0 -2px var(--eg-line)}
.eg-body .gge-today-title{margin:0 0 10px;font-size:19px;line-height:1.2;color:var(--eg-ink);letter-spacing:-.01em}
.gge-today-main{display:flex;align-items:center;gap:12px;padding:14px;border-radius:16px;background:var(--eg-forest);color:#fff!important;text-decoration:none!important;transition:transform .18s ease}
.gge-today-main:hover{transform:translateY(-2px)}
.gge-today-main.is-angket{background:var(--eg-goldt)}
.gge-today-ico{flex:0 0 auto;width:46px;height:46px;display:grid;place-items:center;font-size:24px;border-radius:14px;background:rgba(255,255,255,.16)}
.gge-today-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.gge-today-copy small{font-size:12px;font-weight:700;opacity:.8}
.gge-today-copy strong{font-size:16.5px;line-height:1.25}
.gge-today-copy span{font-size:13px;line-height:1.4;opacity:.9}
.gge-today-go{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border-radius:12px;background:var(--eg-gold);color:var(--eg-ink);font-weight:800;font-size:14px;white-space:nowrap}
.gge-today-go svg{width:16px;height:16px}
.eg-body .gge-today-or{margin:12px 0 8px;font-size:13px;font-weight:700;color:var(--eg-muted)}
.gge-today-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gge-today-choices a{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;padding:10px 6px;border-radius:14px;background:var(--eg-mint);color:var(--eg-forest)!important;text-decoration:none!important;transition:transform .18s ease}
.gge-today-choices a:nth-child(2){background:var(--eg-lavender)}
.gge-today-choices a:nth-child(3){background:var(--eg-cream)}
.gge-today-choices a:hover{transform:translateY(-2px)}
.gge-today-choices span{font-size:22px;line-height:1.1}
.gge-today-choices strong{font-size:14px}
.gge-today-choices small{font-size:11.5px;color:var(--eg-muted);line-height:1.25}
.gge-today-steps{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0;padding:0;list-style:none;counter-reset:gge-step}
.gge-today-steps li{counter-increment:gge-step;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:var(--eg-muted)}
.gge-today-steps li::before{content:counter(gge-step);display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--eg-mint);color:var(--eg-forest);font-size:11px}
.gge-today-steps li:not(:last-child)::after{content:"→";margin-left:2px;color:var(--eg-line)}
@media(max-width:760px){
  .gge-today{padding:12px}
  .eg-body .gge-today-title{font-size:17px}
  .gge-today-main{flex-wrap:wrap;padding:12px;gap:10px}
  .gge-today-ico{width:40px;height:40px;font-size:21px}
  .gge-today-go{width:100%;justify-content:center}
  .gge-today-choices a{padding:8px 4px}
  .gge-today-choices small{display:none}
  .gge-today-steps li{font-size:11.5px}
}

/* =====================================================================
 * 0.6.1 — halaman unit: satu langkah per layar (Target, Materi, Soal, Refleksi)
 * ===================================================================== */
.gge-unit{max-width:720px;margin:0 auto;scroll-margin-top:90px}
.gge-unit-head{display:flex;align-items:center;gap:10px;margin:0 0 6px}
.gge-unit-back{flex:0 0 auto;width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:var(--eg-mint);color:var(--eg-forest)!important}
.gge-unit-back svg{transform:rotate(180deg)}
.eg-body .gge-unit-head h1{margin:0;font-size:clamp(19px,4.6vw,26px);line-height:1.2}
.gge-track{position:relative;display:grid;grid-template-columns:repeat(4,1fr);margin:14px 4px 6px;padding-top:4px}
.gge-track-line{position:absolute;left:12.5%;right:12.5%;top:20px;height:4px;border-radius:9px;background:var(--eg-line)}
.gge-track-line i{display:block;height:100%;width:0;border-radius:inherit;background:var(--eg-teal);transition:width .6s cubic-bezier(.3,1.4,.5,1)}
.gge-track-me{position:absolute;top:-6px;left:12.5%;transform:translateX(-50%);font-size:24px;line-height:1;z-index:2;pointer-events:none;transition:left .6s cubic-bezier(.3,1.5,.5,1)}
.gge-track-dot{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:none;padding:0;cursor:pointer;font:inherit;font-size:12.5px;font-weight:700;color:var(--eg-muted)}
.gge-track-dot i{width:18px;height:18px;margin-top:9px;border-radius:50%;background:var(--eg-line);border:3px solid var(--eg-paper,#fff);transition:background .3s,transform .3s}
.gge-track-dot.is-on i{background:var(--eg-teal)}
.gge-track-dot[aria-current="step"]{color:var(--eg-forest)}
.gge-track-dot[aria-current="step"] i{transform:scale(1.25)}
.gge-track-me.is-hop{animation:gge-hop .6s ease}
@keyframes gge-hop{40%{transform:translate(-50%,-10px)}}

.gge-pane{padding:16px;margin:10px 0;border-radius:var(--eg-radius,20px);background:var(--eg-paper,#fff);border:2px solid var(--eg-line)}
.gge-unit.is-js .gge-pane{display:none}
.gge-unit.is-js .gge-pane.is-on{display:flex;flex-direction:column;min-height:min(62vh,520px);animation:gge-pane-in .45s cubic-bezier(.2,1.3,.4,1)}
.gge-unit.is-js .gge-pane.is-on.from-left{animation-name:gge-pane-back}
@keyframes gge-pane-in{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:none}}
@keyframes gge-pane-back{from{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:none}}
.eg-body .gge-q{margin:4px 0 8px;font-size:21px;line-height:1.25;text-align:center;color:var(--eg-ink)}
.eg-body .gge-sub{margin:0 0 12px;text-align:center;color:var(--eg-muted);font-size:14.5px}
.gge-big{display:block;width:100%;margin-top:auto;padding:14px;border:0;border-radius:16px;background:var(--eg-forest);color:#fff!important;font:inherit;font-size:16px;font-weight:800;text-align:center;text-decoration:none!important;cursor:pointer;transition:transform .15s}
.gge-big:active{transform:scale(.97)}
.gge-pane>.gge-big{margin-top:auto}
.gge-pane>*+.gge-big{margin-top:16px}
.gge-soft{display:block;margin-top:10px;padding:12px;border-radius:14px;text-align:center;background:var(--eg-cream);color:var(--eg-goldt)!important;font-weight:700;text-decoration:none!important}

/* Target: peta kemampuan & catatan belajar diringkas */
.gge-pane .eg-card.is-mint{padding:12px!important;margin:0 0 12px!important;box-shadow:none}
.gge-pane .eg-card.is-mint h2{font-size:14px;margin:0 0 6px}
.gge-pane .eg-card.is-mint>p{display:none}
.gge-pane .eg-card.is-mint ul{margin:4px 0;padding-left:18px;font-size:13.5px}
.gge-pane .eg-log{padding:0!important;border:0!important;box-shadow:none!important;background:none!important}
.gge-pane .eg-log>summary{display:none}
.gge-pane .eg-form.is-wizard .eg-textarea{display:none;font-weight:800;font-size:16px;color:var(--eg-ink)}
.gge-pane .eg-form.is-wizard .eg-textarea.is-on{display:block;animation:gge-pane-in .35s ease}
.gge-pane .eg-form.is-wizard textarea{margin-top:8px;font-weight:400;font-size:14px}
.gge-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px}
.gge-chip{border:2px solid var(--eg-line);background:var(--eg-paper,#fff);color:var(--eg-ink);border-radius:999px;padding:9px 14px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:transform .15s}
.gge-chip:active{transform:scale(.95)}
.gge-chip.is-on{background:var(--eg-mint);border-color:var(--eg-teal);color:var(--eg-forest);animation:gge-bounce .45s cubic-bezier(.3,1.8,.5,1)}
.gge-log-nav{display:flex;align-items:center;gap:8px;margin-top:10px}
.gge-log-count{flex:1;font-size:13px;font-weight:700;color:var(--eg-muted)}
.gge-log-prev,.gge-log-next,.gge-deck-prev,.gge-deck-next{border:0;border-radius:12px;padding:9px 14px;font:inherit;font-weight:800;cursor:pointer;background:var(--eg-mint);color:var(--eg-forest)}

/* Materi: kartu geser */
.gge-deck{position:relative}
.gge-mcard{display:none;position:relative;min-height:220px;padding:18px 18px 16px;border-radius:18px;background:var(--eg-cream);color:var(--eg-ink);font-size:16px;line-height:1.65}
.gge-mcard.is-on{display:block;animation:gge-pane-in .4s cubic-bezier(.2,1.3,.4,1)}
.gge-mcard.is-on.from-left{animation-name:gge-pane-back}
.gge-mcard.is-video{background:var(--eg-mint)}
.gge-mcard>:first-child+*{margin-top:0}
.gge-mcard h2,.gge-mcard h3,.gge-mcard h4{margin:0 34px 8px 0;font-size:18px}
.gge-say{float:right;margin:-4px -4px 6px 8px;width:38px;height:38px;border:0;border-radius:12px;background:var(--eg-paper,#fff);font-size:18px;cursor:pointer}
.gge-deck-bar{display:flex;align-items:center;gap:10px;margin:12px 0 0}
.gge-deck-dots{flex:1;display:flex;justify-content:center;gap:6px}
.gge-deck-dots i{width:8px;height:8px;border-radius:9px;background:var(--eg-line);transition:width .3s,background .3s}
.gge-deck-dots i.is-on{width:22px;background:var(--eg-gold)}

/* Soal: jalur bulatan zig-zag */
.gge-path{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.gge-node{display:flex;animation:pop-node .45s cubic-bezier(.3,1.8,.5,1) both;animation-delay:calc(var(--i) * 70ms)}
.gge-node:nth-child(4n+2){padding-left:30%}.gge-node:nth-child(4n+3){padding-left:55%}.gge-node:nth-child(4n){padding-left:30%}
.gge-node a{display:flex;align-items:center;gap:10px;text-decoration:none!important;color:var(--eg-ink)!important}
.gge-node-dot{flex:0 0 auto;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;font-size:19px;font-weight:800;background:var(--eg-line);color:var(--eg-muted);box-shadow:0 5px 0 rgba(19,57,70,.12);transition:transform .15s}
.gge-node a:active .gge-node-dot{transform:scale(.92)}
.gge-node.is-ok .gge-node-dot{background:var(--eg-mint);color:var(--eg-forest)}
.gge-node.is-re .gge-node-dot{background:var(--eg-cream);color:var(--eg-goldt)}
.gge-node.is-nx .gge-node-dot{background:var(--eg-forest);color:#fff;animation:gge-node-pulse 1.6s ease-in-out .8s infinite}
.gge-node-label{display:flex;flex-direction:column;font-weight:800;font-size:14px}
.gge-node-label small{font-weight:600;font-size:12px;color:var(--eg-muted)}
@keyframes pop-node{from{opacity:0;transform:scale(.4)}}
@keyframes gge-node-pulse{50%{box-shadow:0 5px 0 rgba(19,57,70,.12),0 0 0 10px var(--eg-mint)}}

/* Refleksi */
.gge-trophy{width:84px;height:84px;margin:8px auto 4px;display:grid;place-items:center;font-size:44px;border-radius:50%;background:var(--eg-cream);animation:pop-node .6s cubic-bezier(.3,1.8,.5,1)}

@media(max-width:760px){
  .gge-pane{padding:14px;border-radius:18px}
  .gge-unit.is-js .gge-pane.is-on{min-height:calc(100vh - 290px)}
  .eg-body .gge-q{font-size:19px}
  .gge-mcard{font-size:15.5px;min-height:200px}
}
@media(prefers-reduced-motion:reduce){.gge-node.is-nx .gge-node-dot,.gge-track-me{animation:none!important;transition:none!important}}

/* 0.6.2 — langkah Soal: satu soal saja, tanpa peta */
.eg-body .gge-solo-count{margin:6px 0 8px;text-align:center;font-size:14px;font-weight:700;color:var(--eg-muted)}
.gge-solo-bar{height:8px;margin:0 auto 6px;width:min(260px,80%);border-radius:9px;background:var(--eg-line);overflow:hidden}
.gge-solo-bar i{display:block;height:100%;border-radius:inherit;background:var(--eg-teal);animation:gge-solo-fill .9s cubic-bezier(.2,.8,.2,1) .2s both}
@keyframes gge-solo-fill{from{width:0}}
.gge-solo-num{width:110px;height:110px;margin:auto auto 6px;display:grid;place-items:center;border-radius:50%;background:var(--eg-forest);color:#fff;font-size:46px;font-weight:800;animation:pop-node .55s cubic-bezier(.3,1.8,.5,1) both,gge-node-pulse 1.8s ease-in-out 1s infinite}
.gge-solo-num.is-done{background:var(--eg-mint);color:var(--eg-forest);animation:pop-node .55s cubic-bezier(.3,1.8,.5,1) both}
.gge-pane--soal .gge-q{margin-bottom:auto}

/* =====================================================================
 * v0.6.5 — Tipografi ponsel seimbang, header lebih besar, checkbox rapi, kamera
 * ===================================================================== */
/* Cegah Chrome Android membesarkan teks paragraf secara otomatis (font boosting),
   penyebab teks isi tampak jauh lebih besar daripada header. */
html,body.eg-body{-webkit-text-size-adjust:100%;text-size-adjust:100%}

/* Checkbox: teks dan tautan mengalir sebagai satu paragraf, tidak pecah menjadi kolom */
.eg-body .eg-check{display:flex!important;align-items:flex-start;gap:12px}
.eg-body .eg-check>span{flex:1 1 auto;min-width:0;display:block;line-height:1.5}
.eg-body .eg-check>span a{display:inline;white-space:normal}

/* Video kamera: tetap "terlihat" bagi browser agar frame terus diperbarui, tetapi tidak tampak di layar */
.gge-cam-feed{position:fixed!important;left:-9999px;top:0;width:2px!important;height:2px!important;opacity:0;pointer-events:none}
/* Penanda kamera aktif (ikon saja di ponsel) */
.eg-body #eg-cam-toggle{position:relative}
.eg-body #eg-cam-toggle.is-on::after{content:"";position:absolute;top:4px;right:4px;width:8px;height:8px;border-radius:50%;background:#1FB36B;box-shadow:0 0 0 2px #fff}

@media(max-width:760px){
  /* Teks isi sedikit lebih kecil */
  .eg-body{font-size:15px}
  .eg-body p,.eg-body li{font-size:15px;line-height:1.55}
  .eg-body h1{font-size:clamp(24px,7vw,30px)}
  .eg-body h2,.eg-body .eg-form h2{font-size:20px;line-height:1.25}
  .eg-body h3{font-size:17px}
  .eg-body label{font-size:14px}
  .eg-body .eg-check{font-size:14px;font-weight:600}
  .eg-body .eg-muted{font-size:14px}
  .eg-body .eg-form input:not([type=checkbox]):not([type=radio]),.eg-body .eg-form select{min-height:44px;font-size:16px} /* 16px: iOS tidak memperbesar layar saat mengetik */

  /* Header & logo lebih besar */
  .eg-body .eg-logo{gap:11px}
  .eg-body .eg-logo .eg-logo-mark,.eg-body .eg-logo .eg-logo-mark img{width:48px!important;height:48px!important}
  .eg-body .eg-logo-copy strong{font-size:16px!important}
  .eg-body .eg-logo-copy small{font-size:8.5px!important;letter-spacing:.12em}
  .eg-body .eg-mobile-student-login{font-size:13.5px;padding:10px 14px;min-height:46px}
  .eg-body .eg-mobile-student-login svg{width:18px;height:18px}
  .eg-body .eg-top-student .eg-logo-mark,.eg-body .eg-top-student .eg-logo-mark img{width:44px!important;height:44px!important}
}
@media(max-width:400px){
  .eg-body .eg-logo .eg-logo-mark,.eg-body .eg-logo .eg-logo-mark img{width:44px!important;height:44px!important}
  .eg-body .eg-logo-copy strong{font-size:15px!important}
  .eg-body .eg-logo-copy small{font-size:7.8px!important;letter-spacing:.1em}
  .eg-body .eg-mobile-student-login{font-size:12.5px;padding:9px 11px;min-width:0}
  .eg-body .eg-top-student .eg-logo-mark,.eg-body .eg-top-student .eg-logo-mark img{width:40px!important;height:40px!important}
}
@media(max-width:350px){
  .eg-body .eg-logo-copy small{display:none}
  .eg-body .eg-mobile-student-login span{font-size:12px}
}

/* v0.6.7 · Tombol lihat kata sandi */
.eg-body .gge-pw{position:relative;display:block;margin-top:6px}
.eg-body .gge-pw input{width:100%;padding-right:50px!important;margin-top:0!important}
.eg-body .gge-pw-toggle{position:absolute;top:50%;right:6px;transform:translateY(-50%);width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:transparent;color:#5D7B79;cursor:pointer;padding:0}
.eg-body .gge-pw-toggle:hover,.eg-body .gge-pw-toggle[aria-pressed="true"]{color:var(--eg-forest);background:var(--eg-mint)}
.eg-body .gge-pw-toggle:focus-visible{outline:3px solid #D59A20;outline-offset:1px}
.eg-body label small.eg-muted{font-weight:600;font-size:12px}

/* v0.7.3 · Status kamera */
.gge-cam-toast{position:fixed;left:50%;bottom:calc(96px + env(safe-area-inset-bottom));transform:translate(-50%,20px);max-width:min(92vw,460px);padding:11px 16px;border-radius:14px;background:#12393C;color:#fff;font-size:14px;font-weight:600;line-height:1.45;box-shadow:0 10px 30px rgba(0,0,0,.2);opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease;z-index:200;text-align:center}
.gge-cam-toast.is-show{opacity:1;transform:translate(-50%,0)}
.gge-cam-toast.is-ok{background:#0B7A5A}
.gge-cam-toast.is-err{background:#A33A33}
@media(min-width:761px){.gge-cam-toast{bottom:28px}}
.eg-body #eg-cam-toggle.is-loading svg{animation:gge-spin 1s linear infinite}

/* v0.7.4 · Status kamera di atas (tidak menutupi pilihan jawaban), indikator wajah, gelembung penyemangat */
.gge-cam-toast{top:calc(84px + env(safe-area-inset-top));bottom:auto!important;transform:translate(-50%,-14px)}
.gge-cam-toast.is-show{transform:translate(-50%,0)}
.eg-body #eg-cam-toggle.is-on.is-noface::after{background:#E5A11A}
.eg-body #eg-cam-toggle.is-on.is-face::after{background:#1FB36B;animation:gge-pulse-dot 2s ease-in-out infinite}
@keyframes gge-pulse-dot{0%,100%{box-shadow:0 0 0 2px #fff}50%{box-shadow:0 0 0 2px #fff,0 0 0 6px rgba(31,179,107,.25)}}
.gge-cheer{position:fixed;left:50%;bottom:calc(96px + env(safe-area-inset-bottom));transform:translate(-50%,24px) scale(.96);width:min(92vw,440px);display:flex;gap:12px;align-items:flex-start;padding:14px 14px 14px 16px;border-radius:18px;background:#FFFDF4;border:2px solid #F3D27A;box-shadow:0 14px 34px rgba(18,57,60,.18);opacity:0;pointer-events:none;transition:opacity .3s ease,transform .3s cubic-bezier(.3,1.5,.5,1);z-index:190}
.gge-cheer.is-show{opacity:1;pointer-events:auto;transform:translate(-50%,0) scale(1)}
.gge-cheer-ico{font-size:26px;line-height:1}
.gge-cheer-body{flex:1;min-width:0}
.gge-cheer-body p{margin:0 0 6px;font-size:15px;font-weight:700;color:#12393C;line-height:1.45}
.gge-cheer-body .gge-cheer-arti{font-weight:500;color:#4F6B69}
.gge-cheer-body button{border:0;background:#E7F6F1;color:#0D6B62;font-weight:700;font-size:13px;padding:6px 10px;border-radius:10px;cursor:pointer}
.gge-cheer-x{border:0;background:transparent;font-size:22px;line-height:1;color:#6B8583;cursor:pointer;padding:0 2px}
@media(min-width:761px){.gge-cheer{bottom:28px}}
@media(prefers-reduced-motion:reduce){.gge-cheer,.gge-cam-toast{transition:none}}

/* v0.7.5 · Gelembung penyemangat besar di sudut kanan bawah, selalu terlihat tanpa menggulir */
.gge-cheer{left:auto!important;right:calc(14px + env(safe-area-inset-right));bottom:calc(92px + env(safe-area-inset-bottom));width:min(86vw,400px);transform:translateX(30px) scale(.9)!important;transform-origin:bottom right;padding:16px 14px 16px 16px;border-radius:22px 22px 6px 22px;border-width:3px}
.gge-cheer.is-show{transform:translateX(0) scale(1)!important}
.gge-cheer-ico{font-size:44px;line-height:1;flex:none;animation:gge-cheer-bob 1.6s ease-in-out infinite}
.gge-cheer-body p{font-size:16px}
@keyframes gge-cheer-bob{0%,100%{transform:translateY(0) rotate(0)}30%{transform:translateY(-5px) rotate(-8deg)}60%{transform:translateY(0) rotate(6deg)}}
@media(min-width:761px){.gge-cheer{right:28px;bottom:28px;width:400px}}
@media(prefers-reduced-motion:reduce){.gge-cheer-ico{animation:none}}

/* v0.7.6 · Gelembung penyemangat menempel di bawah layar (tengah), teks tetap terbaca,
   dan halaman diberi ruang di bawah agar isi tidak tertutup (bisa digulir sampai terlihat). */
.gge-cheer{left:50%!important;right:auto!important;width:min(94vw,560px);bottom:calc(84px + env(safe-area-inset-bottom));transform:translate(-50%,28px)!important;transform-origin:bottom center;border-radius:20px;background:#FFFFFF;border:2px solid #F3D27A;box-shadow:0 -2px 0 rgba(255,255,255,.6),0 16px 40px rgba(18,57,60,.22);padding:14px 12px 14px 14px;align-items:center}
.gge-cheer.is-show{transform:translate(-50%,0)!important}
.gge-cheer-ico{font-size:40px;width:56px;height:56px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:#FFF6D9}
.gge-cheer-body p{font-size:16px;line-height:1.45;color:#12393C;margin:0 0 6px}
.gge-cheer-body p:last-of-type{margin-bottom:6px}
body.gge-has-cheer .eg-main{padding-bottom:calc(var(--gge-cheer-h,120px) + 24px)!important;transition:padding-bottom .25s ease}
.gge-question-focus .gge-cheer{bottom:calc(16px + env(safe-area-inset-bottom))}
@media(min-width:761px){.gge-cheer{bottom:24px}}
/* Emoji situasi pada kepala feedback jawaban */
.eg-body .gge-fb-emo{display:inline-block;font-size:1.5em;vertical-align:-.15em;margin-right:4px;animation:gge-cheer-bob 1.6s ease-in-out 2}
@media(prefers-reduced-motion:reduce){.eg-body .gge-fb-emo{animation:none}}

/* =====================================================================
 * v0.7.7 · Teman belajar: kartu maskot, self-talk, check-in chat, jejak usaha, perayaan
 * ===================================================================== */
.gge-mascot{width:100%;height:100%;display:block}
.gge-mascot .gge-m-mouth-talk{opacity:0}
.is-talking .gge-mascot .gge-m-mouth-smile{opacity:0}
.is-talking .gge-mascot .gge-m-mouth-talk{opacity:1;animation:gge-talk .22s ease-in-out infinite alternate;transform-origin:48px 61px}
@keyframes gge-talk{from{transform:scaleY(.35)}to{transform:scaleY(1.1)}}
.gge-mascot .gge-m-eyes{animation:gge-blink 4.5s infinite;transform-origin:48px 47px}
@keyframes gge-blink{0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.1)}}

/* Kartu teman: menempel di bawah layar, latar solid, halaman diberi ruang agar isi tidak tertutup */
.gge-friend{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));width:min(94vw,560px);transform:translate(-50%,30px) scale(.96);opacity:0;pointer-events:none;display:flex;gap:12px;align-items:flex-start;padding:14px 12px 14px 14px;background:#fff;border:2px solid #BFE9DD;border-radius:22px;box-shadow:0 16px 40px rgba(18,57,60,.22);z-index:195;transition:opacity .28s ease,transform .32s cubic-bezier(.3,1.5,.5,1)}
.gge-friend.is-show{opacity:1;pointer-events:auto;transform:translate(-50%,0) scale(1)}
.gge-friend[data-situ="right"]{border-color:#F3D27A}
.gge-friend[data-situ="retry"]{border-color:#F3C64D;background:linear-gradient(180deg,#FFFBEA,#fff 60%)}
.gge-friend-av{flex:none;width:58px;height:58px;animation:gge-cheer-bob 2.2s ease-in-out infinite}
.gge-friend.is-proud .gge-friend-av{animation:gge-jump .5s ease 2}
@keyframes gge-jump{50%{transform:translateY(-10px) rotate(-6deg)}}
.gge-friend-body{flex:1;min-width:0}
.gge-friend-msg{margin:2px 0 6px;font-size:16px;font-weight:800;color:#12393C;line-height:1.4}
.gge-friend-emo{font-size:1.45em;vertical-align:-.12em}
.gge-friend-sub,.gge-friend-arti{margin:0 0 8px;font-size:14px;color:#4F6B69;line-height:1.45}
.gge-friend-btns{display:flex;flex-wrap:wrap;gap:6px}
.gge-friend-btns button{border:1.5px solid #CFEAE3;background:#F1FBF8;color:#0D6B62;font-weight:800;font-size:13px;padding:7px 11px;border-radius:12px;cursor:pointer;min-height:36px}
.gge-friend-btns button.is-solid{background:#0E8C84;border-color:#0E8C84;color:#fff}
.gge-friend-btns button:disabled{opacity:.85;cursor:default}
.gge-friend-x{border:0;background:transparent;font-size:22px;line-height:1;color:#6B8583;cursor:pointer;padding:0 2px}
.gge-selftalk{margin-top:10px;padding:10px 12px;border-radius:14px;background:#FFF6D9;border:1.5px dashed #F0C95A}
.gge-selftalk p{margin:0 0 8px;font-size:15px;color:#5B4310;line-height:1.45}
body.gge-has-friend .eg-main{padding-bottom:calc(var(--gge-friend-h,160px) + 24px)!important}
.gge-question-focus .gge-friend{bottom:calc(16px + env(safe-area-inset-bottom))}
@media(min-width:761px){.gge-friend{bottom:24px}}

/* Tombol suara teman di header */
.eg-body .gge-voice-toggle{position:relative;width:40px;height:40px;padding:3px!important;justify-content:center;filter:grayscale(.9);opacity:.75}
.eg-body .gge-voice-toggle.is-on{filter:none;opacity:1;border-color:#9FDCCB}
.eg-body .gge-voice-toggle.is-on::after{content:"🔊";position:absolute;right:-4px;bottom:-4px;font-size:11px}
.eg-body .gge-voice-ico{width:30px;height:30px;display:block}

/* (A1) ikon kamera berkedip saat pesan muncul */
.eg-body #eg-cam-toggle.is-blink{animation:gge-camblink .9s ease 1}
@keyframes gge-camblink{0%,100%{box-shadow:0 0 0 0 rgba(31,179,107,0)}40%{box-shadow:0 0 0 7px rgba(31,179,107,.28);transform:scale(1.08)}}

/* (A2) check-in bergaya chat */
.eg-body .eg-checkin.gge-chat{display:grid;grid-template-columns:44px 1fr;gap:4px 10px;align-items:start}
.eg-body .eg-checkin.gge-chat[hidden]{display:none!important}
.eg-body .eg-checkin.gge-chat>*:not(.gge-chat-av){grid-column:2}
.eg-body .gge-chat-av{grid-column:1;grid-row:1 / span 3;width:44px;height:44px}
.eg-body .eg-checkin.gge-chat .eg-checkin-q{position:relative;display:inline-block;background:#E9F7F3;border-radius:4px 16px 16px 16px;padding:9px 13px;margin:0 0 8px;justify-self:start}
.eg-body .eg-checkin.gge-chat .eg-checkin-row{display:flex;flex-wrap:wrap;gap:8px}
.eg-body .eg-checkin.gge-chat .eg-feel{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:62px;padding:8px 8px 6px;border-radius:16px;border:2px solid #DCEFEA;background:#fff;cursor:pointer;transition:transform .15s ease,border-color .15s ease}
.eg-body .eg-checkin.gge-chat .eg-feel span{font-size:28px;line-height:1}
.eg-body .eg-checkin.gge-chat .eg-feel small{font-size:11.5px;font-weight:700;color:#4F6B69}
.eg-body .eg-checkin.gge-chat .eg-feel:active{transform:scale(.92)}
.eg-body .eg-checkin.gge-chat .eg-feel.is-on{border-color:#0E8C84;background:#E3F7F1;transform:scale(1.05)}

/* (A3) Coba lagi sebagai ajakan */
.eg-body .gge-retry-cta{display:inline-flex!important;flex-direction:column;align-items:center;line-height:1.15;padding-top:8px!important;padding-bottom:7px!important;animation:gge-ctapulse 1.8s ease-in-out infinite}
.eg-body .gge-retry-cta small{font-size:11px;font-weight:700;opacity:.85}
@keyframes gge-ctapulse{0%,100%{box-shadow:0 0 0 0 rgba(14,140,132,.35)}50%{box-shadow:0 0 0 8px rgba(14,140,132,0)}}
.eg-body #eg-feedback.is-wrong{animation:gge-softshake .45s ease 1}
@keyframes gge-softshake{20%{transform:translateX(-4px)}40%{transform:translateX(4px)}60%{transform:translateX(-2px)}80%{transform:translateX(2px)}}

/* (A5) jejak usaha */
.gge-trail{display:inline-flex;gap:4px;align-items:center;margin-left:8px;vertical-align:middle}
.gge-trail i{width:9px;height:9px;border-radius:50%;background:#DDE9E6;display:block;transition:background .3s ease,transform .3s ease}
.gge-trail i.is-done{background:#F3C64D}
.gge-trail i.is-now{background:#0E8C84;transform:scale(1.25)}
.gge-trail i.is-new{animation:gge-dotpop .6s cubic-bezier(.3,1.8,.5,1)}
@keyframes gge-dotpop{0%{transform:scale(0)}100%{transform:scale(1.25)}}
.gge-trail.is-glow i{background:#F3C64D;box-shadow:0 0 0 3px rgba(243,198,77,.35)}
.gge-trail-note{margin-left:6px;font-size:12px;font-weight:800;color:#B07A0B}
.gge-trail-note:empty{display:none}

/* (A4) bintang terbang */
.gge-flystar{position:fixed;z-index:210;font-size:26px;pointer-events:none;transition:transform .95s cubic-bezier(.5,-.3,.6,1),opacity .95s ease;will-change:transform}

@media(prefers-reduced-motion:reduce){
  .gge-friend,.gge-friend-av,.gge-mascot .gge-m-eyes,.eg-body .gge-retry-cta,.eg-body #eg-feedback.is-wrong{animation:none!important;transition:none!important}
}

/* v0.7.9 · Mulai dari awal */
.eg-body .gge-reset-card{margin:14px 0 18px;padding:0;overflow:hidden}
.eg-body .gge-reset-card summary{display:flex;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;list-style:none}
.eg-body .gge-reset-card summary::-webkit-details-marker{display:none}
.eg-body .gge-reset-card summary>span:last-child{display:flex;flex-direction:column}
.eg-body .gge-reset-card summary small{font-weight:600;color:var(--eg-muted);font-size:13px}
.eg-body .gge-reset-ico{font-size:26px;width:46px;height:46px;border-radius:14px;background:#E9F7F3;display:flex;align-items:center;justify-content:center;transition:transform .5s ease}
.eg-body .gge-reset-card[open] .gge-reset-ico{transform:rotate(-360deg)}
.eg-body .gge-reset-card>p,.eg-body .gge-reset-card>form{padding:0 16px}
.eg-body .gge-reset-card>form{padding-bottom:16px}
.eg-body .gge-reset-art{font-size:24px;display:flex;align-items:center;justify-content:center}

/* =====================================================================
 * v0.8.1 · Menu bawah selalu tampil (ponsel), alur soal sederhana, maskot lebih hidup
 * ===================================================================== */
/* Halaman unit: tanpa diagram langkah dan bulatan bernomor */
.eg-body .gge-unit .gge-track{display:none!important}
/* Halaman soal fokus: menu bawah tetap tampil -> kartu teman/gelembung di atas menu */
@media(max-width:760px){
  .gge-question-focus .gge-friend,.gge-question-focus .gge-cheer{bottom:calc(84px + env(safe-area-inset-bottom))!important}
  .gge-question-focus .eg-main{padding-bottom:calc(110px + env(safe-area-inset-bottom))!important}
}
/* Tombol "Soal berikutnya" dengan bilah waktu otomatis */
.eg-body .gge-next{position:relative;overflow:hidden}
.eg-body .gge-next .gge-next-bar{position:absolute;left:0;bottom:0;height:4px;width:0;background:rgba(255,255,255,.75);transition:width .25s linear}

/* Maskot lebih hidup */
.gge-mascot .gge-m-all{transform-origin:48px 80px;animation:gge-m-sway 3.2s ease-in-out infinite}
@keyframes gge-m-sway{0%,100%{transform:rotate(0)}25%{transform:rotate(-4deg)}75%{transform:rotate(4deg)}}
.gge-mascot .gge-m-arm-r{transform-origin:76px 62px;animation:gge-m-wave 2.4s ease-in-out infinite}
@keyframes gge-m-wave{0%,60%,100%{transform:rotate(0)}70%{transform:rotate(-28deg)}80%{transform:rotate(8deg)}90%{transform:rotate(-22deg)}}
.gge-mascot .gge-m-eyes{animation:gge-blink 4s infinite,gge-look 7s ease-in-out infinite}
@keyframes gge-look{0%,40%,100%{transform:translateX(0)}50%,60%{transform:translateX(-2px)}70%,80%{transform:translateX(2px)}}
.is-talking .gge-mascot .gge-m-all{animation:gge-m-talkbob .45s ease-in-out infinite alternate}
@keyframes gge-m-talkbob{from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-3px) rotate(2deg)}}
.gge-friend.is-cheer .gge-friend-av{animation:gge-jump .55s ease 2}
.gge-friend.is-cheer .gge-m-arm-l,.gge-friend.is-cheer .gge-m-arm-r{animation:gge-m-hooray .5s ease 3}
.gge-mascot .gge-m-arm-l{transform-origin:20px 62px}
@keyframes gge-m-hooray{50%{transform:rotate(-40deg)}}
.gge-friend.is-cheer .gge-m-arm-l{animation-name:gge-m-hooray-l}
@keyframes gge-m-hooray-l{50%{transform:rotate(40deg)}}
.gge-friend.is-hug .gge-friend-av{animation:gge-m-nod .6s ease 2}
@keyframes gge-m-nod{50%{transform:translateY(3px) rotate(-5deg)}}
@media(prefers-reduced-motion:reduce){.gge-mascot *{animation:none!important}}

/* v0.8.2 · Layar "Soal berikutnya" tanpa bulatan angka: judul + pratinjau soal */
.eg-body .gge-solo-title{margin-top:18px}
.eg-body .gge-solo-preview{max-width:520px;margin:4px auto 18px;padding:14px 16px;border-radius:16px;background:#F4FBF9;border:1.5px solid #DCEFEA;font-size:16px;line-height:1.5;color:#12393C;text-align:left}
.eg-body .gge-solo-emo{font-size:52px;line-height:1;margin:14px 0 4px;text-align:center;animation:gge-cheer-bob 1.6s ease-in-out 2}
.eg-body .gge-solo-num{display:none!important}
/* Tombol suara teman di samping "Efek suara" (desktop) */
.eg-body .gge-voice-toggle.is-row{width:auto;height:auto;min-height:36px;padding:4px 12px 4px 6px!important;gap:6px;display:inline-flex;align-items:center;margin-left:8px;border-radius:999px;font-size:13px;font-weight:800}
.eg-body .gge-voice-toggle.is-row .gge-voice-ico{width:26px;height:26px}
.eg-body .gge-voice-toggle.is-row.is-on::after{display:none}
/* Header desktop sempit: tombol kamera ikon saja agar menu tidak bertumpuk dengan logo */
@media(min-width:761px) and (max-width:1440px){
  .eg-body .eg-top-student .eg-user #eg-cam-toggle span{display:none}
  .eg-body .eg-top-student .eg-user #eg-cam-toggle{width:40px;height:40px;padding:0;justify-content:center}
  .eg-body .eg-top-student .eg-username{display:none}
}

/* v0.8.5 · Penanda kemajuan soal, layar unit selesai, header desktop */
.eg-body .gge-qprog{display:flex;align-items:center;gap:12px;max-width:760px;margin:0 auto 10px;padding:0 4px}
.eg-body .gge-qprog-txt{font-size:14px;font-weight:800;color:#12393C;white-space:nowrap}
.eg-body .gge-qprog-bar{flex:1;height:8px;border-radius:9px;background:#DCEBE8;overflow:hidden}
.eg-body .gge-qprog-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0E8C84,#2FB58F);transition:width .8s cubic-bezier(.2,.8,.2,1)}
.eg-body .gge-qprog.is-up .gge-qprog-bar{animation:gge-barglow 1s ease 1}
@keyframes gge-barglow{50%{box-shadow:0 0 0 4px rgba(47,181,143,.25)}}
.eg-body .gge-done-line{font-size:17px;color:#12393C}
.eg-body .gge-trophy{font-size:64px}
@media(min-width:761px) and (max-width:1680px){
  .eg-body .eg-top-student .eg-user #eg-cam-toggle span{display:none}
  .eg-body .eg-top-student .eg-user #eg-cam-toggle{width:40px;height:40px;padding:0;justify-content:center}
  .eg-body .eg-top-student .eg-username{display:none}
}

/* v0.8.6 · Sambutan maskot di atas kartu soal (menyatu dengan halaman, tidak menutupi soal) */
.eg-body .gge-greet{display:flex;align-items:center;gap:10px;max-width:760px;margin:0 auto;padding:0 4px;max-height:0;opacity:0;overflow:hidden;transition:max-height .45s ease,opacity .35s ease,margin .45s ease}
.eg-body .gge-greet.is-show{max-height:120px;opacity:1;margin:4px auto 12px}
.eg-body .gge-greet-av{flex:none;width:62px;height:62px;transition:width .4s ease,height .4s ease}
.eg-body .gge-greet.is-show .gge-greet-av{animation:gge-greet-in .6s cubic-bezier(.3,1.6,.5,1) both}
@keyframes gge-greet-in{from{transform:translateY(16px) scale(.6) rotate(-10deg)}to{transform:none}}
.eg-body .gge-greet-bubble{position:relative;display:flex;flex-direction:column;gap:2px;padding:10px 14px;border-radius:4px 18px 18px 18px;background:#fff;border:2px solid #BFE9DD;box-shadow:0 6px 18px rgba(18,57,60,.08)}
.eg-body .gge-greet-bubble strong{font-size:16px;color:#12393C}
.eg-body .gge-greet-bubble small{font-size:12.5px;color:#4F6B69;font-weight:600}
.eg-body .gge-greet.is-mini .gge-greet-av{width:40px;height:40px}
.eg-body .gge-greet.is-mini .gge-greet-bubble small{display:none}
.eg-body .gge-greet.is-mini .gge-greet-bubble{padding:7px 12px}
.eg-body .gge-greet.is-mini .gge-greet-bubble strong{font-size:14px}
@media(prefers-reduced-motion:reduce){.eg-body .gge-greet,.eg-body .gge-greet-av{transition:none;animation:none}}

/* v0.8.7 · Maskot selalu tampil di atas soal (ponsel: langsung terlihat tanpa menggulir) */
.eg-body .gge-greet.is-show{max-height:130px;opacity:1;margin:2px auto 10px}
.eg-body .gge-greet.is-cheer .gge-greet-av{animation:gge-jump .55s ease 2}
.eg-body .gge-greet.is-hug .gge-greet-av{animation:gge-m-nod .6s ease 2}
@media(max-width:760px){
  .eg-body .gge-greet{padding:0 2px;gap:8px}
  .eg-body .gge-greet-av{width:54px;height:54px}
  .eg-body .gge-greet-bubble strong{font-size:15px}
  .eg-body .gge-greet.is-mini .gge-greet-av{width:42px;height:42px}
}
/* Pesan "wajah belum terlihat": kecil di pojok kanan atas dekat ikon kamera, tidak di tengah layar */
.gge-cam-toast.is-hint{left:auto!important;right:calc(12px + env(safe-area-inset-right));top:calc(72px + env(safe-area-inset-top));transform:translateY(-8px)!important;max-width:240px;padding:7px 12px;border-radius:999px;font-size:12.5px;font-weight:700;background:rgba(18,57,60,.88);box-shadow:0 6px 16px rgba(0,0,0,.15);text-align:left}
.gge-cam-toast.is-hint.is-show{transform:none!important}

/* =====================================================================
 * v0.8.8 · Ponsel: satu soal pas satu layar (tanpa menggulir).
 * Ukuran dasar sudah ringkas; bila soal panjang, skrip memperkecil skala --gq secukupnya (min. 0,8).
 * ===================================================================== */
@media(max-width:760px){
  .gge-question-focus{--gq:1}
  .gge-question-focus .eg-main{padding:6px 12px calc(96px + env(safe-area-inset-bottom))!important;min-height:0!important}
  .gge-question-focus .gge-focus-top{margin-bottom:4px!important;min-height:0}
  .gge-question-focus .gge-focus-back{font-size:12px!important}
  .gge-question-focus .eg-body .gge-qprog,.gge-question-focus .gge-qprog{margin:0 auto 4px!important;gap:8px}
  .gge-question-focus .gge-qprog-txt{font-size:12.5px}
  .gge-question-focus .gge-qprog-bar{height:6px}
  .gge-question-focus .gge-greet.is-show{margin:0 auto 6px!important;max-height:64px}
  .gge-question-focus .gge-greet-av{width:42px!important;height:42px!important}
  .gge-question-focus .gge-greet-bubble{padding:6px 11px!important}
  .gge-question-focus .gge-greet-bubble strong{font-size:14px!important}
  .gge-question-focus .gge-greet-bubble small{display:none!important}
  .gge-question-focus .gge-focus-card{padding:calc(14px * var(--gq)) 14px calc(14px * var(--gq))!important;border-radius:18px!important}
  .gge-question-focus .gge-focus-intro,.gge-question-focus .gge-focus-hint{display:none!important}
  .gge-question-focus .gge-focus-stimulus{font-size:calc(16px * var(--gq))!important;line-height:1.4!important;padding-bottom:calc(10px * var(--gq))!important;margin-bottom:calc(10px * var(--gq))!important}
  .gge-question-focus .gge-focus-question{font-size:calc(17px * var(--gq))!important;line-height:1.3!important;margin-bottom:calc(10px * var(--gq))!important}
  .gge-question-focus .gge-focus-options{gap:calc(8px * var(--gq))!important}
  .gge-question-focus .gge-focus-options .eg-opt{min-height:calc(46px * var(--gq))!important;font-size:calc(14.5px * var(--gq))!important;line-height:1.35!important;padding:calc(8px * var(--gq)) 10px!important;margin:0!important;gap:10px!important}
  .gge-question-focus .gge-focus-options .eg-optkey{flex-basis:28px!important;width:28px!important;height:28px!important;font-size:13px!important}
  .gge-question-focus .gge-focus-actions{margin-top:calc(10px * var(--gq))!important}
  .gge-question-focus .gge-focus-submit{min-height:44px!important;font-size:14px!important}
}
/* v0.8.8 · label "wajah belum terlihat": mungil, menempel di bawah ikon kamera */
.gge-cam-toast.is-hint{left:auto!important;max-width:160px;padding:4px 9px!important;font-size:10.5px!important;font-weight:700;line-height:1.3;border-radius:8px!important;background:rgba(18,57,60,.78)!important;box-shadow:none!important;transform:translateY(-4px)!important}
.gge-cam-toast.is-hint.is-show{transform:none!important}
.gge-cam-toast.is-hint::before{content:"";position:absolute;top:-4px;right:14px;border:4px solid transparent;border-top:0;border-bottom-color:rgba(18,57,60,.78)}

/* =====================================================================
 * v0.8.9 · Halaman soal satu layar (ponsel & desktop):
 * feedback menjadi panel bawah yang ringkas bersama maskot; soal di atasnya tetap terlihat.
 * ===================================================================== */
.gge-question-focus .gge-focus-feedback:not([hidden]){position:fixed!important;left:50%;transform:translateX(-50%);bottom:calc(16px + env(safe-area-inset-bottom));width:min(94vw,720px);max-height:42vh;overflow:auto;overscroll-behavior:contain;z-index:190;margin:0!important;padding:12px 14px 12px 68px!important;border-radius:18px!important;box-shadow:0 14px 36px rgba(18,57,60,.22)!important;animation:gge-sheet-in .35s cubic-bezier(.3,1.3,.5,1) both}
@keyframes gge-sheet-in{from{transform:translate(-50%,24px);opacity:0}to{transform:translate(-50%,0);opacity:1}}
.gge-question-focus .gge-focus-feedback .gge-fb-av{position:absolute;left:12px;top:12px;width:46px;height:46px}
.gge-question-focus .gge-focus-feedback.is-cheer .gge-fb-av{animation:gge-jump .55s ease 2}
.gge-question-focus .gge-focus-feedback.is-hug .gge-fb-av{animation:gge-m-nod .6s ease 2}
.gge-question-focus .gge-focus-feedback .eg-fb-head{font-size:14px!important;margin:0 0 4px!important;gap:6px}
.gge-question-focus .gge-focus-feedback .eg-fb-head .gge-fb-emo{font-size:1.25em}
.gge-question-focus .gge-focus-feedback .eg-fb-msg{font-size:15px!important;line-height:1.4!important;margin:0 0 6px!important}
.gge-question-focus .gge-focus-feedback .eg-fb-culture,.gge-question-focus .gge-focus-feedback .eg-fb-arti,.gge-question-focus .gge-focus-feedback .eg-fb-text{font-size:13px!important;line-height:1.45!important;margin:0 0 6px!important}
.gge-question-focus .gge-focus-feedback .eg-fb-btns{gap:6px!important;margin-top:6px!important}
.gge-question-focus .gge-focus-feedback .eg-fb-btns .eg-chipbtn{min-height:34px!important;padding:6px 11px!important;font-size:12.5px!important}
.gge-question-focus .gge-focus-feedback .gge-retry-cta small{font-size:10px}
.gge-question-focus .gge-focus-feedback .eg-fb-box{font-size:13px;margin-top:8px}
.gge-question-focus .gge-selftalk-inline{margin-top:8px;padding:8px 10px}
.gge-question-focus .gge-selftalk-inline p{font-size:13.5px;margin-bottom:6px}
@media(max-width:760px){
  .gge-question-focus .gge-focus-feedback:not([hidden]){bottom:calc(80px + env(safe-area-inset-bottom));max-height:40vh;padding:10px 12px 10px 58px!important}
  .gge-question-focus .gge-focus-feedback .gge-fb-av{width:38px;height:38px;left:10px;top:10px}
}
/* Desktop: ukuran soal ikut skala --gq agar soal + panel feedback muat satu layar */
@media(min-width:761px){
  .gge-question-focus{--gq:1}
  .gge-question-focus .eg-main{padding-top:10px!important;padding-bottom:24px!important}
  .gge-question-focus .gge-focus-card{padding:calc(22px * var(--gq)) calc(26px * var(--gq))!important}
  .gge-question-focus .gge-focus-intro{margin-bottom:calc(10px * var(--gq))!important}
  .gge-question-focus .gge-focus-stimulus{font-size:calc(19px * var(--gq))!important;padding-bottom:calc(12px * var(--gq))!important;margin-bottom:calc(12px * var(--gq))!important}
  .gge-question-focus .gge-focus-question{font-size:calc(22px * var(--gq))!important;margin-bottom:calc(12px * var(--gq))!important}
  .gge-question-focus .gge-focus-options{gap:calc(10px * var(--gq))!important}
  .gge-question-focus .gge-focus-options .eg-opt{min-height:calc(52px * var(--gq))!important;font-size:calc(16px * var(--gq))!important;padding:calc(10px * var(--gq)) 14px!important}
  .gge-question-focus .gge-focus-actions{margin-top:calc(12px * var(--gq))!important}
}
/* Kartu teman (aktivitas, dll.) lebih kecil */
.gge-friend{width:min(92vw,460px)!important;padding:10px 10px 10px 12px!important;gap:10px!important}
.gge-friend-av{width:44px!important;height:44px!important}
.gge-friend-msg{font-size:14.5px!important;margin:0 0 4px!important}
.gge-friend-sub,.gge-friend-arti{font-size:13px!important;margin-bottom:6px!important}
.gge-friend-btns button{min-height:32px!important;padding:5px 10px!important;font-size:12.5px!important}
/* Ikon maskot di tombol suara teman (header ponsel) */
.eg-body .gge-voice-toggle .gge-voice-ico svg,.eg-body .gge-voice-toggle .gge-mascot{width:30px!important;height:30px!important;display:block!important}
.eg-body .gge-voice-toggle{background:#fff!important}
/* Baris "Efek suara / Suara teman" tidak menimpa header */
.eg-main .gge-audio-row{margin-top:6px!important}
/* panel feedback: animasi goyang lama memakai translateX tanpa -50% -> diganti agar panel tidak bergeser */
.gge-question-focus #eg-feedback.gge-focus-feedback:not([hidden]){animation:gge-sheet-in .35s cubic-bezier(.3,1.3,.5,1) both!important}
.gge-question-focus #eg-feedback.gge-focus-feedback.is-wrong:not([hidden]){animation:gge-sheet-in .35s cubic-bezier(.3,1.3,.5,1) both,gge-sheet-shake .45s ease .35s 1!important}
@keyframes gge-sheet-shake{20%{transform:translate(calc(-50% - 4px),0)}40%{transform:translate(calc(-50% + 4px),0)}60%{transform:translate(calc(-50% - 2px),0)}80%{transform:translate(calc(-50% + 2px),0)}100%{transform:translate(-50%,0)}}

/* v0.9.0 · Teks bacaan panjang dilipat */
.gge-question-focus .gge-focus-stimulus.gge-stim-fold{position:relative;max-height:calc(2 * 1.4em);overflow:hidden;margin-bottom:4px!important;padding-bottom:0!important;border-bottom:0!important}
.gge-question-focus .gge-focus-stimulus.gge-stim-fold::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1.3em;background:linear-gradient(rgba(255,255,255,0),#fff)}
.gge-question-focus .gge-focus-stimulus.gge-stim-fold.is-open{max-height:none;overflow:visible;margin-bottom:6px!important}
.gge-question-focus .gge-focus-stimulus.gge-stim-fold.is-open::after{display:none}
.gge-question-focus .gge-stim-more{display:inline-flex;align-items:center;gap:4px;margin:0 0 calc(10px * var(--gq,1));padding:4px 10px;border:1.5px solid #CFEAE3;border-radius:999px;background:#F1FBF8;color:#0D6B62;font-weight:800;font-size:12.5px;cursor:pointer}

/* =====================================================================
 * v0.9.1 · Satu layar tanpa menggulir — soal, tugas menulis, aktivitas (ponsel & desktop)
 * ===================================================================== */
/* --- Halaman soal: feedback kembali menyatu di bawah pilihan (tidak menutupi), ringkas --- */
.gge-question-focus #eg-feedback.gge-focus-feedback:not([hidden]){position:static!important;transform:none!important;left:auto!important;bottom:auto!important;width:auto!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;animation:gge-fb-in .3s ease both!important;margin:calc(10px * var(--gq,1)) 0 0!important;padding:calc(9px * var(--gq,1)) 12px!important;border-radius:14px!important}
.gge-question-focus #eg-feedback.gge-focus-feedback.is-wrong:not([hidden]){animation:gge-fb-in .3s ease both,gge-softshake .4s ease .3s 1!important}
@keyframes gge-fb-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.gge-question-focus .gge-focus-feedback .gge-fb-av{display:none!important}
.eg-body .eg-feedback .eg-fb-head::before{content:none!important;display:none!important}
.gge-question-focus .gge-focus-feedback .eg-fb-head{font-size:calc(12.5px * var(--gq,1))!important;font-weight:800;margin:0 0 2px!important;line-height:1.3}
.gge-question-focus .gge-focus-feedback .eg-fb-head .gge-fb-emo{font-size:1.15em}
.gge-question-focus .gge-focus-feedback .eg-fb-msg{font-size:calc(13.5px * var(--gq,1))!important;line-height:1.35!important;margin:0 0 6px!important;font-weight:700}
.gge-question-focus .gge-focus-feedback .eg-fb-culture,.gge-question-focus .gge-focus-feedback .eg-fb-text{font-size:calc(12px * var(--gq,1))!important;line-height:1.4!important;margin:0 0 4px!important}
.gge-question-focus .gge-focus-feedback .eg-fb-arti{font-size:12px!important;margin:0 0 4px!important}
/* tombol: satu baris (bisa digeser ke samping bila sempit) */
.gge-question-focus .gge-focus-feedback .eg-fb-btns{display:flex!important;flex-wrap:nowrap!important;gap:5px!important;overflow-x:auto;scrollbar-width:none;margin-top:4px!important;padding-bottom:1px}
.gge-question-focus .gge-focus-feedback .eg-fb-btns::-webkit-scrollbar{display:none}
.gge-question-focus .gge-focus-feedback .eg-fb-btns .eg-chipbtn{flex:none;min-height:30px!important;padding:4px 10px!important;font-size:12px!important;white-space:nowrap;border-radius:999px!important}
.gge-question-focus .gge-focus-feedback .gge-retry-cta{flex-direction:row!important;padding:4px 12px!important}
.gge-question-focus .gge-focus-feedback .eg-fb-box{font-size:12.5px!important;margin-top:6px!important;padding:8px 10px!important}
.gge-question-focus .gge-selftalk-inline{margin-top:6px!important;padding:6px 10px!important}
.gge-question-focus .gge-selftalk-inline p{font-size:12.5px!important;margin:0 0 4px!important}
.gge-question-focus .gge-selftalk-inline .gge-friend-btns button{min-height:28px!important;font-size:12px!important;padding:3px 10px!important}
/* maskot hanya satu: di atas soal, ringkas */
.gge-question-focus .gge-greet.is-show{max-height:52px!important;margin:0 auto 4px!important}
.gge-question-focus .gge-greet-av{width:38px!important;height:38px!important}
.gge-question-focus .gge-greet-bubble{padding:5px 10px!important}
.gge-question-focus .gge-greet-bubble strong{font-size:13px!important}
.gge-question-focus .gge-greet-bubble small{display:none!important}
/* desktop: ruang atas lebih rapat */
@media(min-width:761px){
  .gge-question-focus .gge-qprog,.gge-question-focus .gge-greet,.gge-question-focus .gge-focus-top{max-width:860px}
  .gge-question-focus .gge-focus-top{margin-bottom:6px!important}
}

/* --- Tugas menulis ringkas --- */
.eg-body .gge-write{padding:calc(16px * var(--gq,1)) 18px!important;max-width:860px;margin:0 auto}
.eg-body .gge-write-topic{margin:0 0 6px;padding:6px 10px;border-radius:10px;background:#EAF7F3;font-size:calc(13.5px * var(--gq,1));font-weight:700;color:#12393C}
.eg-body .gge-write-q{font-size:calc(17px * var(--gq,1))!important;line-height:1.3!important;margin:0 0 6px!important}
.eg-body .gge-write-crit{display:flex;flex-wrap:wrap;gap:4px 10px;margin:0 0 8px;font-size:calc(12.5px * var(--gq,1));color:#4F6B69;font-weight:600}
.eg-body .gge-write-form .eg-textarea{margin:0!important}
.eg-body .gge-write-form textarea{min-height:calc(120px * var(--gq,1))!important;height:calc(120px * var(--gq,1));font-size:15px;margin-top:0!important}
.eg-body .gge-write-form .eg-actions{margin-top:8px!important;align-items:center;gap:10px}
.eg-body .gge-write-done{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:12px;background:#E7F7EF;font-weight:700;color:#12393C;font-size:14px}
.eg-body .gge-write-done .eg-btn{min-height:38px;padding:8px 14px}
.eg-body .gge-write-hist{margin-top:8px;font-size:13px}
.eg-body .gge-write-hist summary{cursor:pointer;font-weight:800;color:#0D6B62}
.eg-body .gge-write-ver{margin-top:6px;padding:8px 10px;border-radius:10px;background:#F6FAF9}
.eg-body .gge-write-ver p{margin:4px 0 0;font-size:13px}
.gge-fit-tulis .gge-greet.is-show{max-height:52px;margin:0 0 6px!important}
.gge-fit-tulis .gge-greet-av{width:38px!important;height:38px!important}
.gge-fit-tulis .gge-greet-bubble small{display:none!important}
.gge-fit-tulis .gge-greet-bubble strong{font-size:13px!important}
.gge-fit-tulis .gge-audio-row{display:none!important}
.gge-fit-tulis .eg-main{padding-top:8px!important}

/* --- Aktivitas ringkas --- */
.gge-fit-act .eg-crumb,.gge-fit-act .gge-audio-row{display:none!important}
.gge-fit-act .eg-main{padding-top:8px!important}
.gge-fit-act .eg-main>h1{font-size:calc(19px * var(--gq,1))!important;margin:0 0 4px!important;display:inline-block}
.gge-fit-act .eg-main>.eg-inline-form{display:inline-flex;margin:0 0 6px 10px!important;vertical-align:middle;font-size:12.5px}
.gge-fit-act .eg-main>.eg-inline-form select{min-height:32px;padding:4px 8px;font-size:12.5px}
.gge-fit-act .eg-activity{padding:calc(14px * var(--gq,1)) 16px!important}
.gge-fit-act .eg-activity h2{font-size:calc(17px * var(--gq,1))!important;margin:0 0 6px!important;line-height:1.3}
.gge-fit-act .eg-activity .eg-question{font-size:calc(20px * var(--gq,1))!important;margin:2px 0 8px!important}
.gge-fit-act .eg-activity p{font-size:calc(14px * var(--gq,1));margin:0 0 8px;line-height:1.45}
.gge-fit-act .eg-activity .eg-kicker-gold,.gge-fit-act .eg-activity .eg-pill{font-size:11.5px!important;margin:0 0 6px!important}
.gge-fit-act .eg-activity .eg-options{gap:calc(7px * var(--gq,1))!important;margin:0!important}
.gge-fit-act .eg-activity .eg-opt{min-height:calc(44px * var(--gq,1))!important;padding:calc(8px * var(--gq,1)) 12px!important;font-size:calc(14.5px * var(--gq,1))!important}
.gge-fit-act #eg-act-feedback:not([hidden]){margin-top:calc(8px * var(--gq,1));padding:calc(9px * var(--gq,1)) 12px!important;border-radius:14px}
.gge-fit-act #eg-act-feedback .eg-fb-head{font-size:12.5px!important;margin:0 0 2px!important}
.gge-fit-act #eg-act-feedback .eg-fb-msg{font-size:13.5px!important;margin:0 0 4px!important;line-height:1.35!important;font-weight:700}
.gge-fit-act #eg-act-feedback .eg-fb-text,.gge-fit-act #eg-act-feedback .eg-fb-arti{font-size:12px!important;margin:0 0 4px!important}
.gge-fit-act #eg-act-feedback .eg-fb-btns{display:flex;flex-wrap:nowrap;gap:5px;overflow-x:auto}
.gge-fit-act #eg-act-feedback .eg-chipbtn{min-height:30px!important;padding:4px 10px!important;font-size:12px!important;white-space:nowrap}
/* di ponsel, kolom samping (feedback) langsung di bawah kartu aktivitas */
@media(max-width:760px){
  .gge-fit-act .eg-main .eg-flex{gap:0!important}
  .gge-fit-act .eg-side-col{margin-top:0!important}
  .eg-body .eg-crumb{display:none}
}
/* kartu teman di aktivitas: kecil, di pojok kanan bawah agar tidak menutupi pilihan */
.gge-fit-act .gge-friend{left:auto!important;right:10px;transform:translateY(20px) scale(.96)!important;width:min(78vw,340px)!important}
.gge-fit-act .gge-friend.is-show{transform:none!important}
@media(min-width:761px){.gge-fit-act .gge-friend{right:24px}}

/* =====================================================================
 * v0.9.2 · Semua bagian Aktivitas satu layar: daftar aktivitas, Challenge harian, Forum, My Progress
 * ===================================================================== */
/* --- Panel geser bertab (My Progress, Forum) --- */
.gge-paned .eg-crumb,.gge-paned .gge-audio-row{display:none!important}
.gge-paned .eg-main{padding-top:8px!important;padding-bottom:0!important}
.gge-paned .eg-main>h1{font-size:20px!important;margin:0 0 2px!important;display:inline-block}
.gge-paned .eg-main>.eg-lead{font-size:13px!important;margin:0 0 6px!important}
.gge-paned .eg-main>.eg-inline-form{display:inline-flex;margin:0 0 6px 10px!important;vertical-align:middle;font-size:12.5px}
.gge-paned .eg-main>.eg-inline-form select{min-height:32px;padding:4px 8px;font-size:12.5px}
.gge-paned .eg-main>.eg-alert{margin:0 0 6px!important;padding:8px 12px!important;font-size:13px}
.gge-panes{max-width:1100px;margin:0 auto}
.gge-ptabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:2px 0 8px}
.gge-ptabs::-webkit-scrollbar{display:none}
.gge-ptab{flex:none;border:1.5px solid #CFEAE3;background:#fff;color:#0D6B62;font-weight:800;font-size:13px;padding:6px 12px;border-radius:999px;cursor:pointer;white-space:nowrap}
.gge-ptab.is-on{background:#0E8C84;border-color:#0E8C84;color:#fff}
.gge-ptrack{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;gap:0;border-radius:18px}
.gge-ptrack::-webkit-scrollbar{display:none}
.gge-pane2{flex:0 0 100%;scroll-snap-align:start;overflow-y:auto;overscroll-behavior:contain;padding:0 2px 8px;box-sizing:border-box}
.gge-pane2>*{margin:0 0 10px!important;max-width:none!important;width:auto!important}
.gge-pane2>.eg-card{padding:14px 16px!important}
.gge-pane2 h2{font-size:17px!important;margin:0 0 8px!important}
/* My Progress: angka ringkas dalam kisi */
.gge-pane2 .gge-stats{display:grid!important;grid-template-columns:repeat(3,1fr);gap:8px!important}
.gge-pane2 .gge-stats .eg-stat{padding:10px!important;margin:0!important;min-height:0}
.gge-pane2 .gge-stats .eg-stat strong{font-size:24px!important;line-height:1.1}
.gge-pane2 .gge-stats .eg-stat .eg-muted{font-size:12px!important}
.gge-pane2 .gge-stats .eg-stat small{font-size:11px!important}
@media(max-width:520px){.gge-pane2 .gge-stats{grid-template-columns:repeat(2,1fr)}}
.gge-pane2 .eg-bars{max-height:180px}
/* Forum: aturan dan kotak tulisan ringkas */
.gge-pane2 .gge-forum-rules{font-size:12.5px!important;padding:8px 12px!important;line-height:1.4}
.gge-pane2 .eg-form textarea{min-height:70px}
.gge-pane2 .eg-section-sm{margin:0 0 8px!important}

/* --- Daftar aktivitas: kartu ringkas dalam kisi, muat satu layar --- */
.gge-actlist .eg-main{padding-top:8px!important}
.gge-actlist .gge-audio-row{display:none!important}
.gge-actlist .eg-main>h1{font-size:20px!important;margin:0 0 2px!important}
.gge-actlist .eg-main>.eg-lead{font-size:12.5px!important;margin:0 0 8px!important;line-height:1.4}
.gge-actlist .eg-main>.eg-flex{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
@media(min-width:761px){.gge-actlist .eg-main>.eg-flex{grid-template-columns:repeat(4,minmax(0,1fr))}}
.gge-actlist .eg-actcard{margin:0!important;padding:10px!important;gap:8px!important;min-height:0!important;align-items:center}
.gge-actlist .eg-actcard .eg-iconbox{width:38px!important;height:38px!important;flex:none}
.gge-actlist .eg-actcard strong{font-size:14px!important;line-height:1.25}
.gge-actlist .eg-actcard small{font-size:10.5px!important}
.gge-actlist .eg-actcard p,.gge-actlist .eg-actcard div>span:not(.eg-teal){font-size:11.5px!important;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* --- Challenge harian ringkas --- */
.gge-misi .eg-crumb,.gge-misi .gge-audio-row{display:none!important}
.gge-misi .eg-main{padding-top:8px!important}
.gge-misi .eg-main>h1{font-size:20px!important;margin:0 0 6px!important}
.gge-misi .eg-main>.eg-flex{gap:8px!important}
.gge-misi .eg-main>.eg-flex>.eg-card{padding:12px 14px!important;margin:0!important}
.gge-misi .eg-main>.eg-flex h2{font-size:16px!important;margin:0 0 6px!important}
.gge-misi .eg-list li{padding:8px 0!important;font-size:14px}
.gge-misi .eg-side-col{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}
.gge-misi .eg-side-col .eg-stat{padding:10px!important;margin:0!important}
.gge-misi .eg-side-col .eg-stat strong{font-size:24px!important}
.gge-misi .eg-side-col .eg-stat small,.gge-misi .eg-side-col .eg-stat .eg-muted{font-size:11.5px!important}

/* v0.19.12 · kotak strategi dan pilihan tingkat tantangan */
.gge-strategy{margin:14px 0;padding:14px 16px;border:2px solid var(--eg-line);border-radius:16px;background:var(--eg-paper,#fff)}
.gge-strategy h3{margin:0 0 4px;font-size:16px}
.gge-strategy ul{margin:8px 0 0;padding-left:20px}
.gge-strategy li{margin:5px 0;line-height:1.45}
.gge-strategy em{color:var(--eg-muted);font-size:13.5px}
.gge-level{margin:14px 0;padding:14px 16px;border:2px solid var(--eg-line);border-radius:16px;background:var(--eg-paper,#fff)}
.gge-level h3{margin:0 0 4px;font-size:16px}
.gge-level-opts{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.gge-level-opts a.gge-chip{display:flex;flex-direction:column;gap:2px;text-decoration:none;border-radius:16px;padding:10px 16px;min-width:140px;text-align:center}
.gge-level-opts a.gge-chip small{font-weight:500;font-size:12.5px;opacity:.85}
.gge-parent textarea{font:inherit;padding:8px;border:1px solid var(--eg-line,#ccd);border-radius:8px}
