/* =====================================================================
   Lembar Ceria — gaya tampilan
   ===================================================================== */
:root {
  --bg: #FFF8EC; --ink: #3D3A4B; --soft: #77728A; --line: #EDE4D3; --card: #fff;
  --coral: #FF8A7A; --coralD: #E8604E; --sunny: #FFD166; --mint: #8EDCB5; --mintD: #2E9E6A;
  --sky: #7CC6FE; --skyD: #2F7FC1; --lav: #B8A7F0; --lavD: #5B47C9;
  --r: 18px; --shadow: 0 10px 30px -14px rgba(61, 58, 75, .3);
  --a-bg: #F6F7FB; --a-ink: #1F2330; --a-soft: #7A7F92; --a-line: #ECEEF4; --a-acc: #6C5CE7; --a-side: #1E1B3A;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: Nunito, system-ui, sans-serif; font-size: 15px; line-height: 1.5; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { font-family: Fredoka, Nunito, sans-serif; font-weight: 600; margin: 0; line-height: 1.2; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
.hidden { display: none !important; }
.muted { color: var(--soft); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; } .row.center { justify-content: center; } .row.between { justify-content: space-between; }
.grow { flex: 1; }
.pill { display: inline-block; font-family: Nunito; font-size: 12px; font-weight: 800; background: #fff; border-radius: 999px; padding: 2px 10px; vertical-align: middle; }
#app { min-height: 100vh; }
.loading { display: grid; place-items: center; min-height: 60vh; font-size: 40px; animation: bob 1s ease-in-out infinite; }

/* ---------- tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 11px 18px; font-family: Fredoka; font-size: 16px; text-decoration: none; background: #fff; border: 2px solid var(--line); transition: transform .1s, filter .15s; white-space: nowrap; }
.btn:hover { filter: brightness(.97); } .btn:active { transform: scale(.97); }
.btn.primary { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn.mint { background: var(--mint); border-color: var(--mint); color: #0E4A31; }
.btn.sky { background: var(--sky); border-color: var(--sky); color: #0F3B63; }
.btn.wa { background: #25D366; border-color: #25D366; color: #fff; }
.btn.ghost { background: transparent; }
.btn.danger { background: #FFF1F0; border-color: #FAD3CF; color: #C0392B; }
.btn.big { padding: 15px 24px; font-size: 19px; border-radius: 18px; }
.btn.sm { padding: 6px 12px; font-size: 14px; border-radius: 10px; }
.btn:disabled { opacity: .5; cursor: default; }

/* ---------- form ---------- */
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-weight: 800; font-size: 13px; margin-bottom: 4px; }
.field small { display: block; color: var(--soft); font-size: 12px; margin-top: 3px; }
.inp { width: 100%; border: 2px solid var(--line); border-radius: 14px; padding: 11px 14px; background: #fff; outline: none; transition: border-color .15s; }
.inp:focus { border-color: var(--sky); }
textarea.inp { min-height: 120px; resize: vertical; font-family: ui-monospace, Menlo, monospace; font-size: 13px; line-height: 1.6; }
.err { color: #C0392B; font-weight: 700; font-size: 14px; min-height: 20px; }

/* ---------- toast & modal ---------- */
#toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 14px; font-weight: 700; box-shadow: var(--shadow); animation: up .25s ease; transition: opacity .3s; max-width: 90vw; }
.toast.err { background: #C0392B; } .toast.out { opacity: 0; }
.modal-bg { position: fixed; inset: 0; background: rgba(40, 36, 60, .5); z-index: 500; display: grid; place-items: center; padding: 16px; animation: fade .2s; overflow-y: auto; }
.modal { background: #fff; border-radius: 24px; padding: 22px; width: min(440px, 100%); box-shadow: var(--shadow); animation: up .25s ease; max-height: calc(100vh - 32px); overflow-y: auto; }
.modal.wide { width: min(980px, 100%); }
.modal h3 { font-size: 22px; margin-bottom: 8px; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 1000; }
@keyframes up { from { transform: translateY(14px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes pop { 0% { transform: scale(.6); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* =====================================================================
   LANDING & LOGIN
   ===================================================================== */
.lp-nav { display: flex; align-items: center; gap: 10px; max-width: 1140px; margin: 0 auto; padding: 16px; }
.logo { font-family: Fredoka; font-size: 21px; font-weight: 600; display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo i { font-style: normal; width: 38px; height: 38px; border-radius: 12px; background: var(--coral); display: inline-grid; place-items: center; font-size: 20px; }
.lp { max-width: 1140px; margin: 0 auto; padding: 0 16px 60px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; padding: 30px 0 40px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); }
.hero h1 em { font-style: normal; color: var(--coralD); }
.hero p { font-size: 18px; color: var(--soft); margin: 14px 0 22px; }
.hero-art { background: linear-gradient(135deg, #FFD9A0, #FFB9A8); border-radius: 36px; aspect-ratio: 1.1; position: relative; overflow: hidden; display: grid; place-items: center; }
.hero-art .big { font-size: clamp(90px, 14vw, 150px); animation: bob 3s ease-in-out infinite; }
.hero-art .fl { position: absolute; font-size: 42px; animation: bob 4s ease-in-out infinite; }
.hero-art .card { position: absolute; background: #fff; border-radius: 18px; padding: 10px 14px; font-family: Fredoka; box-shadow: var(--shadow); }
.trust { display: flex; gap: 18px; flex-wrap: wrap; color: var(--soft); font-weight: 700; font-size: 14px; margin-top: 16px; }
.sec { padding: 40px 0 10px; }
.sec h2 { font-size: clamp(26px, 3.5vw, 36px); text-align: center; }
.sec > p.sub { text-align: center; color: var(--soft); margin: 6px 0 24px; }
.cats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.catcard { border-radius: 26px; padding: 22px; position: relative; overflow: hidden; }
.catcard .e { font-size: 54px; } .catcard h3 { font-size: 26px; margin: 6px 0 2px; }
.catcard ul { margin: 10px 0 0; padding-left: 18px; font-size: 14px; }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { background: #fff; border-radius: 22px; padding: 18px; border: 1px solid var(--line); }
.feat .e { font-size: 34px; } .feat h4 { font-size: 18px; margin: 6px 0 4px; } .feat p { margin: 0; font-size: 14px; color: var(--soft); }
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sample { background: #fff; border-radius: 22px; padding: 16px; border: 1px solid var(--line); display: flex; gap: 12px; align-items: center; text-decoration: none; transition: transform .15s; }
.sample:hover { transform: translateY(-3px); }
.sample .t { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 32px; flex: none; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.stepc { background: #fff; border-radius: 22px; padding: 18px; border: 1px solid var(--line); position: relative; }
.stepc:before { counter-increment: s; content: counter(s); position: absolute; top: -12px; left: 16px; background: var(--ink); color: #fff; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.stepc .e { font-size: 32px; } .stepc h4 { margin: 4px 0; font-size: 17px; } .stepc p { margin: 0; color: var(--soft); font-size: 14px; }
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.price { background: #fff; border-radius: 24px; padding: 20px; border: 2px solid var(--line); display: flex; flex-direction: column; gap: 8px; position: relative; }
.price.best { border-color: var(--coral); }
.price .tag { position: absolute; top: -12px; right: 16px; background: var(--coral); color: #fff; border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 800; }
.price .e { font-size: 38px; } .price h4 { font-size: 20px; } .price .amt { font-family: Fredoka; font-size: 28px; }
.price ul { padding-left: 18px; margin: 0 0 8px; font-size: 14px; color: var(--soft); flex: 1; }
.lp-foot { text-align: center; color: var(--soft); font-size: 13px; padding: 30px 16px; border-top: 1px solid var(--line); margin-top: 40px; }
.demo-banner { background: #FFF1C9; color: #7A5200; text-align: center; font-size: 13px; font-weight: 700; padding: 7px 12px; }
.demo-banner b { font-weight: 800; }

.auth { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 20% 10%, #FFE6A8 0, transparent 40%), radial-gradient(circle at 90% 90%, #CDEFE0 0, transparent 40%), var(--bg); }
.auth-card { background: #fff; border-radius: 30px; padding: 30px; width: min(420px, 100%); box-shadow: var(--shadow); text-align: center; }
.auth-card .owl { font-size: 70px; animation: bob 2.5s ease-in-out infinite; }
.auth-card h1 { font-size: 28px; margin-bottom: 4px; }
.auth-card form { text-align: left; margin-top: 20px; }
.auth-card .alt { margin-top: 16px; font-size: 14px; }
.pw-wrap { position: relative; } .pw-wrap button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 18px; }

/* =====================================================================
   PORTAL MEMBER
   ===================================================================== */
.mapp { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.mside { background: #fff; border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 3px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.mside .logo { margin: 0 6px 16px; }
.nav { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 13px; font-weight: 800; font-size: 14px; color: #5E5A6E; text-decoration: none; }
.nav:hover { background: #FBF6EC; } .nav.on { background: #FFE9E4; color: var(--coralD); }
.nav .lk { margin-left: auto; font-size: 12px; opacity: .6; }
.nav .e { width: 22px; text-align: center; }
.sep { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #AAA; margin: 14px 12px 4px; font-weight: 800; }
.plan { margin-top: auto; background: #F2FBF6; border-radius: 16px; padding: 12px; font-size: 12px; }
.plan b { font-family: Fredoka; font-size: 15px; display: block; }
.plan.exp { background: #FFF1D6; }
.plan .btn { width: 100%; margin-top: 8px; }
.mmain { padding: 20px 26px 60px; min-width: 0; overflow-x: hidden; display: flex; flex-direction: column; gap: 18px; }
.tbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tbar .search { flex: 1; min-width: 180px; }
.kidpick { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 4px; font-weight: 800; font-size: 14px; }
.av { width: 34px; height: 34px; border-radius: 50%; background: var(--sunny); display: inline-grid; place-items: center; font-size: 19px; flex: none; }
.banner { border-radius: 18px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.banner.warn { background: #FFF1D6; color: #7A5200; }
.hero2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.hi { background: linear-gradient(120deg, #FFD9A0, #FFB9A8); border-radius: 24px; padding: 22px; position: relative; overflow: hidden; min-height: 150px; }
.hi h2 { font-size: 26px; max-width: 75%; } .hi p { margin: 6px 0 14px; max-width: 70%; }
.hi .art { position: absolute; right: 18px; bottom: -4px; font-size: 90px; animation: bob 3s ease-in-out infinite; }
.card { background: #fff; border-radius: 22px; padding: 18px; border: 1px solid var(--line); }
.card > h3 { font-size: 18px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card > h3 a { font-family: Nunito; font-size: 13px; color: var(--skyD); font-weight: 800; text-decoration: none; }
.small { font-size: 12px; font-weight: 800; color: var(--soft); text-transform: uppercase; letter-spacing: .05em; }
.prog { height: 10px; border-radius: 99px; background: #F1ECE2; overflow: hidden; } .prog div { height: 100%; border-radius: 99px; background: var(--mint); }
.cats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cc { border-radius: 22px; padding: 18px; position: relative; min-height: 140px; text-decoration: none; display: block; transition: transform .15s; }
.cc:hover { transform: translateY(-3px); }
.cc h3 { font-size: 24px; } .cc p { margin: 2px 0 0; font-size: 13px; }
.cc .ico { font-size: 40px; position: absolute; right: 16px; top: 12px; }
.cc.lockd { background: #EFEDE8 !important; color: #8E8A98; }
.ring { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-top: 14px; }
.ring span { width: 42px; height: 42px; border-radius: 50%; background: inherit; display: grid; place-items: center; font: 800 12px Nunito; }
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.st { background: var(--bg); border-radius: 16px; padding: 12px; } .st b { font-family: Fredoka; font-size: 24px; display: block; } .st span { font-size: 12px; color: var(--soft); font-weight: 700; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 100px; }
.bars div { flex: 1; border-radius: 8px 8px 4px 4px; background: var(--sky); min-height: 4px; position: relative; }
.bars div.t { background: var(--coral); }
.bars div span { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 800; color: var(--soft); }
.days { display: flex; gap: 10px; padding-top: 4px; font-size: 11px; color: var(--soft); font-weight: 800; } .days span { flex: 1; text-align: center; }
.wl { display: flex; flex-direction: column; gap: 8px; }
.wi { display: flex; align-items: center; gap: 12px; padding: 9px; border-radius: 16px; background: var(--bg); text-decoration: none; }
.wi .t { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 23px; flex: none; }
.wi b { font-size: 14px; display: block; } .wi span { font-size: 12px; color: var(--soft); }
.wi .go { margin-left: auto; }
.cathead { border-radius: 24px; padding: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cathead .big { font-size: 60px; } .cathead h2 { font-size: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 800; font-size: 13px; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.wc { background: #fff; border-radius: 20px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.wc .th { height: 112px; display: grid; place-items: center; font-size: 50px; position: relative; }
.wc .badge { position: absolute; top: 9px; left: 9px; background: #fff; border-radius: 8px; padding: 2px 8px; font-size: 11px; font-weight: 800; }
.wc .badge.r { left: auto; right: 9px; }
.wc .bd { padding: 11px 13px 13px; display: flex; flex-direction: column; flex: 1; }
.wc b { font-size: 15px; } .wc .meta { font-size: 12px; color: var(--soft); font-weight: 700; margin: 2px 0 6px; flex: 1; }
.wc .acts { display: flex; gap: 6px; } .wc .acts .btn { flex: 1; padding: 8px 0; font-size: 14px; }
.stars { color: #F5B400; letter-spacing: 1px; } .stars .off { color: #DDD5C5; }
.empty { text-align: center; color: var(--soft); padding: 30px; }
.mobilebar { display: none; }

/* stiker */
.album { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px; }
.album div { aspect-ratio: 1; background: #fff; border-radius: 22px; border: 2px dashed var(--line); display: grid; place-items: center; font-size: 48px; }
.album div.got { border-style: solid; border-color: #FFE6A8; animation: pop .4s; }
.album div.no { font-size: 26px; color: #CFC6B4; }

/* =====================================================================
   MODE ANAK
   ===================================================================== */
.kid { min-height: 100vh; background: #BFE6FF; position: relative; overflow: hidden; font-family: Fredoka; }
.kid .hill { position: absolute; bottom: -140px; left: -10%; width: 120%; height: 320px; background: #A8E6C2; border-radius: 50% 50% 0 0; }
.kid .hill2 { position: absolute; bottom: -190px; left: 35%; width: 90%; height: 320px; background: #8EDCB5; border-radius: 50% 50% 0 0; }
.kid .cloud { position: absolute; background: #fff; border-radius: 999px; opacity: .85; animation: drift 30s linear infinite; }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(110vw); } }
.kid-in { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; padding: 16px; }
.kidtop { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.kav { width: 70px; height: 70px; border-radius: 50%; background: var(--sunny); border: 5px solid #fff; display: grid; place-items: center; font-size: 38px; }
.kname { font-size: 26px; color: #18406B; } .kname small { display: block; font-size: 15px; color: #3D6E99; font-family: Nunito; font-weight: 800; }
.kpill { background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 21px; display: flex; align-items: center; gap: 6px; border: 0; }
.kbtn { width: 56px; height: 56px; border-radius: 18px; background: rgba(255, 255, 255, .8); display: grid; place-items: center; font-size: 26px; border: 0; }
.kcats { display: flex; gap: 10px; margin: 18px 0 10px; flex-wrap: wrap; }
.kcat { border: 0; border-radius: 22px; padding: 12px 20px; font-size: 22px; background: rgba(255, 255, 255, .6); color: var(--ink); }
.kcat.on { background: #fff; box-shadow: 0 5px 0 rgba(0, 0, 0, .1); }
.ktopics { display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 12px; }
.ktopic { border: 0; background: rgba(255, 255, 255, .55); border-radius: 18px; padding: 8px 16px; font-size: 18px; white-space: nowrap; color: var(--ink); }
.ktopic.on { background: var(--ink); color: #fff; }
.kgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; padding-bottom: 60px; }
.kw { border: 0; background: #fff; border-radius: 30px; padding: 16px 10px 14px; text-align: center; box-shadow: 0 7px 0 rgba(0, 0, 0, .09); color: var(--ink); transition: transform .12s; position: relative; }
.kw:active { transform: translateY(4px); box-shadow: 0 3px 0 rgba(0, 0, 0, .09); }
.kw .e { width: 90px; height: 90px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; font-size: 48px; }
.kw b { font-size: 17px; display: block; font-weight: 600; line-height: 1.2; }
.kw .stars { font-size: 20px; margin-top: 6px; display: block; }
.kw .done { position: absolute; top: 10px; right: 12px; font-size: 26px; }

/* =====================================================================
   PLAYER (mengerjakan soal)
   ===================================================================== */
.playwrap { min-height: 100vh; background: #FFF3D1; }
.player { max-width: 1100px; margin: 0 auto; padding: 14px 16px 30px; font-family: Fredoka; }
.ptop { display: flex; align-items: center; gap: 12px; }
.circ { width: 54px; height: 54px; border-radius: 18px; background: #fff; display: grid; place-items: center; font-size: 22px; border: 0; box-shadow: 0 4px 0 rgba(0, 0, 0, .07); flex: none; }
.pdots { display: flex; gap: 8px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.pdots i { width: 18px; height: 18px; border-radius: 50%; background: #fff; display: block; transition: all .3s; }
.pdots i.d { background: var(--sunny); } .pdots i.c { background: var(--coral); box-shadow: 0 0 0 4px #fff; }
.pcount { font-size: 18px; color: var(--soft); }
.ptitle { text-align: center; font-size: 15px; color: var(--soft); margin: 10px 0 6px; }
.pbody { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 18px; align-items: start; }
.board { background: #fff; border-radius: 32px; padding: 24px 20px; min-height: 440px; box-shadow: 0 8px 0 rgba(0, 0, 0, .05); display: flex; flex-direction: column; transition: box-shadow .3s; }
.board.glow { box-shadow: 0 0 0 6px var(--mint), 0 8px 0 rgba(0, 0, 0, .05); }
.board.shake { animation: shake .45s; }
.step { display: flex; flex-direction: column; align-items: center; gap: 16px; flex: 1; justify-content: center; text-align: center; width: 100%; }
.mascot { background: #fff; border-radius: 28px; padding: 16px; text-align: center; position: sticky; top: 14px; }
.mascot .owl { font-size: 76px; animation: bob 2.5s ease-in-out infinite; }
.bubble { background: #FFF8EC; border-radius: 18px; padding: 10px 12px; font-size: 18px; min-height: 52px; }
.bubble.pop { animation: pop .35s; }
.q-title { font-size: clamp(22px, 3vw, 30px); max-width: 640px; }
.q-visual { font-size: 80px; line-height: 1.1; }
.q-emoji { font-size: clamp(56px, 9vw, 92px); letter-spacing: 4px; word-break: break-all; }
.q-text { font-size: 26px; }
.q-img { max-height: 200px; border-radius: 18px; }
.count-grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 520px; font-size: clamp(38px, 6vw, 54px); }
.opts { display: grid; gap: 14px; width: 100%; max-width: 640px; }
.opts.short { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.opts.long { grid-template-columns: 1fr 1fr; }
.opt { border: 0; background: #E7F4FF; border-radius: 24px; min-height: 100px; padding: 12px; font-family: Fredoka; font-size: 24px; box-shadow: 0 6px 0 #C4E1F7; transition: transform .1s; display: grid; place-items: center; }
.opts.short .opt { font-size: 52px; min-height: 120px; }
.opt:active { transform: translateY(4px); box-shadow: 0 2px 0 #C4E1F7; }
.opt.right { background: var(--mint); box-shadow: 0 6px 0 #5BBF92; animation: pop .4s; }
.opt.wrong { background: #F3F0EA; box-shadow: 0 6px 0 #E2DCD0; opacity: .5; animation: shake .4s; }
.opt-img { max-height: 90px; }
.math { font-size: clamp(36px, 7vw, 64px); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.math.long, .step-isian .math { line-height: 1.3; }
.ansbox { display: inline-block; min-width: 110px; padding: 2px 16px; border-bottom: 6px solid var(--sky); color: var(--skyD); text-align: center; border-radius: 8px; }
.ansbox.right { border-color: var(--mintD); color: var(--mintD); background: #E3F7EC; animation: pop .4s; }
.ansbox.wrong { animation: shake .4s; border-color: var(--coral); }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(340px, 100%); }
.keypad button { border: 0; background: #E7F4FF; border-radius: 20px; height: 66px; font-family: Fredoka; font-size: 30px; box-shadow: 0 5px 0 #C4E1F7; }
.keypad button:active { transform: translateY(3px); box-shadow: 0 2px 0 #C4E1F7; }
.keypad .ok { background: var(--mint); box-shadow: 0 5px 0 #5BBF92; } .keypad .del { background: #FFE9E4; box-shadow: 0 5px 0 #F5C3B9; }
.textans { display: flex; gap: 10px; width: min(520px, 100%); } .textans input { flex: 1; font-size: 22px; border: 3px solid var(--line); border-radius: 18px; padding: 12px 16px; outline: none; font-family: Fredoka; }
.canvas-wrap { width: 100%; display: flex; justify-content: center; }
.canvas-wrap canvas { background: #FFFDF8; border-radius: 22px; border: 3px dashed #EADFCB; touch-action: none; max-width: 100%; }
.pens { display: flex; gap: 10px; } .pen { width: 40px; height: 40px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 2px #E8E1D3; }
.pen.sel { box-shadow: 0 0 0 3px var(--ink); }
.match { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; width: min(620px, 100%); }
.mcol { display: flex; flex-direction: column; gap: 12px; }
.mitem { border: 0; background: #E7F4FF; border-radius: 20px; min-height: 70px; padding: 8px 12px; font-family: Fredoka; font-size: 22px; box-shadow: 0 5px 0 #C4E1F7; display: grid; place-items: center; }
.mitem:has(img), .mitem { word-break: break-word; }
.mitem.sel { box-shadow: 0 0 0 4px var(--coral), 0 5px 0 #C4E1F7; transform: scale(1.03); }
.mitem.matched { box-shadow: none; animation: pop .35s; }
.maze-wrap { width: min(560px, 100%); }
.maze { width: 100%; background: #FFFDF8; border-radius: 18px; touch-action: none; }
.arrows { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.arrows button { width: 66px; height: 58px; border: 0; border-radius: 18px; background: #E7F4FF; font-size: 28px; box-shadow: 0 4px 0 #C4E1F7; margin: 0 3px; }
.ws-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ws-list span { background: #F3EFE7; border-radius: 10px; padding: 4px 10px; font-size: 17px; letter-spacing: 1px; }
.ws-list span.done { background: var(--mint); text-decoration: line-through; }
.wsgrid { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 4px; width: min(560px, 100%); }
.wsgrid button { aspect-ratio: 1; border: 0; border-radius: 9px; background: #F6F1E7; font-family: Fredoka; font-size: clamp(14px, 2.6vw, 22px); padding: 0; }
.wsgrid button.pick { background: var(--coral); color: #fff; }
.skip { margin-top: 6px; }

/* layar apresiasi */
.reward { position: fixed; inset: 0; background: rgba(255, 243, 209, .96); z-index: 400; display: grid; place-items: center; padding: 20px; animation: fade .3s; font-family: Fredoka; }
.reward-in { text-align: center; max-width: 440px; }
.reward .trophy { font-size: 110px; animation: pop .6s; }
.reward h2 { font-size: 40px; }
.reward .bigstars { font-size: 56px; letter-spacing: 6px; }
.reward .bigstars span { display: inline-block; animation: pop .5s backwards; }
.reward .stk { background: #fff; border-radius: 24px; padding: 14px; margin: 14px 0; font-size: 18px; }
.reward .stk b { font-size: 54px; display: block; animation: pop .7s .6s backwards; }
.reward .btn { width: 100%; margin-top: 8px; }

/* parent gate */
.gate .math { font-size: 44px; margin: 10px 0; }

/* =====================================================================
   CETAK
   ===================================================================== */
.printopts { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
.preview { background: #ECE7DD; border-radius: 18px; padding: 16px; max-height: 70vh; overflow: auto; }
.preview { overflow-x: hidden; }
.preview .sheet { transform-origin: top left; margin: 0 0 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.tg { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #F1ECE2; font-weight: 700; gap: 10px; }
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #DDD; border-radius: 99px; transition: .2s; }
.switch span:after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + span { background: var(--mintD); } .switch input:checked + span:after { left: 21px; }
.seg { display: inline-flex; background: #fff; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; }
.seg button { border: 0; background: none; padding: 7px 13px; font-weight: 800; font-size: 13px; }
.seg button.on { background: #FFE9E4; color: var(--coralD); }

#print-root { display: none; }
.sheet { width: 210mm; min-height: 297mm; padding: 13mm 14mm 12mm; background: #fff; color: #222; font-family: Nunito, sans-serif; display: flex; flex-direction: column; position: relative; }
.sh-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2.5px solid #333; padding-bottom: 6px; }
.sh-brand { font-family: Fredoka; font-size: 16px; font-weight: 600; } .sh-meta { font-size: 11px; color: #555; font-weight: 700; }
.sh-name { display: flex; gap: 18px; margin: 10px 0 4px; font-size: 13px; align-items: flex-end; }
.sh-name i.dots { display: inline-block; width: 60mm; border-bottom: 1.5px dotted #777; height: 12px; } .sh-name i.dots.short { width: 32mm; }
.sh-stars { margin-left: auto; font-size: 18px; color: #999; letter-spacing: 3px; }
.sh-title { font-size: 25px; text-align: center; margin-top: 8px; }
.sh-ins { text-align: center; color: #555; margin: 3px 0 12px; font-size: 13px; }
.sh-body { flex: 1; }
.sh-foot { display: flex; justify-content: space-between; color: #999; font-size: 9px; border-top: 1px solid #ddd; padding-top: 5px; margin-top: 10px; }
.pr-q { padding-left: 26px; margin: 0; display: grid; grid-template-columns: 1fr; gap: 6px; }
.pr-q.two { grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.pr-q li { break-inside: avoid; font-size: 18px; padding: 8px 0 14px; border-bottom: 1px dashed #ddd; }
.pr-q.two li { font-size: 15px; }
.pr-q .pq { font-weight: 700; }
.pr-q .pv { font-size: 46px; margin: 4px 0; line-height: 1.15; } .pr-q .pv .q-emoji { font-size: 46px; } .pr-q .pv .q-text { font-size: 20px; } .pr-q .pv .q-img { max-height: 90px; }
.pr-q .po { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 8px; font-size: 24px; }
.pr-q.two .po { font-size: 19px; gap: 8px 18px; }
.pr-q .po span { display: inline-flex; align-items: center; gap: 7px; } .pr-q .po i { width: 16px; height: 16px; border: 1.8px solid #555; border-radius: 50%; display: inline-block; }
.pr-q .po .opt-img { max-height: 50px; }
.pr-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; }
.pr-list { display: flex; flex-direction: column; gap: 22px; }
.pr-count { border: 1.5px solid #333; border-radius: 14px; padding: 12px 12px; min-height: 30mm; display: flex; align-items: center; gap: 8px; break-inside: avoid; }
.pr-count .count-grid { font-size: 28px; gap: 3px; flex: 1; justify-content: flex-start; }
.pr-box { width: 16mm; height: 16mm; border: 2px solid #333; border-radius: 8px; flex: none; }
.no { font-family: Fredoka; color: #777; }
.pr-math { font-size: 27px; font-family: Fredoka; padding: 12px 0; border-bottom: 1px dashed #ddd; break-inside: avoid; }
.t-isian .pr-list .pr-math { font-family: Nunito; font-size: 19px; font-weight: 600; padding-bottom: 22px; }
.pr-math .line { display: inline-block; width: 32mm; border-bottom: 2px solid #444; margin: 0 4px; }
.pr-math .pv { font-size: 30px; }
.pr-trrow { display: flex; align-items: center; gap: 10px; padding: 4px 0; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; margin: 0 0 9px; background: linear-gradient(#fff 49.5%, #E3E3E3 49.5%, #E3E3E3 50.5%, #fff 50.5%); break-inside: avoid; overflow: hidden; }
.pr-trrow span { font-family: Andika, Fredoka, sans-serif; font-weight: 700; font-size: 64px; line-height: 1.12; white-space: nowrap; }
.pr-trrow .model { color: #222; padding-right: 8px; border-right: 2px solid #eee; }
.pr-trrow .copy { color: transparent; -webkit-text-stroke: 1.4px #9a9a9a; letter-spacing: 2px; }
.pr-trline { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; break-inside: avoid; }
.pr-trline .lbl { width: 22mm; font-size: 12px; font-weight: 800; color: #555; }
.pr-line { width: 50mm; height: 50mm; flex: none; }
.pr-match { display: flex; flex-direction: column; gap: 18px; margin-bottom: 18px; break-inside: avoid; }
.pm-row { display: flex; justify-content: space-between; }
.pm-row span { display: flex; align-items: center; gap: 12px; font-size: 28px; font-family: Fredoka; min-height: 40px; }
.pm-row i { width: 12px; height: 12px; background: #333; border-radius: 50%; display: inline-block; }
.pm-l { min-width: 40%; justify-content: flex-end; } .pm-r { min-width: 40%; }
.pm-row .opt-img { max-height: 46px; }
.pr-maze { width: 100%; max-height: 225mm; display: block; margin: 0 auto 10px; }
.t-labirin .sh-body { display: flex; flex-direction: column; justify-content: center; }
.pr-maze.small { width: 48%; display: inline-block; margin: 0 1% 10px; }
.pr-ws { border-collapse: collapse; margin: 0 auto; }
.pr-ws td { width: 11mm; height: 11mm; text-align: center; font-family: Fredoka; font-size: 20px; border: 1px solid #bbb; }
.pr-ws.small td { width: 7mm; height: 7mm; font-size: 13px; } .pr-ws td.hit { background: #FFD9A0; font-weight: 700; }
.pr-words { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 16px; font-family: Fredoka; font-size: 18px; letter-spacing: 1px; }
.key-list { columns: 3; font-size: 16px; font-weight: 700; } .key-list .opt-img { max-height: 30px; }
.key-pairs { columns: 2; font-size: 15px; } .key-v { font-size: 15px; margin: 10px 0 4px; color: #555; }
.sheet.ink { filter: grayscale(1); }

@media print {
  @page { size: A4; margin: 0; }
  body { background: #fff; }
  body > *:not(#print-root) { display: none !important; }
  #print-root { display: block; }
  .sheet { page-break-after: always; break-after: page; box-shadow: none !important; transform: none !important; margin: 0 !important; }
  .sheet:last-child { page-break-after: auto; break-after: auto; }
}

/* =====================================================================
   PORTAL ADMIN
   ===================================================================== */
.adm { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; background: var(--a-bg); color: var(--a-ink); font-size: 14px; }
.adm h1, .adm h2, .adm h3, .adm h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }
.aside { background: var(--a-side); color: #C9C6E6; padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.alogo { color: #fff; font-weight: 700; font-size: 16px; display: flex; gap: 9px; align-items: center; margin: 0 8px 18px; }
.alogo i { font-style: normal; width: 32px; height: 32px; border-radius: 9px; background: var(--a-acc); display: inline-grid; place-items: center; }
.an { padding: 10px 12px; border-radius: 10px; display: flex; gap: 10px; align-items: center; font-weight: 500; text-decoration: none; }
.an:hover { background: rgba(255, 255, 255, .06); } .an.on { background: var(--a-acc); color: #fff; }
.an .c { margin-left: auto; background: #F0A500; color: #1E1B3A; border-radius: 99px; font-size: 11px; padding: 1px 7px; font-weight: 700; }
.asep { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #77739B; margin: 14px 12px 4px; }
.amain { padding: 22px 26px 60px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ahead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ahead h1 { font-size: 22px; } .ahead p { margin: 2px 0 0; color: var(--a-soft); }
.ahead .back { color: var(--a-soft); text-decoration: none; font-size: 13px; }
.abtn { display: inline-flex; align-items: center; gap: 7px; background: var(--a-acc); color: #fff; border: 0; border-radius: 10px; padding: 9px 15px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; font-family: inherit; }
.abtn.g { background: #fff; color: var(--a-ink); border: 1px solid #E3E5EE; }
.abtn.wa { background: #25D366; } .abtn.red { background: #FFF1F0; color: #C0392B; border: 1px solid #FAD3CF; }
.abtn.sm { padding: 6px 10px; font-size: 12px; border-radius: 8px; }
.abtn:disabled { opacity: .5; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { background: #fff; border-radius: 14px; padding: 16px; border: 1px solid var(--a-line); }
.kpi span { color: var(--a-soft); font-weight: 500; } .kpi b { display: block; font-size: 26px; margin: 4px 0 2px; } .kpi small { font-weight: 600; }
.up { color: #2BB673; } .wr { color: #C98600; } .dn { color: #C0392B; }
.agrid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.panel { background: #fff; border-radius: 14px; padding: 16px; border: 1px solid var(--a-line); min-width: 0; }
.panel > h3 { font-size: 15px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.panel > h3 small, .panel > h3 a { font-weight: 500; color: var(--a-soft); font-size: 12px; text-decoration: none; }
.chart { display: flex; align-items: flex-end; gap: 14px; height: 170px; border-bottom: 1px solid var(--a-line); padding: 0 6px; }
.chart .col { flex: 1; display: flex; flex-direction: column-reverse; height: 100%; position: relative; }
.chart .col div { border-radius: 2px; } .chart .col div:last-child { border-radius: 4px 4px 0 0; }
.chart .col b { position: absolute; top: -18px; width: 100%; text-align: center; font-size: 11px; color: var(--a-soft); }
.mon { display: flex; gap: 14px; padding: 6px 6px 0; color: var(--a-soft); font-size: 11px; } .mon span { flex: 1; text-align: center; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: #555; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.donut { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; margin: 6px auto; }
.donut div { width: 96px; height: 96px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; }
.donut b { font-size: 22px; display: block; } .donut span { font-size: 11px; color: var(--a-soft); }
.list .it { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #F1F2F6; }
.list .it:first-child { border-top: 0; }
.ava { width: 34px; height: 34px; border-radius: 50%; background: #EDEAFE; color: #4B3DC4; display: grid; place-items: center; font-weight: 700; font-size: 12px; flex: none; }
.it b { display: block; font-weight: 600; } .it span { color: var(--a-soft); font-size: 12px; }
.it .r { margin-left: auto; }
.pl { padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 600; white-space: nowrap; display: inline-block; }
.p-paud { background: #FFF1CC; color: #8A6200; } .p-tk { background: #DDF5EA; color: #1C7A4E; } .p-sd { background: #E9E5FF; color: #4B3DC4; } .p-all { background: #DCEBFA; color: #1F5E99; }
.s-on { background: #E3F7EC; color: #178A4F; } .s-exp { background: #FFF1D6; color: #9A6400; } .s-off { background: #EEEFF3; color: #80859A; } .s-dead { background: #FDECEA; color: #B03A2E; }
.tools2 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ainp { background: #fff; border: 1px solid #E3E5EE; border-radius: 10px; padding: 9px 12px; color: var(--a-ink); outline: none; font-family: inherit; font-size: 14px; }
.ainp:focus { border-color: var(--a-acc); }
select.ainp { padding-right: 28px; }
textarea.ainp { width: 100%; min-height: 160px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; line-height: 1.6; resize: vertical; }
.tbl-wrap { overflow-x: auto; }
table.at { width: 100%; border-collapse: collapse; }
.at th { text-align: left; color: var(--a-soft); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; padding: 10px; border-bottom: 1px solid var(--a-line); white-space: nowrap; }
.at td { padding: 11px 10px; border-bottom: 1px solid #F1F2F6; vertical-align: middle; }
.at tr.click { cursor: pointer; } .at tr.click:hover td { background: #FAFAFE; }
.at .u b { display: block; font-weight: 600; } .at .u span { color: var(--a-soft); font-size: 12px; }
.af { display: block; margin-bottom: 12px; }
.af.row > span { display: inline; }
.af > span { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px; }
.af small { display: block; color: var(--a-soft); font-size: 12px; margin-top: 4px; line-height: 1.5; }
.af .ainp { width: 100%; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.acc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ao { border: 1.5px solid #E3E5EE; border-radius: 12px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; cursor: pointer; background: #fff; text-align: left; font-family: inherit; }
.ao b { display: block; font-size: 13px; } .ao span { font-size: 11px; color: var(--a-soft); }
.ao.sel { border-color: var(--a-acc); background: #F4F2FF; }
.ao .e { font-size: 22px; }
.msg { background: #E7F9EE; border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.6; color: #1F3B2C; white-space: pre-wrap; }
.dgrid { display: grid; grid-template-columns: 320px 1fr; gap: 12px; align-items: start; }
.prof { text-align: center; }
.prof .big { width: 74px; height: 74px; border-radius: 50%; background: #EDEAFE; color: #4B3DC4; display: grid; place-items: center; font-weight: 700; font-size: 24px; margin: 4px auto 8px; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid #F1F2F6; text-align: left; } .kv span { color: var(--a-soft); } .kv b { text-align: right; }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qa button { border: 1px solid var(--a-line); background: #fff; border-radius: 12px; padding: 13px; font-weight: 600; display: flex; gap: 8px; align-items: center; text-align: left; font-family: inherit; font-size: 14px; }
.qa button:hover { background: #FAFAFE; } .qa button.d { color: #C0392B; background: #FFF5F4; border-color: #FADAD6; }
.tl { border-left: 2px solid var(--a-line); margin-left: 6px; padding-left: 16px; display: flex; flex-direction: column; gap: 12px; max-height: 320px; overflow-y: auto; }
.tl div { position: relative; font-size: 13px; } .tl div:before { content: ""; position: absolute; left: -22px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--a-acc); }
.tl span { color: var(--a-soft); display: block; font-size: 11px; }
.bar2 { height: 8px; border-radius: 99px; background: #F1F2F6; margin-top: 6px; overflow: hidden; } .bar2 div { height: 8px; border-radius: 99px; }
.typegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.help { background: #F4F2FF; border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.6; color: #3B3470; }
.help code { background: #fff; border-radius: 5px; padding: 1px 5px; font-size: 12px; }
.adm .modal { font-family: 'Plus Jakarta Sans', sans-serif; }
.chip-a { display: inline-block; background: #F3F4F8; border-radius: 8px; padding: 2px 8px; font-size: 12px; margin: 2px; }
.amobile { display: none; }

/* =====================================================================
   RESPONSIF (HP & tablet)
   ===================================================================== */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; } .hero-art { max-width: 460px; width: 100%; margin: 0 auto; }
  .feats, .prices, .steps { grid-template-columns: 1fr 1fr; }
  .samples, .cats3 { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; } .agrid, .dgrid { grid-template-columns: 1fr; }
  .printopts { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .mapp, .adm { grid-template-columns: 1fr; }
  .mside, .aside { display: none; }
  .mmain, .amain { padding: 14px 14px 90px; }
  .mobilebar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); z-index: 50; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; }
  .mobilebar a { text-decoration: none; text-align: center; font-size: 11px; font-weight: 800; color: var(--soft); padding: 4px 8px; border-radius: 12px; }
  .mobilebar a span { display: block; font-size: 22px; }
  .mobilebar a.on { color: var(--coralD); background: #FFE9E4; }
  .amobile { display: flex; gap: 6px; overflow-x: auto; background: var(--a-side); padding: 10px; position: sticky; top: 0; z-index: 30; }
  .amobile a { color: #C9C6E6; text-decoration: none; white-space: nowrap; padding: 7px 11px; border-radius: 9px; font-size: 13px; font-weight: 600; }
  .amobile a.on { background: var(--a-acc); color: #fff; }
  .hero2, .two, .cats-row { grid-template-columns: 1fr; }
  .pbody { grid-template-columns: minmax(0, 1fr); }
  .opts.short { grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); }
  .opts.short .opt { font-size: 42px; min-height: 96px; }
  .mascot { min-width: 0; }
  .mascot { position: static; display: flex; align-items: center; gap: 10px; padding: 10px; order: -1; }
  .mascot .owl { font-size: 46px; } .bubble { flex: 1; font-size: 16px; min-height: 0; }
  .board { min-height: 0; padding: 18px 12px; border-radius: 26px; }
  .hi h2, .hi p { max-width: 100%; } .hi .art { font-size: 60px; opacity: .5; }
  .g2, .g3, .acc, .qa { grid-template-columns: 1fr; }
  .match { gap: 16px; } .mitem { font-size: 18px; }
  .opts.long { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .feats, .prices, .steps { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; } .kpi b { font-size: 20px; }
  .stats { grid-template-columns: repeat(3, 1fr); } .st b { font-size: 19px; }
  .kgrid { grid-template-columns: 1fr 1fr; gap: 12px; } .kw .e { width: 70px; height: 70px; font-size: 38px; }
  .ptop .circ { width: 46px; height: 46px; }
  .pdots i { width: 12px; height: 12px; }
}

.pr-trrow.blank .model { border-right: 0; color: transparent; }
.mitem.emo { font-size: 40px; }
.math.long { font-size: clamp(22px, 3.4vw, 32px); }
.keypad .ok.wide { grid-column: span 3; }
.maze { max-height: 58vh; }
