/* =========================================================
   Siap Sekolah — sistem visual
   Arah: standar kategori edtech anak (acuan Khan Academy Kids, Duolingo).
   Terang saja: dipakai orang tua & anak di rumah, siang atau malam, di HP.
   ========================================================= */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("/fonts/nunito-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url("/fonts/nunito-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;

  /* Permukaan & tinta */
  --bg: #F7F7FB;
  --surface: #FFFFFF;
  --line: #E6E5EF;
  --line-strong: #D2D0E0;
  --ink: #23223A;
  --ink-2: #4E4D66;
  --ink-3: #646380;

  /* Warna peran */
  --violet: #6C4CF1;  --violet-lip: #4E33C9; --violet-soft: #EFEBFF; --violet-ink: #4A2ED0;
  --sun: #FFC83A;     --sun-lip: #DDA100;    --sun-soft: #FFF4D1;    --sun-ink: #6E4B00;
  --coral: #FF7B5C;   --coral-lip: #D9573A;  --coral-soft: #FFEAE4;  --coral-ink: #A8361A;
  --green: #22A565;   --green-lip: #17804C;  --green-soft: #DDF5E8;  --green-ink: #0F6638;
  --blue: #2F9BEA;    --blue-lip: #1E79BF;   --blue-soft: #E2F1FD;   --blue-ink: #135C96;
  --wa: #0E7A3F;      --wa-lip: #095A2E;

  /* Status kesiapan (warna selalu disertai teks) */
  --lv-baik: var(--green);  --lv-baik-soft: var(--green-soft); --lv-baik-ink: var(--green-ink);
  --lv-mid: var(--sun);     --lv-mid-soft: var(--sun-soft);    --lv-mid-ink: var(--sun-ink);
  --lv-stim: var(--blue);   --lv-stim-soft: var(--blue-soft);  --lv-stim-ink: var(--blue-ink);

  /* Ruang (ritme 4/8) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;

  /* Bentuk */
  --r-sm: 12px; --r: 18px; --r-lg: 24px; --r-pill: 999px;
  --lip: 4px;

  /* Tipe */
  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Gerak */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-press: 120ms;
  --t-ui: 200ms;
  --t-enter: 420ms;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 600 17px/1.55 var(--font);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--violet);
  accent-color: var(--violet);
}
::selection { background: var(--violet-soft); color: var(--violet-ink); }
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }

main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: var(--s4) var(--s4) var(--s7); outline: none; }
main.wide { max-width: 1080px; }

h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.012em; }
h1 { font-size: clamp(2rem, 7.5vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.4rem, 4.6vw, 1.85rem); font-weight: 900; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--s3); }
ul, ol { margin: 0; padding: 0; }
b, strong { font-weight: 800; }
a { color: var(--violet-ink); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--violet); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stack > * + * { margin-top: var(--s4); }
.section { margin-top: var(--s7); }
.section-head { margin-bottom: var(--s4); }
.section-head p { margin-top: var(--s2); color: var(--ink-2); }

:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 10px; }

.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.25em; }

