/* =========================================================
   CyberSmart Lab — gaya tampilan
   Palet mengikuti slide Cyber Detective (Moklet Mengajar)
   ========================================================= */
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lexend-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/lexend-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/lexend-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lexend-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/lexend-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/fredoka-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/fredoka-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/fredoka-latin-700-normal.woff2") format("woff2"); }
:root {
  --display: "Fredoka", "Lexend", system-ui, sans-serif;
  --ink: #1B1E3C;
  --ink-2: #4A4F72;
  --paper: #EEF0FB;
  --card: #FFFFFF;
  --cyan: #1EC8E2;
  --sun: #FFCF3A;
  --pink: #FF4F7B;
  --violet: #8C7CF7;
  --green: #22B573;
  --line: #D9DCF0;
  --font: "Lexend", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --phone-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --sbh: 34px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-top: env(safe-area-inset-top, 0px);
}
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
.ico { display: inline-block; vertical-align: middle; flex: none; overflow: visible; }
.ico.off { filter: grayscale(1); opacity: .25; }

/* ---------- Tombol ---------- */
.btn {
  border: 0; border-radius: 16px; padding: 14px 20px; text-align: left;
  display: inline-flex; flex-direction: column; gap: 2px; font-weight: 600;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn small { font-weight: 400; font-size: .82rem; opacity: .85; }
.btn:active { transform: translateY(2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #0C0E22; }
.btn-secondary { background: #fff; color: var(--ink); box-shadow: 0 4px 0 var(--line), inset 0 0 0 2px var(--line); }
.btn-link { background: none; border: 0; padding: 6px 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.btn-link.danger { color: #C62F57; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--line); font-size: 1.1rem; display: grid; place-items: center; flex: none; }

/* =========================================================
   BERANDA
   ========================================================= */
.home { max-width: 1120px; margin: 0 auto; padding: 32px 24px 48px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; margin: 0 0 18px; color: var(--ink-2); }
.brand-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-size: 1rem; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; min-height: min(78vh, 720px); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 800; letter-spacing: -.025em; max-width: 13ch; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 46ch; margin: 18px 0 26px; }
.nick-field { display: grid; gap: 6px; max-width: 360px; margin-bottom: 18px; }
.nick-field span { font-weight: 600; }
.nick-field input {
  font: inherit; font-size: 1.15rem; padding: 14px 16px; border-radius: 14px;
  border: 2px solid var(--line); background: #fff; color: var(--ink);
}
.nick-field input:focus { border-color: var(--cyan); outline: none; }
.nick-field small { color: var(--ink-2); font-size: .85rem; }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.start-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }

.hero-phone { display: flex; justify-content: center; }
.hero-phone .phone { transform: rotate(3deg); }
.hero-phone .nt { opacity: 0; transform: translateY(-14px) scale(.97); animation: ntIn .5s cubic-bezier(.2,.9,.3,1.2) forwards; }
.hero-phone .nt:nth-child(1) { animation-delay: .4s; }
.hero-phone .nt:nth-child(2) { animation-delay: 1.3s; }
.hero-phone .nt:nth-child(3) { animation-delay: 2.2s; }
.hero-phone .nt:nth-child(4) { animation-delay: 3.1s; }
@keyframes ntIn { to { opacity: 1; transform: none; } }

.jurus { margin-top: 56px; }
.jurus h2, .rules h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 18px; }
.jurus-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.j { background: #fff; border-radius: 20px; padding: 22px; border: 3px solid; }
.j span { font-size: 1.8rem; }
.j b { display: block; font-size: 1.4rem; font-weight: 800; margin: 6px 0 4px; }
.j p { margin: 0; color: var(--ink-2); }
.j1 { border-color: var(--pink); } .j1 b { color: #D8345E; }
.j2 { border-color: var(--cyan); } .j2 b { color: #0F8FA5; }
.j3 { border-color: var(--sun); } .j3 b { color: #B07F00; }

.rules { margin-top: 48px; background: #fff; border-radius: 20px; padding: 26px 28px; }
.rules ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; max-width: 75ch; }
.rules li { color: var(--ink-2); }
.rules li b { color: var(--ink); }

.teacher { margin-top: 24px; background: #fff; border-radius: 20px; padding: 18px 24px; }
.teacher summary { font-weight: 600; cursor: pointer; }
.t-grid { display: grid; gap: 14px; margin-top: 16px; }
.sw { display: flex; gap: 10px; align-items: center; }
.sw input { width: 20px; height: 20px; accent-color: var(--ink); }
.sel { display: grid; gap: 6px; max-width: 420px; }
.sel select { font: inherit; padding: 10px 12px; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--ink); }
.board ol { padding-left: 1.3em; margin: 8px 0; max-width: 360px; }
.board li span { display: inline-block; min-width: 50%; }
.board p { margin: 6px 0; color: var(--ink-2); }
.foot { margin-top: 32px; font-size: .85rem; color: var(--ink-2); text-align: center; }

/* =========================================================
   HP SIMULASI
   ========================================================= */
.phone {
  width: 390px; height: min(820px, calc(100dvh - 96px)); min-height: 560px;
  background: var(--ink); border-radius: 50px; padding: 11px;
  box-shadow: 0 30px 60px -20px rgba(27,30,60,.55), inset 0 0 0 2px #2D3158;
  flex: none;
}
.phone.mini { width: 300px; height: 600px; min-height: 0; border-radius: 42px; padding: 9px; }
.screen {
  position: relative; height: 100%; border-radius: 40px; overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
  font-family: var(--phone-font); color: #111; font-size: 15px; line-height: 1.38;
}
.phone.mini .screen { border-radius: 34px; }
.statusbar {
  position: absolute; top: 0; left: 0; right: 0; height: var(--sbh); z-index: 6;
  display: flex; justify-content: space-between; align-items: center; padding: 0 26px 0 30px;
  font-weight: 600; font-size: 14px; color: #fff; fill: #fff; pointer-events: none;
}
.sb-r { display: flex; gap: 5px; align-items: center; }
.screen[data-tone="light"] .statusbar { color: #111; fill: #111; }

/* Layar kunci */
.lock, .screen.lock {
  background: radial-gradient(120% 80% at 20% 0%, #4B5BD7 0%, #2A2E6E 45%, #151733 100%);
  color: #fff;
}
.lock { min-height: 100%; padding: calc(var(--sbh) + 26px) 12px 16px; }
.screen.lock { padding: calc(var(--sbh) + 22px) 10px 14px; }
.ls-time { text-align: center; font-size: 76px; font-weight: 300; letter-spacing: -2px; line-height: 1; }
.phone.mini .ls-time { font-size: 58px; }
.ls-date { text-align: center; font-size: 15px; opacity: .85; margin: 6px 0 24px; text-transform: capitalize; }
.ls-stack { display: grid; gap: 8px; }
.nt, .banner {
  display: flex; gap: 10px; align-items: flex-start; text-align: left; width: 100%;
  background: rgba(255,255,255,.88); color: #111; border: 0; border-radius: 18px; padding: 11px 12px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-family: var(--phone-font);
}
.nt small, .banner small { display: block; font-size: 11.5px; color: #666; }
.nt b, .banner b { display: block; font-size: 14px; }
.nt p, .banner p { margin: 1px 0 0; font-size: 13.5px; color: #333; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nt-ic { width: 34px; height: 34px; border-radius: 9px; background: #fff; display: grid; place-items: center; font-size: 18px; flex: none; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
button.nt { cursor: pointer; animation: ntIn .35s ease forwards; }
.lock.alarm { background: radial-gradient(120% 80% at 50% 0%, #D23A5E 0%, #6E1631 55%, #2A0A14 100%); animation: alarmPulse 1.6s ease-in-out infinite alternate; }
.lock.alarm .nt { animation: ntIn .35s ease forwards, buzz .3s 2; opacity: 0; }
@keyframes alarmPulse { from { filter: brightness(1); } to { filter: brightness(1.15); } }
@keyframes buzz { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

.banners { position: absolute; top: calc(var(--sbh) + 4px); left: 8px; right: 8px; z-index: 8; }
.banner { box-shadow: 0 10px 30px rgba(0,0,0,.28); background: rgba(255,255,255,.97); animation: bannerIn .45s cubic-bezier(.2,.9,.3,1.15); cursor: pointer; }
.banner.leave { animation: bannerOut .4s ease forwards; }
@keyframes bannerIn { from { transform: translateY(-120%); } to { transform: none; } }
@keyframes bannerOut { to { transform: translateY(-140%); opacity: 0; } }

.view { flex: 1; overflow-y: auto; overflow-x: hidden; position: relative; -webkit-overflow-scrolling: touch; }
.app { min-height: 100%; display: flex; flex-direction: column; }

/* Laci pilihan */
.tray {
  flex: none; background: #fff; border-top: 1px solid #E3E5F0; padding: 10px 12px 14px;
  max-height: 48%; overflow-y: auto; font-family: var(--font); color: var(--ink);
  box-shadow: 0 -8px 20px -12px rgba(27,30,60,.25); z-index: 5;
}
.tray:empty { display: none; }
.tray-q { margin: 2px 2px 8px; font-weight: 700; font-size: 14px; }
.alarm-q { color: #C62F57; }
.tray-hint { margin: 8px 2px 0; font-size: 12.5px; color: var(--ink-2); text-align: center; }
.choices { display: grid; gap: 7px; }
.choice {
  text-align: left; border: 2px solid var(--line); background: #F7F8FE; border-radius: 14px;
  padding: 10px 12px; font-size: 14px; font-weight: 500; line-height: 1.3;
}
.choice:hover { border-color: var(--ink); }
.choice:active { transform: scale(.985); }
.choice.warn { background: #FFE6EC; border-color: var(--pink); font-weight: 600; }

/* Petunjuk / tanda bahaya */
.clue { cursor: pointer; border-radius: 4px; transition: background .2s, box-shadow .2s; }
.clue.found { background: rgba(255,79,123,.18); box-shadow: 0 2px 0 var(--pink); }
.clue:focus-visible { outline: 2px dashed var(--pink); }

/* Lapisan (intro & pembahasan) */
.overlay { position: absolute; inset: 0; z-index: 10; overflow-y: auto; font-family: var(--font); color: var(--ink); }
.overlay.intro { background: rgba(21,23,51,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 24px; }
.intro-card { background: #fff; border-radius: 26px; padding: 26px 22px 22px; width: 100%; animation: pop .35s cubic-bezier(.2,.9,.3,1.2); }
@keyframes pop { from { transform: scale(.92); opacity: 0; } }
.ic-time { font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.ic-place { font-weight: 600; margin: 8px 0 12px; color: var(--ink-2); }
.intro-card p { margin: 0 0 20px; font-size: 15.5px; }
.intro-card .btn { width: 100%; align-items: center; }

.overlay.debrief { background: var(--paper); padding: calc(var(--sbh) + 8px) 12px 16px; animation: slideUp .35s ease; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } }
.db-card { display: grid; gap: 12px; }
.db-verdict { display: flex; gap: 12px; align-items: center; border-radius: 18px; padding: 14px; color: #fff; }
.db-verdict span { font-size: 34px; }
.db-verdict b { display: block; font-size: 19px; font-weight: 800; }
.db-verdict small { opacity: .9; }
.db-verdict.ok { background: #1C9A63; }
.db-verdict.mid { background: #E3A400; color: var(--ink); }
.db-verdict.bad { background: #D8345E; }
.db-fb { margin: 0; font-size: 15px; font-weight: 500; }
.db-calm { margin: 0; background: #FFF4CC; border-radius: 14px; padding: 10px 12px; font-size: 14px; }
.db-sec { background: #fff; border-radius: 16px; padding: 12px 14px; }
.db-sec > b { display: block; margin-bottom: 6px; font-size: 14px; }
.db-sec p { margin: 0; font-size: 14px; }
.db-clues { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.db-clues li { display: flex; gap: 10px; font-size: 13.5px; }
.db-clues li > span { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.db-clues .got > span { background: var(--pink); color: #fff; }
.db-clues .miss > span { background: #E7E9F5; color: var(--ink-2); }
.db-clues small { display: block; color: var(--ink-2); }
.jurus-box { border-left: 5px solid var(--cyan); }
.real { border-left: 5px solid var(--sun); }
.db-card .btn { align-items: center; }

/* ---------- Aplikasi chat ---------- */
.ah { display: flex; align-items: center; gap: 10px; padding: calc(var(--sbh) + 8px) 12px 10px; flex: none; position: sticky; top: 0; z-index: 2; }
.ah svg { fill: currentColor; flex: none; }
.ah-t { flex: 1; min-width: 0; }
.ah-t b { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-t small { display: block; font-size: 12px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-h { background: #0F6E66; color: #fff; }
.av { border-radius: 50%; background: var(--av); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.app-chat { background: #E8EEF1; }
.unknown-bar { background: #FFF6D6; font-size: 12.5px; padding: 8px 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ub-a { color: #0F6E66; font-weight: 700; }
.peek { margin: 8px 10px 0; background: #fff; border-left: 4px solid #8A93A8; border-radius: 10px; padding: 8px 10px; font-size: 13px; }
.peek b:first-child { display: block; font-size: 11.5px; color: #666; }
.thread { padding: 10px 10px 14px; display: flex; flex-direction: column; gap: 6px; }
.b { max-width: 84%; padding: 7px 10px 5px; border-radius: 12px; font-size: 14.5px; position: relative; word-wrap: break-word; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.b.them { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.b.me { background: #D5F4E1; align-self: flex-end; border-top-right-radius: 4px; }
.b time { display: block; text-align: right; font-size: 10.5px; color: #8A8A8A; margin-top: 2px; }
.who { display: block; font-style: normal; font-weight: 700; font-size: 12.5px; }
.fwd { display: block; font-style: italic; font-size: 11.5px; color: #888; }
.sys { align-self: center; background: #DCE6EB; color: #555; font-size: 12px; border-radius: 8px; padding: 4px 10px; text-align: center; }
.lnk { color: #1468C9; }
.shot { display: block; background: #F2F3F7; border-radius: 8px; padding: 18px 10px; margin-bottom: 6px; text-align: center; font-size: 13px; color: #333; }
.after { margin-top: 6px; animation: slideUp .4s ease; }
.after .b { max-width: 84%; }
.call-card { background: #fff; border-left: 4px solid var(--green); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; font-size: 14px; margin: 4px 0; }
.call-card span { color: #333; }

/* Pesan suara */
.vn { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 0; min-width: 210px; color: #0F6E66; }
.vn svg { fill: #0F6E66; }
.wave { display: flex; gap: 2px; align-items: center; height: 24px; flex: 1; }
.wave i { width: 3px; border-radius: 2px; background: #9CB8B4; height: 30%; }
.wave i:nth-child(3n) { height: 70%; } .wave i:nth-child(4n) { height: 100%; } .wave i:nth-child(5n) { height: 50%; }
.vn.playing .wave i { background: #0F6E66; animation: wv .6s ease-in-out infinite alternate; }
.vn.playing .wave i:nth-child(2n) { animation-delay: .2s; }
@keyframes wv { to { transform: scaleY(.4); } }
.vn small { font-size: 12px; color: #666; }
.vn-meta { display: block; font-size: 12px; color: #666; }
.vn-tx { font-size: 13px; margin-top: 4px; }
.vn-tx small { display: block; color: #8A8A8A; font-size: 11px; margin-top: 4px; }

/* ---------- SMS ---------- */
.app-sms { background: #fff; }
.sms-h { background: #F6F6F8; color: #111; border-bottom: 1px solid #E5E5EA; }
.b.sms { background: #E9E9EB; }
.laptop { margin: 2px 0 10px; }
.lp-screen { background: #1F2340; color: #fff; border-radius: 8px 8px 0 0; padding: 12px; text-align: center; border: 5px solid #2E3352; }
.lp-screen b { display: block; font-size: 14px; }
.lp-screen small { font-size: 11px; opacity: .8; }
.lp-code { margin-top: 8px; letter-spacing: 3px; font-family: ui-monospace, monospace; background: #fff; color: #333; border-radius: 6px; padding: 4px; }
.lp-base { height: 8px; background: #AEB2C8; border-radius: 0 0 10px 10px; margin: 0 -8px; }

/* ---------- Email ---------- */
.app-mail { background: #fff; }
.mail-h { background: #fff; color: #111; border-bottom: 1px solid #eee; }
.mail { padding: 12px 14px 20px; }
.mail-s { font-size: 19px; font-weight: 700; margin: 4px 0 12px; font-family: var(--phone-font); }
.mail-from { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.mail-from small { display: block; font-size: 12px; color: #666; word-break: break-all; }
.mail-body { font-size: 14.5px; }
.mail-logo { background: #222A5C; color: #FFD34D; font-weight: 800; letter-spacing: 1px; text-align: center; padding: 14px; border-radius: 10px; }
.btn-mail { display: inline-block; background: #E5533D; color: #fff; font-weight: 700; padding: 11px 18px; border-radius: 8px; cursor: pointer; }
.mail-foot { font-size: 11.5px; color: #999; }

/* ---------- Browser & situs palsu ---------- */
.app-web { background: #fff; }
.url-bar { padding: calc(var(--sbh) + 8px) 10px 8px; background: #F1F2F6; display: flex; gap: 8px; align-items: center; position: sticky; top: 0; z-index: 2; }
.url { flex: 1; background: #fff; border-radius: 20px; padding: 8px 12px; font-size: 13px; white-space: nowrap; overflow-x: auto; color: #222; }
.url svg { fill: #444; vertical-align: -1px; }
.url.insec { color: #C62F57; }
.tabs { width: 24px; height: 24px; border: 2px solid #333; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.web { padding: 14px; }
.site-school b { color: #1B5E9C; }
.site-school h4 { margin: 8px 0 10px; font-size: 18px; }
.site-school table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 10px; }
.site-school td { border-bottom: 1px solid #eee; padding: 7px 4px; }
.site-school small { color: #666; }
.site-fake { display: grid; gap: 10px; }
.site-fake h4 { font-size: 17px; margin: 2px 0; }
.site-fake label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.site-fake input { font: inherit; font-weight: 400; font-size: 15px; padding: 10px; border: 1.5px solid #C9CCD8; border-radius: 8px; }
.sf-top { background: #8B1A1A; color: #fff; padding: 10px; border-radius: 8px; font-weight: 700; font-size: 13px; }
.sf-logo { font-weight: 800; font-size: 18px; text-align: center; padding: 12px; border-radius: 10px; background: #222A5C; color: #FFD34D; }
.site-fake.wallet .sf-logo { background: #1666D8; color: #fff; }
.site-fake.wifi .sf-logo { background: #F28C28; color: #fff; }
.sf-btn { border: 0; background: #1666D8; color: #fff; font-weight: 700; padding: 12px; border-radius: 10px; font-size: 15px; }
.game .sf-btn, .site-fake.game .sf-btn { background: #E5533D; }
.sf-cd { margin: 0; text-align: center; font-weight: 700; color: #C62F57; }
.sim-note { margin: 0; font-size: 11.5px; color: #7A7F99; text-align: center; background: #F3F4FA; border-radius: 8px; padding: 6px; }

/* ---------- Pengaturan & Wi-Fi ---------- */
.app-set { background: #F2F2F7; }
.set-h { background: #F2F2F7; color: #111; }
.set-body { padding: 4px 14px 18px; display: grid; gap: 10px; }
.set-p { margin: 0; font-size: 14.5px; }
.set-card { background: #fff; border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.set-card b { font-size: 12px; color: #666; }
.set-card code { font-size: 17px; font-weight: 700; font-family: ui-monospace, Menlo, monospace; }
.set-card small { color: #555; font-size: 13px; }
.set-note { font-size: 12px; color: #777; margin: 0; }
.set-row { background: #fff; border-radius: 14px; padding: 14px; display: flex; gap: 12px; align-items: center; }
.set-row small { display: block; color: #666; font-size: 13px; }
.toggle { width: 50px; height: 30px; border-radius: 15px; background: #D1D1D6; position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.sign { background: #FFF6D6; border: 1.5px dashed #D9B13B; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; }
.wifi-list { background: #fff; border-radius: 14px; overflow: hidden; }
.wf { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid #EEE; }
.wf:last-child { border-bottom: 0; }
.wf-ic { font-size: 18px; }
.wf b { font-size: 14.5px; }
.wf small { display: block; font-size: 12px; color: #777; }
.wf small svg { fill: #777; }

/* ---------- Gim ---------- */
.app-game { background: linear-gradient(#3B2C8F, #6B4FD8 55%, #2E7D4F 55%); color: #fff; }
.game-h { padding: calc(var(--sbh) + 8px) 14px 8px; display: flex; justify-content: space-between; font-size: 14px; }
.game-world { height: 150px; position: relative; flex: none; }
.game-world span { position: absolute; font-size: 38px; }
.g-hero { left: 42%; bottom: 6px; }
.g-tree { left: 12%; bottom: 4px; } .t2 { left: 74%; }
.game-chat { margin: auto 10px 10px; background: rgba(10,10,30,.78); border-radius: 14px; padding: 10px 12px; font-size: 13.5px; display: grid; gap: 6px; }
.game-chat p { margin: 0; }
.g-ch { font-style: normal; color: #9EA6FF; }
.whisper { background: rgba(255,79,123,.18); border-radius: 8px; padding: 6px 8px; }
.whisper .g-ch { color: #FF9EC0; }
.game-chat .lnk { color: #8EC5FF; }
.cd { font-variant-numeric: tabular-nums; }
.cd.hot { color: #FF6B8E; animation: blink .5s steps(2) infinite; }
@keyframes blink { 50% { opacity: .4; } }

/* ---------- Kamera & poster ---------- */
.app-cam { background: #000; color: #fff; }
.cam-view { flex: 1; padding: calc(var(--sbh) + 18px) 18px 16px; display: grid; align-content: start; gap: 12px; position: relative; }
.cam-ctrl { display: flex; justify-content: center; gap: 18px; font-size: 12px; letter-spacing: .5px; padding: 10px; color: #aaa; }
.cam-ctrl .on { color: var(--sun); font-weight: 700; }
.poster { background: #FFFDF5; color: #222; border-radius: 6px; padding: 16px 14px; text-align: center; box-shadow: 0 0 0 3px rgba(255,255,255,.08); transform: rotate(-1deg); }
.poster.dim { opacity: .5; }
.po-top { font-weight: 800; color: #2E7D4F; font-size: 15px; }
.po-sub { font-size: 12.5px; margin: 4px 0 10px; color: #555; }
.po-sticker { background: #FFE14D; display: inline-grid; justify-items: center; gap: 4px; padding: 10px 12px 12px; border-radius: 4px; transform: rotate(3deg); box-shadow: 2px 3px 6px rgba(0,0,0,.25); }
.po-sticker b { font-size: 13.5px; max-width: 180px; }
.po-sticker em { font-size: 12px; color: #C62F57; font-style: normal; font-weight: 700; }
.stk { display: inline-block; position: relative; }
.peel { position: absolute; right: -6px; top: -6px; width: 22px; height: 22px; background: linear-gradient(225deg, #FFFDF5 50%, #E8C93A 50%); box-shadow: -1px 1px 2px rgba(0,0,0,.25); }
.po-foot { font-size: 11.5px; color: #777; margin: 10px 0 0; }
.scan-pop { position: absolute; left: 14px; right: 14px; bottom: 16px; background: rgba(255,255,255,.95); color: #111; border-radius: 16px; padding: 12px 14px; animation: slideUp .3s ease; }
.scan-pop small { display: block; color: #666; font-size: 12px; }
.scan-pop b { font-size: 14.5px; word-break: break-all; }

/* =========================================================
   HALAMAN SIMULASI (tata letak)
   ========================================================= */
.day { min-height: 100dvh; display: grid; grid-template-columns: 1fr minmax(260px, 320px); grid-template-rows: auto 1fr; gap: 0 28px; max-width: 1100px; margin: 0 auto; padding: 0 20px 20px; }
.day-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.dt-mid { flex: 1; min-width: 0; }
.dt-mid b { display: block; font-size: 1.05rem; }
.dt-mid span { color: var(--ink-2); font-size: .9rem; }
.pill { border: 0; background: var(--sun); color: var(--ink); font-weight: 700; padding: 9px 14px; border-radius: 999px; display: none; }
.stage { display: flex; justify-content: center; align-items: flex-start; }
.notebook { background: #fff; border-radius: 22px; padding: 18px; align-self: start; position: sticky; top: 16px; display: grid; gap: 14px; }
.nb-head { display: flex; justify-content: space-between; align-items: center; }
.nb-head b { font-size: 1.05rem; }
.nb-close { display: none; }
.nb-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nb-stats div { background: var(--paper); border-radius: 14px; padding: 10px 12px; }
.nb-stats small { display: block; color: var(--ink-2); font-size: .78rem; }
.nb-stats strong { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.nb-stats strong.low, .low { color: #D8345E; }
.nb-progress small { color: var(--ink-2); font-size: .85rem; }
.bar { height: 8px; background: var(--paper); border-radius: 4px; overflow: hidden; margin-top: 4px; }
.bar i { display: block; height: 100%; background: var(--cyan); transition: width .4s ease; }
.nb-sec b { display: block; font-size: .9rem; margin-bottom: 4px; }
.nb-sec p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.nb-sec ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .9rem; }
.nb-sec li { background: #FFE9EF; border-radius: 10px; padding: 6px 10px; }
.nb-sec li.muted { background: none; padding: 0; }
.jurus-mini { display: flex; flex-wrap: wrap; gap: 6px; }
.jurus-mini span { background: var(--paper); border-radius: 999px; padding: 4px 10px; font-size: .82rem; font-weight: 600; }

#toast {
  position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top, 0px)); z-index: 100;
  transform: translate(-50%, -150%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 14px;
  font-size: .92rem; max-width: min(92vw, 440px); box-shadow: 0 10px 30px rgba(27,30,60,.35); transition: transform .3s ease, opacity .3s, visibility .3s;
  pointer-events: none; opacity: 0; visibility: hidden;
}
#toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.plus { background: var(--sun); color: var(--ink); border-radius: 8px; padding: 0 6px; font-weight: 800; margin-left: 4px; }

/* Mode demonstrasi (proyektor) */
body.demo .day { max-width: none; }
body.demo .stage .phone { zoom: 1.25; height: calc((100dvh - 90px) / 1.25); }
body.demo .notebook { font-size: 1.1rem; }

/* =========================================================
   LAPORAN
   ========================================================= */
.report, .missions, .mission { max-width: 860px; margin: 0 auto; padding: 32px 20px 56px; }
.rp-head h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
.rp-score { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.rp-score strong { font-size: 3.6rem; font-weight: 800; line-height: 1; }
.rp-score > span { color: var(--ink-2); font-weight: 600; }
.stars { font-size: 2rem; color: var(--sun); letter-spacing: 2px; -webkit-text-stroke: 1px #D9A500; }
.stars span { color: #DADDF0; -webkit-text-stroke: 0; }
.rp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0 16px; }
.rp-stats div { background: #fff; border-radius: 18px; padding: 16px; }
.rp-stats strong { display: block; font-size: 1.5rem; font-weight: 800; }
.rp-stats small { color: var(--ink-2); font-size: .85rem; }
.rp-calm { background: #FFF4CC; border-radius: 16px; padding: 14px 16px; margin: 0 0 16px; }
.rp-calm.good { background: #DDF6EA; }
.rp-card { background: #fff; border-radius: 18px; padding: 16px 18px; margin-bottom: 16px; }
.rp-card p { margin: 6px 0 0; }
.rp-timeline h2, .rp-reflect h2 { font-size: 1.3rem; font-weight: 700; margin: 28px 0 12px; }
.rp-timeline ol { list-style: none; padding: 0; margin: 0; background: #fff; border-radius: 18px; overflow: hidden; }
.rp-timeline li { display: flex; gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--paper); }
.rp-timeline li:last-child { border-bottom: 0; }
.rp-timeline time { font-weight: 800; font-variant-numeric: tabular-nums; width: 3.2em; flex: none; }
.rp-timeline li > div { flex: 1; min-width: 0; }
.rp-timeline small { display: block; color: var(--ink-2); font-size: .85rem; }
.tag { border-radius: 999px; padding: 3px 10px; font-size: .8rem; font-weight: 700; flex: none; }
.tag.ok { background: #DDF6EA; color: #137A4B; }
.tag.mid { background: #FFF1C2; color: #8A6400; }
.tag.bad { background: #FFE0E8; color: #B42347; }
.rp-reflect textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); resize: vertical; margin-bottom: 10px; color: var(--ink); }
.rp-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.rp-big { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: clamp(1.4rem, 4vw, 2.2rem); font-weight: 800; }
.rp-big em { flex-basis: 100%; font-style: normal; color: var(--ink-2); font-size: 1rem; font-weight: 600; }

/* =========================================================
   MISI
   ========================================================= */
.ms-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.ms-head h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; }
.ms-head p { margin: 4px 0 0; color: var(--ink-2); }
.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.m-card { position: relative; text-align: left; background: #fff; border: 0; border-radius: 20px; padding: 18px 16px 16px; display: grid; gap: 4px; box-shadow: inset 0 -5px 0 var(--mc); }
.m-card:hover { transform: translateY(-2px); }
.m-ic { font-size: 1.9rem; }
.m-ic.big { font-size: 3.5rem; }
.m-card b { font-size: 1.08rem; }
.m-card small { color: var(--ink-2); }
.m-badge { position: absolute; top: 14px; right: 14px; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 2px 8px; background: var(--paper); color: var(--ink-2); }
.m-badge.main { background: var(--ink); color: #fff; }
.m-best { margin-top: 6px; font-size: .85rem; font-weight: 600; }
.mq { background: #fff; border-radius: 22px; padding: 22px; box-shadow: inset 0 6px 0 var(--mc); }
.mq h2 { font-size: 1.3rem; font-weight: 700; margin: 4px 0 16px; }
.mq-msg { background: #E8EEF1; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-family: var(--phone-font); }
.mq-msg small { color: #666; font-weight: 600; }
.mq-msg p { margin: 4px 0 0; background: #fff; border-radius: 12px; border-top-left-radius: 4px; padding: 8px 10px; display: inline-block; }
.mq-opts { display: grid; gap: 10px; }
.mq-opt { display: flex; gap: 12px; align-items: center; text-align: left; border: 2px solid var(--line); background: #F7F8FE; border-radius: 16px; padding: 12px 14px; font-weight: 500; }
.mq-opt span { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; flex: none; box-shadow: inset 0 0 0 2px var(--line); }
.mq-opt:not(:disabled):hover { border-color: var(--ink); }
.mq-opt.right { border-color: var(--green); background: #DDF6EA; }
.mq-opt.right span { background: var(--green); color: #fff; box-shadow: none; }
.mq-opt.wrong { border-color: var(--pink); background: #FFE6EC; }
.mq-opt.wrong span { background: var(--pink); color: #fff; box-shadow: none; }
.mq-opt:disabled { cursor: default; }
.mq-why { margin-top: 16px; background: var(--paper); border-radius: 16px; padding: 14px 16px; }
.mq-why p { margin: 4px 0 12px; }
.m-done { text-align: center; background: #fff; border-radius: 24px; padding: 40px 24px; }
.m-done h1 { font-size: 2.2rem; font-weight: 800; margin-top: 8px; }
.m-score strong { font-size: 3.4rem; font-weight: 800; }
.m-done .rp-actions { justify-content: center; }

/* =========================================================
   RESPONSIF
   ========================================================= */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 28px; }
  .hero-phone .phone { transform: none; width: 260px; height: 400px; }
  .hero-phone .ls-time { font-size: 46px; }
  .hero-phone .ls-date { margin-bottom: 14px; }
  .hero-phone .nt:nth-child(n+3) { display: none; }
  .jurus-row, .m-grid { grid-template-columns: 1fr; }
  .rp-stats { grid-template-columns: 1fr 1fr; }
}

/* HP sungguhan: simulasi memenuhi layar */
@media (max-width: 720px) {
  :root { --sbh: 0px; }
  .home { padding: 20px 18px 40px; }
  .start-row .btn { flex: 1 1 100%; }
  .day { display: flex; flex-direction: column; height: 100dvh; padding: 0; gap: 0; }
  .day-top { padding: 8px 10px; background: var(--ink); color: #fff; flex: none; }
  .day-top .icon-btn { background: rgba(255,255,255,.12); box-shadow: none; color: #fff; width: 36px; height: 36px; }
  .dt-mid b { font-size: .95rem; }
  .dt-mid span { color: rgba(255,255,255,.75); font-size: .8rem; }
  .pill { display: inline-block; }
  .stage { flex: 1; min-height: 0; display: block; }
  .phone, body.demo .stage .phone { width: 100%; height: 100%; min-height: 0; border-radius: 0; padding: 0; box-shadow: none; zoom: 1; }
  .screen { border-radius: 0; }
  .statusbar { display: none; }
  .ah, .url-bar, .game-h { padding-top: 10px; }
  .cam-view { padding-top: 14px; }
  .lock { padding-top: 22px; }
  .ls-time { font-size: 60px; }
  .overlay.debrief { padding-top: 12px; }
  .notebook {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 50; border-radius: 22px 22px 0 0;
    max-height: 80dvh; overflow-y: auto; transform: translateY(105%); transition: transform .3s ease;
    box-shadow: 0 -20px 40px rgba(27,30,60,.3); padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
  .notebook.open { transform: none; }
  .nb-close { display: grid; }
  .tray { padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  #toast { top: calc(58px + env(safe-area-inset-top, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-phone .nt { opacity: 1; transform: none; }
}
.toggle.on { background: #34C759; }
.toggle.on::after { left: 23px; }

/* =========================================================
   VERSI 2 — tampilan lebih seru: ikon, maskot Kiko, stiker
   ========================================================= */
body {
  background-color: var(--paper);
  background-image: radial-gradient(#D3D8F3 1.3px, transparent 1.3px);
  background-size: 22px 22px;
}
.btn { flex-direction: row; align-items: center; gap: 12px; }
.btn > span { display: flex; flex-direction: column; gap: 1px; }
.btn-big { padding: 14px 20px 14px 14px; font-size: 1.05rem; border-radius: 20px; }
.btn-big .ico { background: #fff; border-radius: 14px; padding: 5px; width: 44px; height: 44px; }
.btn-secondary.btn-big .ico { background: var(--paper); }
.btn-primary:hover, .btn-secondary:hover, .btn-mission:hover { transform: translateY(-2px); }
.btn-mission {
  margin-top: 4px; background: linear-gradient(100deg, #FFE27A, #FFC93C); color: var(--ink);
  box-shadow: 0 4px 0 #D9A500; border-radius: 20px; padding: 12px 20px 12px 14px;
}
.btn-mission small { opacity: .8; }

/* Merek */
.brand { gap: 12px; margin-bottom: 22px; }
.brand-dot { width: 56px; height: 56px; background: #fff; box-shadow: 0 4px 0 var(--line); overflow: hidden; }
.brand-dot .kiko { margin-top: 6px; }
.brand > span:last-child { display: flex; flex-direction: column; font-family: var(--display); font-size: 1.25rem; color: var(--ink); line-height: 1.1; }
.brand small { font-family: var(--font); font-size: .82rem; color: var(--ink-2); font-weight: 500; }
.brand-plain { margin: 0 0 6px; font-weight: 600; color: var(--ink-2); }

/* Hero */
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.02; letter-spacing: -.02em; max-width: 12ch; }
.hero h1::after { content: ""; display: block; width: 120px; height: 10px; border-radius: 6px; margin-top: 18px; background: linear-gradient(90deg, var(--pink) 0 33%, var(--cyan) 33% 66%, var(--sun) 66%); }
.hero-phone { position: relative; padding: 30px 0 10px; }
.hero-phone::before {
  content: ""; position: absolute; inset: 6% 2% 2% 6%; border-radius: 48% 52% 44% 56% / 52% 44% 56% 48%;
  background: linear-gradient(140deg, #9EEFFF, #C9C1FF 60%, #FFC2D3); z-index: -1;
}
.hero-kiko { position: absolute; left: -40px; bottom: -10px; z-index: 3; filter: drop-shadow(0 10px 14px rgba(27,30,60,.2)); }
.hero-kiko .bubble {
  position: absolute; left: 70px; top: -42px; width: 170px; background: #fff; border: 3px solid var(--ink);
  border-radius: 18px 18px 18px 4px; padding: 8px 12px; font-family: var(--display); font-weight: 600; font-size: 1rem; line-height: 1.2;
  animation: pop .5s 3.6s both cubic-bezier(.2,.9,.3,1.3);
}
.sticker { position: absolute; z-index: 2; filter: drop-shadow(0 6px 8px rgba(27,30,60,.18)); animation: floaty 5s ease-in-out infinite; }
.st1 { top: 0; right: 4%; animation-delay: -1s; }
.st2 { top: 38%; right: -6%; animation-delay: -2.4s; transform: rotate(12deg); }
.st3 { top: 8%; left: 2%; animation-delay: -3.3s; }
.st4 { bottom: 14%; right: 0; animation-delay: -.4s; }
@keyframes floaty { 50% { translate: 0 -10px; rotate: 6deg; } }
.nt .app-ico, .banner .app-ico { flex: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.18)); }

/* Jurus & aturan */
.jurus h2, .rules h2 { font-size: 2rem; }
.j { position: relative; overflow: hidden; border-width: 4px; box-shadow: 0 6px 0 var(--line); transition: transform .15s; }
.j:hover { transform: translateY(-3px) rotate(-.6deg); }
.j .ico { display: block; }
.j b { font-family: var(--display); font-size: 1.7rem; }
.j::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; opacity: .14; }
.j1::after { background: var(--pink); } .j2::after { background: var(--cyan); } .j3::after { background: var(--sun); }
.rules { box-shadow: 0 6px 0 var(--line); }
.rules ul { list-style: none; padding: 0; gap: 14px; }
.rules li { display: flex; gap: 14px; align-items: center; }
.teacher { box-shadow: 0 6px 0 var(--line); }

/* Simulasi */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 1.05rem; box-shadow: 0 3px 0 #D9A500; }
.icon-btn { color: var(--ink); }
.nb-head { justify-content: flex-start; gap: 10px; }
.nb-head b { flex: 1; font-family: var(--display); font-size: 1.2rem; }
.nb-stats div { display: flex; gap: 8px; align-items: center; }
.nb-stats div > span { display: block; min-width: 0; }
.nb-stats strong { font-size: 1.15rem; }
.nb-sec li { display: flex; gap: 6px; align-items: center; }
.jurus-mini span { display: inline-flex; align-items: center; gap: 4px; }
.tray-hint { display: flex; align-items: center; justify-content: center; gap: 6px; }
.tray-hint.tap { font-weight: 600; color: var(--ink); animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(-3px); } }
.choice.warn { display: flex; gap: 8px; align-items: center; }
.intro-card { position: relative; padding-top: 58px; margin-top: 50px; text-align: center; }
.ic-kiko { position: absolute; top: -58px; left: 50%; transform: translateX(-50%); }
.ic-time { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--display); font-size: 58px; }
.ic-place { display: flex; align-items: center; justify-content: center; gap: 6px; }
.db-verdict { box-shadow: 0 4px 0 rgba(0,0,0,.15); }
.db-verdict b { font-family: var(--display); font-size: 22px; }
.db-verdict .ico { background: #fff; border-radius: 14px; padding: 4px; width: 52px; height: 52px; }
.db-talk { display: flex; gap: 6px; align-items: flex-end; }
.db-talk .db-fb { background: #fff; border: 2.5px solid var(--ink); border-radius: 16px 16px 16px 4px; padding: 10px 12px; flex: 1; margin-bottom: 14px; }
.db-sec > b { display: flex; align-items: center; gap: 6px; }
#toast { display: flex; align-items: center; gap: 8px; }
#toast .ico { background: #fff; border-radius: 8px; padding: 2px; }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 200; }

/* Laporan */
.rp-hero { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.rp-kiko { background: #fff; border-radius: 50%; width: 190px; height: 190px; display: grid; place-items: center; box-shadow: 0 6px 0 var(--line); }
.rp-score span { line-height: 1.2; }
.rank { color: var(--ink); font-family: var(--display); font-size: 1.3rem; }
.stars { display: flex; gap: 2px; }
.rp-stats div { box-shadow: 0 5px 0 var(--line); }
.rp-badges h2 { display: flex; align-items: center; gap: 10px; font-size: 1.6rem; margin: 30px 0 14px; flex-wrap: wrap; }
.rp-badges h2 small { font-family: var(--font); font-size: .9rem; color: var(--ink-2); font-weight: 500; }
.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.badge { background: #fff; border-radius: 20px; padding: 16px 12px; text-align: center; display: grid; justify-items: center; gap: 4px; box-shadow: 0 5px 0 var(--line); }
.badge .medal { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: var(--bc); border: 4px solid var(--ink); box-shadow: inset 0 -6px 0 rgba(0,0,0,.12), 0 0 0 5px #fff, 0 0 0 7px var(--bc); margin-bottom: 6px; }
.badge .medal .ico { background: #fff; border-radius: 50%; padding: 6px; width: 56px; height: 56px; }
.badge b { font-family: var(--display); font-size: 1.05rem; line-height: 1.15; }
.badge small { color: var(--ink-2); font-size: .78rem; }
.badge.got { animation: pop .5s both cubic-bezier(.2,.9,.3,1.3); }
.badge.locked .medal { background: #E3E6F4; filter: grayscale(1); opacity: .45; box-shadow: none; border-style: dashed; }
.badge.locked b { color: #9AA0BD; }
.rp-big { align-items: center; font-family: var(--display); }
.rp-big span { display: inline-flex; align-items: center; gap: 8px; }

/* Misi */
.ms-head { align-items: center; }
.ms-kiko, .ms-ic { flex: none; }
.ms-ic { background: #fff; border-radius: 18px; padding: 6px; box-shadow: 0 4px 0 var(--line); }
.m-steps { display: flex; gap: 6px; margin-top: 8px; }
.m-steps i { width: 36px; height: 8px; border-radius: 4px; background: var(--line); }
.m-steps i.done { background: var(--green); } .m-steps i.now { background: var(--mc); }
.m-card { box-shadow: inset 0 -6px 0 var(--mc), 0 6px 0 var(--line); padding: 20px 18px 22px; transition: transform .15s; }
.m-card:hover { transform: translateY(-4px) rotate(-.8deg); }
.m-card .m-ic { width: 86px; height: 86px; border-radius: 26px; display: grid; place-items: center; margin-bottom: 8px;
  background: color-mix(in srgb, var(--mc) 22%, #fff); border: 3px solid var(--mc); }
.m-card b { font-family: var(--display); font-size: 1.3rem; }
.m-best { display: flex; align-items: center; gap: 2px; }
.mq { box-shadow: inset 0 7px 0 var(--mc), 0 6px 0 var(--line); }
.mq h2 { font-size: 1.55rem; }
.mq-opt { font-size: 1.02rem; transition: transform .1s; }
.mq-opt:not(:disabled):hover { transform: translateX(4px); }
.why-head { display: flex; align-items: center; gap: 8px; }
.why-head b { font-family: var(--display); font-size: 1.4rem; }
.m-done { box-shadow: 0 6px 0 var(--line); }
.m-done-art { display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.m-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border-radius: 999px; padding: 4px 14px 4px 6px; font-weight: 600; margin-top: 10px; }

@media (max-width: 900px) {
  .hero-kiko { left: -6px; bottom: -14px; }
  .hero-kiko .kiko { width: 110px; height: 110px; }
  .hero-kiko .bubble { left: 54px; top: -36px; width: 150px; font-size: .9rem; }
  .sticker .ico { width: 40px; height: 40px; }
  .st2 { right: 2%; }
  .badge-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .pill { box-shadow: none; }
  .intro-card { margin-top: 70px; }
  .ic-time { font-size: 48px; }
  .rp-kiko { width: 140px; height: 140px; }
  .rp-kiko .kiko { width: 120px; height: 120px; }
}
.badge-grid { margin-bottom: 18px; }
