/* Tema netral Pardosi: PIN keluarga, pilih profil, PIN profil. */
:root {
  --bg: #FFFFFF; --fg: #1C211F; --mut: #5C625E; --soft: #F5F3EE; --line: #E2DED5; --dash: #D5D0C5; --danger: #C2410C;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; color: inherit; cursor: pointer; }
.screen { max-width: 430px; min-height: 100dvh; margin: 0 auto; display: flex; flex-direction: column; padding: 20px 24px 28px; }
.grow { flex-grow: 1; }
.av { display: block; border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.av img, .av svg { display: block; width: 100%; height: 100%; }
.hint { min-height: 20px; margin: 10px 0 0; text-align: center; font-size: 14px; font-weight: 600; color: var(--danger); }
.btn { min-height: 56px; border: none; border-radius: 999px; background: var(--fg); color: #FFFFFF; font-size: 17px; font-weight: 700; }
.btn:disabled { background: var(--line); color: var(--mut); }
.round { width: 44px; height: 44px; border: none; border-radius: 999px; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.link { border: none; background: transparent; font-size: 14px; font-weight: 600; color: var(--mut); min-height: 44px; }

/* PIN keluarga */
.ring { position: relative; width: 300px; height: 300px; margin: 36px auto 0; }
.ring .orbit { position: absolute; left: 50px; top: 50px; width: 200px; height: 200px; border-radius: 999px; border: 1.5px dashed var(--dash); }
.ring .logo { position: absolute; left: 106px; top: 106px; width: 88px; height: 88px; border-radius: 999px; box-shadow: 0 4px 14px rgba(28,33,31,.12); }
.ring .av { position: absolute; width: 76px; height: 76px; border: 3px solid #FFFFFF; box-shadow: 0 4px 14px rgba(28,33,31,.14); }
.boxes { position: relative; display: flex; gap: 12px; justify-content: center; }
.box { width: 56px; height: 60px; border-radius: 14px; background: var(--soft); border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; }
.box.on { border: 2px solid var(--fg); }
.boxes input { position: absolute; inset: 0; width: 100%; opacity: 0; font-size: 16px; }

/* Pilih profil */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; justify-items: center; }
.pick { display: flex; flex-direction: column; align-items: center; gap: 8px; border: none; background: transparent; padding: 0; }
.pick .face { position: relative; width: 116px; height: 116px; border-radius: 999px; box-shadow: 0 4px 14px rgba(28,33,31,.14); }
.pick.last .face { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 6px var(--fg); }
.pick .lock { position: absolute; right: 2px; bottom: 2px; width: 30px; height: 30px; border-radius: 999px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(28,33,31,.18); }
.pick b { font-size: 15px; }
.pick small { font-size: 12px; color: var(--mut); margin-top: -6px; }

/* PIN profil: tombol angka sendiri */
.dots { display: flex; gap: 18px; justify-content: center; }
.dots span { width: 16px; height: 16px; border-radius: 999px; border: 2px solid #C9C4B9; }
.dots span.on { background: var(--fg); border-color: var(--fg); }
.pad { display: grid; grid-template-columns: repeat(3, 76px); gap: 14px 22px; justify-content: center; }
.pad button { height: 64px; border: none; border-radius: 999px; background: var(--soft); font-size: 26px; font-weight: 700; }
.pad button.flat { background: transparent; display: flex; align-items: center; justify-content: center; }
.shake { animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
@media (prefers-reduced-motion: reduce) { .shake { animation: none; } }