/* ---------- Bar atas & kaki ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(247, 247, 251, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 2px solid var(--line); }
.topbar-in { max-width: 1080px; margin: 0 auto; padding: var(--s2) var(--s4); display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.brand { display: inline-flex; gap: var(--s2); align-items: center; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 1.2rem; letter-spacing: -0.01em; min-height: 44px; }
.brand .kiki { width: 34px; height: 38px; }
.topnav a { color: var(--ink-2); text-decoration: none; font-weight: 800; padding: var(--s3); border-radius: var(--r-sm); min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.topnav a:hover { background: var(--violet-soft); color: var(--violet-ink); }
.footer { border-top: 2px solid var(--line); background: var(--surface); }
.footer-in { max-width: 760px; margin: 0 auto; padding: var(--s6) var(--s4) var(--s7); color: var(--ink-2); font-size: .9rem; display: grid; gap: var(--s3); }
.footer-in .brand { font-size: 1rem; }

/* ---------- Tombol ---------- */
.btn {
  --b: var(--surface); --b-lip: var(--line-strong); --b-ink: var(--ink); --b-line: var(--line-strong);
  appearance: none; cursor: pointer; text-decoration: none; user-select: none; -webkit-tap-highlight-color: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px; padding: 12px 22px;
  font: 800 1rem/1.2 var(--font); letter-spacing: .01em;
  color: var(--b-ink); background: var(--b);
  border: 2px solid var(--b-line); border-radius: var(--r-pill);
  box-shadow: 0 var(--lip) 0 var(--b-lip);
  transform: translateY(0);
  transition: transform var(--t-press) var(--ease-out), box-shadow var(--t-press) var(--ease-out), background-color var(--t-ui), filter var(--t-ui);
  margin-bottom: var(--lip);
}
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(var(--lip)); box-shadow: 0 0 0 var(--b-lip); }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: .55; filter: grayscale(.3); transform: none; box-shadow: 0 var(--lip) 0 var(--b-lip); }
.btn .ic { width: 1.2em; height: 1.2em; }
.btn-primary { --b: var(--violet); --b-lip: var(--violet-lip); --b-line: var(--violet); --b-ink: #fff; }
.btn-sun { --b: var(--sun); --b-lip: var(--sun-lip); --b-line: var(--sun); --b-ink: #3B2A00; }
.btn-green, .btn-teal { --b: #17874F; --b-lip: #0F6638; --b-line: #17874F; }
.btn-wa { --b: var(--wa); --b-lip: var(--wa-lip); --b-line: var(--wa); --b-ink: #fff; }
.btn-soft { --b: var(--violet-soft); --b-lip: #D7CEFF; --b-line: #D7CEFF; --b-ink: var(--violet-ink); }
.btn-big { min-height: 60px; font-size: 1.15rem; padding: 14px 28px; }
.btn-block { width: 100%; }
.btn-ghost {
  background: transparent; border-color: transparent; box-shadow: none; margin-bottom: 0;
  color: var(--ink-2); min-height: 44px; padding: 8px 12px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.btn-ghost:hover { color: var(--violet-ink); filter: none; }
.btn-ghost:active { transform: none; box-shadow: none; }
.btn-icon { width: 52px; padding: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.btn-row.end { justify-content: flex-end; }
.btn-row.spread { justify-content: space-between; }

/* ---------- Kartu ---------- */
.card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-bottom-width: calc(2px + var(--lip));
  border-radius: var(--r-lg);
  padding: var(--s5);
}
.card + .card, .card + .btn, .card + .callout, .callout + .card { margin-top: var(--s4); }
.card > h2 + p, .card > h3 + p { margin-top: var(--s2); }
.card-flat { border-bottom-width: 2px; }

.icon-tile {
  --t: var(--violet-soft); --t-ink: var(--violet-ink);
  width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center;
  background: var(--t); color: var(--t-ink);
}
.icon-tile .ic { width: 26px; height: 26px; }
.icon-tile.sm { width: 40px; height: 40px; border-radius: 12px; }
.icon-tile.sm .ic { width: 22px; height: 22px; }
.icon-tile.lg { width: 72px; height: 72px; border-radius: 22px; }
.icon-tile.lg .ic { width: 38px; height: 38px; }
.t-violet { --t: var(--violet-soft); --t-ink: var(--violet-ink); }
.t-sun { --t: var(--sun-soft); --t-ink: var(--sun-ink); }
.t-coral { --t: var(--coral-soft); --t-ink: var(--coral-ink); }
.t-green { --t: var(--green-soft); --t-ink: var(--green-ink); }
.t-blue { --t: var(--blue-soft); --t-ink: var(--blue-ink); }

.callout { display: flex; gap: var(--s3); align-items: flex-start; border-radius: var(--r); padding: var(--s4); background: var(--sun-soft); color: #4A3400; }
.callout .ic { color: var(--sun-ink); margin-top: 2px; }
.callout.info { background: var(--violet-soft); color: #2F1E86; }
.callout.info .ic { color: var(--violet-ink); }
.callout.care { background: var(--coral-soft); color: #6E2412; }
.callout.care .ic { color: var(--coral-ink); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--surface); border: 2px solid var(--line); font-weight: 800; font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* ---------- Kiki ---------- */
.kiki { display: block; overflow: visible; }
.kiki .k-shadow { fill: rgba(35, 34, 58, .09); }
.kiki .k-main { fill: #C8763C; }
.kiki .k-tuft, .kiki .k-wing { fill: #9C5426; }
.kiki .k-belly { fill: #F7DDB8; }
.kiki .k-scallop { fill: none; stroke: #E2AC74; stroke-width: 3; stroke-linecap: round; }
.kiki .k-face { fill: #FBE9D0; }
.kiki .k-white { fill: #fff; }
.kiki .k-pupil { fill: #23223A; }
.kiki .k-shine { fill: #fff; }
.kiki .k-lid { fill: #C8763C; transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); animation: k-blink 5.2s infinite; }
.kiki .k-eye:nth-of-type(2) .k-lid { animation-delay: .04s; }
.kiki .k-cheek { fill: #FF8C75; opacity: .5; }
.kiki .k-beak { fill: #FFB21E; }
.kiki .k-jaw { fill: #E58C00; transform-box: fill-box; transform-origin: 50% 0; }
.kiki .k-scarf { fill: var(--violet); }
.kiki .k-scarf-tail { fill: var(--violet-lip); }
.kiki .k-foot { fill: #FFB21E; }
.kiki .k-wing { transform-box: fill-box; transition: transform 380ms var(--ease-out); }
.kiki .k-wing-l { transform-origin: 90% 8%; }
.kiki .k-wing-r { transform-origin: 10% 8%; }
.kiki .k-body { transform-origin: 50% 100%; transform-box: fill-box; }
.kiki.talk .k-jaw { animation: k-talk .26s ease-in-out infinite alternate; }
.kiki.talk .k-body { animation: k-bob .52s ease-in-out infinite alternate; }
.kiki.cheer .k-wing-l { transform: rotate(48deg); }
.kiki.cheer .k-wing-r { transform: rotate(-48deg); }
.kiki.cheer .k-body { animation: k-hop .5s var(--ease-out); }
.kiki.wave .k-wing-r { animation: k-wave 2.4s var(--ease-out) infinite; }
@keyframes k-blink { 0%, 92%, 100% { transform: scaleY(0); } 95% { transform: scaleY(1); } }
@keyframes k-talk { from { transform: scaleY(.6); } to { transform: scaleY(1.7) translateY(1px); } }
@keyframes k-bob { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(-3px) rotate(1deg); } }
@keyframes k-hop { 0% { transform: translateY(0); } 40% { transform: translateY(-10px) scale(1.03); } 100% { transform: translateY(0); } }
@keyframes k-wave { 0%, 55%, 100% { transform: rotate(0); } 65% { transform: rotate(-58deg); } 75% { transform: rotate(-38deg); } 85% { transform: rotate(-58deg); } }

/* ---------- Beranda ---------- */
.hero { display: grid; gap: var(--s5); padding: var(--s4) 0 var(--s2); }
.hero-art { position: relative; display: grid; place-items: center; height: 230px; }
.hero-art::before {
  content: ""; position: absolute; width: 230px; height: 230px; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
  background: var(--violet-soft); transform: rotate(-8deg);
}
.hero-art .kiki { position: relative; width: 168px; height: 188px; }
.hero-art .spark { position: absolute; color: var(--sun-lip); }
.hero-art .spark .ic { width: 30px; height: 30px; }
.hero-art .s1 { left: calc(50% - 150px); top: 38px; color: var(--sun-lip); }
.hero-art .s2 { right: calc(50% - 146px); top: 70px; color: var(--coral); }
.hero-art .s3 { left: calc(50% - 128px); bottom: 26px; color: var(--blue); }
.hero-copy { text-align: center; }
.hero-copy h1 em { font-style: normal; color: var(--violet); }
.hero-copy .lead { margin: var(--s3) auto 0; max-width: 34ch; font-size: 1.08rem; color: var(--ink-2); }
.start-choices { display: grid; gap: var(--s3); margin-top: var(--s5); }
.choice-btn {
  display: flex; align-items: center; gap: var(--s3); width: 100%; text-align: left; cursor: pointer; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 2px solid var(--line-strong); border-radius: var(--r-lg);
  padding: var(--s3) var(--s4); min-height: 76px; box-shadow: 0 var(--lip) 0 var(--line-strong); margin-bottom: var(--lip);
  transition: transform var(--t-press) var(--ease-out), box-shadow var(--t-press) var(--ease-out), border-color var(--t-ui), background-color var(--t-ui);
}
.choice-btn:hover { border-color: var(--violet); box-shadow: 0 var(--lip) 0 var(--violet); }
.choice-btn:active { transform: translateY(var(--lip)); box-shadow: 0 0 0 var(--violet); }
.choice-btn .tx { flex: 1; min-width: 0; }
.choice-btn b { display: block; font-size: 1.15rem; font-weight: 900; }
.choice-btn small { display: block; color: var(--ink-2); font-size: .9rem; font-weight: 700; }
.choice-btn .go { color: var(--violet); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s4); margin-top: var(--s4); color: var(--ink-2); font-weight: 800; font-size: .92rem; }
.facts span { display: inline-flex; align-items: center; gap: 6px; }
.facts .ic { color: var(--green); }
.resume { margin-top: var(--s4); }

.flow { list-style: none; display: grid; gap: 0; }
.flow li { display: grid; grid-template-columns: 48px 1fr; gap: var(--s4); position: relative; padding-bottom: var(--s5); }
.flow li:last-child { padding-bottom: 0; }
.flow li::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 2px; background: var(--line); }
.flow li:last-child::before { display: none; }
.flow h3 { margin-top: 2px; }
.flow p { margin-top: var(--s1); color: var(--ink-2); }

.aspect-cloud { display: flex; flex-wrap: wrap; gap: var(--s2); }
.aspect-chip { display: inline-flex; align-items: center; gap: var(--s2); padding: 6px 14px 6px 6px; border-radius: var(--r-pill); background: var(--surface); border: 2px solid var(--line); font-weight: 800; font-size: .95rem; }
.aspect-chip .icon-tile { width: 34px; height: 34px; border-radius: 50%; }
.aspect-chip .icon-tile .ic { width: 19px; height: 19px; }

.promise { display: grid; gap: var(--s4); }
.promise > div { display: flex; gap: var(--s3); align-items: flex-start; }
.promise h3 { font-size: 1.05rem; }
.promise p { color: var(--ink-2); margin-top: 2px; }

.faq details { border-top: 2px solid var(--line); }
.faq details:last-child { border-bottom: 2px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s4) 0; font-weight: 800; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--ink-3); transition: transform var(--t-ui) var(--ease-out); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 0 var(--s4); color: var(--ink-2); max-width: 62ch; }

.past-list { list-style: none; display: grid; gap: var(--s2); margin-top: var(--s3); }
.past-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r); background: var(--bg); text-decoration: none; color: var(--ink); min-height: 52px; }
.past-list a:hover { background: var(--violet-soft); }
.past-list small { color: var(--ink-2); font-weight: 700; }

/* ---------- Formulir ---------- */
.page-head { display: flex; gap: var(--s4); align-items: center; margin: var(--s3) 0 var(--s5); }
.page-head .kiki { width: 64px; height: 72px; flex: none; }
.page-head p { color: var(--ink-2); margin-top: var(--s1); }
.field { margin-bottom: var(--s5); }
.field > label, .field > .label { display: block; font-weight: 900; margin-bottom: var(--s2); }
.field .hint { display: block; color: var(--ink-2); font-weight: 700; font-size: .9rem; margin: calc(-1 * var(--s1)) 0 var(--s2); }
input[type=text], select {
  width: 100%; font: 700 1.05rem var(--font); color: var(--ink);
  padding: 12px 16px; min-height: 54px; border: 2px solid var(--line-strong); border-radius: 14px; background: var(--surface);
  transition: border-color var(--t-ui), box-shadow var(--t-ui);
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E4D66' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
input[type=text]::placeholder { color: #727189; }
input[type=text]:focus, select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--s2); }
.seg label {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; cursor: pointer; user-select: none;
  min-height: 56px; padding: 10px 8px; border: 2px solid var(--line-strong); border-radius: 14px; background: var(--surface); font-weight: 800;
  box-shadow: 0 3px 0 var(--line-strong); margin-bottom: 3px;
  transition: border-color var(--t-ui), background-color var(--t-ui), box-shadow var(--t-press), transform var(--t-press);
}
.seg label:active { transform: translateY(3px); box-shadow: none; }
.seg label small { display: block; font-weight: 700; color: var(--ink-2); font-size: .8rem; }
.seg label .ic { color: var(--ink-3); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--violet); background: var(--violet-soft); color: var(--violet-ink); box-shadow: 0 3px 0 var(--violet); }
.seg label:has(input:checked) .ic { color: var(--violet); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--violet); outline-offset: 2px; }
.seg.big label { min-height: 92px; font-size: 1.1rem; }
.seg.big label .ic { width: 28px; height: 28px; margin-bottom: 2px; }
.seg.stack-seg { grid-auto-flow: row; }
.seg.stack-seg label { flex-direction: row; justify-content: flex-start; text-align: left; padding: 12px 16px; }

.check { display: flex; gap: var(--s3); align-items: flex-start; font-weight: 700; cursor: pointer; }
.check input { width: 24px; height: 24px; flex: none; margin: 1px 0 0; cursor: pointer; }
.check.field { padding: var(--s4); border-radius: var(--r); background: var(--bg); border: 2px solid var(--line); }
.error { display: flex; gap: var(--s2); align-items: flex-start; background: var(--coral-soft); color: #7A2510; border-radius: 14px; padding: 12px 14px; font-weight: 800; margin-bottom: var(--s4); }
.error .ic { color: var(--coral-ink); margin-top: 2px; }

/* ---------- Persiapan ---------- */
.prep { list-style: none; display: grid; gap: var(--s3); margin-top: var(--s4); }
.prep li { display: flex; gap: var(--s3); align-items: flex-start; }
.prep li p { color: var(--ink-2); }
.prep li b { color: var(--ink); }
.voice-row { margin-top: var(--s5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.voice-row p { flex: 1 1 200px; font-size: .92rem; color: var(--ink-2); }

/* ---------- Game ---------- */
body.playing .topbar, body.playing .footer { display: none; }
body.playing main { max-width: 640px; padding-top: var(--s3); }
.game-shell { display: flex; flex-direction: column; gap: var(--s4); min-height: calc(100dvh - 40px); }
.game-top { display: flex; align-items: center; gap: var(--s3); }
.game-progress { flex: 1; display: grid; grid-auto-flow: column; gap: 4px; }
.game-progress i { height: 10px; border-radius: 6px; background: var(--line); }
.game-progress i.done { background: var(--green); }
.game-progress i.now { background: var(--violet); }
.game-title { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; color: var(--ink-2); font-size: .95rem; white-space: nowrap; }
.game-title .ic { color: var(--violet); }
.speaker { display: flex; gap: var(--s2); align-items: flex-end; }
.speaker .kiki { width: 84px; height: 94px; flex: none; }
.bubble {
  position: relative; flex: 1; min-height: 72px; display: flex; align-items: center; gap: var(--s2);
  background: var(--surface); border: 2px solid var(--line); border-bottom-width: 6px; border-radius: 22px; padding: 12px 12px 12px 18px;
  font-size: 1.2rem; font-weight: 900; line-height: 1.3;
}
.bubble::before { content: ""; position: absolute; left: -11px; bottom: 18px; width: 18px; height: 18px; background: var(--surface); border-left: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: rotate(45deg); border-radius: 0 0 0 4px; }
.bubble-text { flex: 1; }
.replay { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--violet-soft); color: var(--violet-ink); cursor: pointer; transition: transform var(--t-press); }
.replay:active { transform: scale(.92); }
.play { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s4); position: relative; padding: var(--s2) 0; }
.play.wait { pointer-events: none; }
.play.wait > * { opacity: .5; transition: opacity var(--t-ui); }
.skip-row { text-align: center; }

.tile {
  -webkit-tap-highlight-color: transparent; user-select: none; cursor: pointer; position: relative; padding: 0;
  aspect-ratio: 1; display: grid; place-items: center; align-content: center; row-gap: 8px; font-size: clamp(42px, 12.5vw, 64px); line-height: 1;
  background: var(--surface); border: 2px solid var(--line-strong); border-radius: 22px; box-shadow: 0 5px 0 var(--line-strong); margin-bottom: 5px;
  transition: transform var(--t-press) var(--ease-out), box-shadow var(--t-press) var(--ease-out), border-color var(--t-ui), background-color var(--t-ui);
}
.tile:active { transform: translateY(5px); box-shadow: 0 0 0 var(--line-strong); }
.tile.picked { border-color: var(--violet); background: var(--violet-soft); box-shadow: 0 5px 0 var(--violet); }
.tile .num { position: absolute; top: -10px; right: -10px; width: 32px; height: 32px; border-radius: 50%; background: var(--violet); color: #fff; font-size: 1rem; font-weight: 900; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--bg); }
/* Label kata di bawah gambar: baris sendiri dengan jarak, tidak pernah menimpa gambar. */
.tile small, .target-show small { display: block; font-size: .85rem; font-weight: 800; color: var(--ink-2); text-align: center; line-height: 1.15; overflow-wrap: anywhere; }
.target-show small { font-size: 1rem; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); width: 100%; max-width: 440px; }
.tile-grid .tile { padding: 8px 4px; }
.slots { display: flex; gap: var(--s2); justify-content: center; flex-wrap: wrap; }
.slot { width: 80px; height: 80px; border: 3px dashed var(--line-strong); border-radius: 20px; display: grid; place-items: center; font-size: 44px; background: var(--surface); position: relative; }
.slot.filled { border: 2px solid var(--green); background: var(--green-soft); }
.slot b { position: absolute; top: -12px; left: -10px; background: var(--ink); color: #fff; border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; font-size: .9rem; box-shadow: 0 0 0 3px var(--bg); }
.cards-row { display: flex; gap: var(--s3); flex-wrap: wrap; justify-content: center; }
.cards-row .tile { width: 100px; padding: 8px 4px; }
.target-show { margin-bottom: var(--s3); min-width: 128px; min-height: 128px; padding: var(--s3) var(--s4); align-content: center; row-gap: 8px; border-radius: 28px; display: grid; place-items: center; font-size: 72px; background: var(--sun-soft); border: 2px dashed var(--sun-lip); }
.target-show.wide { width: 100%; max-width: 420px; height: auto; min-height: 128px; padding: var(--s4); }
.target-show.big-pic { width: 180px; height: 180px; font-size: 110px; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: var(--s3); width: 100%; max-width: 460px; }
.options .tile { aspect-ratio: auto; min-height: 112px; font-size: 42px; padding: 10px; line-height: 1.05; }
.options .tile.mini { min-height: 84px; font-size: 36px; }
.hide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); width: 100%; max-width: 420px; }
.hide-grid .tile { min-height: 0; font-size: 34px; border-radius: 16px; box-shadow: 0 4px 0 var(--line-strong); }
.group-emoji { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; font-size: 28px; max-width: 120px; }
.group-emoji.wide { max-width: none; font-size: 40px; gap: 6px; }
.letter { font-family: var(--font); font-weight: 900; font-size: 52px; color: var(--violet-ink); }
.pattern { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; font-size: 36px; padding: var(--s3) var(--s4); background: var(--sun-soft); border: 2px dashed var(--sun-lip); border-radius: 22px; }
.stack, .side { display: inline-flex; align-items: center; justify-content: center; gap: 0; line-height: 1; }
.stack { flex-direction: column; }
.silhouette { filter: brightness(0) opacity(.75); }
.flip { display: inline-block; transform: scaleX(-1); }
.story-strip { display: flex; align-items: center; justify-content: center; gap: var(--s2); font-size: 40px; flex-wrap: wrap; background: var(--surface); border: 2px solid var(--line); border-radius: 22px; padding: var(--s4); }
.parent-rate { width: 100%; max-width: 460px; background: var(--violet-soft); color: #2F1E86; border-radius: var(--r); padding: var(--s4); }
.parent-rate p { font-weight: 700; }
.rate-row { display: grid; gap: var(--s2); margin-top: var(--s3); }
.rate-row .btn { width: 100%; }

.trace-wrap { position: relative; width: 100%; max-width: 380px; }
canvas.trace { width: 100%; aspect-ratio: 1; background: var(--surface); border: 2px solid var(--line-strong); border-bottom-width: 6px; border-radius: 28px; touch-action: none; display: block; }

.mem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); width: 100%; max-width: 440px; }
.mem-card { aspect-ratio: 3/4; perspective: 700px; border: none; background: none; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mem-inner { position: relative; width: 100%; height: 100%; transition: transform 420ms var(--ease-out); transform-style: preserve-3d; }
.mem-card.open .mem-inner, .mem-card.done .mem-inner { transform: rotateY(180deg); }
.mem-face { position: absolute; inset: 0; border-radius: 16px; display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; font-size: clamp(30px, 9vw, 46px); }
.mem-back { background: var(--violet); box-shadow: inset 0 -5px 0 var(--violet-lip); background-image: radial-gradient(circle, rgba(255,255,255,.28) 2.5px, transparent 3px); background-size: 16px 16px; }
.mem-front { background: var(--surface); border: 2px solid var(--line-strong); border-bottom-width: 5px; transform: rotateY(180deg); }
.mem-card.done .mem-front { background: var(--green-soft); border-color: var(--green); }

.light-box { width: 184px; height: 184px; border-radius: 50%; border: 8px solid var(--ink); background: #D9D8E3; display: grid; place-items: center; font-size: 1.5rem; font-weight: 900; letter-spacing: .04em; color: #fff; transition: background-color 80ms; }
.light-box.green { background: #1FA35F; }
.light-box.red { background: #E5392F; }
.press-btn { width: 100%; max-width: 360px; min-height: 100px; font-size: 1.7rem; border-radius: 30px; }

.cheer-pop { position: fixed; left: 50%; top: 42%; z-index: 30; pointer-events: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--r-pill); background: var(--green); color: #fff; font-size: 1.6rem; font-weight: 900; box-shadow: 0 6px 0 var(--green-lip); animation: pop 1s var(--ease-out) forwards; white-space: nowrap; }
.cheer-pop.soft { background: var(--violet-soft); color: var(--violet-ink); box-shadow: 0 6px 0 #D7CEFF; font-size: 1.3rem; }
.cheer-pop .ic { width: 1.1em; height: 1.1em; }
@keyframes pop { 0% { opacity: 0; transform: translate(-50%, -20%) scale(.7); } 22% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } 70% { opacity: 1; transform: translate(-50%, -55%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -80%) scale(.98); } }

.break { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s3); padding-top: var(--s5); min-height: calc(100dvh - 60px); }
.break .icon-tile.lg { margin-top: var(--s3); }
.break .kiki { width: 140px; height: 156px; }
.break .count { color: var(--ink-2); font-weight: 800; }
.break p { max-width: 36ch; color: var(--ink-2); }
.star-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; color: var(--line-strong); }
.star-row .ic { width: 26px; height: 26px; }
.star-row .on { color: var(--sun-lip); fill: var(--sun); }
.break .btn { margin-top: var(--s3); }
.break .callout { text-align: left; max-width: 440px; }

/* ---------- Kuesioner & tugas kertas ---------- */
.progress-bar { position: sticky; top: 60px; z-index: 5; background: var(--bg); padding: var(--s3) 0; display: flex; align-items: center; gap: var(--s3); }
.progress-bar .track { flex: 1; height: 14px; border-radius: 8px; background: var(--line); overflow: hidden; }
.progress-bar .fill { height: 100%; width: 0; background: var(--green); border-radius: 8px; transition: width 300ms var(--ease-out); }
.progress-bar .count { font-weight: 900; font-size: .9rem; color: var(--ink-2); min-width: 4.5em; text-align: right; font-variant-numeric: tabular-nums; }
.q-group { margin-top: var(--s6); }
.q-group > h3 { display: flex; gap: var(--s3); align-items: center; margin-bottom: var(--s3); font-size: 1.2rem; }
.q-group > .note { margin: calc(-1 * var(--s1)) 0 var(--s3); }
.q-item { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: var(--s4); }
.q-item + .q-item { margin-top: var(--s3); }
.q-item > p { font-weight: 800; margin-bottom: var(--s3); }
.q-item.missing { border-color: var(--coral); background: #FFF8F6; }
.q-item.missing > p::after { content: " · belum dijawab"; color: var(--coral-ink); font-weight: 800; }
.scale label { font-size: .95rem; padding: 8px 4px; }

.paper-task { position: relative; }
.paper-task + .paper-task { margin-top: var(--s4); }
.task-head { display: flex; gap: var(--s3); align-items: center; margin-bottom: var(--s3); }
.task-num { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--violet); color: #fff; font-weight: 900; }
.task-head small { display: block; color: var(--ink-2); font-weight: 800; }
.paper-task.skipped > :not(.task-head):not(.check) { opacity: .4; pointer-events: none; }
.paper-task.missing { border-color: var(--coral); }
.shape-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); margin: var(--s4) 0 var(--s2); }
.shape-row svg.shape { width: 100%; aspect-ratio: 1; background: var(--bg); border-radius: 16px; fill: none; stroke: var(--ink); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; padding: 6px; }
.label-strong { font-weight: 900; margin-top: var(--s4); }
.paper-task .chips { margin-top: var(--s3); }
.paper-task .chip { cursor: pointer; min-height: 44px; padding: 8px 14px; }
.paper-task .chip input { width: 20px; height: 20px; margin: 0; }
.paper-task .chip:has(input:checked) { border-color: var(--green); background: var(--green-soft); color: var(--green-ink); }
.photo-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-top: var(--s4); }
.photo-row .btn { margin-bottom: var(--lip); }
.photo-preview { margin-top: var(--s3); max-height: 240px; border-radius: var(--r); border: 2px solid var(--line); }
.paper-task .check { margin-top: var(--s4); padding-top: var(--s4); border-top: 2px dashed var(--line); }
.say-btn { margin-top: var(--s3); }

/* ---------- Hasil ---------- */
.result-head { text-align: center; padding: var(--s4) 0 var(--s2); }
.result-head .kiki { width: 120px; height: 134px; margin: 0 auto var(--s2); }
.result-head h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); overflow-wrap: anywhere; }
.meta-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); margin-top: var(--s3); }
.highlights { display: grid; gap: var(--s3); margin-top: var(--s5); }
@media (min-width: 640px) { .highlights { grid-template-columns: 1fr 1fr; } }
.hl-panel { display: flex; gap: var(--s3); align-items: flex-start; border-radius: var(--r-lg); padding: var(--s4); }
.hl-panel.good { background: var(--green-soft); color: #0B4A28; }
.hl-panel.next { background: var(--blue-soft); color: #0E3F66; }
.hl-panel h3 { font-size: 1rem; }
.hl-panel p { margin-top: 2px; font-weight: 800; font-size: 1.05rem; }

.aspect-list { list-style: none; margin-top: var(--s3); }
.aspect-row { display: flex; gap: var(--s3); align-items: center; padding: var(--s3) 0; border-top: 2px solid var(--line); }
.aspect-row:first-child { border-top: 0; }
.aspect-row .tx { flex: 1; min-width: 0; }
.aspect-row .nm { display: block; font-weight: 800; line-height: 1.3; }
.status { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 800; font-size: .88rem; padding: 2px 10px 2px 8px; border-radius: var(--r-pill); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status.baik { background: var(--lv-baik-soft); color: var(--lv-baik-ink); }
.status.berkembang { background: var(--lv-mid-soft); color: var(--lv-mid-ink); }
.status.stimulasi { background: var(--lv-stim-soft); color: var(--lv-stim-ink); }
.status.na { background: #EFEFF4; color: var(--ink-3); }
.legend { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

.care-list { list-style: none; display: grid; gap: var(--s3); margin-top: var(--s3); }
.care-list li { display: flex; gap: var(--s3); align-items: flex-start; }
.care-list li .icon-tile { width: 36px; height: 36px; border-radius: 10px; }
.care-list li .icon-tile .ic { width: 20px; height: 20px; }

.paywall { background: var(--violet); color: #fff; border-color: var(--violet); border-bottom-color: var(--violet-lip); overflow: hidden; position: relative; }
.paywall h2 { color: #fff; }
.paywall .kiki { position: absolute; right: -18px; bottom: -22px; width: 116px; height: 130px; opacity: .95; }
.paywall .feat { list-style: none; display: grid; gap: var(--s2); margin: var(--s4) 0 var(--s5); position: relative; }
.paywall .feat li { display: flex; gap: var(--s2); align-items: flex-start; font-weight: 700; color: #F3F0FF; }
.paywall .feat .ic { color: var(--sun); margin-top: 3px; }
.paywall .buy { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; position: relative; padding-right: 92px; }
.price { font-size: 2rem; font-weight: 900; line-height: 1; }
.price small { display: block; font-size: .85rem; font-weight: 700; color: #F3F0FF; margin-top: 4px; }
.paywall .btn-sun { margin-left: auto; }
.pay-box { background: var(--surface); }
.order-ref { display: inline-block; font-size: 1.7rem; font-weight: 900; letter-spacing: .08em; font-variant-numeric: tabular-nums; background: var(--violet-soft); color: var(--violet-ink); border-radius: 14px; padding: 6px 16px; margin-top: var(--s2); }
.pay-steps { list-style: none; counter-reset: ps; display: grid; gap: var(--s4); margin-top: var(--s5); }
.pay-steps > li { counter-increment: ps; display: grid; grid-template-columns: 36px 1fr; gap: var(--s3); }
.pay-steps > li::before { content: counter(ps); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 900; }
.pay-instructions { white-space: pre-line; background: var(--bg); border-radius: 14px; padding: var(--s3) var(--s4); margin-top: var(--s2); font-weight: 700; }
.linkbox { display: flex; gap: var(--s2); margin-top: var(--s3); }
.linkbox input { font-size: .85rem; min-height: 52px; }
.linkbox .btn { flex: none; }
.danger-link { color: var(--coral-ink); }

/* ---------- Laporan ---------- */
.report-toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; }
.report-cover { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--violet); color: #fff; padding: var(--s5); padding-right: 150px; min-height: 200px; display: flex; flex-direction: column; justify-content: center; }
.report-cover .kiki { position: absolute; right: 8px; bottom: -6px; width: 136px; height: 152px; }
.report-cover .over { font-weight: 800; color: #F3F0FF; margin-top: 2px; }
.report-cover h1 { color: #fff; margin-top: 2px; overflow-wrap: anywhere; font-size: clamp(1.8rem, 7vw, 2.6rem); }
.report-cover .meta-chips { justify-content: flex-start; }
.report-cover .chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; }
.report-section { margin-top: var(--s4); }
.report h2 + .muted { margin-top: var(--s2); }

.profile { list-style: none; display: grid; gap: var(--s3); margin-top: var(--s4); }
.profile li { display: grid; grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "label score" "bar bar"; gap: 6px var(--s3); align-items: center; }
.profile .pl { grid-area: label; display: flex; align-items: center; gap: var(--s2); font-weight: 800; line-height: 1.25; }
.profile .pl .ic { color: var(--ink-3); }
.profile .ps { grid-area: score; text-align: right; font-weight: 900; font-variant-numeric: tabular-nums; }
.profile .pb { grid-area: bar; height: 14px; border-radius: 8px; background: #EEEDF4; overflow: hidden; }
.profile .pb i { display: block; height: 100%; border-radius: 8px; }
.profile .pb i.baik { background: var(--lv-baik); }
.profile .pb i.berkembang { background: var(--lv-mid); }
.profile .pb i.stimulasi { background: var(--lv-stim); }
.profile .lvl { font-weight: 800; font-size: .8rem; color: var(--ink-2); }
@media (min-width: 640px) {
  .profile li { grid-template-columns: 210px minmax(0, 1fr) 44px; grid-template-areas: "label bar score"; }
}

.rec-head { display: flex; gap: var(--s3); align-items: center; }
.rec-title { font-size: 1.25rem; font-weight: 900; line-height: 1.25; }
.rec ul { list-style: none; display: grid; gap: var(--s2); margin-top: var(--s4); }
.rec li { display: flex; gap: var(--s2); align-items: flex-start; color: var(--ink-2); }
.rec li .ic { color: var(--ink-3); margin-top: 3px; }
.domain-detail { break-inside: avoid; }
.domain-detail header { display: flex; gap: var(--s3); align-items: center; }
.domain-detail header .tx { flex: 1; min-width: 0; }
.domain-detail .what { color: var(--ink-2); font-size: .95rem; margin-top: var(--s3); }
.domain-detail .interp { margin-top: var(--s2); }
.paper-result img { margin-top: var(--s3); max-height: 260px; border-radius: var(--r); border: 2px solid var(--line); }
.paper-result .res { margin-top: var(--s3); font-weight: 900; }
.plan-tips { list-style: none; display: grid; gap: var(--s2); }
.plan-tips li { display: flex; gap: var(--s2); }
.plan-tips .ic { color: var(--green); margin-top: 3px; }
.plan-week { break-inside: avoid; }
.plan-week h3 { display: flex; align-items: baseline; gap: var(--s2); flex-wrap: wrap; }
.plan-week h3 span { color: var(--violet-ink); }
.plan-week ul { list-style: none; display: grid; gap: var(--s4); margin-top: var(--s4); }
.plan-week li { display: flex; gap: var(--s3); }
.plan-week li b { display: block; font-size: .82rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.checkrow { display: flex; gap: 6px; margin-top: var(--s2); flex-wrap: wrap; }
.checkrow i { width: 30px; height: 30px; border: 2px solid var(--line-strong); border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: .68rem; font-weight: 800; color: var(--ink-3); }
.warn-list { list-style: none; display: grid; gap: var(--s2); margin-top: var(--s3); }
.warn-list li { display: flex; gap: var(--s2); }
.warn-list .ic { color: var(--coral-ink); margin-top: 3px; }
.fine { font-size: .88rem; color: var(--ink-2); margin-top: var(--s5); max-width: 70ch; }

/* ---------- Privasi ---------- */
.prose h2 { margin-bottom: var(--s3); }
.prose h3 { margin-top: var(--s5); }
.prose p, .prose ul { margin-top: var(--s2); color: var(--ink-2); max-width: 66ch; }
.prose ul { padding-left: 1.2em; display: grid; gap: var(--s1); }

/* ---------- Status kosong / galat ---------- */
.state { text-align: center; padding: var(--s7) var(--s4); display: grid; justify-items: center; gap: var(--s3); }
.state .kiki { width: 120px; height: 134px; }
.state.loading .kiki { width: 96px; height: 108px; }
.state p { color: var(--ink-2); max-width: 40ch; }

/* ---------- Masuk layar ---------- */
.enter > * { animation: enter var(--t-enter) var(--ease-out) both; }
.enter > *:nth-child(2) { animation-delay: 50ms; }
.enter > *:nth-child(3) { animation-delay: 100ms; }
.enter > *:nth-child(n+4) { animation-delay: 150ms; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Layar lebar ---------- */
@media (min-width: 860px) {
  .home .hero { grid-template-columns: 1.05fr .95fr; align-items: center; padding: var(--s7) 0 var(--s5); gap: var(--s6); }
  .home .hero-art { order: 2; height: 380px; }
  .home .hero-art::before { width: 360px; height: 360px; }
  .home .hero-art .kiki { width: 250px; height: 280px; }
  .home .hero-art .s1 { left: calc(50% - 210px); top: 60px; }
  .home .hero-art .s2 { right: calc(50% - 205px); top: 90px; }
  .home .hero-art .s3 { left: calc(50% - 175px); bottom: 50px; }
  .home .hero-copy { text-align: left; }
  .home .hero-copy .lead { margin-left: 0; }
  .home .facts { justify-content: flex-start; }
  .home .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
  .home .two-col .section { margin-top: 0; }
  .start-choices { grid-template-columns: 1fr 1fr; }
}

/* ---------- Cetak ---------- */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11pt; }
  .topbar, .footer, .no-print { display: none !important; }
  main { max-width: none; padding: 0; }
  .card { border: 1.5px solid #CFCDE0; border-bottom-width: 1.5px; break-inside: avoid; }
  .report-cover, .profile .pb i, .status, .icon-tile, .callout, .chip { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .page-break { break-before: page; }
  .enter > * { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .kiki .k-lid { animation: none; }
}

/* ---------- Perbaikan putaran inspeksi 1 ---------- */
.hl-panel h3 { font-size: .85rem; font-weight: 800; opacity: .85; }
.hl-panel p { font-size: 1.08rem; font-weight: 900; line-height: 1.35; margin-top: 2px; }
.profile .lvl { display: block; font-size: .8rem; font-weight: 800; color: var(--ink-2); margin-top: 1px; }
.profile .pl > span { min-width: 0; }
.footer-in { max-width: 1080px; }
.paywall { padding-top: var(--s6); }
.paywall .kiki { top: -6px; right: -10px; bottom: auto; width: 96px; height: 108px; }
.paywall h2 { padding-right: 76px; }
.paywall .buy { display: grid; gap: var(--s4); padding-right: 0; }
.paywall .buy .btn { width: 100%; margin-left: 0; }
@media (min-width: 640px) {
  .paywall .buy { grid-template-columns: auto 1fr; align-items: center; }
  .paywall .buy .btn { justify-self: end; width: auto; }
}
.pay-steps .btn-row .btn { flex: 1 1 220px; }
@media (max-width: 480px) {
  .report-cover { padding-right: var(--s5); padding-bottom: 120px; }
  .report-cover .kiki { width: 108px; height: 120px; right: 14px; }
}
