/* ===== UI baru: beranda hidup, banner tanpa gelembung, soal berderet ===== */

/* --- banner kelas: emoji langsung, tanpa gelembung --- */
.b-bulat { display: none; }
.b-em, .b-em.e0, .b-em.e1, .b-em.e2, .b-em.e3 { background: color-mix(in srgb, var(--bg2) 55%, #fff) !important; box-shadow: 0 10px 18px -8px color-mix(in srgb, var(--ink) 55%, transparent) !important; filter: none !important; border: 0 !important; outline: 0 !important; border-radius: 50%; padding: 0; width: 96px; height: 96px; margin: -48px 0 0 -48px; font-size: 56px; }
@media (max-width: 760px) { .b-em, .b-em.e0, .b-em.e1, .b-em.e2, .b-em.e3 { width: 64px; height: 64px; margin: -32px 0 0 -32px; font-size: 52px; } }
.banner .b-em.e0 { left: calc(var(--c) - 150px); top: 62%; } .banner .b-em.e1 { left: calc(var(--c) - 110px); top: 20%; } .banner .b-em.e2 { left: calc(var(--c) + 110px); top: 20%; } .banner .b-em.e3 { left: calc(var(--c) + 150px); top: 62%; }
.rk .b-em { width: 68px; height: 68px; margin: -34px 0 0 -34px; font-size: 40px; }

/* --- beranda: hero --- */
.hero-b { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; align-items: center; padding: 34px 36px; margin-bottom: 20px; border-radius: 30px; color: #fff; background: radial-gradient(circle at 80% 20%, #3fa174 0, transparent 45%), linear-gradient(135deg, #0f3b2b, #1d6a4c 70%); box-shadow: 0 24px 50px -24px rgba(15,59,43,.7); }
.hb-b { position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); animation: hbMelayang 9s ease-in-out infinite; }
.hb-b.b1 { width: 260px; height: 260px; left: -80px; bottom: -110px; }
.hb-b.b2 { width: 120px; height: 120px; left: 46%; top: -40px; background: rgba(246,201,56,.14); animation-delay: -3s; }
.hb-b.b3 { width: 180px; height: 180px; right: -50px; bottom: -70px; animation-delay: -6s; }
@keyframes hbMelayang { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(14px,-18px) scale(1.08); } }
.hb-teks { position: relative; z-index: 2; }
.hb-sapa { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 99px; padding: 6px 14px; font-weight: 800; font-size: 13px; letter-spacing: .04em; }
.hero-b h1 { font-family: 'Fredoka'; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.05; margin: 14px 0 8px; color: #fff; }
.hero-b p { margin: 0 0 16px; color: #d4eadd; font-size: 16px; }
.hb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.hb-chip { background: rgba(255,255,255,.12); border-radius: 14px; padding: 8px 14px; font-weight: 700; font-size: 14px; color: #e8f5ee; backdrop-filter: blur(2px); }
.hb-chip b { font-family: 'Fredoka'; font-size: 22px; color: #f6c938; margin-right: 3px; }
.hb-chip.api { background: rgba(246,130,56,.22); }
.hb-cta { display: inline-flex; align-items: center; gap: 14px; background: #f6c938; color: #144a36; border-radius: 20px; padding: 12px 22px 12px 12px; text-decoration: none; max-width: 100%; box-shadow: 0 8px 0 #c79e1c, 0 18px 28px -12px rgba(0,0,0,.5); transition: transform .2s, box-shadow .2s; }
.hb-cta:hover { transform: translateY(-3px); box-shadow: 0 11px 0 #c79e1c, 0 22px 30px -12px rgba(0,0,0,.5); }
.hb-cta:active { transform: translateY(5px); box-shadow: 0 3px 0 #c79e1c; }
.hb-cta small { display: block; font-weight: 800; font-size: 11px; letter-spacing: .12em; opacity: .75; }
.hb-cta b { display: block; font-size: 16px; line-height: 1.2; }
.hb-play { width: 50px; height: 50px; border-radius: 50%; background: #144a36; color: #f6c938; display: grid; place-items: center; font-size: 20px; flex: none; animation: hbDenyut 1.8s ease-in-out infinite; }
@keyframes hbDenyut { 0%,100% { box-shadow: 0 0 0 0 rgba(20,74,54,.5); } 50% { box-shadow: 0 0 0 12px rgba(20,74,54,0); } }
.hb-visual { position: relative; z-index: 2; height: 320px; display: grid; place-items: center; }
.hb-cincin { --p: 0; position: absolute; width: 290px; height: 290px; border-radius: 50%; background: conic-gradient(#f6c938 calc(var(--p) * 1%), rgba(255,255,255,.14) 0); display: grid; place-items: center; transition: background .6s; }
.hb-cincin::before { content: ''; position: absolute; inset: 16px; border-radius: 50%; background: linear-gradient(160deg, #1d6a4c, #144a36); }
.hb-cincin span { position: absolute; bottom: 20px; z-index: 3; background: #f6c938; color: #144a36; border-radius: 99px; padding: 3px 14px; font-family: 'Fredoka'; font-weight: 700; font-size: 18px; }
.hb-kenzo { position: relative; z-index: 2; width: 220px; margin-top: -8px; animation: hbGoyang 3.2s ease-in-out infinite; transform-origin: 50% 90%; filter: drop-shadow(0 14px 14px rgba(0,0,0,.3)); }
@keyframes hbGoyang { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-10px); } }
.hb-em { position: absolute; z-index: 3; font-size: 34px; filter: drop-shadow(0 5px 6px rgba(0,0,0,.3)); animation: hbMelayang 5s ease-in-out infinite; }
.hb-em.e1 { left: 6%; top: 12%; } .hb-em.e2 { right: 8%; top: 8%; animation-delay: -1.5s; } .hb-em.e3 { left: 10%; bottom: 10%; animation-delay: -3s; } .hb-em.e4 { right: 6%; bottom: 14%; animation-delay: -2.2s; }

/* --- misi harian --- */
.misi { display: flex; align-items: center; gap: 18px; background: #fff8dc; border: 2.5px dashed #e6c14d; border-radius: 24px; padding: 14px 20px 14px 14px; margin-bottom: 20px; transition: background .3s, border-color .3s; }
.misi img { width: 92px; height: 86px; object-fit: contain; flex: none; animation: hbGoyang 4s ease-in-out infinite; }
.m-isi { flex: 1; min-width: 0; }
.m-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #a07a0a; }
.m-isi b { display: block; font-family: 'Fredoka'; font-size: 20px; line-height: 1.25; color: var(--hijau); margin: 3px 0; }
.m-isi small { color: #7a6a30; }
.m-cek { display: flex; align-items: center; gap: 10px; border: 0; background: #fff; border-radius: 99px; padding: 8px 18px 8px 8px; cursor: pointer; font-family: inherit; font-weight: 800; color: var(--hijau); box-shadow: 0 4px 0 #e6c14d; transition: transform .15s; white-space: nowrap; }
.m-cek:hover { transform: translateY(-2px); }
.m-cek span { width: 32px; height: 32px; border-radius: 50%; border: 3px solid #e6c14d; display: grid; place-items: center; color: #fff; font-weight: 800; background: #fff; }
.m-cek em { font-style: normal; }
.misi.ok { background: #e3f5ea; border-color: #2f9e66; }
.misi.ok .m-cek span { background: #2f9e66; border-color: #2f9e66; }
.misi.ok .m-cek { box-shadow: 0 4px 0 #9fd6b6; }

/* --- fakta & gizi --- */
.dua-b { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 8px; }
.fakta-b, .gizi-b { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 22px; text-decoration: none; color: inherit; transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s; position: relative; overflow: hidden; }
.fakta-b { background: linear-gradient(135deg, #fff3c4, #ffe28a); }
.gizi-b { background: linear-gradient(135deg, #d9f3e3, #a6dfbf); }
.fakta-b:hover, .gizi-b:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: 0 18px 28px -14px rgba(20,74,54,.4); }
.fb-e, .gb-e { font-size: 54px; flex: none; animation: hbGoyang 4.5s ease-in-out infinite; }
.fb-l { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #a07a0a; }
.fakta-b b, .gizi-b b { display: block; font-family: 'Fredoka'; font-size: 18px; line-height: 1.25; color: var(--hijau); margin: 3px 0 6px; }
.fb-go { font-weight: 800; font-size: 13px; color: var(--hijau-3); }

/* --- kelas: gulir samping --- */
.rel-kelas { display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 18px; margin: 0 -4px 12px; scroll-snap-type: x proximity; }
.rk { flex: 0 0 min(320px, 80%); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--bayang); text-decoration: none; color: inherit; scroll-snap-align: start; transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s; }
.rk:hover { transform: translateY(-6px); box-shadow: 0 20px 32px -14px rgba(20,74,54,.4); }
.rk .banner { min-height: 190px; --c: 50%; }
.rk .b-ebook, .rk .b-kata { display: none; }
.rk .b-lengkung { width: 170px; height: 180px; margin-left: -85px; left: 50%; bottom: -6px; }
.rk .b-kenzo { width: 150px; }
.rk .b-em { opacity: .95; }
.rk .b-em.e0 { left: 18%; top: 60%; } .rk .b-em.e1 { left: 34%; top: 24%; } .rk .b-em.e2 { left: 66%; top: 24%; } .rk .b-em.e3 { left: 82%; top: 60%; }
.rk-isi { padding: 14px 16px 16px; }
.rk-isi b { display: block; font-family: 'Fredoka'; font-size: 17px; color: var(--hijau); margin-bottom: 2px; }
.rk-isi .bar { margin-top: 10px; }

/* --- soal: semua berderet ke bawah --- */
.kuis-lebar { max-width: 820px; margin: 0 auto; }
.kuis-lengket { position: sticky; top: 0; z-index: 20; background: var(--krem, #fdf6e3); padding: 12px 0; margin-bottom: 6px; }
.daftar-soal { display: flex; flex-direction: column; gap: 18px; }
.soal-deret { scroll-margin-top: 90px; border: 2.5px solid transparent; transition: border-color .3s, background .3s; }
.soal-deret.sudah-benar { border-color: #9fd6b6; }
.soal-deret.sudah-salah { border-color: #f2b0aa; }
.soal-no { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.soal-no .nomor { width: 34px; height: 34px; border-radius: 50%; background: var(--hijau); color: #fff; display: grid; place-items: center; font-family: 'Fredoka'; font-weight: 700; }
.kuis-selesai { text-align: center; margin: 26px 0 6px; padding: 16px; border-radius: 18px; background: #fff; }
.kuis-selesai.siap { background: #e3f5ea; animation: hbDenyut 1.8s ease-in-out infinite; }

/* --- HP --- */
@media (max-width: 860px) {
  .hero-b { grid-template-columns: 1fr; padding: 24px 20px; }
  .hb-visual { height: 230px; order: -1; }
  .hb-cincin { width: 210px; height: 210px; }
  .hb-kenzo { width: 150px; }
  .dua-b { grid-template-columns: 1fr; }
  .misi { flex-wrap: wrap; } .misi img { width: 64px; height: 60px; }
  .m-cek { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .hb-b, .hb-kenzo, .hb-em, .misi img, .hb-play, .fb-e, .gb-e, .kuis-selesai.siap { animation: none; } }

/* ===== Kartu koleksi pencapaian ===== */
.koleksi-kepala { display: flex; gap: 24px; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #144a36, #1f6a4d); color: #fff; border-radius: 24px; padding: 22px 26px; margin: 8px 0 16px; flex-wrap: wrap; }
.koleksi-kepala h2 { color: #fff; font-size: 24px; margin: 6px 0 10px; }
.koleksi-kepala .fb-l { color: #f6c938; }
.koleksi-kepala .redup { color: #cfe6d9; max-width: 520px; margin-top: 8px; }
.kl-total { height: 12px; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; max-width: 520px; }
.kl-total i { display: block; height: 100%; background: linear-gradient(90deg, #f6c938, #ffe28a); border-radius: 99px; }
.koleksi-stat { display: flex; gap: 12px; }
.koleksi-stat div { background: rgba(255,255,255,.12); border-radius: 16px; padding: 12px 18px; text-align: center; }
.koleksi-stat b { display: block; font-family: 'Fredoka'; font-size: 28px; color: #f6c938; line-height: 1; }
.koleksi-stat span { font-size: 12px; color: #cfe6d9; }
.kl-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.kl-filter button { border: 2px solid #d8e6dd; background: #fff; border-radius: 99px; padding: 7px 14px; font-weight: 800; font-size: 13px; color: var(--hijau); cursor: pointer; font-family: inherit; }
.kl-filter button.on { background: var(--hijau); color: #fff; border-color: var(--hijau); }
.kl-filter .r-langka { border-color: #9cc6f2; } .kl-filter .r-epik { border-color: #c3a6f2; } .kl-filter .r-legendaris { border-color: #f0c860; } .kl-filter .r-umum { border-color: #a9d8b9; }
.kl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }

.kl { position: relative; overflow: hidden; border-radius: 22px; padding: 16px 14px 16px; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 270px; border: 3px solid var(--c2); background: linear-gradient(160deg, var(--c1), #fff 70%); transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s; outline: none; }
.kl.r-umum { --c1: #d7efdf; --c2: #7cc49a; --tag: #2f9e66; }
.kl.r-langka { --c1: #d6e9ff; --c2: #4f9be8; --tag: #2d7bd0; }
.kl.r-epik { --c1: #e8dbff; --c2: #8a5be0; --tag: #7a45d6; }
.kl.r-legendaris { --c1: #fff1b8; --c2: #f0a81c; --tag: #d98f0a; }
.kl:hover, .kl:focus-visible { transform: translateY(-8px) rotate(-1.2deg) scale(1.03); box-shadow: 0 22px 30px -14px color-mix(in srgb, var(--c2) 70%, #000); }
.kl-rar { align-self: flex-end; background: var(--tag); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .14em; padding: 3px 9px; border-radius: 99px; }
.kl-medali { margin-top: 4px; line-height: 0; transition: transform .4s cubic-bezier(.2,1.4,.3,1); } .kl-medali svg { width: 150px; height: 150px; display: block; } .kl:hover .kl-medali { transform: scale(1.08) rotate(-4deg); }
.kl b { font-family: 'Fredoka'; font-size: 17px; line-height: 1.15; color: var(--hijau); }
.kl small { font-size: 12.5px; color: #4a6358; line-height: 1.35; }
.kl-tgl { margin-top: auto; font-size: 11px; font-weight: 800; color: var(--tag); }
.kl-bar { margin-top: auto; width: 100%; height: 8px; border-radius: 99px; background: rgba(0,0,0,.1); overflow: hidden; }
.kl-bar i { display: block; height: 100%; background: var(--tag); border-radius: 99px; }
.kl-prog { font-size: 11px; font-weight: 800; color: #5b6f65; }
.kl-kilau { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.75) 48%, rgba(255,255,255,0) 62%); background-size: 250% 100%; }
.kl.buka.r-epik .kl-kilau, .kl.buka.r-legendaris .kl-kilau { opacity: 1; animation: klKilau 3.4s ease-in-out infinite; }
.kl.buka.r-legendaris { box-shadow: 0 0 0 3px rgba(240,168,28,.35), 0 10px 30px -8px rgba(240,168,28,.7); animation: klDenyut 2.6s ease-in-out infinite; }
.kl.buka.r-epik { box-shadow: 0 10px 26px -10px rgba(122,69,214,.65); }
@keyframes klKilau { 0% { background-position: 150% 0; } 60%,100% { background-position: -80% 0; } }
@keyframes klDenyut { 0%,100% { box-shadow: 0 0 0 3px rgba(240,168,28,.3), 0 10px 30px -8px rgba(240,168,28,.6); } 50% { box-shadow: 0 0 0 7px rgba(240,168,28,.18), 0 14px 38px -6px rgba(240,168,28,.9); } }
.kl.kunci { filter: grayscale(.85); background: linear-gradient(160deg, #eceeed, #fff 70%); border-style: dashed; }
.kl.kunci .kl-medali { opacity: .8; }
.kl.kunci:hover { filter: grayscale(.5); }
.kl.besar { width: min(300px, 78vw); min-height: 390px; margin: 0 auto; padding: 22px 18px; cursor: default; }
.kl.besar:hover { transform: none; }
.kl.besar .kl-medali svg { width: 220px; height: 220px; } .kl.besar { min-height: 430px; }
.kl.besar b { font-size: 26px; }
.kl.besar small { font-size: 15px; }

/* modal kartu */
.mk { position: fixed; inset: 0; z-index: 300; background: rgba(10,32,24,.72); backdrop-filter: blur(5px); display: grid; place-items: center; padding: 16px; animation: mkMasuk .25s ease-out; overflow-y: auto; }
@keyframes mkMasuk { from { opacity: 0; } }
.mk-isi { position: relative; width: min(420px, 100%); background: #fffdf5; border-radius: 28px; padding: 26px 22px 22px; text-align: center; animation: mkNaik .5s cubic-bezier(.2,1.2,.3,1); }
@keyframes mkNaik { from { transform: translateY(40px) scale(.85); opacity: 0; } }
.mk-isi.baru .kl.besar { animation: mkBalik .9s cubic-bezier(.2,.9,.3,1); }
@keyframes mkBalik { from { transform: rotateY(90deg) scale(.7); } 60% { transform: rotateY(-12deg) scale(1.06); } }
.mk-x { position: absolute; right: 14px; top: 12px; border: 0; background: #eee; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 15px; }
.mk-judul { font-family: 'Fredoka'; font-size: 24px; color: var(--hijau); margin-bottom: 14px; }
.mk-misi { margin: 16px 0; padding: 12px 14px; background: #f1f7f3; border-radius: 14px; font-size: 14px; line-height: 1.45; color: #2f4a3e; }
.mk-aksi { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.mk-aksi button[disabled] { opacity: .4; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .kl-kilau, .kl.buka.r-legendaris, .mk-isi, .mk-isi.baru .kl.besar { animation: none !important; } }

/* popup penghargaan */
.mk-isi.baru { overflow: visible; background: linear-gradient(180deg, #fffdf5, #fff6d6); }
.mk-sinar { position: absolute; left: 50%; top: 150px; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; pointer-events: none; z-index: 0; background: repeating-conic-gradient(from 0deg, rgba(246,201,56,.38) 0 9deg, transparent 9deg 22deg); -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 68%); mask-image: radial-gradient(circle, #000 25%, transparent 68%); animation: mkPutar 14s linear infinite, mkMuncul .8s ease-out; }
.mk-isi.baru.rr-epik .mk-sinar { background: repeating-conic-gradient(from 0deg, rgba(138,91,224,.34) 0 9deg, transparent 9deg 22deg); }
.mk-isi.baru.rr-langka .mk-sinar { background: repeating-conic-gradient(from 0deg, rgba(79,155,232,.34) 0 9deg, transparent 9deg 22deg); }
.mk-isi.baru.rr-umum .mk-sinar { background: repeating-conic-gradient(from 0deg, rgba(47,158,102,.3) 0 9deg, transparent 9deg 22deg); }
@keyframes mkPutar { to { transform: rotate(360deg); } }
@keyframes mkMuncul { from { opacity: 0; transform: scale(.3); } }
.mk-isi.baru > *:not(.mk-sinar):not(.mk-bintang) { position: relative; z-index: 2; }
.mk-bintang { position: absolute; left: 50%; top: 150px; width: 0; height: 0; z-index: 3; pointer-events: none; }
.mk-bintang i { position: absolute; left: 0; top: 0; font-style: normal; font-size: 22px; color: #f6c938; text-shadow: 0 2px 6px rgba(0,0,0,.2); animation: mkLontar 1.4s cubic-bezier(.2,.8,.3,1) both; animation-delay: calc(.35s + var(--d)); }
@keyframes mkLontar { 0% { transform: rotate(var(--a)) translateY(0) scale(.2); opacity: 0; } 25% { opacity: 1; } 100% { transform: rotate(var(--a)) translateY(-210px) scale(1.2); opacity: 0; } }
.mk-isi.baru .mk-judul { font-size: 26px; line-height: 1.15; margin-bottom: 8px; animation: mkNaikPelan .6s .2s both; }
.mk-judul small { display: block; font-family: 'Nunito'; font-size: 12px; font-weight: 800; letter-spacing: .18em; color: #b8860b; margin-bottom: 4px; }
.mk-isi.baru .kl.besar { animation: mkBalik 1s cubic-bezier(.2,.9,.3,1) .1s both; }
.mk-isi.baru .kl-medali { animation: mkMedali 1.1s cubic-bezier(.2,1.4,.3,1) .45s both; }
@keyframes mkMedali { from { transform: scale(0) rotate(-200deg); } 70% { transform: scale(1.15) rotate(8deg); } }
@keyframes mkNaikPelan { from { transform: translateY(14px); opacity: 0; } }
.mk-puji { margin: 14px 0 0; font-weight: 700; color: #3c5a4b; animation: mkNaikPelan .6s .9s both; }
.mk-next { margin-top: 10px; background: #fff; border: 2px dashed #e6c14d; border-radius: 14px; padding: 9px 12px; font-size: 13.5px; text-align: left; animation: mkNaikPelan .6s 1.2s both; }
.mk-next span { color: #8a7a3a; font-weight: 800; }
.mk-isi { max-height: 94vh; overflow-y: auto; }
.mk-isi.baru { overflow: visible; max-height: none; }
@media (prefers-reduced-motion: reduce) { .mk-sinar, .mk-bintang i, .mk-isi.baru .kl-medali { animation: none !important; } }

/* ===== dua kolom + panel misi target ===== */
.kolom { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; align-items: start; }
.panel-misi { position: sticky; top: 16px; background: #fff; border-radius: 24px; padding: 18px 18px 16px; box-shadow: var(--bayang); border: 2px solid #e8f1eb; }
.pm-kepala { font-family: 'Fredoka'; font-size: 19px; color: var(--hijau); margin-bottom: 10px; display: flex; flex-direction: column; }
.pm-kepala small { font-family: 'Nunito'; font-size: 12px; font-weight: 800; color: #7a8f83; letter-spacing: .04em; }
.pm-cincin { --p: 0; width: 150px; height: 150px; margin: 6px auto 10px; border-radius: 50%; background: conic-gradient(#2f9e66 calc(var(--p) * 1%), #e8f1eb 0); display: grid; place-items: center; position: relative; }
.pm-cincin::before { content: ''; position: absolute; inset: 14px; border-radius: 50%; background: #fff; }
.pm-cincin span { position: relative; text-align: center; }
.pm-cincin b { display: block; font-family: 'Fredoka'; font-size: 34px; color: var(--hijau); line-height: 1; }
.pm-cincin small { font-size: 11px; font-weight: 800; color: #7a8f83; }
.pm-cincin.ok { background: conic-gradient(#f6c938 100%, #f6c938 0); }
.pm-stat { text-align: center; font-weight: 800; font-size: 13px; padding: 7px 10px; border-radius: 12px; margin-bottom: 12px; }
.pm-stat.ok { background: #e3f5ea; color: #1d7a4b; } .pm-stat.warn { background: #fff3d1; color: #8a6200; }
.pm-ok { text-align: center; font-weight: 800; color: #1d7a4b; margin: 6px 0 12px; }
.pm-judul { display: flex; justify-content: space-between; font-weight: 800; font-size: 13px; color: var(--hijau); margin-bottom: 6px; }
.pm-judul span { color: #8a9a90; font-weight: 700; }
.pm-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.pm-list a { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; background: #f6faf7; border-radius: 12px; padding: 8px 10px; transition: transform .2s, background .2s; }
.pm-list a:hover { transform: translateX(4px); background: #e9f5ee; }
.pm-list i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: var(--hijau); color: #f6c938; display: grid; place-items: center; font-size: 11px; flex: none; }
.pm-list b { display: block; font-size: 13px; line-height: 1.2; color: #1d2b25; }
.pm-list small { color: #7a8f83; font-size: 11.5px; }
.pm-chips { display: flex; gap: 8px; margin-bottom: 8px; }
.pm-chips span { flex: 1; background: #f1f7f3; border-radius: 12px; padding: 8px; text-align: center; font-size: 11.5px; font-weight: 700; color: #5b6f65; }
.pm-chips b { display: block; font-family: 'Fredoka'; font-size: 22px; color: var(--hijau); }
.pm-tenggat { font-size: 12px; color: #6b7f74; text-align: center; margin-bottom: 8px; }
.pm-link { display: block; text-align: center; font-weight: 800; font-size: 13px; color: var(--hijau-3); text-decoration: none; }
.panel-misi.kosong { background: linear-gradient(160deg, #fff8dc, #fff); border-style: dashed; border-color: #e6c14d; }
.pm-mama { width: 96px; display: block; margin: 0 auto 6px; animation: hbGoyang 4s ease-in-out infinite; }
.panel-misi.kosong p { text-align: center; margin: 0 0 10px; }
.pm-preset { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; border: 2px solid #ecdca0; background: #fff; border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; font-family: inherit; transition: transform .2s, border-color .2s; }
.pm-preset:hover { transform: translateY(-2px); border-color: #f0a81c; }
.pm-preset > span { font-size: 26px; } .pm-preset b { display: block; color: var(--hijau); } .pm-preset small { color: #7a8f83; }
@media (max-width: 1080px) { .kolom { grid-template-columns: 1fr; } .panel-misi { position: static; order: -1; } }

/* target & pengingat di akun */
.target-akun { margin: 0 0 16px; }
.target-akun h2 { font-size: 20px; }
.tg-preset { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.tg-preset button { border: 2.5px solid #dbe9e0; background: #fff; border-radius: 18px; padding: 12px 8px; cursor: pointer; font-family: inherit; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: transform .2s, border-color .2s, background .2s; }
.tg-preset button:hover { transform: translateY(-3px); }
.tg-preset button.on { border-color: var(--hijau); background: #e9f5ee; box-shadow: 0 5px 0 #b7d9c4; }
.tg-preset span { font-size: 28px; } .tg-preset b { color: var(--hijau); font-family: 'Fredoka'; } .tg-preset em { font-style: normal; font-weight: 800; color: #2f9e66; } .tg-preset small { color: #7a8f83; font-size: 12px; }
.tg-kustom { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tg-kustom label { font-weight: 700; } .tg-kustom input[type=number] { width: 70px; padding: 7px 8px; border: 2px solid #dbe9e0; border-radius: 10px; font: inherit; font-weight: 800; text-align: center; }
.pg-baris { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.pg-baris label { display: flex; flex-direction: column; font-size: 12px; font-weight: 800; color: #6b7f74; gap: 4px; flex: 1; min-width: 160px; }
.pg-baris input { padding: 9px 10px; border: 2px solid #dbe9e0; border-radius: 10px; font: inherit; }
.pg-hari { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.pg-hari label { padding: 7px 12px; border-radius: 99px; border: 2px solid #dbe9e0; font-weight: 800; font-size: 13px; cursor: pointer; background: #fff; }
.pg-hari label.on { background: var(--hijau); color: #fff; border-color: var(--hijau); }
.pg-hari input { display: none; }

/* peringkat */
.pr-contoh { background: #fff3d1; border-radius: 14px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }
.pr-saya { display: flex; align-items: center; gap: 18px; background: linear-gradient(135deg, #144a36, #1f6a4d); color: #fff; border-radius: 22px; padding: 16px 22px; margin-bottom: 18px; flex-wrap: wrap; }
.pr-saya > div:first-child small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #f6c938; }
.pr-saya b { font-family: 'Fredoka'; font-size: 40px; line-height: 1; } .pr-saya span { margin-left: 6px; color: #cfe6d9; }
.pr-sy-n { margin-left: auto; text-align: center; } .pr-sy-n b { font-size: 30px; color: #f6c938; display: block; } .pr-sy-n span { margin: 0; font-size: 12px; }
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 12px; margin: 10px 0 18px; }
.pod { flex: 1; max-width: 190px; text-align: center; display: flex; flex-direction: column; align-items: center; animation: mkNaikPelan .6s both; }
.pod.p1 { animation-delay: .2s; } .pod.p2 { animation-delay: .35s; } .pod.p3 { animation-delay: .5s; }
.pod-av { width: 66px; height: 66px; border-radius: 50%; background: var(--kuning); display: grid; place-items: center; font-family: 'Fredoka'; font-size: 28px; font-weight: 700; color: var(--hijau); position: relative; border: 4px solid #fff; box-shadow: 0 8px 16px -6px rgba(0,0,0,.3); }
.pod.p1 .pod-av { width: 82px; height: 82px; font-size: 34px; background: linear-gradient(135deg, #ffe68a, #f0a81c); } .pod.p2 .pod-av { background: linear-gradient(135deg, #eef1f3, #b9c2c8); } .pod.p3 .pod-av { background: linear-gradient(135deg, #f7d3b0, #cd8a4a); }
.pod-av span { position: absolute; top: -18px; right: -10px; font-size: 24px; }
.pod b { margin-top: 6px; font-family: 'Fredoka'; color: var(--hijau); } .pod small { color: #7a8f83; }
.pod-n { font-family: 'Fredoka'; font-size: 22px; color: var(--hijau); margin: 4px 0; } .pod-n em { font-style: normal; font-size: 11px; color: #7a8f83; font-family: 'Nunito'; font-weight: 800; }
.pod-b { width: 100%; border-radius: 14px 14px 0 0; display: grid; place-items: center; color: #fff; background: linear-gradient(#2f9e66, #1d7a4b); }
.pod.p1 .pod-b { height: 110px; background: linear-gradient(#f6c938, #d98f0a); } .pod.p2 .pod-b { height: 80px; background: linear-gradient(#aeb9c0, #7e8b93); } .pod.p3 .pod-b { height: 58px; background: linear-gradient(#d99a5a, #a96a30); }
.pod-b strong { font-family: 'Fredoka'; font-size: 34px; }
.pod.sy .pod-av { outline: 4px solid #2f9e66; }
.pr-daftar { display: flex; flex-direction: column; gap: 8px; }
.pr-baris { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: var(--bayang); }
.pr-baris.sy { background: #e9f5ee; outline: 2.5px solid #2f9e66; }
.pr-r { width: 30px; font-family: 'Fredoka'; font-weight: 700; color: #7a8f83; text-align: center; }
.pr-av { width: 40px; height: 40px; border-radius: 50%; background: var(--kuning); display: grid; place-items: center; font-family: 'Fredoka'; font-weight: 700; color: var(--hijau); flex: none; }
.pr-nm { flex: 1; min-width: 0; } .pr-nm b { display: block; color: var(--hijau); } .pr-nm small { color: #7a8f83; font-size: 12px; }
.pr-n { font-family: 'Fredoka'; font-size: 22px; color: var(--hijau); text-align: right; } .pr-n em { display: block; font-style: normal; font-size: 10.5px; font-family: 'Nunito'; font-weight: 800; color: #8a9a90; }
.pr-ikut { display: block; margin: 18px 0 6px; font-weight: 700; font-size: 14px; }
@media (max-width: 640px) { .tg-preset { grid-template-columns: 1fr; } .podium { gap: 6px; } }
.kolom-utama, .panel-misi { min-width: 0; box-sizing: border-box; }
@media (max-width: 1080px) { .panel-misi { order: 0; margin-top: 4px; } }

/* ===== Ujian Nasional ===== */
.un-kartu { display: flex; align-items: center; gap: 16px; padding: 18px 22px; margin-bottom: 20px; text-decoration: none; color: #fff; background: linear-gradient(135deg, #2a1766, #6a3fd0 60%, #8a5be0); border-radius: 22px; position: relative; overflow: hidden; box-shadow: 0 18px 30px -16px rgba(42,23,102,.8); transition: transform .25s; }
.un-kartu:hover { transform: translateY(-4px); }
.un-kartu b { display: block; font-family: 'Fredoka'; font-size: 22px; margin: 2px 0; } .un-kartu span { color: #e5dcff; font-size: 14px; } .un-kartu strong { color: #f6c938; }
.un-kartu .tbl { background: #f6c938; color: #2a1766; flex: none; }
.un-ik { font-size: 52px; animation: hbGoyang 3.6s ease-in-out infinite; }
.un-hero { text-align: center; background: linear-gradient(160deg, #2a1766, #4b2a9c 60%, #6a3fd0); color: #fff; border-radius: 28px; padding: 30px 26px; box-shadow: 0 24px 40px -22px rgba(42,23,102,.8); }
.un-hero h1 { color: #fff; font-size: 32px; margin: 6px 0; } .un-hero p { color: #e5dcff; max-width: 520px; margin: 0 auto 14px; }
.un-topi { font-size: 64px; animation: hbGoyang 3s ease-in-out infinite; }
.un-info { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 14px 0; }
.un-info div { background: rgba(255,255,255,.12); border-radius: 16px; padding: 10px 16px; min-width: 88px; } .un-info b { display: block; font-family: 'Fredoka'; font-size: 30px; color: #f6c938; line-height: 1; } .un-info span { font-size: 12px; color: #d6caff; }
.un-aturan { text-align: left; max-width: 520px; margin: 0 auto 14px; color: #e5dcff; line-height: 1.55; font-size: 14px; }
.un-hadiah { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; } .un-hadiah span { background: rgba(246,201,56,.18); border: 1.5px solid rgba(246,201,56,.5); padding: 6px 14px; border-radius: 99px; font-weight: 800; font-size: 13px; color: #ffe28a; }
.un-mulai { background: #f6c938 !important; color: #2a1766 !important; font-size: 18px; padding: 14px 34px !important; box-shadow: 0 6px 0 #c79e1c; }
.un-lebar { max-width: 1080px; margin: 0 auto; }
.un-tata { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; align-items: start; }
.un-kepala { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; flex-wrap: wrap; } .un-kepala b { font-family: 'Fredoka'; font-size: 22px; color: var(--hijau); } .un-hal { color: #7a8f83; font-weight: 700; font-size: 13px; }
.un-soal.dijawab { border-color: #b9a4e8; }
.un-soal .op.pilih { background: #efe8ff; box-shadow: inset 0 0 0 2.5px #7a45d6, 0 3px 0 #cdb9f5; } .un-soal .op.pilih .huruf { background: #7a45d6; color: #fff; }
.un-nav { display: flex; justify-content: space-between; align-items: center; margin: 20px 0; font-weight: 800; color: var(--hijau); }
.un-kanan { position: sticky; top: 16px; background: #fff; border-radius: 22px; padding: 16px; box-shadow: var(--bayang); text-align: center; border: 2px solid #e5dcff; }
.un-waktu { font-family: 'Fredoka'; font-size: 40px; color: #4b2a9c; line-height: 1; } .un-waktu.mepet { color: #d6483b; animation: hbDenyut 1s infinite; } .un-kanan small { color: #8a7fb0; font-weight: 800; letter-spacing: .08em; font-size: 11px; }
.un-prog { height: 10px; border-radius: 99px; background: #ece6fb; margin: 12px 0 4px; overflow: hidden; } .un-prog i { display: block; height: 100%; background: linear-gradient(90deg, #8a5be0, #f6c938); border-radius: 99px; transition: width .3s; } .un-prog-t { font-size: 12.5px; font-weight: 800; color: #5b4a99; margin-bottom: 10px; }
.un-peta { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; margin-bottom: 8px; }
.un-no { border: 0; border-radius: 6px; background: #ececec; color: #777; font-size: 10px; font-weight: 800; padding: 5px 0; cursor: pointer; font-family: inherit; }
.un-no.sudah { background: #2f9e66; color: #fff; } .un-no.hal { outline: 2px solid #7a45d6; outline-offset: 1px; }
.un-legenda { display: flex; gap: 12px; justify-content: center; font-size: 11px; color: #777; margin-bottom: 12px; } .un-legenda i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: #ececec; margin-right: 4px; } .un-legenda i.sudah { background: #2f9e66; }
.un-hasil .un-emoji { font-size: 64px; } .un-hasil.r-legendaris { background: linear-gradient(160deg, #fff6c8, #fff); } .un-hasil.r-epik { background: linear-gradient(160deg, #eee6ff, #fff); }
@media (max-width: 900px) { .un-tata { grid-template-columns: 1fr; } .un-kanan { position: static; order: -1; } .un-peta { grid-template-columns: repeat(15, 1fr); } }

/* level Mama Hebat */
.lv-saya { display: flex; gap: 18px; align-items: center; background: linear-gradient(135deg, #fff, #f3f8f5); border-radius: 24px; padding: 18px 22px; margin-bottom: 18px; box-shadow: var(--bayang); flex-wrap: wrap; border: 2.5px solid #dbe9e0; }
.lv-saya small { font-weight: 800; letter-spacing: .14em; font-size: 11px; color: #7a8f83; display: block; } .lv-saya b { font-family: 'Fredoka'; font-size: 30px; color: var(--hijau); display: block; line-height: 1.1; } .lv-saya span { color: #5b6f65; } .lv-next { margin-top: 6px; font-weight: 700; color: #2f9e66; font-size: 13.5px; }
.lv-saya.r-legendaris { background: linear-gradient(135deg, #fff6c8, #fff); border-color: #f0c860; } .lv-saya.r-epik { background: linear-gradient(135deg, #eee6ff, #fff); border-color: #c3a6f2; } .lv-saya.r-langka { background: linear-gradient(135deg, #e3f0ff, #fff); border-color: #9cc6f2; }
.lv-aksi { display: flex; flex-direction: column; gap: 8px; }
.lv-grup { background: #fff; border-radius: 22px; padding: 16px 18px; margin-bottom: 14px; box-shadow: var(--bayang); border-left: 8px solid #7cc49a; }
.lv-grup.r-legendaris { border-left-color: #f0a81c; background: linear-gradient(90deg, #fff9dc, #fff 40%); } .lv-grup.r-epik { border-left-color: #8a5be0; } .lv-grup.r-langka { border-left-color: #4f9be8; }
.lv-kepala { display: flex; align-items: center; gap: 14px; } .lv-kepala > div:nth-child(2) { flex: 1; } .lv-kepala b { font-family: 'Fredoka'; font-size: 20px; color: var(--hijau); display: block; } .lv-kepala small { color: #7a8f83; }
.lv-jml { background: #f1f7f3; border-radius: 99px; padding: 5px 14px; font-weight: 800; font-size: 13px; color: var(--hijau); }
.lv-medali svg { display: block; }
.lv-isi { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-top: 12px; }
.lv-orang { display: flex; gap: 10px; align-items: center; background: #f8fbf9; border-radius: 14px; padding: 8px 12px; } .lv-orang.sy { outline: 2.5px solid #2f9e66; background: #e9f5ee; }
.lv-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: 'Fredoka'; font-weight: 700; flex: none; } .lv-orang b { display: block; font-size: 14px; color: var(--hijau); } .lv-orang small { color: #7a8f83; font-size: 12px; }
.pg-contoh { background: #fff8dc; border: 2px dashed #e6c14d; border-radius: 16px; padding: 12px 16px; margin-bottom: 14px; } .pg-contoh small { font-weight: 800; letter-spacing: .12em; font-size: 10.5px; color: #a07a0a; } .pg-contoh b { display: block; font-family: 'Fredoka'; color: var(--hijau); margin: 3px 0; } .pg-contoh p { margin: 0 0 8px; color: #4a5a50; }

/* ===== beranda: kolom samping (tugas, fakta, cek gizi, misi target, artikel) ===== */
.sisi { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sisi .panel-misi { position: static; }
.sisi .misi { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 16px; margin: 0; border-radius: 22px; position: relative; }
.sisi .misi > img { width: 64px; position: absolute; right: 12px; top: 10px; }
.sisi .misi .m-isi { padding-right: 70px; }
.sisi .misi .m-isi b { font-size: 16px; line-height: 1.3; }
.sisi .misi .m-cek { width: 100%; justify-content: center; }
.sisi .fakta-b, .sisi .gizi-b { padding: 16px; border-radius: 20px; gap: 12px; }
.sisi .fakta-b b, .sisi .gizi-b b { font-size: 16px; }
.sisi .fb-e, .sisi .gb-e { font-size: 34px; }
.sisi-artikel { background: #fff; border-radius: 22px; padding: 14px; box-shadow: var(--bayang); border: 2px solid #e8f1eb; }
.sa-kepala { display: flex; justify-content: space-between; align-items: center; margin: 2px 4px 10px; }
.sa-kepala b { font-family: 'Fredoka'; font-size: 18px; color: var(--hijau); }
.sa-kepala a { font-size: 13px; font-weight: 800; color: var(--hijau-3); text-decoration: none; }
.sa-item { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; padding: 8px; border-radius: 14px; transition: background .2s, transform .2s; }
.sa-item:hover { background: #f1f7f3; transform: translateX(3px); }
.sa-item img { width: 76px; height: 58px; border-radius: 12px; object-fit: cover; flex: none; background: #e8f1eb; }
.sa-item b { display: block; font-size: 13.5px; line-height: 1.25; color: #1d2b25; }
.sa-item small { color: #7a8f83; font-size: 11.5px; font-weight: 700; }
@media (max-width: 1080px) {
  .kolom { display: flex; flex-direction: column; gap: 14px; }
  .kolom-utama, .sisi { display: contents; }
  .kolom-utama > .hero-b { order: 0; }
  .kolom-utama > *:not(.hero-b) { order: 2; }
  .sisi > .misi { order: 1; }
  .sisi > *:not(.misi) { order: 3; }
}

/* ===== bacaan: sampul foto asli ===== */
.b-atas { height: 150px !important; background-size: cover; background-position: center; display: block !important; }
.b-atas::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.28)); }
.b-atas .b-e { position: absolute; left: 12px; bottom: 10px; z-index: 1; font-size: 26px; width: 44px; height: 44px; display: grid; place-items: center; background: rgba(255,255,255,.92); border-radius: 14px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.b-atas .b-rub, .b-atas .b-bintang { z-index: 1; }
.ar-foto { height: 240px; border-radius: 20px; background-size: cover; background-position: center; margin: -6px -10px 18px; box-shadow: 0 10px 24px -14px rgba(0,0,0,.4); }
@media (max-width: 640px) { .ar-foto { height: 180px; margin: -4px 0 14px; } }

/* ===== banner kelas: pola halus per kelas (jarang & lembut) ===== */
.banner::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-size: 240px 240px; background-position: 10px 6px; opacity: .9; }
.banner::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at 12% 110%, rgba(255,255,255,.22), transparent 42%), radial-gradient(circle at 92% -10%, rgba(255,255,255,.2), transparent 40%); }
.banner { isolation: isolate; }

/* pola per kelas (warna mengikuti kelas) */
.banner[data-k='tidur']::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cpath transform='translate%2840 50%29 rotate%2812%29' d='M0 -13 L3.9 -3.9 L13 0 L3.9 3.9 L0 13 L-3.9 3.9 L-13 0 L-3.9 -3.9Z' fill='%23ffffff' fill-opacity='0.38'/%3E%3Cpath transform='translate%28170 120%29 rotate%2812%29' d='M0 -9 L2.6999999999999997 -2.6999999999999997 L9 0 L2.6999999999999997 2.6999999999999997 L0 9 L-2.6999999999999997 2.6999999999999997 L-9 0 L-2.6999999999999997 -2.6999999999999997Z' fill='%23ffffff' fill-opacity='0.30400000000000005'/%3E%3Ccircle cx='110' cy='200' r='4' fill='%23ffffff' fill-opacity='0.38'/%3E%3Ccircle cx='205' cy='40' r='3' fill='%23ffffff' fill-opacity='0.38'/%3E%3Cpath transform='translate%2860 180%29 rotate%2812%29' d='M0 -7 L2.1 -2.1 L7 0 L2.1 2.1 L0 7 L-2.1 2.1 L-7 0 L-2.1 -2.1Z' fill='%23ffffff' fill-opacity='0.26599999999999996'/%3E%3C/svg%3E"); }
.banner[data-k='siap-makan']::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cpath transform='translate%2830 70%29 rotate%28-30%29' d='M0 0C18 -22 44 -14 46 6C26 22 4 18 0 0Z' fill='%23174d3e' fill-opacity='0.17'/%3E%3Ccircle cx='170' cy='60' r='16' fill='none' stroke='%23174d3e' stroke-opacity='0.17' stroke-width='3.5'/%3E%3Ccircle cx='120' cy='170' r='5' fill='%23174d3e' fill-opacity='0.17'/%3E%3Cpath transform='translate%28190 200%29 rotate%28-30%29' d='M0 0C18 -22 44 -14 46 6C26 22 4 18 0 0Z' fill='%23174d3e' fill-opacity='0.136'/%3E%3Ccircle cx='60' cy='210' r='4' fill='%23174d3e' fill-opacity='0.17'/%3E%3C/svg%3E"); }
.banner[data-k='pintar-makan']::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cpath transform='translate%2830 70%29 rotate%28-30%29' d='M0 0C18 -22 44 -14 46 6C26 22 4 18 0 0Z' fill='%23ffffff' fill-opacity='0.2'/%3E%3Ccircle cx='170' cy='60' r='16' fill='none' stroke='%23ffffff' stroke-opacity='0.2' stroke-width='3.5'/%3E%3Ccircle cx='120' cy='170' r='5' fill='%23ffffff' fill-opacity='0.2'/%3E%3Cpath transform='translate%28190 200%29 rotate%28-30%29' d='M0 0C18 -22 44 -14 46 6C26 22 4 18 0 0Z' fill='%23ffffff' fill-opacity='0.16000000000000003'/%3E%3Ccircle cx='60' cy='210' r='4' fill='%23ffffff' fill-opacity='0.2'/%3E%3C/svg%3E"); }
.banner[data-k='tumbuh']::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cpath d='M31 50H49M40 41V59' stroke='%237a2643' stroke-opacity='0.17' stroke-width='5' stroke-linecap='round'/%3E%3Cpath transform='translate%28150 70%29 rotate%28-30%29' d='M0 0C18 -22 44 -14 46 6C26 22 4 18 0 0Z' fill='%237a2643' fill-opacity='0.17'/%3E%3Ccircle cx='100' cy='170' r='5' fill='%237a2643' fill-opacity='0.17'/%3E%3Cpath d='M192 190H208M200 182V198' stroke='%237a2643' stroke-opacity='0.17' stroke-width='5' stroke-linecap='round'/%3E%3Ccircle cx='50' cy='200' r='10' fill='none' stroke='%237a2643' stroke-opacity='0.17' stroke-width='3.5'/%3E%3C/svg%3E"); }
.banner[data-k='emosi']::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cpath d='M0 60 Q30 44 60 60 T120 60 T180 60 T240 60' fill='none' stroke='%233a2a80' stroke-opacity='0.17' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M0 150 Q30 134 60 150 T120 150 T180 150 T240 150' fill='none' stroke='%233a2a80' stroke-opacity='0.136' stroke-width='4' stroke-linecap='round'/%3E%3Ccircle cx='200' cy='100' r='5' fill='%233a2a80' fill-opacity='0.17'/%3E%3Ccircle cx='40' cy='200' r='4' fill='%233a2a80' fill-opacity='0.17'/%3E%3C/svg%3E"); }
.banner[data-k='screen-time']::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Crect x='40' y='40' width='24' height='24' rx='6' fill='none' stroke='%231d4b6e' stroke-opacity='0.17' stroke-width='3.5' transform='rotate%2814 40 40%29'/%3E%3Crect x='150' y='110' width='18' height='18' rx='4' fill='none' stroke='%231d4b6e' stroke-opacity='0.17' stroke-width='3.5' transform='rotate%2814 150 110%29'/%3E%3Ccircle cx='100' cy='200' r='5' fill='%231d4b6e' fill-opacity='0.17'/%3E%3Cpath d='M192 40H208M200 32V48' stroke='%231d4b6e' stroke-opacity='0.17' stroke-width='5' stroke-linecap='round'/%3E%3Ccircle cx='30' cy='140' r='4' fill='%231d4b6e' fill-opacity='0.17'/%3E%3C/svg%3E"); }

/* ===== latar halaman: pola halus & warna beda tiap halaman ===== */
.main { position: relative; transition: background-color .4s; }
.main[data-hal] { background-attachment: fixed, fixed, scroll; }
.main[data-hal='beranda'] { background-color: #fbf3e3; background-image: radial-gradient(circle at 100% 0%, color-mix(in srgb, #e9a825 10%, transparent), transparent 38%), radial-gradient(circle at 0% 100%, color-mix(in srgb, #e9a825 8%, transparent), transparent 40%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cpath transform='translate%2840 50%29 rotate%2812%29' d='M0 -12 L3.5999999999999996 -3.5999999999999996 L12 0 L3.5999999999999996 3.5999999999999996 L0 12 L-3.5999999999999996 3.5999999999999996 L-12 0 L-3.5999999999999996 -3.5999999999999996Z' fill='%23e9a825' fill-opacity='0.2'/%3E%3Ccircle cx='150' cy='30' r='4' fill='%23e9a825' fill-opacity='0.2'/%3E%3Cpath d='M242 90H258M250 82V98' stroke='%23e9a825' stroke-opacity='0.2' stroke-width='4' stroke-linecap='round'/%3E%3Ccircle cx='90' cy='150' r='5' fill='%23e9a825' fill-opacity='0.2'/%3E%3Cpath transform='translate%28210 200%29 rotate%2812%29' d='M0 -9 L2.6999999999999997 -2.6999999999999997 L9 0 L2.6999999999999997 2.6999999999999997 L0 9 L-2.6999999999999997 2.6999999999999997 L-9 0 L-2.6999999999999997 -2.6999999999999997Z' fill='%23e9a825' fill-opacity='0.2'/%3E%3Ccircle cx='40' cy='260' r='10' fill='none' stroke='%23e9a825' stroke-opacity='0.2' stroke-width='3'/%3E%3Ccircle cx='290' cy='270' r='4' fill='%23e9a825' fill-opacity='0.2'/%3E%3Cpath transform='translate%28140 250%29 rotate%28-30%29' d='M0 0C16 -20 40 -12 42 6C24 20 4 16 0 0Z' fill='%23e9a825' fill-opacity='0.2'/%3E%3C/svg%3E"); background-size: auto, auto, 320px 320px; }
.main[data-hal='kelas'] { background-color: #eaf5ec; background-image: radial-gradient(circle at 100% 0%, color-mix(in srgb, #1f7a4d 10%, transparent), transparent 38%), radial-gradient(circle at 0% 100%, color-mix(in srgb, #1f7a4d 8%, transparent), transparent 40%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cpath transform='translate%2830 60%29 rotate%28-30%29' d='M0 0C16 -20 40 -12 42 6C24 20 4 16 0 0Z' fill='%231f7a4d' fill-opacity='0.2'/%3E%3Ccircle cx='180' cy='40' r='14' fill='none' stroke='%231f7a4d' stroke-opacity='0.2' stroke-width='3'/%3E%3Ccircle cx='260' cy='130' r='5' fill='%231f7a4d' fill-opacity='0.2'/%3E%3Cpath transform='translate%28100 190%29 rotate%28-30%29' d='M0 0C16 -20 40 -12 42 6C24 20 4 16 0 0Z' fill='%231f7a4d' fill-opacity='0.2'/%3E%3Ccircle cx='40' cy='150' r='4' fill='%231f7a4d' fill-opacity='0.2'/%3E%3Ccircle cx='240' cy='250' r='10' fill='none' stroke='%231f7a4d' stroke-opacity='0.2' stroke-width='3'/%3E%3Ccircle cx='160' cy='290' r='4' fill='%231f7a4d' fill-opacity='0.2'/%3E%3C/svg%3E"); background-size: auto, auto, 320px 320px; }
.main[data-hal='bacaan'] { background-color: #fcf1e2; background-image: radial-gradient(circle at 100% 0%, color-mix(in srgb, #b4691f 10%, transparent), transparent 38%), radial-gradient(circle at 0% 100%, color-mix(in srgb, #b4691f 8%, transparent), transparent 40%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cpath d='M30 40h34M30 50h20M30 60h34M30 70h20' stroke='%23b4691f' stroke-opacity='0.2' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='170' cy='60' r='4' fill='%23b4691f' fill-opacity='0.2'/%3E%3Cpath d='M242 40H258M250 32V48' stroke='%23b4691f' stroke-opacity='0.2' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M200 170h34M200 180h20M200 190h34M200 200h20' stroke='%23b4691f' stroke-opacity='0.2' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='60' cy='170' r='5' fill='%23b4691f' fill-opacity='0.2'/%3E%3Cpath transform='translate%2830 260%29' d='M0 0 Q14 -12 28 0 T56 0 T84 0' fill='none' stroke='%23b4691f' stroke-opacity='0.2' stroke-width='3.5' stroke-linecap='round'/%3E%3Ccircle cx='280' cy='270' r='4' fill='%23b4691f' fill-opacity='0.2'/%3E%3C/svg%3E"); background-size: auto, auto, 320px 320px; }
.main[data-hal='gizi'] { background-color: #e8f3f1; background-image: radial-gradient(circle at 100% 0%, color-mix(in srgb, #157a6e 10%, transparent), transparent 38%), radial-gradient(circle at 0% 100%, color-mix(in srgb, #157a6e 8%, transparent), transparent 40%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cpath transform='translate%2830 50%29' d='M0 0 Q14 -12 28 0 T56 0 T84 0' fill='none' stroke='%23157a6e' stroke-opacity='0.2' stroke-width='3.5' stroke-linecap='round'/%3E%3Ccircle cx='170' cy='40' r='4' fill='%23157a6e' fill-opacity='0.2'/%3E%3Cpath d='M242 100H258M250 92V108' stroke='%23157a6e' stroke-opacity='0.2' stroke-width='4' stroke-linecap='round'/%3E%3Cpath transform='translate%28160 150%29' d='M0 0 Q14 -12 28 0 T56 0 T84 0' fill='none' stroke='%23157a6e' stroke-opacity='0.2' stroke-width='3.5' stroke-linecap='round'/%3E%3Ccircle cx='60' cy='200' r='5' fill='%23157a6e' fill-opacity='0.2'/%3E%3Ccircle cx='250' cy='230' r='11' fill='none' stroke='%23157a6e' stroke-opacity='0.2' stroke-width='3'/%3E%3Cpath d='M113 280H127M120 273V287' stroke='%23157a6e' stroke-opacity='0.2' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E"); background-size: auto, auto, 320px 320px; }
.main[data-hal='kuis'] { background-color: #f0ebfa; background-image: radial-gradient(circle at 100% 0%, color-mix(in srgb, #5b46b8 10%, transparent), transparent 38%), radial-gradient(circle at 0% 100%, color-mix(in srgb, #5b46b8 8%, transparent), transparent 40%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cpath d='M34 50l8 9 16 -18' fill='none' stroke='%235b46b8' stroke-opacity='0.2' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='150' cy='40' r='4' fill='%235b46b8' fill-opacity='0.2'/%3E%3Crect x='230' y='60' width='22' height='22' rx='5' fill='none' stroke='%235b46b8' stroke-opacity='0.2' stroke-width='3' transform='rotate%2814 230 60%29'/%3E%3Ccircle cx='70' cy='150' r='5' fill='%235b46b8' fill-opacity='0.2'/%3E%3Cpath d='M200 170l8 9 16 -18' fill='none' stroke='%235b46b8' stroke-opacity='0.2' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='40' cy='250' r='10' fill='none' stroke='%235b46b8' stroke-opacity='0.2' stroke-width='3'/%3E%3Ccircle cx='270' cy='270' r='4' fill='%235b46b8' fill-opacity='0.2'/%3E%3Crect x='130' y='240' width='18' height='18' rx='4' fill='none' stroke='%235b46b8' stroke-opacity='0.2' stroke-width='3' transform='rotate%2814 130 240%29'/%3E%3C/svg%3E"); background-size: auto, auto, 320px 320px; }
.main[data-hal='peringkat'] { background-color: #fdf2d2; background-image: radial-gradient(circle at 100% 0%, color-mix(in srgb, #c98a05 10%, transparent), transparent 38%), radial-gradient(circle at 0% 100%, color-mix(in srgb, #c98a05 8%, transparent), transparent 40%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cpath transform='translate%2840 50%29 rotate%2812%29' d='M0 -13 L3.9 -3.9 L13 0 L3.9 3.9 L0 13 L-3.9 3.9 L-13 0 L-3.9 -3.9Z' fill='%23c98a05' fill-opacity='0.2'/%3E%3Cpath transform='translate%28220 70%29 rotate%2812%29' d='M0 -9 L2.6999999999999997 -2.6999999999999997 L9 0 L2.6999999999999997 2.6999999999999997 L0 9 L-2.6999999999999997 2.6999999999999997 L-9 0 L-2.6999999999999997 -2.6999999999999997Z' fill='%23c98a05' fill-opacity='0.2'/%3E%3Ccircle cx='130' cy='130' r='4' fill='%23c98a05' fill-opacity='0.2'/%3E%3Cpath transform='translate%2880 190%29 rotate%2812%29' d='M0 -8 L2.4 -2.4 L8 0 L2.4 2.4 L0 8 L-2.4 2.4 L-8 0 L-2.4 -2.4Z' fill='%23c98a05' fill-opacity='0.2'/%3E%3Ccircle cx='250' cy='200' r='5' fill='%23c98a05' fill-opacity='0.2'/%3E%3Cpath transform='translate%28180 270%29 rotate%2812%29' d='M0 -11 L3.3 -3.3 L11 0 L3.3 3.3 L0 11 L-3.3 3.3 L-11 0 L-3.3 -3.3Z' fill='%23c98a05' fill-opacity='0.2'/%3E%3Ccircle cx='30' cy='280' r='4' fill='%23c98a05' fill-opacity='0.2'/%3E%3C/svg%3E"); background-size: auto, auto, 320px 320px; }
.main[data-hal='raport'] { background-color: #e8f0fa; background-image: radial-gradient(circle at 100% 0%, color-mix(in srgb, #2f6db3 10%, transparent), transparent 38%), radial-gradient(circle at 0% 100%, color-mix(in srgb, #2f6db3 8%, transparent), transparent 40%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Crect x='30' y='40' width='22' height='22' rx='5' fill='none' stroke='%232f6db3' stroke-opacity='0.2' stroke-width='3' transform='rotate%2814 30 40%29'/%3E%3Ccircle cx='160' cy='50' r='4' fill='%232f6db3' fill-opacity='0.2'/%3E%3Cpath d='M230 40h34M230 50h20M230 60h34M230 70h20' stroke='%232f6db3' stroke-opacity='0.2' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='60' cy='160' r='5' fill='%232f6db3' fill-opacity='0.2'/%3E%3Crect x='200' y='170' width='18' height='18' rx='4' fill='none' stroke='%232f6db3' stroke-opacity='0.2' stroke-width='3' transform='rotate%2814 200 170%29'/%3E%3Cpath d='M102 260H118M110 252V268' stroke='%232f6db3' stroke-opacity='0.2' stroke-width='4' stroke-linecap='round'/%3E%3Ccircle cx='280' cy='250' r='4' fill='%232f6db3' fill-opacity='0.2'/%3E%3C/svg%3E"); background-size: auto, auto, 320px 320px; }
.main[data-hal='premium'] { background-color: #fcf0cf; background-image: radial-gradient(circle at 100% 0%, color-mix(in srgb, #b8860b 10%, transparent), transparent 38%), radial-gradient(circle at 0% 100%, color-mix(in srgb, #b8860b 8%, transparent), transparent 40%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cpath transform='translate%2840 50%29 rotate%2812%29' d='M0 -12 L3.5999999999999996 -3.5999999999999996 L12 0 L3.5999999999999996 3.5999999999999996 L0 12 L-3.5999999999999996 3.5999999999999996 L-12 0 L-3.5999999999999996 -3.5999999999999996Z' fill='%23b8860b' fill-opacity='0.2'/%3E%3Cpath d='M152 40H168M160 32V48' stroke='%23b8860b' stroke-opacity='0.2' stroke-width='4' stroke-linecap='round'/%3E%3Cpath transform='translate%28250 100%29 rotate%2812%29' d='M0 -8 L2.4 -2.4 L8 0 L2.4 2.4 L0 8 L-2.4 2.4 L-8 0 L-2.4 -2.4Z' fill='%23b8860b' fill-opacity='0.2'/%3E%3Ccircle cx='100' cy='150' r='5' fill='%23b8860b' fill-opacity='0.2'/%3E%3Ccircle cx='220' cy='200' r='12' fill='none' stroke='%23b8860b' stroke-opacity='0.2' stroke-width='3'/%3E%3Cpath transform='translate%2860 250%29 rotate%2812%29' d='M0 -9 L2.6999999999999997 -2.6999999999999997 L9 0 L2.6999999999999997 2.6999999999999997 L0 9 L-2.6999999999999997 2.6999999999999997 L-9 0 L-2.6999999999999997 -2.6999999999999997Z' fill='%23b8860b' fill-opacity='0.2'/%3E%3Cpath d='M273 280H287M280 273V287' stroke='%23b8860b' stroke-opacity='0.2' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E"); background-size: auto, auto, 320px 320px; }
.main[data-hal='akun'] { background-color: #fbeee8; background-image: radial-gradient(circle at 100% 0%, color-mix(in srgb, #c4623f 10%, transparent), transparent 38%), radial-gradient(circle at 0% 100%, color-mix(in srgb, #c4623f 8%, transparent), transparent 40%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Ccircle cx='40' cy='50' r='6' fill='%23c4623f' fill-opacity='0.2'/%3E%3Ccircle cx='160' cy='40' r='12' fill='none' stroke='%23c4623f' stroke-opacity='0.2' stroke-width='3'/%3E%3Ccircle cx='250' cy='80' r='4' fill='%23c4623f' fill-opacity='0.2'/%3E%3Cpath transform='translate%2860 160%29' d='M0 0 Q14 -12 28 0 T56 0 T84 0' fill='none' stroke='%23c4623f' stroke-opacity='0.2' stroke-width='3.5' stroke-linecap='round'/%3E%3Ccircle cx='220' cy='190' r='5' fill='%23c4623f' fill-opacity='0.2'/%3E%3Ccircle cx='50' cy='260' r='10' fill='none' stroke='%23c4623f' stroke-opacity='0.2' stroke-width='3'/%3E%3Ccircle cx='270' cy='270' r='4' fill='%23c4623f' fill-opacity='0.2'/%3E%3C/svg%3E"); background-size: auto, auto, 320px 320px; }
