/* Alfa Koding — tampilan ramah anak, mobile-first. */
:root {
	--ac-accent: #6366f1;
	--ac-bg: #f6f7ff;
	--ac-ink: #2b2b3a;
	--ac-soft: #6b6b80;
	--ac-card: #ffffff;
	--ac-line: #e2e5f7;
	--ac-good: #2fb36b;
	--ac-bad: #e5484d;
	--ac-star: #ffc21a;
	--ac-radius: 22px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
.ac-body {
	background: var(--ac-bg);
	color: var(--ac-ink);
	font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
	font-size: 18px;
	line-height: 1.45;
	min-height: 100vh;
	-webkit-tap-highlight-color: transparent;
}
.ac-app {
	max-width: 640px;
	margin: 0 auto;
	padding: 16px 16px calc(24px + env(safe-area-inset-bottom));
	min-height: calc(100vh - 48px);
}
.ac-loading, .ac-noscript { text-align: center; padding: 80px 16px; color: var(--ac-soft); }
a { color: var(--ac-accent); }
button { font: inherit; color: inherit; cursor: pointer; }

/* Kartu & tombol */
.ac-card {
	background: var(--ac-card);
	border-radius: var(--ac-radius);
	padding: 20px;
	box-shadow: 0 4px 0 var(--ac-line);
	margin: 16px 0;
}
.ac-center { text-align: center; }
.ac-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 56px; padding: 0 26px;
	border: 0; border-radius: 999px;
	background: var(--ac-accent); color: #fff;
	font-weight: 800; font-size: 20px; text-decoration: none;
	box-shadow: 0 5px 0 rgba(0, 0, 0, .18);
	transition: transform .08s;
}
.ac-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
.ac-btn:disabled { opacity: .5; }
.ac-btn-ghost { background: #fff; color: var(--ac-ink); box-shadow: 0 5px 0 var(--ac-line); }
.ac-danger { color: var(--ac-bad); }
.ac-hint { color: var(--ac-soft); font-size: 15px; }
.ac-note { background: #fff3cd; border-radius: 14px; padding: 12px 14px; font-size: 15px; }
.ac-chip { display: inline-block; background: #ffe9dc; border-radius: 10px; padding: 2px 10px; margin: 2px; font-weight: 700; }
.ac-big { font-size: 72px; line-height: 1.1; }

/* Beranda */
.ac-hero { text-align: center; padding: 24px 8px 8px; }
.ac-hero h1 { margin: 0; font-size: 34px; color: var(--ac-accent); letter-spacing: -.5px; }
.ac-hero p { margin: 6px 0 0; color: var(--ac-soft); }
.ac-h2 { text-align: center; font-size: 22px; margin: 24px 0 12px; }
.ac-kids { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ac-kid {
	position: relative; display: flex; flex-direction: column; align-items: center;
	background: #fff; border-radius: var(--ac-radius); box-shadow: 0 5px 0 var(--ac-line);
	text-decoration: none; color: var(--ac-ink); padding: 18px 10px 14px;
}
.ac-kid-main { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; width: 100%; }
.ac-kid-add { border: 3px dashed var(--ac-line); box-shadow: none; background: transparent; color: var(--ac-soft); }
.ac-kid-edit { position: absolute; top: 6px; right: 10px; text-decoration: none; color: var(--ac-soft); font-size: 20px; padding: 4px; }
.ac-avatar { font-size: 56px; line-height: 1.1; }
.ac-avatar.sm { font-size: 28px; margin-right: 6px; }
.ac-kid-name { font-weight: 800; margin-top: 6px; text-align: center; word-break: break-word; }
.ac-kid-stars { color: #b07d00; font-weight: 800; font-size: 16px; }
.ac-account { text-align: center; color: var(--ac-soft); font-size: 14px; margin-top: 28px; }

/* Formulir */
.ac-form h2 { margin-top: 0; }
.ac-form label { display: block; font-weight: 800; margin: 14px 0 6px; }
.ac-form input {
	width: 100%; font: inherit; font-size: 20px; padding: 12px 14px;
	border: 2px solid var(--ac-line); border-radius: 14px; background: #fffdf9;
}
.ac-form input:focus { outline: none; border-color: var(--ac-accent); }
.ac-avs { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; margin-bottom: 18px; }
.ac-av { font-size: 32px; height: 56px; border: 3px solid transparent; border-radius: 16px; background: #fff6ea; }
.ac-av.on { border-color: var(--ac-accent); background: #ffe9dc; }
.ac-form .ac-btn { width: 100%; margin-top: 10px; }

/* Bilah atas */
.ac-top { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.ac-back {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 10px; border-radius: 14px; background: #fff;
	text-decoration: none; color: var(--ac-ink); font-weight: 800; font-size: 22px; box-shadow: 0 3px 0 var(--ac-line);
}
.ac-who { flex: 1; display: flex; align-items: center; font-weight: 800; font-size: 20px; }

/* Tab jalur */
.ac-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 8px; }
.ac-tab {
	text-align: center; padding: 10px 4px; border-radius: 16px; background: #fff; text-decoration: none;
	color: var(--ac-ink); font-weight: 800; box-shadow: 0 4px 0 var(--ac-line);
}
.ac-tab.on { background: var(--ac-accent); color: #fff; box-shadow: 0 4px 0 rgba(0, 0, 0, .18); }

/* Peta pelajaran */
.ac-path { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 0; }
.ac-node {
	display: flex; flex-direction: column; align-items: center; width: 150px; text-decoration: none; color: var(--ac-ink);
}
.ac-node:nth-child(4n+2) { transform: translateX(60px); }
.ac-node:nth-child(4n) { transform: translateX(-60px); }
.ac-node-icon {
	display: flex; align-items: center; justify-content: center;
	width: 84px; height: 84px; border-radius: 50%;
	background: var(--ac-accent); color: #fff; font-size: 38px; font-weight: 900;
	box-shadow: 0 6px 0 rgba(0, 0, 0, .2);
}
.ac-node.done .ac-node-icon { background: var(--ac-good); }
.ac-node.locked .ac-node-icon { background: #dcd6cc; color: #8a8478; font-size: 30px; box-shadow: 0 6px 0 #c9c2b6; }
.ac-node.current .ac-node-icon { animation: ac-pulse 1.4s ease-in-out infinite; }
.ac-node-title { font-weight: 800; font-size: 15px; margin-top: 8px; text-align: center; }
.ac-node.locked .ac-node-title { color: var(--ac-soft); }
.ac-node-stars { font-size: 18px; letter-spacing: 1px; }
.ac-star { color: #e3ddd2; }
.ac-star.on { color: var(--ac-star); }
.ac-parent summary { font-weight: 800; cursor: pointer; }
.ac-soon h2 { margin: 6px 0; }

/* Pelajaran */
.ac-top-lesson .ac-back { font-size: 18px; }
.ac-bar { flex: 1; height: 16px; background: #fff; border-radius: 999px; overflow: hidden; box-shadow: inset 0 2px 0 var(--ac-line); }
.ac-bar span { display: block; height: 100%; background: var(--ac-good); border-radius: 999px; transition: width .3s; }
.ac-prompt { text-align: center; font-weight: 800; font-size: 20px; margin: 22px 0 8px; }
.ac-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 12px 0; min-height: 320px; }
.ac-say { border: 0; background: none; }
.ac-letter {
	width: 190px; height: 190px; border-radius: 40px; background: #fff;
	font-size: 130px; font-weight: 900; line-height: 1; color: var(--ac-accent);
	box-shadow: 0 8px 0 var(--ac-line);
}
.ac-example { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 800; background: #fff; border-radius: 18px; padding: 8px 18px; box-shadow: 0 4px 0 var(--ac-line); }
.ac-pic { font-size: 40px; }
.ac-pic-big { font-size: 110px; line-height: 1.1; }
.ac-join, .ac-syls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.ac-plus, .ac-dash { font-size: 34px; font-weight: 900; color: var(--ac-soft); }
.ac-tile {
	min-width: 84px; height: 84px; padding: 0 14px; border-radius: 20px; background: #fff;
	font-size: 44px; font-weight: 900; box-shadow: 0 6px 0 var(--ac-line);
}
.ac-tile-hi { background: var(--ac-accent); color: #fff; box-shadow: 0 6px 0 rgba(0, 0, 0, .2); }
.ac-word { font-size: 54px; font-weight: 900; letter-spacing: 2px; color: var(--ac-accent); }
.ac-speaker {
	width: 120px; height: 120px; border-radius: 50%; background: var(--ac-accent); color: #fff;
	font-size: 56px; box-shadow: 0 7px 0 rgba(0, 0, 0, .2);
}
.ac-read { font-size: 56px; font-weight: 900; letter-spacing: 2px; text-align: center; background: #fff; border-radius: 24px; padding: 10px 26px; box-shadow: 0 6px 0 var(--ac-line); }
.ac-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; }
.ac-opt {
	min-height: 96px; border: 0; border-radius: 22px; background: #fff;
	font-size: 46px; font-weight: 900; box-shadow: 0 6px 0 var(--ac-line);
	transition: transform .08s, background .2s;
}
.ac-opt:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--ac-line); }
.ac-opt-pic { font-size: 60px; }
.ac-opt.right { background: var(--ac-good); color: #fff; animation: ac-pop .35s; }
.ac-opt.used { opacity: .25; }
.ac-options-tiles { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
.ac-help { font-size: 16px; color: var(--ac-soft); font-weight: 700; padding: 8px 12px; }
.ac-slots { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ac-slot {
	min-width: 84px; height: 76px; padding: 0 10px; border-radius: 18px; border: 3px dashed #e2d3bd;
	display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 900;
}
.ac-slot.filled { border: 3px solid var(--ac-good); background: #e8f8ef; animation: ac-pop .3s; }
.ac-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.ac-nav .ac-btn:last-child { flex: 1; }
.ac-cheer { position: absolute; top: 30%; font-size: 90px; animation: ac-cheer 1s ease-out forwards; pointer-events: none; }

/* Hitung */
.ac-visual { display: flex; flex-direction: column; align-items: center; gap: 12px; transition: opacity .25s; }
.ac-visual.hidden { opacity: 0; pointer-events: none; }
.ac-objs { display: grid; grid-template-columns: repeat(5, auto); justify-content: center; gap: 6px; font-size: 44px; line-height: 1.1; }
.ac-objs.sm { font-size: 22px; gap: 2px; }
.ac-obj { display: inline-block; transition: opacity .2s, transform .2s; }
.ac-obj.gone { opacity: .25; position: relative; }
.ac-obj.gone::after { content: "✕"; position: absolute; inset: 0; color: var(--ac-bad); font-weight: 900; text-align: center; }
.ac-count .ac-tap { border: 0; background: #fff; border-radius: 16px; padding: 4px; font-size: 40px; box-shadow: 0 4px 0 var(--ac-line); }
.ac-count .ac-tap.on { background: #e8f8ef; box-shadow: 0 4px 0 #bfe8cf; transform: scale(.92); }
.ac-numeral {
	font-size: 110px; font-weight: 900; line-height: 1; color: var(--ac-accent);
	background: #fff; border: 0; border-radius: 32px; padding: 10px 34px; box-shadow: 0 7px 0 var(--ac-line);
}
.ac-numword { font-size: 26px; font-weight: 800; color: var(--ac-soft); }
.ac-opt-num { font-size: 54px; }
.ac-opt-group { padding: 10px 6px; min-height: 110px; }
.ac-options-2 { grid-template-columns: 1fr 1fr; }
.ac-options-2 .ac-objs.sm { font-size: 26px; }
.ac-dice { display: grid; grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(3, 44px); gap: 10px; padding: 18px; background: #fff; border-radius: 28px; box-shadow: 0 7px 0 var(--ac-line); }
.ac-dice span { border-radius: 50%; }
.ac-dice span.on { background: var(--ac-accent); }
.ac-compare { display: flex; gap: 14px; justify-content: center; }
.ac-compare > div { display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border-radius: 20px; padding: 12px; box-shadow: 0 5px 0 var(--ac-line); }
.ac-compare > div.win { outline: 4px solid var(--ac-good); }
.ac-compare b { font-size: 34px; }
.ac-numline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; width: 100%; }
.ac-num-btn { min-height: 64px; border-radius: 18px; background: #fff !important; font-size: 34px; font-weight: 900; box-shadow: 0 5px 0 var(--ac-line); }
.ac-seqs { display: flex; gap: 10px; justify-content: center; }
.ac-seq { min-width: 64px; height: 76px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 18px; font-size: 40px; font-weight: 900; box-shadow: 0 5px 0 var(--ac-line); }
.ac-seq.q { background: #ffe9dc; color: var(--ac-accent); border: 3px dashed var(--ac-accent); }
.ac-sum { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.ac-sum .ac-objs.sm { font-size: 28px; background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 4px 0 var(--ac-line); }
.ac-eq { font-size: 44px; font-weight: 900; letter-spacing: 2px; }
.ac-explain { text-align: center; font-size: 20px; font-weight: 700; max-width: 320px; margin: 0; }
.ac-glyph { font-size: 120px; font-weight: 900; color: #e7d7c2; line-height: 1; }

/* Tulis (tracing) */
.ac-trace { width: 100%; max-width: 360px; display: flex; justify-content: center; }
.ac-canvas { background: #fff; border-radius: 28px; box-shadow: 0 7px 0 var(--ac-line); touch-action: none; -webkit-user-select: none; user-select: none; }
.ac-canvas.shake { background: #fff !important; outline: 4px solid #ffc9c9; }
.ac-trace-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; width: 100%; max-width: 360px; }

/* Hasil */
.ac-result { text-align: center; padding-top: 24px; }
.ac-result h2 { font-size: 32px; margin: 8px 0; }
.ac-result-stars { font-size: 56px; letter-spacing: 6px; }
.ac-result-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.ac-rest { background: #e8f6ff; box-shadow: 0 4px 0 #cfe6f5; }

/* Animasi */
.pop { animation: ac-pop .3s; }
.shake { animation: ac-shake .4s; background: #ffe5e5 !important; }
.ac-bounce { animation: ac-bounce 1s ease-in-out infinite; }
@keyframes ac-pop { 0% { transform: scale(1); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes ac-shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@keyframes ac-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes ac-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ac-cheer { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1.2); } 100% { opacity: 0; transform: scale(1) translateY(-60px); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Hadiah & album */
.ac-btn-sm { min-height: 44px; padding: 0 18px; font-size: 16px; }
.ac-left { text-align: left; margin: 0 0 10px; }
.ac-h2 small, .ac-track-card h3 small { color: var(--ac-soft); font-weight: 700; font-size: 15px; }
.ac-h3 { font-size: 17px; margin: 18px 0 8px; }
.ac-streak { font-weight: 800; color: #d9480f; font-size: 16px; }
.ac-album-btn { text-decoration: none; font-size: 24px; background: #fff; border-radius: 14px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 3px 0 var(--ac-line); }
.ac-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.ac-badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 12px 8px; border-radius: 18px; background: #f6f1ea; color: var(--ac-soft); }
.ac-badge.on { background: #fff6dc; color: var(--ac-ink); box-shadow: 0 4px 0 #f3e2b0; }
.ac-badge-icon { font-size: 38px; }
.ac-badge:not(.on) .ac-badge-icon { opacity: .5; }
.ac-badge strong { font-size: 15px; }
.ac-badge small { font-size: 12px; line-height: 1.3; }
.ac-sticks { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
.ac-stick { height: 58px; border: 0; border-radius: 16px; background: #f1ebe2; color: #c8bfb2; font-size: 26px; font-weight: 900; }
.ac-stick.on { background: #fff; font-size: 34px; box-shadow: 0 4px 0 var(--ac-line); }
.ac-reward { display: block; text-decoration: none; color: var(--ac-ink); background: #fff6dc; box-shadow: 0 4px 0 #f3e2b0; animation: ac-pop .5s; }
.ac-reward-title { font-weight: 900; margin: 0 0 8px; }
.ac-reward-items { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ac-reward-item { display: flex; flex-direction: column; align-items: center; font-size: 13px; font-weight: 700; max-width: 100px; }
.ac-sticker { font-size: 54px; line-height: 1.1; animation: ac-bounce 1.2s ease-in-out infinite; }

/* Ruang orang tua */
.ac-gate-q { font-size: 34px !important; text-align: center; }
#ac-gate input { text-align: center; font-size: 30px; }
.ac-chips-kid { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.ac-chip-kid { text-decoration: none; color: var(--ac-ink); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 800; box-shadow: 0 3px 0 var(--ac-line); }
.ac-chip-kid.on { background: var(--ac-accent); color: #fff; }
.ac-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ac-tile-stat { background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 4px 0 var(--ac-line); display: flex; flex-direction: column; }
.ac-tile-stat span { font-size: 22px; }
.ac-tile-stat strong { font-size: 28px; line-height: 1.1; }
.ac-tile-stat small { color: var(--ac-soft); font-size: 13px; }
.is-parent .ac-card h3 { margin: 0 0 10px; font-size: 18px; }
.ac-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 150px; align-items: end; }
.ac-bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.ac-bar-fill { width: 70%; min-height: 3px; background: var(--ac-accent); border-radius: 8px 8px 3px 3px; }
.ac-bar-val { font-size: 11px; color: var(--ac-soft); font-weight: 700; }
.ac-bar-lbl { font-size: 12px; color: var(--ac-soft); margin-top: 4px; font-weight: 700; }
.ac-progress { height: 12px; background: #f3ece2; border-radius: 999px; overflow: hidden; }
.ac-progress span { display: block; height: 100%; background: var(--ac-good); border-radius: 999px; }
.ac-track-card p { margin: 8px 0; font-size: 16px; }
.ac-recent { list-style: none; margin: 0; padding: 0; }
.ac-recent li { display: grid; grid-template-columns: 92px 1fr; gap: 0 10px; padding: 8px 0; border-bottom: 1px solid #f3ece2; font-size: 15px; }
.ac-recent li:last-child { border-bottom: 0; }
.ac-when { color: var(--ac-soft); grid-row: span 2; }
.ac-what { font-weight: 700; }
.ac-how { font-size: 13px; color: var(--ac-soft); }
.ac-how .ac-star { font-size: 13px; }

/* Pro & materi tambahan */
.ac-node.pro .ac-node-icon { background: #ffe9a8; color: #8a6200; box-shadow: 0 6px 0 #f0d277; font-size: 34px; }
.ac-node.pro .ac-node-title { color: var(--ac-soft); }
.ac-path-sep { align-self: stretch; text-align: center; font-weight: 800; color: var(--ac-soft); border-top: 2px dashed var(--ac-line); padding-top: 10px; margin-top: 8px; }
.ac-pro-card p { max-width: 420px; margin-left: auto; margin-right: auto; }
.ac-img { width: 1em; height: 1em; object-fit: contain; vertical-align: middle; border-radius: .12em; }
.ac-pic-big .ac-img { width: 150px; height: 150px; border-radius: 24px; }
.ac-opt-pic .ac-img { width: 72px; height: 72px; border-radius: 14px; }
.ac-pic .ac-img { width: 42px; height: 42px; }

/* Lembar kerja */
.ac-sheet-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-sheet-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ac-sheet-controls label { font-weight: 800; display: flex; align-items: center; gap: 6px; }
.ac-sheet-controls input, .ac-sheet-controls select { font: inherit; padding: 8px 10px; border: 2px solid var(--ac-line); border-radius: 12px; background: #fff; }
.ac-sheet { background: #fff; color: #222; border-radius: 6px; box-shadow: 0 2px 12px rgba(0, 0, 0, .08); padding: 28px 30px; margin: 12px 0; font-family: var(--sheet-font, sans-serif); }
.is-sheet.ac-app { max-width: 820px; }
.ac-sheet-head { display: flex; justify-content: space-between; gap: 16px; border-bottom: 2px solid #222; padding-bottom: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.ac-sheet-head h1 { margin: 0; font-size: 26px; }
.ac-sheet-head p { margin: 2px 0 0; font-size: 14px; color: #555; }
.ac-sheet-meta { display: flex; flex-direction: column; font-size: 14px; gap: 4px; }
.ac-trace-row { display: block; width: 100%; height: auto; margin: 4px 0 8px; }
.ac-trace-row .l { stroke: #9aa5b1; stroke-width: 1.2; }
.ac-trace-row .mid { stroke-dasharray: 6 6; stroke: #c5ccd3; }
.ac-trace-row .base { stroke: #e36d6d; stroke-width: 1.5; }
.ac-trace-row text { font-family: var(--sheet-font, sans-serif); text-anchor: middle; font-weight: 600; }
.ac-trace-row .solid { fill: #222; }
.ac-trace-row .ghost { fill: #f1f1f4; }
.ac-trace-row .dots { fill: url(#acdots); }
.ac-sheet-numrow { display: flex; align-items: center; gap: 8px; }
.ac-sheet-numrow .ac-trace-row { flex: 1; }
.ac-sheet-dots { width: 92px; flex: none; font-size: 14px; letter-spacing: 2px; color: #444; word-break: break-all; line-height: 1.3; }
.ac-sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ac-sheet-cell, .ac-sheet-word { position: relative; border: 1.5px solid #cfd4da; border-radius: 12px; padding: 12px 12px 12px 34px; display: flex; align-items: center; gap: 10px; min-height: 92px; break-inside: avoid; }
.ac-sheet-no { position: absolute; left: 10px; top: 8px; font-weight: 800; color: #888; font-size: 14px; }
.ac-sheet-objs { flex: 1; font-size: 24px; line-height: 1.35; letter-spacing: 1px; }
.ac-sheet-objs s { opacity: .45; }
.ac-sheet-box { flex: none; display: inline-block; width: 52px; height: 52px; border: 2px solid #444; border-radius: 8px; vertical-align: middle; }
.ac-sheet-eq { font-size: 22px; font-weight: 700; white-space: nowrap; }
.ac-sheet-eq .ac-sheet-box { width: 44px; height: 40px; }
.ac-sheet-cell:has(.ac-sheet-eq) { flex-direction: column; align-items: flex-start; }
.ac-sheet-pic { font-size: 40px; line-height: 1; }
.ac-sheet-pic .ac-img { width: 48px; height: 48px; }
.ac-sheet-syl { font-size: 28px; font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ac-sheet-blank { display: inline-block; width: 60px; height: 40px; border-bottom: 3px solid #444; }
.ac-sheet-bank { display: flex; flex-wrap: wrap; gap: 8px; border: 2px dashed #9aa5b1; border-radius: 12px; padding: 10px; margin-bottom: 14px; }
.ac-sheet-bank span { font-size: 22px; font-weight: 700; padding: 2px 12px; border-radius: 8px; background: #f3f4f6; }
.ac-sheet-key { font-size: 11px; color: #888; margin-top: 18px; border-top: 1px dashed #ccc; padding-top: 6px; }
.ac-sheet-credit { font-size: 10px; color: #aaa; text-align: right; margin: 6px 0 0; }
.ac-sheet-empty { font-size: 18px; text-align: center; padding: 40px 0; }
.ac-print-only { display: none; }

@media print {
	@page { size: A4; margin: 12mm; }
	.ac-body { background: #fff; }
	.no-print, .ac-top, .ac-credit, .ac-toast, .ac-noscript { display: none !important; }
	.ac-app { max-width: none !important; padding: 0 !important; min-height: 0; }
	.ac-print-only { display: block; }
	.ac-sheet { box-shadow: none; padding: 0; margin: 0; border-radius: 0; }
	.ac-card, .ac-tile-stat { box-shadow: none !important; border: 1px solid #ddd; break-inside: avoid; }
	.ac-report-head h1 { margin: 0 0 4px; font-size: 22px; }
	.ac-report-head p { margin: 0 0 12px; color: #555; font-size: 13px; }
	.ac-stats { grid-template-columns: repeat(4, 1fr); }
	* { -webkit-print-color-adjust: exact; print-color-adjust: exact; animation: none !important; }
}

/* ------------------------------------------------------------------
 * Beranda & landing
 * ---------------------------------------------------------------- */
.ac-body {
	background:
		radial-gradient(900px 500px at 100% -10%, rgba(99, 102, 241, .10), transparent 60%),
		radial-gradient(700px 500px at -10% 20%, rgba(6, 182, 212, .08), transparent 60%),
		var(--ac-bg);
	background-attachment: fixed;
}
.ac-app.is-home { max-width: 760px; }
.ac-app.is-landing { max-width: 1080px; }
.ac-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0 8px; }
.ac-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; letter-spacing: -.3px; }
.ac-brand-mark {
	width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 16px;
	background: linear-gradient(135deg, var(--ac-accent), #ff4f81); box-shadow: 0 6px 14px rgba(255, 105, 80, .3);
}
.ac-topbar-link { font-weight: 800; text-decoration: none; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: 0 3px 0 var(--ac-line); font-size: 15px; }
.ac-topbar-user { font-weight: 700; color: var(--ac-soft); font-size: 15px; }
.ac-btn-lg { min-height: 60px; padding: 0 30px; font-size: 19px; }
.ac-btn-light { background: #fff; color: var(--ac-ink); box-shadow: 0 6px 0 rgba(0, 0, 0, .15); }

.ac-lp-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; padding: 36px 0 28px; }
.ac-lp-eyebrow { display: inline-block; font-size: 14px; font-weight: 800; color: var(--ac-accent); background: #fff; border-radius: 999px; padding: 6px 14px; box-shadow: 0 3px 0 var(--ac-line); margin: 0; }
.ac-lp-copy h1 { font-size: clamp(32px, 5.2vw, 52px); line-height: 1.08; letter-spacing: -1.2px; margin: 18px 0 14px; font-weight: 900; }
.ac-lp-copy h1 span { background: linear-gradient(120deg, var(--ac-accent), #ff4f81); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ac-lp-sub { font-size: 19px; color: var(--ac-soft); margin: 0 0 24px; max-width: 540px; }
.ac-lp-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ac-lp-micro { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ac-soft); font-size: 15px; font-weight: 700; }
.ac-lp-micro li::before { content: "✓ "; color: var(--ac-good); font-weight: 900; }

.ac-lp-art { position: relative; aspect-ratio: 1 / 1; max-width: 400px; width: 100%; justify-self: center; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 14px; padding: 18px; }
.ac-lp-art::before { content: ""; position: absolute; inset: 6%; border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; background: linear-gradient(145deg, #fff1e6, #ffe3ef 55%, #ece8ff); z-index: 0; }
.ac-lp-tile {
	position: relative; z-index: 1; display: grid; place-items: center; border-radius: 26px; background: #fff; font-weight: 900; font-size: clamp(30px, 5vw, 48px);
	box-shadow: 0 10px 24px rgba(43, 43, 58, .10), 0 4px 0 var(--ac-line); animation: ac-float 5s ease-in-out infinite;
}
.ac-lp-tile.t1 { grid-area: 1 / 1; color: var(--ac-accent); transform: rotate(-8deg); }
.ac-lp-tile.t2 { grid-area: 1 / 3; color: #7c5cff; transform: rotate(7deg); animation-delay: -1.2s; }
.ac-lp-tile.t3 { grid-area: 2 / 2; color: #fff; background: linear-gradient(135deg, var(--ac-accent), #ff4f81); font-size: clamp(28px, 4.4vw, 42px); animation-delay: -2.1s; }
.ac-lp-tile.t4 { grid-area: 3 / 1; transform: rotate(6deg); animation-delay: -3s; }
.ac-lp-tile.t5 { grid-area: 3 / 3; transform: rotate(-6deg); animation-delay: -.6s; }
.ac-lp-tile.t6 { grid-area: 2 / 1; transform: rotate(4deg) scale(.75); background: #fff6dc; animation-delay: -1.8s; }
.ac-lp-bubble { position: absolute; z-index: 2; right: 2%; top: 44%; background: var(--ac-ink); color: #fff; font-weight: 800; font-size: 15px; padding: 9px 14px; border-radius: 16px 16px 16px 4px; box-shadow: 0 10px 20px rgba(0, 0, 0, .15); animation: ac-float 4s ease-in-out infinite -1s; }
@keyframes ac-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.ac-lp-sec { padding: 40px 0 8px; }
.ac-lp-kicker { margin: 0; font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--ac-accent); text-align: center; }
.ac-lp-sec h2 { text-align: center; font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -.6px; line-height: 1.15; margin: 8px auto 24px; max-width: 620px; }
.ac-lp-tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ac-lp-track { background: #fff; border-radius: 26px; padding: 24px; box-shadow: 0 6px 0 var(--ac-line), 0 16px 30px rgba(43, 43, 58, .05); display: flex; flex-direction: column; }
.ac-lp-track-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 30px; margin-bottom: 14px; }
.ac-lp-baca .ac-lp-track-ic { background: #ffe9dc; }
.ac-lp-tulis .ac-lp-track-ic { background: #ece8ff; }
.ac-lp-hitung .ac-lp-track-ic { background: #e2f6ec; }
.ac-lp-track h3 { margin: 0 0 6px; font-size: 22px; }
.ac-lp-track p { margin: 0 0 16px; color: var(--ac-soft); font-size: 16px; flex: 1; }
.ac-lp-count { align-self: flex-start; font-size: 13px; font-weight: 800; color: var(--ac-soft); background: #f6f1ea; padding: 4px 12px; border-radius: 999px; }

.ac-lp-steps { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ac-lp-steps li { counter-increment: st; position: relative; background: #fff; border-radius: 24px; padding: 62px 22px 22px; box-shadow: 0 6px 0 var(--ac-line); }
.ac-lp-steps li::before { content: counter(st); position: absolute; top: 20px; left: 22px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 900; background: linear-gradient(135deg, var(--ac-accent), #ff4f81); }
.ac-lp-steps b { display: block; font-size: 19px; margin-bottom: 6px; }
.ac-lp-steps span { color: var(--ac-soft); font-size: 16px; }

.ac-lp-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ac-lp-feat { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 22px; padding: 18px 20px; box-shadow: 0 4px 0 var(--ac-line); }
.ac-lp-feat > span { font-size: 28px; width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: #fff6ea; border-radius: 16px; }
.ac-lp-feat h3 { margin: 2px 0 4px; font-size: 18px; }
.ac-lp-feat p { margin: 0; color: var(--ac-soft); font-size: 15.5px; }
.ac-lp-note { text-align: center; color: var(--ac-soft); font-size: 15px; max-width: 620px; margin: 22px auto 0; }

.ac-lp-final { margin: 44px 0 10px; text-align: center; color: #fff; border-radius: 32px; padding: 44px 24px; background: radial-gradient(120% 140% at 100% 0%, #ff4f81, transparent 55%), radial-gradient(120% 140% at 0% 100%, #7c5cff, transparent 60%), var(--ac-accent); box-shadow: 0 18px 40px rgba(255, 105, 80, .25); }
.ac-lp-final h2 { margin: 0 0 8px; font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -.5px; }
.ac-lp-final p { margin: 0 auto 22px; max-width: 480px; opacity: .92; font-size: 17px; }

/* Beranda anak yang kembali */
.ac-hero-back { padding-top: 22px; }
.ac-hero-back h1 { color: var(--ac-ink); font-size: clamp(28px, 5vw, 38px); letter-spacing: -.6px; margin-top: 14px; }
.ac-kid-meta { display: flex; gap: 10px; align-items: center; margin-top: 2px; }
.ac-kid-prog { display: block; width: 80%; height: 8px; border-radius: 99px; background: #f3ece2; margin: 10px 0 6px; overflow: hidden; }
.ac-kid-prog i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--ac-accent), #ff4f81); }
.ac-kid-go { font-size: 14px; font-weight: 800; color: var(--ac-accent); margin-top: 4px; }
.ac-kid { transition: transform .15s; }
.ac-kid:hover { transform: translateY(-3px); }
.ac-home-links { text-align: center; margin-top: 22px; }

@media (max-width: 820px) {
	.ac-lp-hero { grid-template-columns: 1fr; padding-top: 20px; gap: 8px; }
	.ac-lp-art { max-width: 220px; order: -1; gap: 10px; padding: 8px; }
	.ac-lp-tile { border-radius: 18px; font-size: 28px; }
	.ac-lp-tile.t3 { font-size: 24px; }
	.ac-lp-bubble { font-size: 12px; padding: 6px 10px; right: -18%; top: auto; bottom: 30%; }
	.ac-lp-copy h1 { margin-top: 14px; }
	.ac-lp-sub { font-size: 17px; }
	.ac-lp-tracks, .ac-lp-steps { grid-template-columns: 1fr; }
	.ac-lp-feats { grid-template-columns: 1fr; }
	.ac-lp-copy { text-align: center; }
	.ac-lp-sub { margin-left: auto; margin-right: auto; }
	.ac-lp-ctas, .ac-lp-micro { justify-content: center; }
	.ac-lp-ctas .ac-btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------
 * Akses berbayar: daftar, masuk, checkout, pembayaran
 * ---------------------------------------------------------------- */
.ac-app.is-pay, .ac-app.is-auth { max-width: 1040px; }
.ac-topbar-cta { background: linear-gradient(135deg, var(--ac-accent), #ff4f81); color: #fff !important; box-shadow: 0 4px 12px rgba(255, 105, 80, .3); }
.ac-stack { display: flex; flex-direction: column; gap: 10px; align-items: center; margin-top: 16px; }
.ac-btn-block { width: 100%; }
.ac-linkbtn { background: none; border: 0; color: var(--ac-soft); text-decoration: underline; font-size: 14px; padding: 8px; }
.ac-lp-lead { text-align: center; color: var(--ac-soft); font-size: 17px; max-width: 560px; margin: -10px auto 22px; }

/* Pita status */
.ac-banner { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 20px; margin: 4px 0 18px; text-decoration: none; color: var(--ac-ink); background: linear-gradient(135deg, #fff3e6, #ffe9f1); box-shadow: 0 4px 0 #f7dcc6; }
.ac-banner > span { font-size: 28px; }
.ac-banner p { margin: 0; flex: 1; font-size: 15.5px; }
.ac-banner.ok { background: #e8f8ef; box-shadow: 0 4px 0 #c9ecd7; }
.ac-banner.warn { background: #fff6dc; box-shadow: 0 4px 0 #f3e2b0; }
.ac-banner-cta { color: var(--ac-accent); white-space: nowrap; }

/* Kartu paket */
.ac-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; align-items: stretch; margin: 8px 0 20px; }
.ac-plan { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 26px; padding: 26px 22px 22px; box-shadow: 0 6px 0 var(--ac-line), 0 16px 32px rgba(43, 43, 58, .05); border: 2px solid transparent; }
.ac-plan.hot { border-color: var(--ac-accent); box-shadow: 0 6px 0 #ffd4bd, 0 20px 40px rgba(255, 105, 80, .16); transform: translateY(-4px); }
.ac-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--ac-accent), #ff4f81); color: #fff; font-size: 12.5px; font-weight: 900; padding: 5px 14px; border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 10px rgba(255, 105, 80, .3); }
.ac-plan h3 { margin: 0; font-size: 18px; color: var(--ac-soft); font-weight: 800; }
.ac-plan-price { margin: 6px 0 2px; font-size: 34px; font-weight: 900; letter-spacing: -.8px; line-height: 1.1; }
.ac-plan-sub { margin: 0 0 10px; color: var(--ac-soft); font-size: 14.5px; }
.ac-plan-sub b { color: var(--ac-good); }
.ac-plan-note { margin: 0 0 18px; font-size: 15px; flex: 1; }
.ac-plan .ac-btn { width: 100%; margin-top: auto; }
.ac-plans.compact .ac-plan { padding: 22px 18px 18px; }
.ac-plans.compact .ac-plan-price { font-size: 30px; }

/* Daftar & masuk */
.ac-auth { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: start; padding: 18px 0 10px; }
.ac-auth-card { background: #fff; border-radius: 28px; padding: 30px 28px; box-shadow: 0 8px 0 var(--ac-line), 0 20px 40px rgba(43, 43, 58, .06); }
.ac-auth-card h1 { margin: 14px 0 6px; font-size: clamp(26px, 4vw, 34px); letter-spacing: -.6px; line-height: 1.15; }
.ac-auth-sub { color: var(--ac-soft); margin: 0 0 18px; }
.ac-form-fields label { display: block; font-weight: 800; font-size: 15px; margin: 14px 0 6px; }
.ac-form-fields input { width: 100%; font: inherit; font-size: 17px; padding: 13px 15px; border: 2px solid var(--ac-line); border-radius: 14px; background: #fffdf9; color: var(--ac-ink); }
.ac-form-fields input:focus { outline: none; border-color: var(--ac-accent); background: #fff; box-shadow: 0 0 0 4px rgba(99, 102, 241, .14); }
.ac-field-hint { margin: 6px 0 0; font-size: 13px; }
.ac-pass { position: relative; }
.ac-pass input { padding-right: 52px; }
.ac-pass-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 18px; padding: 6px; opacity: .6; }
.ac-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ac-form-err { background: #fdecef; color: #b42343; border-radius: 12px; padding: 10px 14px; font-size: 15px; margin: 16px 0 0; }
.ac-form-err a { color: inherit; font-weight: 800; }
.ac-auth-card .ac-btn-block { margin-top: 20px; }
.ac-auth-alt { text-align: center; margin: 16px 0 6px; font-size: 15px; color: var(--ac-soft); }
.ac-auth-alt a { font-weight: 800; }
.ac-auth-side { border-radius: 28px; padding: 28px 24px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #ff4f81, transparent 55%), radial-gradient(120% 140% at 0% 100%, #7c5cff, transparent 60%), #2b2b3a; box-shadow: 0 18px 40px rgba(43, 43, 58, .2); }
.ac-auth-side h2 { margin: 0 0 16px; font-size: 22px; }
.ac-auth-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ac-auth-side li { display: flex; gap: 12px; align-items: flex-start; }
.ac-auth-side li > span { font-size: 22px; width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 13px; background: rgba(255, 255, 255, .12); }
.ac-auth-side b { display: block; font-size: 16px; }
.ac-auth-side small { color: rgba(255, 255, 255, .78); font-size: 14px; }
.ac-auth-price { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); font-weight: 800; color: #ffd166; }

/* Checkout */
.ac-co-head { text-align: center; padding: 22px 0 10px; }
.ac-co-head h1 { margin: 14px auto 8px; font-size: clamp(28px, 4.6vw, 42px); letter-spacing: -.8px; line-height: 1.12; max-width: 680px; }
.ac-co-head p { color: var(--ac-soft); font-size: 17.5px; margin: 0 auto 18px; max-width: 560px; }
.ac-co-head.small h1 { font-size: clamp(26px, 4vw, 34px); }
.ac-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; color: var(--ac-soft); font-size: 14.5px; font-weight: 700; margin: 6px 0 22px; }
.ac-co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.ac-co-grid .ac-card { margin: 0; }
.ac-co-grid h2 { margin: 0 0 14px; font-size: 20px; }
.ac-gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ac-gets li { display: flex; gap: 12px; align-items: flex-start; }
.ac-gets li > span { font-size: 22px; width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 13px; background: #fff3e6; }
.ac-gets b { display: block; }
.ac-gets small { color: var(--ac-soft); font-size: 14.5px; }
.ac-faq { border-top: 1px solid #f3ece2; padding: 12px 0; }
.ac-faq:first-of-type { border-top: 0; padding-top: 0; }
.ac-faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.ac-faq summary::after { content: "+"; color: var(--ac-accent); font-size: 20px; line-height: 1; }
.ac-faq[open] summary::after { content: "–"; }
.ac-faq p { margin: 8px 0 0; color: var(--ac-soft); font-size: 15px; }

/* Pembayaran */
.ac-stepper { list-style: none; display: flex; gap: 6px; margin: 4px auto 22px; padding: 0; max-width: 640px; }
.ac-stepper li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--ac-soft); text-align: center; position: relative; }
.ac-stepper li span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 3px 0 var(--ac-line); font-size: 14px; position: relative; z-index: 1; }
.ac-stepper li::before { content: ""; position: absolute; top: 16px; left: -50%; width: 100%; height: 3px; background: var(--ac-line); }
.ac-stepper li:first-child::before { display: none; }
.ac-stepper li.done span { background: var(--ac-good); color: #fff; box-shadow: none; }
.ac-stepper li.done::before, .ac-stepper li.now::before { background: var(--ac-good); }
.ac-stepper li.now { color: var(--ac-ink); }
.ac-stepper li.now span { background: var(--ac-accent); color: #fff; box-shadow: 0 0 0 5px rgba(99, 102, 241, .2); }
.ac-pay-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ac-pay-grid .ac-card { margin: 0; }
.ac-pay-main h3 { font-size: 16px; margin: 22px 0 10px; }
.ac-pay-label { margin: 0; color: var(--ac-soft); font-weight: 700; }
.ac-pay-total { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 6px; }
.ac-pay-total b { font-size: clamp(34px, 6vw, 44px); letter-spacing: -1px; }
.ac-copy { border: 0; background: #fff0e6; color: #c4561f; font-weight: 800; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; }
.ac-copy.ok { background: #e8f8ef; color: var(--ac-good); }
.ac-deadline { background: #fff6dc; border-radius: 12px; padding: 10px 14px; font-size: 15px; margin: 12px 0 0; }
.ac-banks { display: grid; gap: 10px; }
.ac-bank { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 2px solid var(--ac-line); border-radius: 16px; }
.ac-bank b { display: block; font-size: 14px; color: var(--ac-soft); }
.ac-bank-no { display: block; font-size: 21px; font-weight: 900; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.ac-bank small { color: var(--ac-soft); }
.ac-drop { display: flex; align-items: center; gap: 14px; padding: 16px; border: 2px dashed #e6d5c0; border-radius: 18px; background: #fffaf4; cursor: pointer; margin-bottom: 12px; position: relative; }
.ac-drop:hover { border-color: var(--ac-accent); }
.ac-drop.has { border-style: solid; border-color: var(--ac-good); background: #f3fbf6; }
.ac-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ac-drop-ic { font-size: 30px; }
.ac-drop-txt { flex: 1; min-width: 0; }
.ac-drop-txt b { display: block; word-break: break-all; }
.ac-drop-txt small { color: var(--ac-soft); font-size: 13px; }
.ac-drop img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.ac-wa { margin-top: 10px; }
.ac-pay-sum h2 { margin: 0 0 12px; font-size: 18px; }
.ac-pay-sum dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin: 0; font-size: 15px; }
.ac-pay-sum dt { color: var(--ac-soft); }
.ac-pay-sum dd { margin: 0; text-align: right; font-weight: 700; }
.ac-pay-sum .tot { border-top: 1px dashed #ecdcc8; padding-top: 10px; font-size: 17px; font-weight: 900; color: var(--ac-ink); }
.ac-pay-done h2 { font-size: 28px; }

@media (max-width: 820px) {
	.ac-auth, .ac-co-grid, .ac-pay-grid { grid-template-columns: 1fr; }
	.ac-auth-side { order: 2; }
	.ac-plan.hot { transform: none; }
	.ac-pay-sum { order: -1; }
	.ac-stepper li { font-size: 11px; }
}

/* ------------------------------------------------------------------
 * Landing v1.4: mockup, demo, jejak pelajaran, ruang orang tua, mitra
 * ---------------------------------------------------------------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.ac-center-row { justify-content: center; }

/* Mockup ponsel di hero */
.ac-lp-mock { position: relative; justify-self: center; width: 100%; max-width: 360px; padding: 20px 30px; }
.ac-lp-mock::before { content: ""; position: absolute; inset: 0 -10px; border-radius: 44% 56% 52% 48% / 52% 44% 56% 48%; background: linear-gradient(145deg, #fff1e6, #ffe3ef 55%, #ece8ff); }
.ac-phone { position: relative; z-index: 1; background: #fffaf3; border: 10px solid #2b2b3a; border-radius: 40px; padding: 20px 18px 24px; box-shadow: 0 30px 60px rgba(43, 43, 58, .25); transform: rotate(-3deg); }
.ac-phone-bar { height: 10px; border-radius: 99px; background: #fff; box-shadow: inset 0 1px 0 var(--ac-line); overflow: hidden; }
.ac-phone-bar span { display: block; width: 62%; height: 100%; background: var(--ac-good); border-radius: 99px; }
.ac-phone-q { text-align: center; font-weight: 800; font-size: 14px; margin: 16px 0 10px; }
.ac-phone-spk { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; background: var(--ac-accent); box-shadow: 0 5px 0 rgba(0, 0, 0, .18); }
.ac-phone-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ac-phone-opts span { display: grid; place-items: center; height: 62px; border-radius: 16px; background: #fff; font-size: 26px; font-weight: 900; box-shadow: 0 4px 0 var(--ac-line); }
.ac-phone-opts .ok { background: var(--ac-good); color: #fff; box-shadow: 0 4px 0 #1f8a50; }
.ac-phone-stars { text-align: center; color: var(--ac-star); font-size: 26px; letter-spacing: 6px; margin-top: 14px; }
.ac-float { position: absolute; z-index: 2; background: #fff; border-radius: 14px; padding: 8px 12px; font-weight: 800; font-size: 14px; box-shadow: 0 10px 24px rgba(43, 43, 58, .14); white-space: nowrap; animation: ac-float 5s ease-in-out infinite; }
.ac-float.f1 { top: 8%; left: -6%; }
.ac-float.f2 { top: 46%; right: -10%; animation-delay: -1.6s; }
.ac-float.f3 { bottom: 6%; left: 0; animation-delay: -3s; background: var(--ac-ink); color: #fff; }

/* Strip fakta */
.ac-lp-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ac-line); border-radius: 22px; overflow: hidden; box-shadow: 0 6px 0 var(--ac-line); margin: 8px 0 10px; }
.ac-lp-facts > div { background: #fff; padding: 18px 12px; text-align: center; }
.ac-lp-facts b { display: block; font-size: 26px; font-weight: 900; line-height: 1.1; color: var(--ac-accent); }
.ac-lp-facts span { font-size: 13.5px; color: var(--ac-soft); font-weight: 700; }

/* Demo */
.ac-demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.ac-demo-card { background: #fff; border-radius: 30px; padding: 22px; box-shadow: 0 8px 0 var(--ac-line), 0 20px 40px rgba(43, 43, 58, .06); text-align: center; }
.ac-demo-bar { height: 12px; border-radius: 99px; background: #f3ece2; overflow: hidden; }
.ac-demo-bar span { display: block; height: 100%; width: 0; background: var(--ac-good); border-radius: 99px; transition: width .4s; }
.ac-demo-q { font-weight: 800; margin: 16px 0 12px; }
.ac-demo-spk { width: 96px; height: 96px; border: 0; border-radius: 50%; background: var(--ac-accent); color: #fff; font-size: 44px; box-shadow: 0 7px 0 rgba(0, 0, 0, .18); margin-bottom: 16px; }
.ac-demo-spk:disabled { opacity: .4; }
.ac-demo-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-height: 92px; }
.ac-demo-opts button { height: 84px; border: 0; border-radius: 20px; background: #fff7ee; font-size: 36px; font-weight: 900; box-shadow: 0 5px 0 var(--ac-line); }
.ac-demo-opts button.ok { background: var(--ac-good); color: #fff; animation: ac-pop .35s; }
.ac-demo-done { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ac-demo-done b { color: var(--ac-star); font-size: 30px; letter-spacing: 6px; }
.ac-demo-msg { min-height: 22px; margin: 12px 0 0; font-weight: 800; color: var(--ac-accent); }
.ac-demo-side { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ac-demo-side li { background: #fff; border-radius: 20px; padding: 16px 18px; box-shadow: 0 4px 0 var(--ac-line); }
.ac-demo-side b { display: block; font-size: 17px; margin-bottom: 2px; }
.ac-demo-side span { color: var(--ac-soft); font-size: 15px; }

/* Jejak pelajaran di kartu jalur */
.ac-lp-path { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0 0 14px; }
.ac-lp-path span { font-size: 13px; font-weight: 800; background: #faf6f0; border: 1px solid #f0e6d8; border-radius: 10px; padding: 3px 9px; }
.ac-lp-path i { font-style: normal; color: var(--ac-soft); font-size: 12px; }

/* Ruang orang tua (contoh) */
.ac-lp-parent { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.ac-lp-parent .ac-lp-kicker, .ac-lp-parent h2 { text-align: left; margin-left: 0; }
.ac-lp-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ac-lp-checks li { font-size: 16.5px; padding-left: 30px; position: relative; }
.ac-lp-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 7px; background: #e8f8ef; color: var(--ac-good); font-weight: 900; font-size: 13px; display: grid; place-items: center; }
.ac-mock { background: #fff; border-radius: 28px; padding: 20px; box-shadow: 0 8px 0 var(--ac-line), 0 24px 48px rgba(43, 43, 58, .08); transform: rotate(1.5deg); }
.ac-mock-cap { margin: 0 0 10px; font-size: 12px; font-weight: 800; color: var(--ac-soft); text-transform: uppercase; letter-spacing: .06em; }
.ac-mock-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ac-mock-tiles div { background: #faf6f0; border-radius: 14px; padding: 10px 6px; text-align: center; }
.ac-mock-tiles b { display: block; font-size: 22px; }
.ac-mock-tiles span { font-size: 11.5px; color: var(--ac-soft); font-weight: 700; }
/* Offline: bagian landing, panduan member, dan penanda sinyal */
@media (min-width: 821px) { .ac-lp-off .ac-mock { order: -1; transform: rotate(-1.5deg); } .ac-lp-off .ac-lp-lead { text-align: left; margin-left: 0; } }
.ac-off-pill { display: inline-block; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px; background: #1f2937; color: #fff; font-weight: 800; font-size: 14px; }
.ac-lp-off .ac-mock-tiles div { background: #eef6ff; }
.ac-off-hero p { max-width: 560px; margin: 8px auto 0; color: var(--ac-soft); font-weight: 600; }
.ac-off-status { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.ac-off-status li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: #f6f7fb; }
.ac-off-status li.ok { background: #e7f7ef; }
.ac-off-status i { font-style: normal; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: #d9dbe7; color: #fff; }
.ac-off-status li.ok i { background: var(--ac-good, #22a06b); }
.ac-off-status small, .ac-off-cta small { display: block; color: var(--ac-soft); font-weight: 600; margin-top: 2px; }
.ac-off-go { width: 100%; }
.ac-os-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ac-os-tabs button { cursor: pointer; border: 0; font: inherit; }
.ac-off-steps { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 8px; line-height: 1.5; }
.ac-off-need, .ac-off-tips { margin: 0; padding-left: 20px; display: grid; gap: 8px; line-height: 1.5; }
.ac-off-tips { list-style: none; padding-left: 0; }
.ac-off-cta { display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit; }
.ac-off-cta > span:first-child { font-size: 30px; }
.ac-net { position: fixed; left: 10px; bottom: 10px; z-index: 60; background: rgba(31, 41, 55, .88); color: #fff; padding: 5px 11px; border-radius: 999px; font-weight: 800; font-size: 12.5px; text-decoration: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); white-space: nowrap; }
@media print { .ac-net { display: none; } }
.ac-mock-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 120px; margin: 16px 0 26px; }
.ac-mock-bars i { position: relative; display: block; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--ac-accent), #ff4f81); }
.ac-mock-bars em { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; color: var(--ac-soft); font-weight: 700; }
.ac-mock-miss { margin: 0; font-size: 14px; font-weight: 700; color: var(--ac-soft); }
.ac-mock-miss span { display: inline-block; background: #ffe9dc; color: var(--ac-ink); border-radius: 8px; padding: 1px 9px; margin-left: 4px; font-weight: 900; }

/* Pita mitra & FAQ */
.ac-lp-mitra { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 40px 0 0; padding: 26px 28px; border-radius: 28px; background: #fff; box-shadow: 0 6px 0 var(--ac-line); border: 2px dashed #f0d9c4; }
.ac-lp-mitra > div { flex: 1 1 320px; }
.ac-lp-mitra .ac-lp-kicker { text-align: left; }
.ac-lp-mitra h2 { margin: 6px 0; font-size: 26px; }
.ac-lp-mitra p { margin: 0; color: var(--ac-soft); }
.ac-lp-faq { max-width: 760px; margin: 0 auto; }
.ac-lp-note a { font-weight: 800; }

/* Tombol menempel di HP */
.ac-sticky { display: none; }
@media (max-width: 820px) {
	.ac-sticky { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 20px; background: rgba(43, 43, 58, .94); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); transform: translateY(140%); transition: transform .3s; }
	.ac-sticky.show { transform: none; }
	.ac-sticky span { flex: 1; }
	.ac-sticky .ac-btn { min-height: 46px; padding: 0 20px; font-size: 16px; }
	.ac-lp-mock { max-width: 270px; padding: 10px 26px; order: -1; }
	.ac-phone { border-width: 8px; border-radius: 32px; padding: 14px 12px 16px; }
	.ac-phone-opts span { height: 48px; font-size: 20px; }
	.ac-phone-spk { width: 54px; height: 54px; font-size: 24px; margin-bottom: 10px; }
	.ac-float { font-size: 12px; padding: 6px 10px; }
	.ac-float.f2 { right: -4%; }
	.ac-lp-facts { grid-template-columns: repeat(2, 1fr); }
	.ac-demo, .ac-lp-parent { grid-template-columns: minmax(0, 1fr); }
	.ac-mock-tiles span { overflow-wrap: anywhere; }
	.ac-lp-parent .ac-lp-kicker, .ac-lp-parent h2 { text-align: center; }
	.ac-mock { transform: none; }
}

/* ------------------------------------------------------------------
 * Mitra & tukar kode
 * ---------------------------------------------------------------- */
.ac-app.is-mitra { max-width: 1040px; }
.ac-who { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 6px 0 8px; }
.ac-who span { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 800; box-shadow: 0 3px 0 var(--ac-line); }
.ac-plan-qty { color: var(--ac-ink); }
.ac-plan-math { list-style: none; margin: 0 0 14px; padding: 12px 14px; background: #faf6f0; border-radius: 14px; display: grid; gap: 6px; font-size: 14px; }
.ac-plan-math li { display: flex; justify-content: space-between; gap: 10px; }
.ac-plan-math span { color: var(--ac-soft); }
.ac-plan-math li.gain b { color: var(--ac-good); }
.ac-mitra-note { margin: 0 0 20px; background: #fff6dc; box-shadow: 0 4px 0 #f3e2b0; }
.ac-mitra-note p { margin: 6px 0 0; white-space: pre-line; }
.ac-mitra-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 16px; }
.ac-mitra-stats div { background: #fff; border-radius: 20px; padding: 16px; text-align: center; box-shadow: 0 4px 0 var(--ac-line); }
.ac-mitra-stats b { display: block; font-size: 32px; font-weight: 900; line-height: 1.1; }
.ac-mitra-stats span { color: var(--ac-soft); font-size: 14px; font-weight: 700; }
.ac-mitra-stats .hl { background: linear-gradient(135deg, var(--ac-accent), #ff4f81); color: #fff; box-shadow: 0 6px 16px rgba(255, 105, 80, .3); }
.ac-mitra-stats .hl span { color: rgba(255, 255, 255, .9); }
.ac-codes-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ac-codes-head h2 { margin: 0; font-size: 20px; }
.ac-codes-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.ac-seg-tabs { display: inline-flex; gap: 4px; padding: 4px; background: #f6f1ea; border-radius: 14px; margin: 14px 0 10px; flex-wrap: wrap; }
.ac-seg-tabs button { border: 0; background: transparent; padding: 8px 14px; border-radius: 10px; font-weight: 800; font-size: 14px; color: var(--ac-soft); }
.ac-seg-tabs button.on { background: #fff; color: var(--ac-ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .06); }
.ac-seg-tabs span { opacity: .6; }
.ac-code-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 520px; overflow: auto; }
.ac-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 2px solid var(--ac-line); border-radius: 16px; flex-wrap: wrap; }
.ac-code code { display: block; font-size: 18px; font-weight: 900; letter-spacing: .06em; background: none; }
.ac-code small { color: var(--ac-soft); font-size: 13px; }
.ac-code.used { opacity: .6; background: #fbf9f6; }
.ac-code-ok { color: var(--ac-good); font-weight: 800; font-size: 14px; }
.ac-code-act { display: flex; gap: 6px; }
.ac-copy-wa { background: #e7f9ee; color: #128c4a; text-decoration: none; }
.ac-redeem { max-width: 520px; margin: 20px auto; }
.ac-redeem .ac-auth-card { text-align: center; }
.ac-code-input { width: 100%; font: inherit; font-size: 24px; font-weight: 900; letter-spacing: .1em; text-align: center; text-transform: uppercase; padding: 16px; border: 2px solid var(--ac-line); border-radius: 18px; background: #fffdf9; margin: 6px 0 0; }
.ac-code-input:focus { outline: none; border-color: var(--ac-accent); box-shadow: 0 0 0 4px rgba(99, 102, 241, .14); }
.ac-redeem .ac-btn-block { margin-top: 16px; }
.ac-redeem-link { text-align: center; font-weight: 700; margin: -4px 0 18px; }
.ac-redeem-link a { font-weight: 900; }
@media (max-width: 820px) {
	.ac-mitra-stats b { font-size: 24px; }
	.ac-code-act { width: 100%; }
	.ac-code-act .ac-copy { flex: 1; text-align: center; }
}

/* Toast & kredit */
.ac-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
	background: var(--ac-ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 15px;
	max-width: 90vw; z-index: 10; transition: opacity .4s;
}
.ac-toast.out { opacity: 0; }
.ac-credit { text-align: center; font-size: 12px; color: var(--ac-soft); padding: 8px 0 16px; }
.ac-credit a { color: inherit; }

@media (max-width: 380px) {
	.ac-letter { width: 160px; height: 160px; font-size: 110px; }
	.ac-opt { font-size: 38px; min-height: 84px; }
	.ac-read { font-size: 44px; }
}

@media (max-width: 820px) {
	.ac-lp-mock { max-width: 210px; padding: 6px 22px; }
	.ac-phone { padding: 10px 10px 12px; }
	.ac-phone-q { font-size: 11.5px; margin: 8px 0 6px; }
	.ac-phone-spk { width: 44px; height: 44px; font-size: 20px; margin-bottom: 8px; }
	.ac-phone-opts span { height: 40px; font-size: 18px; border-radius: 12px; }
	.ac-phone-stars, .ac-float.f3 { display: none; }
	.ac-float.f1 { top: 2%; left: -12%; }
	.ac-float.f2 { top: 58%; right: -16%; }
	.ac-lp-copy h1 { font-size: 30px; letter-spacing: -.6px; }
	.ac-lp-eyebrow { font-size: 12.5px; }
}

/* Soal tambahan: pilihan berupa kata */
.ac-opt-word { font-size: 26px; min-height: 84px; padding: 6px; word-break: break-word; line-height: 1.15; }
@media (max-width: 380px) { .ac-opt-word { font-size: 21px; } }

/* ------------------------------------------------------------------
 * Peta pelajaran v1.6
 * ---------------------------------------------------------------- */
.ac-app.is-map { max-width: 640px; }
.ac-mapwrap { --tc1: #ff7a3d; --tc2: #ff4f81; --tbg: #fff1e6; }
.ac-map-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; }
.ac-map-chips { display: flex; gap: 8px; }
.ac-chip-stat { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; font-weight: 900; font-size: 16px; box-shadow: 0 3px 0 var(--ac-line); color: var(--ac-ink); text-decoration: none; }
.ac-chip-stat.fire { color: #d9480f; }
.ac-chip-stat.gift { font-size: 20px; padding: 0 12px; }

.ac-map-hero { position: relative; overflow: hidden; margin: 10px 0 14px; padding: 20px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, var(--tc1), var(--tc2)); box-shadow: 0 16px 34px rgba(43, 43, 58, .16); }
.ac-map-hero::before, .ac-map-hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); pointer-events: none; }
.ac-map-hero::before { width: 220px; height: 220px; right: -70px; top: -90px; }
.ac-map-hero::after { width: 120px; height: 120px; left: -40px; bottom: -60px; }
.ac-map-hello { position: relative; display: flex; align-items: center; gap: 14px; }
.ac-map-av { width: 64px; height: 64px; flex: none; display: grid; place-items: center; font-size: 40px; background: rgba(255, 255, 255, .95); border-radius: 22px; box-shadow: 0 6px 0 rgba(0, 0, 0, .12); }
.ac-map-hello small { font-size: 15px; font-weight: 700; opacity: .9; }
.ac-map-hello h1 { margin: 0; font-size: 28px; line-height: 1.1; letter-spacing: -.4px; color: #fff; }
.ac-map-prog { position: relative; margin: 16px 0 14px; }
.ac-map-prog-row { display: flex; justify-content: space-between; font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.ac-map-bar { height: 12px; border-radius: 99px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.ac-map-bar i { display: block; height: 100%; min-width: 12px; border-radius: 99px; background: #fff; }
.ac-map-cta { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 20px; background: #fff; color: var(--ac-ink); text-decoration: none; box-shadow: 0 6px 0 rgba(0, 0, 0, .14); transition: transform .1s; }
.ac-map-cta:active { transform: translateY(3px); box-shadow: 0 3px 0 rgba(0, 0, 0, .14); }
.ac-map-cta-ic { width: 50px; height: 50px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--tc1), var(--tc2)); }
.ac-map-cta small { display: block; font-size: 13px; font-weight: 800; color: var(--ac-soft); }
.ac-map-cta b { display: block; font-size: 19px; line-height: 1.2; }
.ac-map-cta.gold .ac-map-cta-ic { background: linear-gradient(135deg, #ffc21a, #ff9f1a); }
.ac-map-cta.done .ac-map-cta-ic { background: linear-gradient(135deg, #2fb36b, #14a38b); }
.ac-goal { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14.5px; }
.ac-goal b { font-weight: 900; }
.ac-goal-dots { display: flex; gap: 5px; }
.ac-goal-dots i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 14px; background: rgba(255, 255, 255, .25); border: 2px dashed rgba(255, 255, 255, .7); }
.ac-goal-dots i.on { background: #fff; border-style: solid; border-color: #fff; }

.ac-mapwrap .ac-tabs { gap: 8px; margin: 0 0 6px; }
.ac-mapwrap .ac-tab { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 6px; border-radius: 18px; text-align: left; }
.ac-mapwrap .ac-tab.on { background: linear-gradient(135deg, var(--tc1), var(--tc2)); }
.ac-tab-ic { font-size: 22px; }
.ac-tab-txt b { display: block; font-size: 15px; line-height: 1.1; }
.ac-tab-txt small { font-size: 12px; font-weight: 800; opacity: .7; }

/* Papan & jalan */
.ac-board { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 26px 10px 30px; margin-top: 10px; border-radius: 32px; --unit: clamp(36px, 15vw, 84px);
	background: radial-gradient(circle at 1px 1px, rgba(43, 43, 58, .07) 1.4px, transparent 1.6px) 0 0 / 22px 22px, var(--tbg); }
.ac-road { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.ac-road path { fill: none; stroke-linecap: round; }
.ac-road-base { stroke: #fff; stroke-width: 26; }
.ac-road-dash { stroke: #e5d9c8; stroke-width: 4; stroke-dasharray: 2 12; }
.ac-road-done { stroke: var(--tc1); stroke-width: 10; opacity: .85; }

.ac-chapter { position: relative; z-index: 1; align-self: stretch; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 20px; background: #fff; box-shadow: 0 4px 0 var(--ac-line); }
.ac-chapter-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; font-size: 22px; border-radius: 14px; background: var(--tbg); }
.ac-chapter div { flex: 1; min-width: 0; }
.ac-chapter small { display: block; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--tc1); }
.ac-chapter b { display: block; font-size: 17px; line-height: 1.2; }
.ac-chapter-n { font-weight: 900; font-size: 14px; color: var(--ac-soft); background: #f6f1ea; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.ac-chapter.full .ac-chapter-n { background: #e8f8ef; color: var(--ac-good); }

.ac-mapwrap .ac-node { position: relative; z-index: 1; width: 150px; transform: translateX(calc(var(--k, 0) * var(--unit))); }
.ac-mapwrap .ac-node:nth-child(n) { transform: translateX(calc(var(--k, 0) * var(--unit))); }
.ac-mapwrap .ac-node-icon { position: relative; width: 78px; height: 78px; font-size: 34px; background: linear-gradient(145deg, var(--tc1), var(--tc2)); box-shadow: 0 7px 0 rgba(0, 0, 0, .18), 0 0 0 6px #fff; }
.ac-mapwrap .ac-node.done .ac-node-icon { background: linear-gradient(145deg, #3cc47c, #1f9d5c); }
.ac-mapwrap .ac-node.locked .ac-node-icon { background: #ddd6cb; color: #8a8478; font-size: 28px; box-shadow: 0 7px 0 #c9c2b6, 0 0 0 6px #fff; }
.ac-mapwrap .ac-node.pro .ac-node-icon { background: linear-gradient(145deg, #ffe08a, #ffc21a); color: #8a6200; box-shadow: 0 7px 0 #e0a800, 0 0 0 6px #fff; }
.ac-mapwrap .ac-node.current .ac-node-icon { width: 94px; height: 94px; font-size: 42px; animation: none; box-shadow: 0 8px 0 rgba(0, 0, 0, .18), 0 0 0 7px #fff, 0 0 0 14px color-mix(in srgb, var(--tc1) 25%, transparent); }
.ac-mapwrap .ac-node.current .ac-node-icon::after { content: ""; position: absolute; inset: -16px; border-radius: 50%; border: 3px solid var(--tc1); opacity: .5; animation: ac-ring 1.8s ease-out infinite; }
@keyframes ac-ring { 0% { transform: scale(.85); opacity: .6; } 100% { transform: scale(1.25); opacity: 0; } }
.ac-node-check { position: absolute; right: -4px; bottom: -4px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 15px; font-weight: 900; color: #fff; background: var(--ac-good); border: 3px solid #fff; }
.ac-mapwrap .ac-node-title { margin-top: 12px; padding: 3px 12px; border-radius: 999px; background: #fff; font-size: 14px; box-shadow: 0 2px 0 var(--ac-line); max-width: 160px; }
.ac-mapwrap .ac-node.current .ac-node-title { background: var(--ac-ink); color: #fff; }
.ac-mapwrap .ac-node-stars { font-size: 16px; margin-top: 2px; }
.ac-node-me { position: absolute; top: -46px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 30px; line-height: 1; animation: ac-bounce 1.2s ease-in-out infinite; }
.ac-node-bubble { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 4px; background: var(--ac-ink); color: #fff; font-size: 12.5px; font-weight: 900; padding: 4px 10px; border-radius: 10px; white-space: nowrap; }
.ac-node-bubble::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--ac-ink); }
.ac-mapwrap .ac-node.current { margin-top: 56px; }
.ac-board-end { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 34px; }
.ac-board-end span { font-size: 13px; font-weight: 900; color: var(--ac-soft); background: #fff; padding: 2px 10px; border-radius: 999px; }
.ac-mapwrap .ac-parent { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .ac-node-me, .ac-mapwrap .ac-node.current .ac-node-icon::after { animation: none !important; } }

/* v1.7: kupon, bayar otomatis, afiliasi */
.ac-coupon { max-width: 520px; margin: 0 auto 16px; }
.ac-coupon form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.ac-coupon label { font-weight: 800; font-size: 15px; }
.ac-coupon input { font: inherit; padding: 9px 12px; border: 2px solid var(--ac-line); border-radius: 12px; text-transform: uppercase; width: 190px; background: #fff; }
.ac-coupon p { text-align: center; margin: 0; background: #e8f8ef; border-radius: 14px; padding: 10px 14px; }
.ac-plan-price s { font-size: 18px; color: var(--ac-soft); font-weight: 700; }
.ac-gw { background: linear-gradient(135deg, #fff4ea, #ffeaf2); border-radius: 18px; padding: 16px; display: grid; gap: 6px; }
.ac-gw b { font-size: 17px; }
.ac-gw span { color: var(--ac-soft); font-size: 14px; font-weight: 700; }
.ac-gw .ac-btn { margin-top: 6px; }
.ac-or { position: relative; text-align: center; margin: 18px 0 12px; color: var(--ac-soft); font-weight: 800; font-size: 14px; }
.ac-or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed #e8dccb; }
.ac-or span { position: relative; background: #fff; padding: 0 12px; }
.ac-pay-sum dd.minus { color: var(--ac-good); }
.ac-aff { margin-bottom: 16px; }
.ac-aff-pct { background: #e8f8ef; color: var(--ac-good); font-weight: 900; border-radius: 999px; padding: 4px 12px; font-size: 14px; }
.ac-aff-link { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: #faf6f0; border-radius: 14px; padding: 10px 12px; }
.ac-aff-link code { flex: 1; min-width: 200px; font-size: 14px; word-break: break-all; background: none; }
.ac-aff-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.ac-aff-stats div { background: #faf6f0; border-radius: 14px; padding: 10px; text-align: center; }
.ac-aff-stats b { display: block; font-size: 18px; }
.ac-aff-stats span { font-size: 12px; color: var(--ac-soft); font-weight: 700; }
.ac-aff-stats .hl { background: #e8f8ef; }
@media (max-width: 600px) { .ac-aff-stats { grid-template-columns: repeat(2, 1fr); } }

/* v1.8: latihan khusus & lihat caranya */
.ac-practice { display: flex; align-items: center; gap: 12px; margin: -2px 0 14px; padding: 12px 16px; border-radius: 20px; background: #fff; text-decoration: none; color: var(--ac-ink); box-shadow: 0 4px 0 var(--ac-line); border: 2px solid #ffe0cc; }
.ac-practice-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; font-size: 24px; background: #fff1e6; border-radius: 14px; }
.ac-practice span:nth-child(2) { flex: 1; }
.ac-practice b { display: block; font-size: 16px; }
.ac-practice small { color: var(--ac-soft); font-size: 13.5px; font-weight: 700; }
.ac-practice-go { color: var(--ac-accent); white-space: nowrap; }
#ac-how { display: block; margin: 12px auto 0; font-size: 15px; color: #7c5cff; font-weight: 800; background: #f0ecff; border: 0; border-radius: 999px; padding: 8px 16px; }

/* v1.9 — Hijaiyah, cerita, angka 11–20, bentuk, pola, jam */
.ac-ar { font-family: "Amiri", "Scheherazade New", "Noto Naskh Arabic", "Geeza Pro", "Traditional Arabic", "Arial", serif; font-weight: 700; line-height: 1.5; display: inline-block; }
.ac-letter-ar { display: grid; place-items: center; font-size: 112px; line-height: 1; padding: 0 0 14px; margin: 0 auto; }
.ac-letter-ar .ac-ar { line-height: 1.25; }
.ac-opt-ar { font-size: 60px; line-height: 1; padding-bottom: 14px; }
.ac-ar-row { display: flex; gap: 14px; justify-content: center; font-size: 84px; background: #fff; border-radius: 24px; padding: 6px 22px 16px; box-shadow: 0 6px 0 var(--ac-line); }
.ac-read-q { font-size: 28px; letter-spacing: 0; padding: 14px 20px; }
.ac-shape { width: 100%; max-width: 74px; height: auto; display: block; margin: 0 auto; }
.ac-form-big { background: #fff; border: 0; border-radius: 28px; padding: 18px; box-shadow: 0 6px 0 var(--ac-line); cursor: pointer; }
.ac-form-big .ac-shape { max-width: 150px; width: 150px; }
.ac-opt-form { padding: 12px 8px; min-height: 104px; display: grid; place-items: center; }
.ac-clock { width: 190px; height: 190px; display: block; margin: 0 auto; }
.ac-opt-form .ac-clock { width: 92px; height: 92px; }
.ac-clock .f { fill: #fff; stroke: #2b2b3a; stroke-width: 3; }
.ac-clock text { font: 800 9px system-ui, sans-serif; fill: #2b2b3a; text-anchor: middle; }
.ac-clock .h { stroke: #ff4f81; stroke-width: 5; stroke-linecap: round; }
.ac-clock .m { stroke: #2f80ed; stroke-width: 3; stroke-linecap: round; }
.ac-clock .c { fill: #2b2b3a; }
.ac-teen { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.ac-objs.ac-ten { background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 3px 0 var(--ac-line); }
.ac-pattern { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 38px; background: #fff; border-radius: 22px; padding: 12px 14px; box-shadow: 0 6px 0 var(--ac-line); }
.ac-pattern .q { min-width: 48px; text-align: center; border: 3px dashed var(--ac-accent); border-radius: 12px; color: var(--ac-accent); font-weight: 900; font-size: 30px; line-height: 42px; }
.ac-tabs { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
@media (max-width: 520px) {
	.ac-mapwrap .ac-tab { flex-direction: column; gap: 2px; padding: 8px 2px; text-align: center; }
	.ac-mapwrap .ac-tab-txt b { font-size: 13px; }
	.ac-mapwrap .ac-tab-ic { font-size: 20px; }
}

/* v2.0 — Mode kelas */
.ac-err { color: #c0392b; font-weight: 700; margin: 6px 0 0; }
.ac-hero-sub { color: var(--ac-soft); font-weight: 600; margin: 6px 0 0; }
.ac-task { background: #fff; border-radius: 20px; padding: 12px 14px; margin: 0 0 12px; box-shadow: 0 4px 0 var(--ac-line); border: 2px solid #ffe2a8; }
.ac-task-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ac-task-h span { font-weight: 900; color: var(--ac-soft); background: #fff6e0; border-radius: 999px; padding: 2px 10px; }
.ac-task p { margin: 6px 0 0; color: var(--ac-soft); font-weight: 600; }
.ac-task-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ac-task-item { background: #fff6e0; border-radius: 12px; padding: 6px 10px; font-weight: 800; font-size: 14px; text-decoration: none; color: var(--ac-ink); }
.ac-task-item.done { background: #e7f7ee; color: #1d7a4a; }
.ac-class-hero h1 { font-size: 30px; }
.ac-class-task { background: #fff6e0; border-radius: 16px; padding: 10px 14px; font-weight: 700; margin: 0 0 12px; }
.ac-kids-class { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.ac-kid-class { flex-direction: column; align-items: center; text-align: center; padding: 16px 8px; gap: 6px; }
.ac-class-list { display: grid; gap: 10px; margin: 0 0 14px; }
.ac-class-card { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 20px; padding: 12px 14px; text-decoration: none; color: var(--ac-ink); box-shadow: 0 4px 0 var(--ac-line); }
.ac-class-card b { display: block; font-size: 18px; }
.ac-class-card small { color: var(--ac-soft); font-weight: 700; }
.ac-class-card > span:nth-child(2) { flex: 1; min-width: 0; }
.ac-class-code { font: 900 15px ui-monospace, monospace; letter-spacing: .12em; background: #eaf3ff; color: #2f80ed; border-radius: 12px; padding: 8px 10px; }
.ac-class-go { font-weight: 900; color: var(--ac-accent); }
.ac-class-share { text-align: center; }
.ac-class-bigcode { font: 900 40px ui-monospace, monospace; letter-spacing: .25em; color: #2f80ed; margin: 4px 0 8px; }
.ac-table-wrap { overflow-x: auto; margin: 8px -6px 0; }
.ac-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ac-table th, .ac-table td { padding: 8px 6px; text-align: left; border-bottom: 1px solid #f0e8dc; white-space: nowrap; }
.ac-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ac-soft); }
.ac-table a { font-weight: 800; color: var(--ac-accent); text-decoration: none; }
.ac-avatar-sm { font-size: 20px; }
.ac-ok { color: #1d7a4a; }
.ac-pick { border: 1px solid #f0e8dc; border-radius: 14px; padding: 8px 12px; margin: 0 0 8px; background: #fffdf9; }
.ac-pick summary { font-weight: 800; cursor: pointer; }
.ac-pick div { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 10px; margin-top: 8px; }
.ac-pick label { font-weight: 600; font-size: 14px; display: flex; gap: 6px; align-items: center; margin: 0; }
.ac-form textarea { width: 100%; box-sizing: border-box; border: 2px solid var(--ac-line); border-radius: 14px; padding: 10px 12px; font: inherit; font-size: 16px; }

/* v2.0 — Sertifikat */
.ac-cert-cta { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #fff6d8, #ffe9b8); border-radius: 20px; padding: 12px 14px; margin: 0 0 12px; text-decoration: none; color: var(--ac-ink); box-shadow: 0 4px 0 #f1d48a; }
.ac-cert-cta > span:first-child { font-size: 34px; }
.ac-cert-cta > span:nth-child(2) { flex: 1; min-width: 0; }
.ac-cert-cta small { display: block; color: #7a6a3a; font-weight: 600; }
.ac-cert { background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 8px 30px rgba(0, 0, 0, .08); aspect-ratio: 297 / 210; max-width: 820px; margin: 0 auto; box-sizing: border-box; }
.ac-cert-in { height: 100%; box-sizing: border-box; border: 6px solid transparent; border-radius: 12px; background: linear-gradient(#fffdf7, #fffdf7) padding-box, linear-gradient(135deg, var(--tc1), #f5c542, var(--tc2)) border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3% 6%; }
.ac-cert-badge { font-size: clamp(30px, 6vw, 56px); width: 1.6em; height: 1.6em; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--tc1), var(--tc2)); color: #fff; box-shadow: 0 0 0 6px #fff3cf; }
.ac-cert-kicker { font-weight: 900; letter-spacing: .3em; text-transform: uppercase; color: var(--tc1); margin: 2% 0 0; font-size: clamp(11px, 2vw, 16px); }
.ac-cert-small { margin: 1% 0 0; color: #8a8070; font-style: italic; font-size: clamp(11px, 1.8vw, 15px); }
.ac-cert-name { font-size: clamp(30px, 7vw, 62px); margin: 1% 0; font-family: Georgia, "Times New Roman", serif; color: #2b2b3a; border-bottom: 2px solid #eadfc8; padding: 0 24px 4px; }
.ac-cert-text { margin: 0; color: #4a4a5a; font-size: clamp(12px, 2vw, 17px); line-height: 1.5; }
.ac-cert-stats { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 2% 0; }
.ac-cert-stats span { background: #fff3cf; border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: clamp(11px, 1.7vw, 14px); }
.ac-cert-sign { display: flex; align-items: flex-end; justify-content: space-between; width: 100%; gap: 16px; margin-top: 2%; }
.ac-cert-sign > div:not(.ac-cert-seal) { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: clamp(10px, 1.6vw, 13px); color: #8a8070; font-weight: 700; }
.ac-cert-sign i { display: block; width: 80%; border-bottom: 1.5px solid #bdb19a; height: 28px; }
.ac-cert-seal { font-size: clamp(26px, 5vw, 44px); width: 1.7em; height: 1.7em; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(#fff, #fff3cf); border: 3px dashed #f1c24a; }
.ac-cert-actions { margin-top: 16px; }
/* Sertifikat dengan proyek akhir: lebih rapat, tinggi mengikuti isi di layar. */
.ac-cert.has-proj { aspect-ratio: auto; }
.ac-cert.has-proj .ac-cert-in { padding: 2.4% 5%; }
.ac-cert.has-proj .ac-cert-badge { font-size: clamp(24px, 4.4vw, 44px); }
.ac-cert.has-proj .ac-cert-kicker { margin-top: 1.4%; }
.ac-cert.has-proj .ac-cert-name { font-size: clamp(26px, 6vw, 52px); }
.ac-cert.has-proj .ac-cert-stats { margin: 1.2% 0; }
.ac-cert.has-proj .ac-cert-proj { margin-bottom: 1%; }
.ac-cert.has-proj .ac-cert-sign i { height: 20px; }
.ac-cert.has-proj .ac-cert-seal { font-size: clamp(22px, 4vw, 38px); }
@media print {
	@page cert { size: A4 landscape; margin: 10mm; }
	.is-cert .ac-cert { page: cert; box-shadow: none; padding: 0; border-radius: 0; max-width: none; width: 100%; height: 180mm; aspect-ratio: auto; }
	.is-cert .ac-cert-name { font-size: 54px; }
}

/* v2.0.1 — Landing: masalah, simulasi multi-bagian, jalur 4, guru & sekolah */
.ac-lp-hijaiyah .ac-lp-track-ic { background: #e3f4ea; font-family: "Geeza Pro", "Noto Naskh Arabic", serif; }
.ac-lp-tracks.n4 { grid-template-columns: repeat(2, 1fr); }
.ac-lp-pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ac-lp-pain { background: #fff; border-radius: 24px; padding: 22px; box-shadow: 0 5px 0 var(--ac-line); }
.ac-lp-pain > span { font-size: 34px; }
.ac-lp-pain h3 { margin: 8px 0 6px; font-size: 19px; }
.ac-lp-pain p { margin: 0; color: var(--ac-soft); font-size: 15.5px; }
.ac-lp-answer { max-width: 680px; margin: 22px auto 0; text-align: center; font-size: 18px; line-height: 1.5; background: linear-gradient(135deg, #fff3e8, #ffeaf1); border-radius: 22px; padding: 18px 22px; }
.ac-demo-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0 0 18px; }
.ac-demo-tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: #fff; border-radius: 999px; padding: 10px 18px; font: inherit; font-weight: 800; font-size: 16px; color: var(--ac-ink); box-shadow: 0 4px 0 var(--ac-line); cursor: pointer; }
.ac-demo-tab span { font-size: 20px; }
.ac-demo-tab.on { background: linear-gradient(135deg, var(--ac-accent), #ff4f81); color: #fff; box-shadow: 0 4px 0 rgba(0, 0, 0, .15); }
.ac-demo-card { min-height: 430px; display: flex; flex-direction: column; }
.ac-demo-vis { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 14px; }
.ac-demo-vis .ac-demo-spk { margin-bottom: 0; }
.ac-demo-vis .ac-objs { font-size: 40px; }
.ac-demo-vis .ac-objs.sm { font-size: 26px; }
.ac-demo-vis .ac-clock { width: 160px; height: 160px; }
.ac-demo-read { font-size: 52px; font-weight: 900; letter-spacing: 2px; background: #fff7ee; border-radius: 22px; padding: 6px 26px; }
.ac-demo-opts.is-pic button { font-size: 46px; }
.ac-demo-opts.is-num button { font-size: 40px; }
.ac-demo-opts.is-word button { font-size: 22px; }
.ac-demo-opts.is-ar button { font-size: 46px; line-height: 1; padding-bottom: 10px; }
.ac-demo-opts.is-ar .ac-ar { line-height: 1.3; }
.ac-demo-story { display: grid; gap: 6px; width: 100%; }
.ac-demo-line { display: flex; align-items: center; gap: 10px; border: 0; background: #fff7ee; border-radius: 14px; padding: 8px 12px; font: inherit; font-size: 19px; font-weight: 800; text-align: left; cursor: pointer; }
.ac-demo-line span { font-size: 24px; }
.ac-demo-trace { display: flex; justify-content: center; margin: 0 auto 10px; width: 100%; max-width: 300px; }
.ac-demo-acts { display: flex; gap: 10px; justify-content: center; }
.ac-demo-acts .ac-btn { margin: 0; }
.ac-demo-done { flex: 1; justify-content: center; text-align: center; gap: 12px; }
.ac-demo-done .ac-btn { width: 100%; max-width: 300px; margin: 0; }
.ac-demo-side .ac-demo-side-h { background: transparent; box-shadow: none; padding: 0 4px; }
.ac-demo-side .ac-demo-side-h b { font-size: 20px; }
.ac-lp-school { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.ac-lp-school .ac-lp-kicker, .ac-lp-school h2 { text-align: left; margin-left: 0; }
.ac-lp-school .ac-lp-ctas { margin-top: 18px; justify-content: flex-start; }
.ac-lp-school-mock { transform: rotate(-1.5deg); }
.ac-lp-school-h { text-align: center; font-weight: 900; font-size: 20px; margin: 0 0 10px; }
.ac-lp-school-kids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.ac-lp-school-kids span { background: #faf6f0; border-radius: 14px; padding: 8px 4px; text-align: center; font-weight: 800; font-size: 14px; }
.ac-lp-school-kids i { display: block; font-style: normal; font-size: 26px; }
@media (max-width: 820px) {
	.ac-lp-pains, .ac-lp-tracks.n4, .ac-lp-school { grid-template-columns: 1fr; }
	.ac-lp-school .ac-lp-kicker, .ac-lp-school h2 { text-align: center; }
	.ac-lp-school .ac-lp-ctas { justify-content: center; }
	.ac-demo-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -16px 16px; padding: 2px 16px 8px; scrollbar-width: none; }
	.ac-demo-tab { flex: none; padding: 9px 14px; font-size: 15px; }
	.ac-demo-card { min-height: 0; }
	.ac-demo-read { font-size: 42px; }
}
.ac-demo-card .ac-help { display: block; margin: 12px auto 0; background: #f0ecff; border: 0; border-radius: 999px; color: #7c5cff; font-weight: 800; font-size: 15px; padding: 8px 16px; cursor: pointer; }
.ac-demo-card .ac-demo-msg:empty { display: none; }

/* v2.0.2 — Tukar kode untuk pengunjung */
.ac-topbar-r { display: flex; gap: 8px; align-items: center; }
.ac-topbar-code { background: #fff6e0 !important; }
@media (max-width: 420px) { .ac-topbar-code span { display: none; } }
.ac-code-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #fff6e0; border: 2px dashed #f1c24a; border-radius: 16px; padding: 10px 14px; font-weight: 700; margin: 0 0 14px; }
.ac-code-note span { flex: 1; min-width: 180px; }
.ac-code-note b { font-family: ui-monospace, monospace; letter-spacing: .06em; }
.ac-code-note a { font-weight: 800; }
.ac-auth-code { margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--ac-line); }
.ac-redeem-steps { text-align: left; margin: 18px 0 0; padding: 14px 18px 14px 36px; background: #faf6f0; border-radius: 16px; color: var(--ac-soft); font-weight: 600; display: grid; gap: 6px; }

/* v2.1 — isi awal untuk mesin pencari (diganti aplikasi setelah JS jalan) */
.ac-ssr { max-width: 640px; margin: 24px auto; padding: 0 8px; color: var(--ac-soft); }
.ac-ssr h1 { color: var(--ac-ink); font-size: 28px; line-height: 1.2; }
.ac-ssr h2 { color: var(--ac-ink); font-size: 20px; margin-top: 24px; }
.ac-ssr h3 { color: var(--ac-ink); font-size: 16px; margin: 14px 0 4px; }
.ac-ssr .ac-loading { padding: 20px 0; }
.ac-lp-testi { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.ac-lp-testi figure { margin: 0; background: #fff; border-radius: 24px; padding: 20px 22px; box-shadow: 0 5px 0 var(--ac-line); }
.ac-lp-testi blockquote { margin: 0 0 10px; font-size: 17px; line-height: 1.5; font-weight: 600; }
.ac-lp-testi figcaption { color: var(--ac-soft); font-weight: 800; font-size: 14px; }
.ac-lp-facts.n5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 820px) { .ac-lp-facts.n5 > div:first-child { grid-column: 1 / -1; } }

/* v2.1 — Tes awal */
.ac-place-cta { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #eef6ff, #f3ecff); border-radius: 20px; padding: 12px 14px; margin: 0 0 12px; text-decoration: none; color: var(--ac-ink); box-shadow: 0 4px 0 #dcd3f5; }
.ac-place-cta > span:first-child { font-size: 30px; }
.ac-place-cta > span:nth-child(2) { flex: 1; min-width: 0; }
.ac-place-cta small { display: block; color: var(--ac-soft); font-weight: 600; }
.ac-place-cta > b { color: #7c5cff; white-space: nowrap; }
.ac-place-res { list-style: none; padding: 0; margin: 12px auto; display: grid; gap: 8px; max-width: 360px; text-align: left; }
.ac-place-res li { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: 0 4px 0 var(--ac-line); }
.ac-place-res li > span { font-size: 28px; }
.ac-place-res b { display: block; }
.ac-place-res small { color: var(--ac-soft); font-weight: 700; }
.ac-opt.used { opacity: .55; }

/* v2.3: kartu Gratis, daftar yang didapat, paket sekali beli */
.ac-plan-gets { list-style: none; margin: 0 0 18px; padding: 12px 0 0; border-top: 1px dashed var(--ac-line); display: grid; gap: 8px; font-size: 14.5px; flex: 1; align-content: start; }
.ac-plan-gets li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.35; }
.ac-plan-gets li span { flex: none; width: 20px; text-align: center; }
.ac-plan-note + .ac-plan-gets { margin-top: -6px; }
.ac-plan .ac-plan-note { flex: 0 0 auto; margin-bottom: 14px; }
.ac-plan-free { background: #fbfaf7; }
.ac-plan-free .ac-plan-price { color: var(--ac-good); }
.ac-plan.life .ac-plan-sub b { color: var(--ac-accent); }
.ac-plans.compact.n4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
@media (min-width: 1000px) { .ac-plans.compact.n4 { grid-template-columns: repeat(4, 1fr); } }

/* ==================================================================
 * v2.4 — Gaya ceria khas anak: hero langit beranimasi, seksi berwarna,
 * dan header peta anak yang hidup. Semua animasi mati bila pengguna
 * memilih gerak minimal (prefers-reduced-motion).
 * ================================================================== */
.ac-body { overflow-x: clip; }
.is-landing .ac-topbar { position: relative; z-index: 3; }

/* Hero: latar lembut lebar penuh dengan bulatan cahaya yang bergerak pelan */
.ac-fun-hero { position: relative; isolation: isolate; margin: -76px calc(50% - 50vw) 0; padding: 112px calc(50vw - 50%) 72px; }
.ac-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, #fff8f1 0%, var(--ac-bg) 100%); }
.ac-orb { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .55; animation: ac-orb 22s ease-in-out infinite alternate; }
.ac-orb.a { width: 460px; height: 460px; right: 6%; top: -80px; background: #ffc4a3; }
.ac-orb.b { width: 380px; height: 380px; left: -60px; top: 30%; background: #d9ceff; animation-delay: -8s; }
.ac-orb.c { width: 340px; height: 340px; right: 30%; bottom: -160px; background: #bfeedd; animation-delay: -15s; }
.ac-sun { position: absolute; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fff3a6 0 18%, #ffd84d 19% 58%, #ffc21a 59% 64%, transparent 65%); }
.ac-sun i { position: absolute; inset: -34px; border-radius: 50%; z-index: -1; background: repeating-conic-gradient(from 0deg, rgba(255, 200, 40, .55) 0 9deg, transparent 9deg 30deg); -webkit-mask: radial-gradient(circle, transparent 0 34%, #000 35% 70%, transparent 71%); mask: radial-gradient(circle, transparent 0 34%, #000 35% 70%, transparent 71%); animation: ac-spin 26s linear infinite; }
.ac-sun::after { content: "◠‿◠"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; color: #b5651d; letter-spacing: -2px; }
.ac-cloud { position: absolute; left: -220px; width: 130px; height: 42px; background: #fff; border-radius: 42px; animation: ac-drift 70s linear infinite; }
.ac-cloud::before, .ac-cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.ac-cloud::before { width: 62px; height: 62px; left: 18px; top: -30px; }
.ac-cloud::after { width: 44px; height: 44px; left: 66px; top: -20px; }

/* Judul dan teks hero */
.ac-fun-hero .ac-lp-copy, .ac-fun-hero .ac-lp-mock { position: relative; z-index: 1; }
.ac-fun-hero .ac-lp-eyebrow { background: rgba(255, 255, 255, .8); box-shadow: none; border: 1px solid rgba(43, 43, 58, .08); color: var(--ac-soft); font-weight: 700; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ac-fun-hero .ac-lp-copy h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -1.6px; }
.ac-fun-hero .ac-lp-copy h1 .ac-hl { position: relative; z-index: 0; color: var(--ac-accent); background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.ac-hl::after { content: ""; position: absolute; z-index: -1; left: -2px; right: -2px; bottom: .06em; height: .26em; border-radius: 6px; background: #ffe0cc; transform-origin: left; animation: ac-mark .9s .3s cubic-bezier(.2, .8, .2, 1) both; }
.ac-fun-hero .ac-lp-sub { color: var(--ac-soft); font-size: 19px; line-height: 1.55; max-width: 34em; }
.ac-skill { font-weight: 800; white-space: nowrap; }
.ac-skill-baca { color: #e8590c; }
.ac-skill-tulis { color: #6741d9; }
.ac-skill-hitung { color: #0c8a6e; }
.ac-skill-hijaiyah { color: #0e7a52; }
.ac-fun-hero .ac-lp-micro { color: var(--ac-soft); }

/* HP contoh yang "dimainkan" sendiri */
.ac-fun-hero .ac-lp-mock::before { display: none; }
.ac-fun-hero .ac-phone { animation: ac-phone 8s ease-in-out infinite; }
.ac-fun-hero .ac-phone-opts { position: relative; }
.ac-fun-hero .ac-phone-opts .ok { animation: ac-okc 4.5s ease-in-out infinite; }
.ac-phone-opts .ac-tap { position: absolute; left: 50%; top: 40%; margin-left: -10px; font-style: normal; font-size: 30px; z-index: 2; animation: ac-tap 4.5s ease-in-out infinite; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .2)); }
.ac-fun-hero .ac-phone-stars { letter-spacing: 0; display: flex; justify-content: center; gap: 8px; }
.ac-phone-stars i { font-style: normal; display: inline-block; color: #eadfcb; animation: ac-starpop 4.5s ease-in-out infinite; }
.ac-phone-stars i:nth-child(2) { animation-delay: .15s; }
.ac-phone-stars i:nth-child(3) { animation-delay: .3s; }
.ac-phone-spk { animation: ac-pulse 1.5s ease-in-out infinite; }

/* Fakta berwarna */
.ac-lp-facts { gap: 12px; background: none; box-shadow: none; overflow: visible; position: relative; z-index: 1; margin-top: -54px; }
.ac-lp-facts > div { border-radius: 22px; padding: 16px 10px; box-shadow: 0 6px 0 rgba(43, 43, 58, .07), 0 14px 26px rgba(43, 43, 58, .06); transition: transform .2s; }
.ac-lp-facts > div:hover { transform: translateY(-4px) rotate(-1deg); }
.ac-lp-facts > div:nth-child(5n+1) { background: #fff1e6; }
.ac-lp-facts > div:nth-child(5n+2) { background: #efeaff; }
.ac-lp-facts > div:nth-child(5n+3) { background: #e2f6ec; }
.ac-lp-facts > div:nth-child(5n+4) { background: #e4f3ff; }
.ac-lp-facts > div:nth-child(5n+5) { background: #fff6d6; }
.ac-lp-facts > div:nth-child(5n+2) b { color: #7c5cff; }
.ac-lp-facts > div:nth-child(5n+3) b { color: #14a38b; }
.ac-lp-facts > div:nth-child(5n+4) b { color: #2f80ed; }
.ac-lp-facts > div:nth-child(5n+5) b { color: #d99a00; }
.ac-lp-facts i { display: block; font-style: normal; font-size: 28px; line-height: 1.1; margin-bottom: 2px; }

/* Judul seksi berupa pil */
.ac-lp-kicker { display: table; margin: 0 auto; background: #fff; padding: 7px 16px; border-radius: 999px; box-shadow: 0 3px 0 var(--ac-line); text-transform: none; letter-spacing: 0; font-size: 15px; color: #e8590c; }
.ac-lp-sec h2 { font-size: clamp(28px, 3.8vw, 40px); }

/* Kartu-kartu bergaya stiker */
.ac-lp-pain { transition: transform .2s; border: 2px dashed #f3dcc4; }
.ac-lp-pain:nth-child(1) { transform: rotate(-1.5deg); background: #fffaf4; }
.ac-lp-pain:nth-child(2) { transform: rotate(1deg); background: #fbf9ff; }
.ac-lp-pain:nth-child(3) { transform: rotate(-.6deg); background: #f6fcf9; }
.ac-lp-pain:hover { transform: rotate(0) translateY(-4px); }
.ac-lp-pain > span { display: inline-block; font-size: 40px; animation: ac-bob 5s ease-in-out infinite; }
.ac-lp-answer { background: #fff; border-radius: 22px; padding: 18px 22px; box-shadow: 0 5px 0 var(--ac-line); }
.ac-lp-track { border-top: 8px solid #ffb48a; transition: transform .2s, box-shadow .2s; }
.ac-lp-track:hover { transform: translateY(-6px); box-shadow: 0 10px 0 var(--ac-line), 0 22px 40px rgba(43, 43, 58, .08); }
.ac-lp-track:hover .ac-lp-track-ic { animation: ac-wiggle .8s ease-in-out; }
.ac-lp-tulis { border-top-color: #b7a6ff; }
.ac-lp-hitung { border-top-color: #7fd6bd; }
.ac-lp-hijaiyah { border-top-color: #8fd1a8; }
.ac-lp-track-ic { width: 66px; height: 66px; border-radius: 22px; font-size: 34px; box-shadow: 0 5px 0 rgba(43, 43, 58, .06); }
.ac-lp-steps li::before { width: 46px; height: 46px; border-radius: 50%; font-size: 22px; top: 16px; box-shadow: 0 4px 0 rgba(0, 0, 0, .12); }
.ac-lp-steps li { padding-top: 76px; }
.ac-lp-steps li:nth-child(2)::before { background: linear-gradient(135deg, #7c5cff, #b06cff); }
.ac-lp-steps li:nth-child(3)::before { background: linear-gradient(135deg, #14a38b, #2f80ed); }
.ac-lp-feat { transition: transform .2s; }
.ac-lp-feat:hover { transform: translateY(-3px); }
.ac-lp-feat:nth-child(4n+2) > span { background: #efeaff; }
.ac-lp-feat:nth-child(4n+3) > span { background: #e2f6ec; }
.ac-lp-feat:nth-child(4n+4) > span { background: #e4f3ff; }
.ac-lp-final { position: relative; overflow: hidden; }
.ac-lp-final > *:not(.ac-final-deco) { position: relative; z-index: 1; }
.ac-final-deco i { position: absolute; font-style: normal; font-size: 38px; opacity: .85; animation: ac-bob 6s ease-in-out infinite; }
.ac-final-deco i:nth-child(1) { left: 5%; top: 14%; }
.ac-final-deco i:nth-child(2) { right: 6%; top: 12%; animation-delay: -1s; }
.ac-final-deco i:nth-child(3) { left: 10%; bottom: 12%; animation-delay: -2s; }
.ac-final-deco i:nth-child(4) { right: 12%; bottom: 14%; animation-delay: -3s; }
.ac-final-deco i:nth-child(5) { left: 30%; top: 4%; font-size: 28px; animation-delay: -4s; }
.ac-final-deco i:nth-child(6) { right: 30%; bottom: 4%; font-size: 28px; animation-delay: -5s; }

/* Muncul saat digulir */
.ac-rv { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.ac-rv.in { opacity: 1; transform: none; }

/* Header peta anak */
.ac-map-sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ac-map-sky .ac-sun.sm { top: -24px; right: -18px; width: 104px; height: 104px; }
.ac-map-sky .ac-sun.sm::after { font-size: 18px; }
.ac-map-sky .ac-cloud { opacity: .28; }
.ac-map-sky .ac-cloud.k1 { top: 64%; animation-duration: 40s; }
.ac-map-sky .ac-cloud.k2 { top: 18%; animation-duration: 55s; animation-delay: -25s; }
.ac-moon { position: absolute; top: 10px; right: 16px; font-size: 40px; animation: ac-bob 6s ease-in-out infinite; }
.ac-twinkle { position: absolute; font-style: normal; color: #fff6b0; animation: ac-twinkle 2.4s ease-in-out infinite; }
.ac-twinkle.s1 { top: 18%; right: 26%; font-size: 14px; }
.ac-twinkle.s2 { top: 42%; right: 9%; font-size: 10px; animation-delay: -.8s; }
.ac-twinkle.s3 { top: 8%; right: 44%; font-size: 12px; animation-delay: -1.6s; }
.ac-map-g { position: absolute; font-weight: 900; color: rgba(255, 255, 255, .3); font-size: 30px; animation: ac-bob 6s ease-in-out infinite; }
.ac-map-g.g1 { right: 28%; top: 10px; }
.ac-map-g.g2 { right: 8%; top: 40%; animation-delay: -1.5s; font-size: 24px; }
.ac-map-g.g3 { right: 20%; bottom: 26%; animation-delay: -3s; font-size: 22px; }
.ac-map-g.g4 { right: 44%; top: 34%; animation-delay: -4.5s; font-size: 20px; }
.ac-fun .ac-map-av { animation: ac-hop 3.2s ease-in-out infinite; }
.ac-wave-hand { display: inline-block; transform-origin: 70% 75%; animation: ac-wavehand 2.6s ease-in-out infinite; }
.ac-map-say { display: inline-block; margin: 6px 0 0; padding: 6px 12px; background: rgba(255, 255, 255, .96); color: var(--ac-ink); font-weight: 800; font-size: 14.5px; line-height: 1.3; border-radius: 14px 14px 14px 4px; box-shadow: 0 4px 0 rgba(0, 0, 0, .08); animation: ac-popin .5s .15s both; }
.ac-fun .ac-map-bar { position: relative; height: 16px; overflow: visible; margin-right: 18px; }
.ac-fun .ac-map-bar i { position: relative; background: repeating-linear-gradient(45deg, #fff 0 9px, #fff2b8 9px 18px); background-size: 25.5px 25.5px; animation: ac-stripes 1.2s linear infinite; transition: width .8s ease; }
.ac-map-rider { position: absolute; right: -15px; top: 50%; width: 30px; height: 30px; margin-top: -15px; display: grid; place-items: center; font-size: 19px; background: #fff; border-radius: 50%; box-shadow: 0 3px 0 rgba(0, 0, 0, .12); animation: ac-ride 1.6s ease-in-out infinite; }
.ac-map-flag { position: absolute; right: -24px; top: 50%; transform: translateY(-58%); font-size: 20px; }
.ac-fun .ac-map-cta-ic { animation: ac-pulse 1.8s ease-in-out infinite; }

/* Animasi */
@keyframes ac-spin { to { transform: rotate(360deg); } }
@keyframes ac-drift { from { translate: 0 0; } to { translate: calc(100vw + 460px) 0; } }
@keyframes ac-sway { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-18px) rotate(6deg); } }
@keyframes ac-bob { 0%, 100% { transform: translateY(0) rotate(-7deg); } 50% { transform: translateY(-12px) rotate(7deg); } }
@keyframes ac-mark { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ac-orb { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } 100% { transform: translate(-30px, 10px) scale(.95); } }
@keyframes ac-jiggle { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-5deg) scale(1.06); } 84% { transform: rotate(4deg) scale(1.06); } 92% { transform: rotate(-2deg); } }
@keyframes ac-cta { 0%, 80%, 100% { transform: translateY(0); } 85% { transform: translateY(-6px); } 90% { transform: translateY(0); } 94% { transform: translateY(-3px); } }
@keyframes ac-phone { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-8px); } }
@keyframes ac-tap { 0%, 12% { transform: translate(70px, 70px); opacity: 0; } 22% { opacity: 1; } 36% { transform: translate(0, 10px); } 40% { transform: translate(0, 10px) scale(.82); } 46% { transform: translate(0, 10px) scale(1); opacity: 1; } 70%, 100% { transform: translate(70px, 70px); opacity: 0; } }
@keyframes ac-okc { 0%, 40% { background: #fff; color: var(--ac-ink); box-shadow: 0 4px 0 var(--ac-line); transform: scale(1); } 43% { transform: scale(1.12); } 46%, 92% { background: var(--ac-good); color: #fff; box-shadow: 0 4px 0 #1f8a50; transform: scale(1); } 100% { background: #fff; color: var(--ac-ink); box-shadow: 0 4px 0 var(--ac-line); } }
@keyframes ac-starpop { 0%, 48% { color: #eadfcb; transform: scale(1); } 54% { color: var(--ac-star); transform: scale(1.5) rotate(15deg); } 60%, 92% { color: var(--ac-star); transform: scale(1); } 100% { color: #eadfcb; } }
@keyframes ac-say { 0%, 44% { opacity: 0; transform: scale(.5) translateY(8px); } 50%, 88% { opacity: 1; transform: scale(1) translateY(0); } 100% { opacity: 0; transform: scale(.8); } }
@keyframes ac-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-9deg); } 75% { transform: rotate(9deg); } }
@keyframes ac-hop { 0%, 60%, 100% { transform: translateY(0) rotate(0); } 70% { transform: translateY(-10px) rotate(-6deg); } 80% { transform: translateY(0) rotate(4deg); } 88% { transform: translateY(-4px); } }
@keyframes ac-wavehand { 0%, 50%, 100% { transform: rotate(0); } 60% { transform: rotate(18deg); } 70% { transform: rotate(-10deg); } 80% { transform: rotate(14deg); } 90% { transform: rotate(-4deg); } }
@keyframes ac-popin { from { opacity: 0; transform: scale(.6) translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ac-stripes { to { background-position: 25.5px 0; } }
@keyframes ac-ride { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-5px) rotate(6deg); } }
@keyframes ac-twinkle { 0%, 100% { opacity: .2; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.2); } }

@media (max-width: 820px) {
	.ac-fun-hero { margin-top: -70px; padding-top: 92px; padding-bottom: 64px; }
	.ac-orb { filter: blur(56px); }
	.ac-orb.a { width: 280px; height: 280px; right: -60px; }
	.ac-orb.b { width: 240px; height: 240px; }
	.ac-orb.c { width: 220px; height: 220px; }
	.ac-fun-hero .ac-lp-copy h1 { font-size: clamp(30px, 8vw, 40px); }
	.ac-fun-hero .ac-lp-sub { font-size: 17px; }
	.ac-lp-facts { margin-top: -28px; grid-template-columns: repeat(2, 1fr); }
	.ac-lp-pain:nth-child(n) { transform: none; }
}
@media (max-width: 480px) {
	.ac-fun-hero .ac-lp-copy h1 { font-size: 30px; letter-spacing: -.6px; }
	.ac-hl { white-space: normal; }
	.ac-map-g.g4, .ac-map-g.g1 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ac-sky *, .ac-map-sky *, .ac-fun-hero *, .ac-fun *, .ac-final-deco i, .ac-lp-pain > span, .ac-hl::after { animation: none !important; }
	.ac-cloud { display: none; }
	.ac-rv { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 480px) { .ac-map-g.g2 { display: none; } }

/* ==================================================================
 * Alfa Koding: papan robot, blok program, urutan langkah, pola
 * ================================================================== */
.ak-code { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.ak-board { width: min(100%, calc(var(--cols) * 76px)); margin: 0 auto; }
.ak-grid {
	position: relative; display: grid; grid-template-columns: repeat(var(--cols), 1fr);
	aspect-ratio: var(--cols) / var(--rows); max-height: 46vh; margin: 0 auto;
	background: #dff3e4; border-radius: 18px; padding: 0; overflow: hidden;
	box-shadow: inset 0 0 0 3px #b9e2c4, 0 6px 0 #b9e2c4;
}
.ak-cell { display: grid; place-items: center; font-size: clamp(22px, 7vw, 40px); line-height: 1; background: #e9f8ec; border: 1px dashed rgba(32, 120, 60, .14); }
.ak-cell.alt { background: #dcf2e1; }
.ak-cell.wall { background: #c8e9cf; }
.ak-cell.goal { animation: ac-pulse 1.6s ease-in-out infinite; }
.ak-cell.gem.got { opacity: .18; transform: scale(.6); transition: .25s; }
.ak-cell.mark b { display: grid; place-items: center; width: 70%; aspect-ratio: 1; border-radius: 50%; background: #fff; color: #6366f1; font-size: clamp(18px, 5vw, 28px); box-shadow: 0 3px 0 #c7c9f5; }
.ak-bot {
	position: absolute; display: grid; place-items: center; font-size: clamp(26px, 8vw, 46px); line-height: 1;
	transition: left .32s cubic-bezier(.4, 1.4, .6, 1), top .32s cubic-bezier(.4, 1.4, .6, 1);
	filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .18)); z-index: 2; pointer-events: none;
}
.ak-bot.bump { animation: ak-bump .55s; }
.ak-bot.win { animation: ac-bounce .5s 2; }
@keyframes ak-bump { 0%, 100% { translate: 0 0; } 35% { translate: var(--bx, 0) var(--by, 0); } 55% { translate: 0 0; rotate: -12deg; } 75% { rotate: 10deg; } }

.ak-prog-box {
	display: flex; align-items: center; gap: 8px; width: 100%; min-height: 72px; padding: 8px 10px;
	background: #fff; border: 3px dashed #c7c9f5; border-radius: 18px;
}
.ak-prog-box.has-wrap { border-color: #9ee0c3; background: #f2fcf7; flex-wrap: wrap; }
.ak-prog { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-height: 52px; align-items: center; }
.ak-prog-empty { color: var(--ac-soft); font-size: 15px; padding: 0 4px; }
.ak-prog-static { justify-content: center; flex: none; margin: 6px auto; }
.ak-count { font-size: 14px; font-weight: 800; color: #6366f1; background: #eef0ff; padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.ak-count.full { color: #b45309; background: #fff4db; }
.ak-block {
	position: relative; display: inline-flex; align-items: center; gap: 2px; min-width: 50px; height: 50px; padding: 0 8px;
	border: 0; border-radius: 14px; background: linear-gradient(180deg, #818cf8, #6366f1); color: #fff;
	box-shadow: 0 4px 0 #4338ca; font-size: 26px; justify-content: center; animation: ac-pop .25s;
}
.ak-block .ak-times { font-size: 16px; font-weight: 900; background: rgba(255, 255, 255, .25); border-radius: 8px; padding: 1px 5px; }
.ak-block.shake { background: #f87171 !important; box-shadow: 0 4px 0 #b91c1c; }
.ak-block.fixed { background: linear-gradient(180deg, #34d399, #10b981); box-shadow: 0 4px 0 #047857; animation: ac-pop .4s; }
.ak-prog-static .ak-block { min-width: 44px; height: 44px; font-size: 22px; }
.ak-wrap {
	border: 0; border-radius: 14px; padding: 10px 14px; font-weight: 800; font-size: 16px;
	background: #d1fae5; color: #047857; box-shadow: 0 3px 0 #9ee0c3;
}
.ak-wrap.on { background: #10b981; color: #fff; box-shadow: 0 3px 0 #047857; }
.ak-palette { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; }
.ak-pal {
	height: 66px; border: 0; border-radius: 18px; font-size: 34px; background: #fff;
	box-shadow: 0 5px 0 #c7c9f5, inset 0 0 0 3px #e0e2fb; transition: transform .1s;
}
.ak-pal:active { transform: translateY(3px); box-shadow: 0 2px 0 #c7c9f5, inset 0 0 0 3px #e0e2fb; }
.ak-pal:disabled { opacity: .4; }
.ak-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 10px; width: 100%; }
.ak-run { background: linear-gradient(180deg, #34d399, #10b981) !important; box-shadow: 0 5px 0 #047857 !important; color: #fff !important; font-size: 20px; }
.ak-tip { margin: 0; font-size: 14px; color: var(--ac-soft); text-align: center; }
.ak-ikut { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
.ak-ikut .ak-board { width: min(100%, calc(var(--cols) * 62px)); }

/* Urutan langkah */
.ak-steps { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 420px; margin: 0 auto; }
.ak-steps.one { max-width: 320px; }
.ak-step {
	position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-align: left;
	background: #fff; border: 0; border-radius: 16px; box-shadow: 0 4px 0 var(--ac-line); font-size: 19px; font-weight: 700;
}
.ak-step i { position: absolute; right: 12px; font-style: normal; font-size: 14px; color: #fff; background: #f97316; border-radius: 99px; width: 26px; height: 26px; display: grid; place-items: center; }
.ak-step-ic { font-size: 32px; line-height: 1; }
.ak-seq-head { display: flex; justify-content: center; }
.ak-seq-pic { font-size: 54px; line-height: 1; }
.ak-seq-slots { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 420px; }
.ak-seq-slot { display: flex !important; align-items: center; gap: 10px; min-height: 58px; width: 100% !important; height: auto !important; padding: 6px 10px; text-align: left; font-size: 18px !important; }
.ak-seq-slot > i { flex: none; font-style: normal; width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center; background: #e0e7ff; color: #4338ca; font-weight: 900; font-size: 15px; }
.ak-seq-slot > span { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.ak-seq-slot .ak-step-ic { font-size: 28px; }
.ak-seq-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; max-width: 460px; margin: 12px auto 0; }
.ak-seq-tile { display: flex; align-items: center; gap: 8px; padding: 10px; min-height: 64px; font-size: 16px; font-weight: 700; text-align: left; line-height: 1.2; }
.ak-seq-tile .ak-step-ic { font-size: 28px; }

/* Pola, kuis, legenda */
.ak-pola { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: clamp(30px, 9vw, 46px); line-height: 1; }
.ak-pola span { display: grid; place-items: center; width: 1.45em; height: 1.45em; background: #fff; border-radius: 14px; box-shadow: 0 3px 0 var(--ac-line); }
.ak-pola .q { color: #6366f1; font-weight: 900; background: #eef0ff; box-shadow: inset 0 0 0 3px #c7c9f5; animation: ac-pulse 1.4s infinite; }
.ak-pola .ans { background: #d1fae5; box-shadow: inset 0 0 0 3px #34d399; }
.ak-opt-emoji { font-size: 44px; }
.ak-vis { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: clamp(34px, 10vw, 54px); line-height: 1.15; letter-spacing: 4px; }
.ak-vis.rows { background: #fff; padding: 10px 18px; border-radius: 18px; box-shadow: 0 4px 0 var(--ac-line); }
.ak-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ak-legend span { display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; border-radius: 16px; padding: 10px 12px; min-width: 76px; box-shadow: 0 4px 0 var(--ac-line); font-size: 14px; font-weight: 700; }
.ak-legend b { font-size: 36px; line-height: 1; }
.ak-wrapdemo { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px; border: 3px dashed #9ee0c3; border-radius: 18px; background: #f2fcf7; }
.ak-wrapdemo > span { font-weight: 800; color: #047857; }

/* Demo di landing & mock HP */
.ak-demo-code .ak-board { width: min(100%, calc(var(--cols) * 64px)); }
.ak-demo-code .ak-pal { height: 54px; font-size: 28px; }
.ak-phone-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 8px auto; width: 78%; }
.ak-phone-board span { aspect-ratio: 1; display: grid; place-items: center; font-size: 22px; background: #e9f8ec; border-radius: 8px; }
.ak-phone-prog span { font-size: 20px !important; }

/* Lembar kerja koding */
.ak-sheet-mazes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ak-sheet-maze { position: relative; border: 2px solid #ddd; border-radius: 12px; padding: 14px 10px 10px; break-inside: avoid; }
.ak-sheet-maze table { border-collapse: collapse; margin: 0 auto 10px; }
.ak-sheet-maze td { width: 38px; height: 38px; border: 1.5px solid #888; text-align: center; font-size: 22px; }
.ak-sheet-maze td.w { background: #eee; }
.ak-sheet-boxes { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.ak-sheet-boxes i { width: 30px; height: 30px; border: 1.5px dashed #777; border-radius: 6px; }
.ak-sheet-act { margin-bottom: 18px; break-inside: avoid; }
.ak-sheet-act h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.ak-sheet-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ak-sheet-steps > div { display: flex; align-items: center; gap: 8px; border: 1.5px solid #ccc; border-radius: 10px; padding: 8px; }
.ak-sheet-steps b { font-size: 26px; }
.ak-sheet-pola > div { font-size: 26px; letter-spacing: 3px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
	.ak-bot { transition: none; }
	.ak-cell.goal, .ak-pola .q, .ak-bot.win, .ak-bot.bump { animation: none; }
}
.ak-logo { width: 34px; height: 34px; border-radius: 10px; display: block; flex: none; box-shadow: 0 3px 8px rgba(99, 102, 241, .3); }

/* Jalur Fungsi & Jika: blok ajaib ⭐, petak warna, kartu aturan */
.ak-block-fn { background: linear-gradient(180deg, #fcd34d, #f59e0b); box-shadow: 0 4px 0 #b45309; }
.ak-code-fn .ak-prog-box { position: relative; padding-top: 22px; cursor: pointer; transition: border-color .15s, background .15s; }
.ak-row-tag { position: absolute; top: -12px; left: 14px; font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: #eef0ff; color: #4338ca; box-shadow: 0 2px 0 #c7c9f5; }
.ak-row-tag.fn { background: #fef3c7; color: #92400e; box-shadow: 0 2px 0 #fcd34d; }
.ak-row-fn { border-color: #fcd34d; background: #fffbeb; }
.ak-prog-box.sel { border-style: solid; border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99, 102, 241, .15); }
.ak-row-fn.sel { border-color: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, .2); }
.ak-palette.n5 { grid-template-columns: repeat(5, 1fr); }
.ak-pal-F { background: #fffbeb; box-shadow: 0 5px 0 #fcd34d, inset 0 0 0 3px #fde68a; }
.ak-fn-demo { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.ak-fn-demo-row { display: flex; align-items: center; gap: 10px; }
.ak-fn-tag { font-weight: 900; font-size: 20px; padding: 6px 12px; border-radius: 14px; background: #fef3c7; color: #92400e; }
.ak-fn-tag.main { background: #eef0ff; color: #4338ca; }
.ak-howto { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 10px; max-width: 420px; text-align: left; }
.ak-howto li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 4px 0 var(--ac-line); font-size: 16px; line-height: 1.45; }
.ak-howto li > b:first-child { flex: none; width: 28px; height: 28px; border-radius: 99px; display: grid; place-items: center; background: #e0e7ff; color: #4338ca; font-size: 15px; }
.ak-cell.tile.ty { background: #fde047; border-color: rgba(161, 98, 7, .25); }
.ak-cell.tile.tv { background: #c4b5fd; border-color: rgba(91, 33, 182, .25); }
.ak-swatch { display: inline-block; width: 30px; height: 30px; border-radius: 9px; flex: none; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.ak-swatch.ty { background: #fde047; }
.ak-swatch.tv { background: #c4b5fd; }
.ak-legend b.ak-swatch { width: 36px; height: 36px; }
.ak-rule-dir { margin: 0; font-size: 15px; font-weight: 700; color: var(--ac-soft); text-align: center; }
.ak-rule-dir b { font-size: 20px; }
.ak-rules { display: grid; gap: 10px; width: 100%; }
.ak-rule {
	display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; border: 0; border-radius: 18px;
	background: #fff; box-shadow: 0 5px 0 #c7c9f5, inset 0 0 0 3px #e0e2fb; font: inherit; font-size: 17px; font-weight: 700; color: var(--ac-ink); text-align: left; cursor: pointer;
}
.ak-rule:active { transform: translateY(3px); box-shadow: 0 2px 0 #c7c9f5, inset 0 0 0 3px #e0e2fb; }
.ak-rule-tx { flex: 1; }
.ak-rule-d { font-size: 30px; min-width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #f1f2fb; }
.ak-rule.set .ak-rule-d { background: linear-gradient(180deg, #818cf8, #6366f1); box-shadow: 0 3px 0 #4338ca; }
.ak-rules-demo .ak-rule { max-width: 360px; margin: 0 auto; cursor: default; }
.ak-rules-demo .ak-rule-d { background: linear-gradient(180deg, #818cf8, #6366f1); }
.ak-code-rules .ak-actions { grid-template-columns: 1fr; }
.ac-lp-fungsi .ac-lp-track-ic { background: #fdf8e1; }
.ac-lp-gambar .ac-lp-track-ic { background: #e6faf5; }
.ac-lp-musik .ac-lp-track-ic { background: #fdeef6; }
.ac-lp-variabel .ac-lp-track-ic { background: #e8f5fd; }
.ac-lp-cerita .ac-lp-track-ic { background: #fff1e8; }
.ac-lp-lanjut .ac-lp-track-ic { background: #f0ebff; }
.ac-lp-tracks .ac-lp-lanjut { grid-column: 1 / -1; border-top-color: #a78bfa; }
.ac-skill-lanjut { color: #7c3aed; }
.ak-actions .ac-btn { white-space: nowrap; min-width: 0; padding-left: 10px; padding-right: 10px; }
@media (max-width: 340px) { .ak-actions .ac-btn { font-size: 16px; } }

/* v1.2: kunci & pintu, ulangi sampai, catatan program terpendek, labirin acak */
.ak-cell.key.got { opacity: .18; transform: scale(.6); transition: .25s; }
.ak-cell.door { background: #f5d0a9; border-color: rgba(146, 64, 14, .3); }
.ak-cell.door.open { background: #e9f8ec; opacity: .55; transition: .3s; }
.ak-block .ak-times.inf { background: rgba(255, 255, 255, .4); font-size: 18px; }
.ak-note { margin: 12px auto 0; max-width: 520px; padding: 10px 14px; border-radius: 14px; background: #fff7ed; color: #9a3412; font-weight: 700; text-align: center; border: 1px solid #fed7aa; }
.ak-note.good { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.ak-arena { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); max-width: 720px; margin: 18px auto; }
.ak-arena-lv { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 14px; border-radius: 20px; border: 0; background: #fff; box-shadow: 0 4px 0 #e0e2fb, 0 8px 24px rgba(99, 102, 241, .1); font: inherit; color: #312e81; cursor: pointer; text-decoration: none; }
.ak-arena-lv:hover { transform: translateY(-2px); }
.ak-arena-lv .ic { font-size: 40px; }
.ak-arena-lv b { font-size: 20px; }
.ak-arena-lv small { color: #6b7280; text-align: center; }
.ak-arena-lv.locked { opacity: .6; }
.ak-arena-lv .lock { position: absolute; top: 10px; right: 12px; }
.ak-arena-card { display: flex; align-items: center; gap: 12px; }

/* v1.3: Penyu Gambar, Musik, Variabel, Cerita */
.ak-paper { width: 100%; max-width: 420px; margin: 0 auto; background: #fffdf5; border-radius: 18px; padding: 8px; box-shadow: inset 0 0 0 2px #f1e7c8, 0 4px 0 #efe3bf; }
.ak-paper-demo { max-width: 200px; }
.ak-paper-svg { display: block; width: 100%; height: auto; max-height: 46vh; overflow: visible; }
.ak-paper-svg .dots circle { fill: #c9b98c; }
.ak-paper-svg line { stroke-linecap: round; }
.ak-paper-svg line.tgt { stroke: #d6d3d1; stroke-width: 9; stroke-dasharray: 2 13; }
.ak-paper-svg line.ink { stroke: #6366f1; stroke-width: 6; }
.ak-paper-svg line.fresh { animation: ak-ink .25s ease-out; }
.ak-paper-svg.done line.ink { stroke: #10b981; }
.ak-paper-svg .ak-turtle { font-size: 30px; text-anchor: middle; dominant-baseline: central; transition: x .24s, y .24s; }
.ak-paper-svg .ak-turtle.bump { animation: ac-shake .4s; }
.ak-paper-svg .start { fill: #10b981; }
.ak-paper-svg.mini line.ink { stroke-width: 7; }
.ak-paper-svg.mini .dots circle { r: 4; }
@keyframes ak-ink { from { opacity: 0; } to { opacity: 1; } }
.ak-opt-draw { padding: 10px !important; }
.ak-opt-draw .ak-paper-svg { max-height: 150px; }
.ak-wraptag { align-self: center; font-weight: 800; font-size: 15px; color: #047857; background: #d1fae5; border-radius: 12px; padding: 6px 10px; }

.ak-tune { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.ak-ndot { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border: 0; border-radius: 99px; background: var(--nc); color: #fff; font: 800 15px/1 inherit; box-shadow: 0 3px 0 rgba(0, 0, 0, .18); transition: transform .15s; }
.ak-ndot.on { transform: translateY(-6px) scale(1.12); }
.ak-ndot.ok { outline: 3px solid #10b981; outline-offset: 2px; }
.ak-ndot.bad { outline: 3px solid #ef4444; outline-offset: 2px; animation: ac-shake .4s; }
.ak-tune-all .ak-ndot { min-width: 52px; height: 52px; font-size: 17px; cursor: pointer; }
.ak-tune-box { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; padding: 12px; background: #fff; border-radius: 18px; box-shadow: 0 4px 0 #e0e2fb; }
.ak-nblock { background: var(--nc) !important; box-shadow: 0 4px 0 rgba(0, 0, 0, .22) !important; }
.ak-nblock .ak-nd { font-size: 17px; font-weight: 900; }
.ak-palette-flex { grid-template-columns: repeat(var(--pn), minmax(0, 1fr)); }
.ak-pal-note { background: var(--nc); color: #fff; font-size: 18px; font-weight: 900; box-shadow: 0 5px 0 rgba(0, 0, 0, .2); }
.ak-listen-big { display: grid; place-items: center; gap: 2px; margin: 0 auto; width: 120px; height: 120px; border: 0; border-radius: 50%; background: linear-gradient(180deg, #818cf8, #6366f1); color: #fff; font-size: 48px; box-shadow: 0 6px 0 #4338ca; }
.ak-listen-big small { font-size: 13px; font-weight: 800; }
.ak-listen-big.on { animation: ac-pulse .9s ease-in-out infinite; }
.ak-opt-tune { padding: 10px 6px !important; }
.ak-opt-tune .ak-ndot { min-width: 34px; height: 34px; font-size: 13px; }

.ak-var { display: grid; gap: 8px; width: 100%; max-width: 420px; margin: 0 auto; padding: 14px; background: #1e1b4b; border-radius: 18px; text-align: left; }
.ak-var-line { color: #e0e7ff; font-size: 20px; font-weight: 700; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.ak-var-line.loop { border-left: 5px solid #10b981; }
.ak-var-line.cond { border-left: 5px solid #f59e0b; }
.ak-var-k { display: block; font-size: 16px; color: #c7d2fe; }
.ak-var-in { padding-left: 18px; }
.ak-var-n { color: #fde68a; }
.ak-var-v { color: #6ee7b7; }
.ak-var-q { display: inline-block; animation: ac-pulse 1.4s infinite; }
.ak-var-box { display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: 4px 10px; padding: 14px 20px; border-radius: 18px; background: #fef3c7; box-shadow: 0 4px 0 #fcd34d; font-size: 34px; }
.ak-var-box b { font-size: 20px; }
.ak-var-box i { grid-column: 1 / -1; font-style: normal; font-weight: 900; text-align: center; background: #fff; border-radius: 12px; }

.ak-scene { position: relative; width: 100%; min-height: 150px; border-radius: 20px; background: linear-gradient(180deg, #e0f2fe 0 62%, #bbf7d0 62%); box-shadow: inset 0 0 0 2px #bae6fd; display: flex; align-items: flex-end; justify-content: center; padding: 14px 14px 18px; overflow: hidden; }
.ak-actors { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.ak-actor { position: relative; border: 0; background: none; padding: 0; font-size: 58px; line-height: 1; cursor: pointer; transform: translateX(var(--mx, 0)); transition: transform .4s; }
.ak-actor-ic { display: inline-block; }
.ak-actor.do-L .ak-actor-ic { animation: ak-jump .6s; }
.ak-actor.do-P .ak-actor-ic { animation: ac-spin .6s; }
.ak-actor.do-G .ak-actor-ic { animation: ak-grow .6s; }
.ak-actor.do-B .ak-actor-ic { animation: ac-shake .4s; }
.ak-bubble { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 15px; font-weight: 800; background: #fff; color: #312e81; padding: 4px 10px; border-radius: 12px; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); opacity: 0; pointer-events: none; }
.ak-bubble.show { animation: ak-bubble 1.2s; }
.ak-flag { position: absolute; top: 10px; left: 10px; border: 0; border-radius: 14px; background: #fff; font-size: 30px; padding: 4px 10px; box-shadow: 0 4px 0 #c7c9f5; }
@keyframes ak-jump { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-40px); } }
@keyframes ak-grow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }
@keyframes ak-bubble { 0% { opacity: 0; } 15%, 80% { opacity: 1; } 100% { opacity: 0; } }
.ak-story { width: 100%; border: 0; text-align: left; font: inherit; font-size: 17px; line-height: 1.45; color: #312e81; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 4px 0 #e0e2fb; }
.ak-when { white-space: nowrap; }
.ak-code-event .ak-prog-box { cursor: pointer; }
.ak-ablock { background: linear-gradient(180deg, #fbbf24, #f59e0b) !important; box-shadow: 0 4px 0 #b45309 !important; }
.ak-pal-act { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 26px; height: 72px; padding: 0 2px; }
.ak-pal-act small { font-size: 11px; font-weight: 800; color: #4b5563; }
.ak-actlegend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ak-actlegend span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 10px; border-radius: 14px; background: #fff; box-shadow: 0 3px 0 #e0e2fb; font-size: 13px; font-weight: 800; }
.ak-actlegend b { font-size: 28px; }
.ak-scripts { display: grid; gap: 8px; width: 100%; max-width: 420px; margin: 0 auto; }
.ak-script { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; background: #fff7ed; box-shadow: inset 0 0 0 2px #fed7aa; }
.ak-script-when { font-weight: 800; color: #9a3412; white-space: nowrap; }
.ak-script-do { display: flex; flex-wrap: wrap; gap: 4px; }
.ak-actchip { display: inline-flex; align-items: center; gap: 1px; padding: 3px 6px; border-radius: 10px; background: #fff; box-shadow: 0 2px 0 #e5e7eb; font-size: 20px; }
.ak-actchip i { font-style: normal; font-size: 16px; }
.ak-actseq { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
.ak-actseq > i { font-style: normal; color: #9ca3af; }
.ak-opt-acts { font-size: 18px; padding: 10px 6px !important; }
.ak-tap { margin: 8px 0 0; font-weight: 800; font-size: 18px; color: #312e81; }
@media (prefers-reduced-motion: reduce) {
	.ak-actor .ak-actor-ic, .ak-listen-big.on, .ak-var-q { animation: none !important; }
}

/* Peta: 10 jalur → tab bisa digeser di HP, dua baris di layar lebar. */
.ac-mapwrap .ac-tabs { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ac-mapwrap .ac-tabs::-webkit-scrollbar { display: none; }
.ac-mapwrap .ac-tab { flex: 0 0 auto; min-width: 88px; scroll-snap-align: start; flex-direction: column; gap: 2px; padding: 8px 8px; text-align: center; }
@media (min-width: 760px) {
	.ac-mapwrap .ac-tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); overflow: visible; }
	.ac-mapwrap .ac-tab { min-width: 0; }
}
.ak-code-event .ak-prog-box { position: relative; padding-top: 22px; margin-top: 6px; transition: border-color .15s, background .15s; }
.ak-code-event .ak-row-tag { font-size: 14px; background: #fff7ed; color: #9a3412; box-shadow: 0 2px 0 #fed7aa; }
.ak-code-event .ak-prog-box.sel { border-color: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, .2); }
@media (max-width: 420px) {
	.ak-pal-act small { display: none; }
	.ak-pal-act { height: 62px; }
}
.ak-tune-box #ak-listen { border: 0; border-radius: 99px; padding: 8px 18px; background: #eef0ff; color: #4338ca; font: 800 16px/1.2 inherit; box-shadow: 0 3px 0 #c7c9f5; }

/* ---------- 1.4: paket bertingkat ---------- */
.ak-node-tier { position: absolute; top: -6px; right: 14px; z-index: 2; font-style: normal; font-size: 10px; font-weight: 800; line-height: 1; padding: 4px 7px; border-radius: 99px; background: #ffcf3f; color: #5a3b00; box-shadow: 0 2px 0 #e0a800; white-space: nowrap; }
.ak-upsell { display: flex; align-items: center; gap: 12px; text-align: left; text-decoration: none; color: var(--ac-ink); background: linear-gradient(135deg, #fff7d6, #ffe9f1); border: 2px dashed #f1c24b; margin: 14px 0; }
.ak-upsell-ic { font-size: 30px; }
.ak-upsell > span:nth-child(2) { flex: 1; display: grid; gap: 3px; }
.ak-upsell small { color: #6b5a3a; font-size: 13px; line-height: 1.4; }
.ak-upsell-go { white-space: nowrap; color: #b26b00; }
.ak-plan-pct { display: inline-block; vertical-align: middle; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 99px; background: #eef3ff; color: #3653b0; margin-left: 4px; }
.ac-plan.owned { opacity: .75; }
.ak-owned { pointer-events: none; }
.ak-mitra-offer { background: linear-gradient(135deg, #e9f5ff, #eefbf1); box-shadow: 0 4px 0 #cfe4f2; margin-top: 10px; }
.ac-pay-done .ak-mitra-offer { text-align: left; margin-top: 18px; }
.ak-lp-assure { list-style: none; padding: 0; margin: 22px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; max-width: 920px; color: #3d4663; }
.ak-lp-assure li { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: 0 2px 0 #e6e9f2; text-align: left; }
.ak-lp-assure li > span { font-size: 24px; flex: none; }
.ak-lp-assure b { display: block; font-size: 15px; color: var(--ac-ink); }
.ak-lp-assure small { display: block; font-size: 13.5px; color: var(--ac-soft); }

/* Alat jualan mitra: kirim kode, halaman jualan, bahan promosi */
.ac-code.given { border-color: #c7d2fe; background: #f8f9ff; }
.ac-code small b { color: var(--ac-ink); }
.ak-give { flex-basis: 100%; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--ac-line); }
.ak-give input, .ak-shop-form input, .ak-shop-form textarea { font: inherit; font-size: 15px; padding: 10px 12px; border: 2px solid var(--ac-line); border-radius: 12px; background: #fff; min-width: 0; color: var(--ac-ink); }
.ak-give input:focus, .ak-shop-form input:focus, .ak-shop-form textarea:focus { outline: none; border-color: var(--ac-accent); }
.ak-give input { flex: 1 1 180px; }
.ak-give .ac-form-err { flex-basis: 100%; margin: 0; }
.ak-shop-state { font-size: 13px; font-weight: 800; color: var(--ac-soft); background: #f1f0f6; padding: 5px 12px; border-radius: 999px; }
.ak-shop-state.on { color: #128c4a; background: #e7f9ee; }
.ak-shop-form { display: grid; gap: 12px; margin-top: 12px; }
.ak-shop-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.ak-shop-form .ak-shop-on { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.ak-shop-on input { width: 20px; height: 20px; accent-color: var(--ac-accent); }
.ak-shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.ak-shop-lbl { margin: 4px 0 0; font-weight: 800; }
.ak-shop-lbl small { color: var(--ac-soft); font-weight: 600; }
.ak-offers { display: grid; gap: 8px; }
.ak-offer-row { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 8px; }
.ak-shop-form .ac-form-err { margin: 0; }
.ak-posters { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0 18px; align-items: end; }
.ak-posters figure { margin: 0; text-align: center; }
.ak-posters canvas { width: 100%; max-width: 260px; height: auto; border-radius: 14px; box-shadow: 0 6px 18px rgba(49, 46, 129, .18); }
.ak-posters figcaption { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--ac-soft); }
.ak-posters figcaption b { color: var(--ac-ink); }
.ak-promo-item { border: 2px solid var(--ac-line); border-radius: 16px; padding: 10px 14px; margin-top: 10px; }
.ak-promo-item summary { cursor: pointer; font-weight: 800; display: flex; gap: 8px; align-items: center; }
.ak-promo-item pre { white-space: pre-wrap; font: inherit; font-size: 14.5px; background: #f8f9ff; border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.ak-shop-hero .ak-shop-by { font-size: 18px; margin-top: 4px; }
.ak-shop-hero .ak-shop-intro { background: #fff; border-radius: 16px; padding: 12px 16px; max-width: 560px; margin: 12px auto 0; font-style: italic; box-shadow: 0 3px 0 var(--ac-line); }
@media (max-width: 560px) {
	.ak-offer-row { grid-template-columns: 1fr 1fr; }
	.ak-offer-row input:last-child { grid-column: 1 / -1; }
	.ak-posters { grid-template-columns: 1fr 1fr; gap: 10px; }
}
.is-shop .ac-lp-facts { margin-top: 22px; }
.is-shop .ak-shop-hero .ac-lp-ctas { margin-bottom: 8px; }

/* 1.4.9: untung, stok, tingkat, kupon mitra */
.ak-low { background: linear-gradient(135deg, #fff1d6, #ffe3e3); box-shadow: 0 4px 0 #f3cfb0; flex-wrap: wrap; }
.ak-low .ac-btn { flex: none; }
.ak-profit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 10px; }
.ak-profit-grid > div { background: #f6f8ff; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.ak-profit-grid > div.hl { background: linear-gradient(135deg, #e7fbef, #e3f4ff); }
.ak-profit-grid span { font-size: 13px; color: var(--ac-muted, #667); }
.ak-profit-grid b { font-size: 24px; }
.ak-profit-grid small { font-size: 12.5px; color: var(--ac-muted, #667); }
.ak-tier-now { font-weight: 800; background: #fff4d6; color: #8a5a00; border-radius: 999px; padding: 4px 12px; font-size: 14px; }
.ak-tier-bar { height: 12px; border-radius: 999px; background: #eef0f6; overflow: hidden; margin: 8px 0 14px; }
.ak-tier-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ffb43a, #ff7a59); border-radius: 999px; }
.ak-tier-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.ak-tier-list li { border: 2px solid #eef0f6; border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; font-size: 13px; color: var(--ac-muted, #667); }
.ak-tier-list li b { font-size: 15px; color: var(--ac-ink); }
.ak-tier-list li.on { border-color: #ffb43a; background: #fffaf0; }
.ak-tier-off { margin: -4px 0 8px; font-size: 13px; color: #8a5a00; font-weight: 700; }
.ak-pc-code { font-size: 18px; font-weight: 800; letter-spacing: 1px; background: #eef4ff; padding: 4px 12px; border-radius: 10px; }
.ak-pc-form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ak-pc-form input { flex: 1; min-width: 160px; text-transform: uppercase; letter-spacing: 1px; }
.ak-pc-form .ac-form-err { flex-basis: 100%; }

/* 1.5.2: kartu harga */
.ak-plan-for { margin: 2px 0 0; font-size: 14px; font-weight: 700; color: var(--ac-soft); }
.ac-plan.hot .ak-plan-for { color: var(--ac-accent); }
.ac-plan-sub { line-height: 1.5; }
.ak-best { font-style: normal; font-size: 12px; font-weight: 900; color: #fff; background: var(--ac-good); padding: 2px 8px; border-radius: 99px; margin-left: 4px; white-space: nowrap; }
.ak-plan-anchor { margin: 0 0 12px; padding: 9px 12px; border-radius: 12px; background: #fff4ec; font-size: 14px; line-height: 1.4; }
.ak-plan-anchor b { color: var(--ac-accent); }
.ak-gets-head { margin: 0; padding-top: 12px; border-top: 1px dashed var(--ac-line); font-size: 13.5px; font-weight: 800; color: var(--ac-soft); }
.ak-gets-head + .ac-plan-gets { border-top: 0; padding-top: 8px; }
@media (max-width: 700px) {
	/* Di ponsel paket unggulan tampil lebih dulu. */
	.ac-plans .ac-plan.hot { order: -1; margin-top: 10px; }
	.ac-plans .ac-plan-free { order: 1; }
}

/* ---- 1.6.0: misi harian, acara musiman, main & berkarya ---- */
.ak-play-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: -2px 0 14px; }
.ak-play { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 12px 6px; border-radius: 20px; background: #fff; text-decoration: none; color: var(--ac-ink); box-shadow: 0 4px 0 var(--ac-line); border: 2px solid #e8e3ff; }
.ak-play i { font-style: normal; font-size: 30px; line-height: 1.1; }
.ak-play b { font-size: 15px; line-height: 1.2; }
.ak-play small { font-size: 12px; color: var(--ac-soft); font-weight: 700; line-height: 1.2; }
.ak-play:active { transform: translateY(2px); }
.ak-misi { background: #fff; border-radius: 22px; padding: 12px 14px; margin: 0 0 14px; box-shadow: 0 4px 0 var(--ac-line); border: 2px solid #ffe3b3; }
.ak-misi.full { border-color: #9be3b5; background: linear-gradient(135deg, #f0fff5, #fff); }
.ak-misi-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ak-misi-h span { background: #fff1d6; color: #9a5b00; border-radius: 999px; padding: 2px 10px; font-weight: 900; font-size: 15px; }
.ak-misi.full .ak-misi-h span { background: #d7f7e3; color: #17733f; }
.ak-misi-list { display: grid; gap: 6px; }
.ak-misi-it { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: #f7f7ff; color: var(--ac-ink); text-decoration: none; font-weight: 700; font-size: 16px; }
.ak-misi-it i { font-style: normal; font-size: 22px; width: 28px; text-align: center; }
.ak-misi-it.ok { background: #eafbf0; color: #17733f; }
.ak-misi-it.ok span { text-decoration: line-through; text-decoration-color: rgba(23, 115, 63, .35); }
.ak-misi-foot { margin: 8px 2px 0; font-size: 14px; color: var(--ac-soft); font-weight: 700; }
.ak-misi-win { display: inline-block; background: #eafbf0; color: #17733f; border-radius: 14px; padding: 6px 14px; font-weight: 800; }
.ak-musim { display: flex; gap: 12px; align-items: center; color: #fff; border-radius: 22px; padding: 12px 14px; margin: 0 0 14px; background: linear-gradient(135deg, var(--m1), var(--m2)); box-shadow: 0 4px 0 rgba(0, 0, 0, .12); }
.ak-musim-ic { font-size: 40px; flex: none; }
.ak-musim-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ak-musim-tx b { font-size: 16px; line-height: 1.25; }
.ak-musim-tx small { font-size: 13px; font-weight: 700; opacity: .92; }
.ak-musim-bar { display: block; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.ak-musim-bar i { display: block; height: 100%; background: #fff; border-radius: 999px; }

/* Lab KA */
.ak-lab-q { font-weight: 800; margin: 8px 0 4px; }
.ak-lab-n .ac-opt { font-size: 38px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.ak-lab-n .ac-opt small { font-size: 14px; color: var(--ac-soft); margin-top: 4px; }
.ac-opt.sel { background: #eef0ff; box-shadow: 0 6px 0 #c7c9f5, inset 0 0 0 3px var(--ac-accent); }
.ak-lab-card { display: flex; flex-direction: column; align-items: center; gap: 4px; background: #fff; border-radius: 22px; padding: 14px 16px; box-shadow: 0 6px 0 var(--ac-line); width: 100%; max-width: 360px; }
.ak-lab-e { font-size: 74px; line-height: 1.1; }
.ak-lab-card > b { font-size: 22px; }
.ak-lab-feats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ak-lab-feats i { font-style: normal; font-size: 14px; font-weight: 800; background: #f1f2fb; color: #4b4b63; border-radius: 999px; padding: 3px 10px; }
.ak-lab-feats i.on { background: #fde68a; color: #7a4b00; }
.ak-lab-lbl { font-size: 24px; min-height: 76px; }
.ak-lab-memt { margin: 14px 0 6px; font-weight: 800; color: var(--ac-soft); font-size: 15px; }
.ak-lab-mem { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.ak-lab-bin { background: #fff; border-radius: 16px; padding: 8px 10px; box-shadow: 0 3px 0 var(--ac-line); min-height: 70px; }
.ak-lab-bin b { display: block; font-size: 15px; margin-bottom: 4px; }
.ak-lab-bin span { display: flex; flex-wrap: wrap; gap: 2px; font-size: 26px; line-height: 1.2; }
.ak-lab-bin i { font-style: normal; border-radius: 10px; padding: 0 2px; }
.ak-lab-bin i.hit { background: #fde68a; box-shadow: 0 0 0 2px #f59e0b; }
.ak-lab-bin em { font-size: 13px; color: var(--ac-soft); }
.ak-lab-out { margin: 14px 0 0; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 64px; text-align: center; }
.ak-lab-think { font-size: 40px; }
.ak-lab-think i { font-style: normal; animation: ak-blink 1s infinite; }
.ak-lab-think i:nth-child(2) { animation-delay: .2s; }
.ak-lab-think i:nth-child(3) { animation-delay: .4s; }
@keyframes ak-blink { 50% { opacity: .15; } }
.ak-lab-v { margin: 0; font-size: 21px; font-weight: 800; }
.ak-lab-v.ok { color: var(--ac-good); }
.ak-lab-v.bad { color: var(--ac-bad); }
.ak-lab-v.unsure { color: #b45309; }
.ak-lab-why { margin: 0; color: #4b4b63; font-weight: 700; font-size: 16px; }
.ak-lab-lesson { background: #fff8e1; border-radius: 16px; padding: 10px 14px; font-weight: 700; text-align: left; }

/* Studio labirin & tantangan */
.ak-studio-tools { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 8px 0 12px; }
.ak-tool { display: flex; flex-direction: column; align-items: center; gap: 0; border: 0; background: #f4f5ff; border-radius: 14px; padding: 6px 2px; font: inherit; cursor: pointer; box-shadow: 0 3px 0 var(--ac-line); }
.ak-tool i { font-style: normal; font-size: 24px; line-height: 1.2; }
.ak-tool small { font-size: 11px; font-weight: 800; color: var(--ac-soft); }
.ak-tool.on { background: #e0e7ff; box-shadow: 0 3px 0 #a5b4fc, inset 0 0 0 2px var(--ac-accent); }
.ak-studio-grid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 0; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 3px #b9e2c4, 0 5px 0 #b9e2c4; max-width: 420px; margin: 0 auto; }
.ak-sc { aspect-ratio: 1; border: 1px dashed rgba(32, 120, 60, .16); background: #e9f8ec; font-size: clamp(22px, 7vw, 36px); line-height: 1; padding: 0; cursor: pointer; }
.ak-sc.alt { background: #dcf2e1; }
.ak-sc.w { background: #c8e9cf; }
.ak-studio-status { margin: 10px 0; font-weight: 800; color: #b45309; text-align: center; }
.ak-studio-status.ok { color: #17733f; }
.ak-studio input, .ak-join input, .ak-pj-head input { width: 100%; }
.ak-share { text-align: center; border: 2px solid #c7d2fe; }
.ak-share-t { font-weight: 900; font-size: 20px; margin: 0 0 4px; }
.ak-share-code { white-space: nowrap; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: clamp(16px, 5.4vw, 32px); font-weight: 900; letter-spacing: .06em; background: #eef0ff; color: #3730a3; border-radius: 16px; padding: 10px; margin: 10px 0; user-select: all; }
.ak-share-btns { flex-direction: row; justify-content: center; flex-wrap: wrap; }
.ak-mini { display: inline-grid; grid-template-columns: repeat(var(--cols), 14px); grid-auto-rows: 14px; border-radius: 5px; overflow: hidden; background: #e9f8ec; box-shadow: 0 0 0 2px #b9e2c4; vertical-align: middle; }
.ak-mini i { font-style: normal; font-size: 10px; line-height: 14px; text-align: center; }
.ak-mini i.w { background: #c8e9cf; }
.ak-saved { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--ac-line); }
.ak-saved:first-of-type { border-top: 0; }
.ak-saved-tx { flex: 1; min-width: 0; }
.ak-saved-tx b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ak-saved-tx small { color: var(--ac-soft); font-weight: 700; font-size: 13px; }
.ak-saved-act { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.ak-saved-act .ac-btn-sm { min-height: 38px; padding: 0 10px; }
.ak-join { text-align: center; }
.ak-join input { text-transform: uppercase; text-align: center; font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .05em; }
.ak-bad { color: var(--ac-bad); font-weight: 800; }

/* Proyek akhir */
.ak-pj-cta { display: flex; align-items: center; gap: 12px; max-width: 820px; margin: 14px auto 0; padding: 12px 16px; border-radius: 20px; background: #fff; color: var(--ac-ink); text-decoration: none; box-shadow: 0 4px 0 var(--ac-line); border: 2px solid #e8e3ff; }
.ak-pj-cta > span:first-child { font-size: 32px; }
.ak-pj-cta > span:nth-child(2) { flex: 1; min-width: 0; }
.ak-pj-cta small { display: block; color: var(--ac-soft); font-weight: 600; }
.ak-pj-cta > b { color: var(--ac-accent); font-size: 22px; }
.ac-cert-proj { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; margin: 1% 0 0; padding: 4px 12px; border-radius: 14px; background: #f5f3ff; max-width: 92%; }
.ac-cert-proj > small { font-weight: 800; color: #6d5bd0; font-size: clamp(10px, 1.5vw, 13px); }
.ac-cert-proj > b { font-size: clamp(12px, 1.9vw, 16px); }
.ac-cert-proj-th { display: flex; align-items: center; gap: 8px; }
.ac-cert-proj-th em { font-size: clamp(10px, 1.4vw, 12px); color: #6b6b80; font-weight: 700; }
.ac-cert-proj .ak-mini { grid-template-columns: repeat(var(--cols), 11px); grid-auto-rows: 11px; }
.ac-cert-proj .ak-mini i { font-size: 8px; line-height: 11px; }
.ak-pj-paper .ak-paper-svg.mini { width: 72px; height: 72px; display: block; }
.ak-pj-paper .ak-paper-svg line.ink { stroke: #0d9488; stroke-width: 16; }
.ak-pj-paper .ak-paper-svg .dots circle { fill: #e7dcbc; }
.ak-pj-paper .ak-paper-svg .start { r: 12; }
.ac-cert-proj .ak-tune .ak-ndot { width: 18px; height: 18px; font-size: 8px; }
.ak-gmini { display: flex; flex-direction: column; align-items: flex-start; font-size: clamp(10px, 1.5vw, 12px); font-weight: 700; color: #4b4b63; line-height: 1.3; }
.ak-gmini b { font-size: 18px; }
.ak-gcode { display: grid; gap: 6px; }
.ak-gline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border-radius: 14px; padding: 8px 10px; font-size: 15px; }
.ak-gline span { font-weight: 900; }
.ak-gline b { background: #fff; border-radius: 10px; padding: 2px 8px; font-weight: 800; }
.ak-gline.ev { background: #fef3c7; }
.ak-gline.if { background: #ede9fe; }
.ak-gpick { margin: 0 0 10px; }
.ak-gpick > span { display: block; font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.ak-gpick > div { display: flex; flex-wrap: wrap; gap: 6px; }
.ak-gchip { border: 0; background: #f4f5ff; border-radius: 12px; padding: 6px 10px; font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; box-shadow: 0 3px 0 var(--ac-line); }
.ak-gchip.on { background: #e0e7ff; box-shadow: 0 3px 0 #a5b4fc, inset 0 0 0 2px var(--ac-accent); }
.ak-game-top { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: 8px; }
.ak-game-top b { font-size: 22px; color: var(--ac-accent); }
.ak-game-field { position: relative; height: 260px; border-radius: 18px; background: linear-gradient(#e0f2fe, #f0fdf4); overflow: hidden; box-shadow: inset 0 0 0 3px #bae6fd; margin-bottom: 12px; }
.ak-game-field .ak-scene { position: absolute; left: 0; right: 0; bottom: 6px; background: none; box-shadow: none; min-height: 0; padding: 0; }
.ak-game-item { position: absolute; border: 0; background: none; font-size: 44px; cursor: pointer; padding: 4px; transition: left .25s, top .25s; z-index: 2; }
.ak-game-msg { position: absolute; inset: 0 0 auto; margin: 18px 12px; text-align: center; font-weight: 800; color: #1e3a8a; }

/* Tes awal */
.ak-pt-grades { grid-template-columns: 1fr 1fr; }
.ak-pt-grades .ac-opt { font-size: 20px; min-height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.ak-pt-grades .ac-opt span { font-size: 32px; }
.ak-pt-vis { font-size: 72px; }
.ak-pt-code { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: 0 5px 0 var(--ac-line); font-size: 20px; font-weight: 800; }
.ak-pt-code span { background: #f1f2fb; border-radius: 10px; padding: 2px 10px; }
.ak-pl-line { margin: -4px 0 14px; font-size: 15px; font-weight: 700; color: var(--ac-soft); }

/* Laporan mingguan */
.ak-weekly { border: 2px solid #dbeafe; }
.ak-weekly h3 small { color: var(--ac-soft); font-weight: 700; font-size: 14px; }
.ak-weekly-lead { font-weight: 700; background: #f0f7ff; border-radius: 14px; padding: 10px 12px; }
.ak-weekly-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px 10px; align-items: center; margin: 10px 0; font-size: 16px; }
.ak-weekly-grid > b { text-align: center; }
.ak-weekly-grid > b.soft { color: var(--ac-soft); font-weight: 700; }
.ak-weekly-grid em { font-style: normal; font-size: 12px; color: var(--ac-soft); }
.ak-weekly-grid em.up { color: var(--ac-good); }
.ak-weekly-grid em.down { color: var(--ac-bad); }
.ak-weekly p { margin: 8px 0; }
.ak-weekly-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
@media print {
	.ak-print-week > *:not(.ak-weekly):not(.ac-report-head) { display: none !important; }
	.ak-print-week .ac-report-head { display: block !important; }
}
@media (max-width: 380px) {
	.ak-studio-tools { grid-template-columns: repeat(4, 1fr); }
	.ak-play small { display: none; }
}
/* Tes awal: papan robot di soal tidak boleh menyusut mengikuti isi. */
.ak-pt-vis { align-self: stretch; }

/* v1.7.0 — Akses guru dan paket sekolah */
.ac-guru-status { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.ac-guru-status b { display: block; font-size: 17px; }
.ac-guru-status small { display: block; color: var(--ac-soft); font-size: 14px; margin-top: 2px; }
.ac-guru-ic { font-size: 30px; }
.ac-guru-intro h2 { margin: 0 0 8px; }
.ac-guru-warn { background: #fff4e0; border-radius: 14px; padding: 10px 14px; margin: 10px 0 0; font-size: 15px; }
.ac-guru-h { text-align: center; margin: 22px 0 6px; }
.ac-school-quota { list-style: none; padding: 0; margin: 0 0 10px; font-size: 14.5px; display: grid; gap: 4px; }
.ac-guru-renew summary { cursor: pointer; font-weight: 800; font-size: 16px; }
.ac-guru-renew[open] summary { margin-bottom: 8px; }
