/* Layar app hidup · demo bergerak di dalam bingkai iPhone (landing).
   Isi layar ditulis dalam poin iOS (lebar 402) persis seperti Figma, lalu diskalakan
   ke lebar bingkai lewat --s (dihitung layar.js). Gerak dikendalikan token di data-t. */

/* ───────────── Bingkai ───────────── */
:where(.hp-demo) { position: relative; }
.hp-demo .hp-bingkai {
  position: absolute; left: var(--hp-x, 0); top: var(--hp-y, 0); width: var(--hp-w, 100%);
  aspect-ratio: 422 / 894;
  border-radius: 16.59% / 7.83%;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .07), 0 30px 60px rgb(0 0 0 / .10), 0 8px 20px rgb(0 0 0 / .05);
}
.hp-layar {
  position: absolute; left: 2.37%; right: 2.37%; top: 1.12%; bottom: 1.12%;
  overflow: hidden; border-radius: 14.93% / 6.87%;
  background: var(--ly-latar, #fff);
  isolation: isolate;
}
.ly {
  --l-abu: #68686D; --l-abu-2: #98989D; --l-garis: #E4E4E9; --l-kartu: #FAFAFA; --l-chip: #F4F4F6;
  --l-hijau: #137A3A; --l-bulat: ui-rounded, "SF Pro Rounded", var(--huruf);
  --l-pegas: cubic-bezier(.32, 1.28, .44, 1);
  --l-keluar: cubic-bezier(.16, 1, .3, 1);
  --l-halus: cubic-bezier(.4, 0, .2, 1);
  position: absolute; left: 0; top: 0; width: 402px; height: 874px;
  transform-origin: 0 0; transform: scale(var(--s, .85));
  font-family: var(--huruf); color: #0A0A0A; text-align: left; letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  user-select: none; -webkit-user-select: none; pointer-events: none;
}
.js .hp-demo:not(.terukur) .ly { visibility: hidden; }
.ly *, .ly *::before, .ly *::after { box-sizing: border-box; }
.ly p { margin: 0; }
.ly ul { margin: 0; padding: 0; list-style: none; }
.ly img { display: block; }
.ly-isi { position: absolute; inset: 0; transition: opacity .45s var(--l-halus); }
.ly.ly-pudar .ly-isi { opacity: 0; transition-duration: .38s; }
.ly.ly-instan, .ly.ly-instan * { transition: none !important; }
.ly-pulau { position: absolute; z-index: 60; top: 11px; left: 139px; width: 124px; height: 36px; border-radius: 18px; background: #000; }

/* Bilah status */
.ly-status { position: absolute; z-index: 50; left: 0; top: 0; width: 402px; height: 54px; color: var(--ly-status, #0A0A0A); }
.ly-jam { position: absolute; left: 54px; top: 18px; font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -.43px; }
.ly-ind { position: absolute; left: 298px; top: 23px; width: 70px; height: 13px; }

/* Huruf */
.ly .f12m { font-size: 12px; line-height: 16px; font-weight: 500; }
.ly .f14 { font-size: 14px; line-height: 19px; letter-spacing: -.15px; }
.ly .f14m { font-size: 14px; line-height: 19px; letter-spacing: -.15px; font-weight: 500; }
.ly .f15m { font-size: 15px; line-height: 20px; letter-spacing: -.23px; font-weight: 500; }
.ly .f16 { font-size: 16px; line-height: 21px; letter-spacing: -.32px; }
.ly .f16m { font-size: 16px; line-height: 21px; letter-spacing: -.32px; font-weight: 500; }
.ly .f17 { font-size: 17px; line-height: 22px; letter-spacing: -.43px; }
.ly .f17s { font-size: 17px; line-height: 22px; letter-spacing: -.43px; font-weight: 600; }
.ly .f22b { font-family: var(--huruf-judul); font-size: 22px; line-height: 28px; letter-spacing: .35px; font-weight: 700; }
.ly .f34b { font-family: var(--huruf-judul); font-size: 34px; line-height: 41px; letter-spacing: .4px; font-weight: 700; }
.ly .bulat { font-family: var(--l-bulat); }
.ly .r17 { font-family: var(--l-bulat); font-size: 17px; line-height: 22px; letter-spacing: -.2px; font-weight: 600; }
.ly .abu { color: var(--l-abu); }
.ly .hijau { color: var(--l-hijau); }
.ly .kanan { margin-left: auto; text-align: right; }
.ly .nowrap { white-space: nowrap; }

/* Ikon garis (Lucide) — tebal garis ikut ukuran seperti di app */
.ly .ik { display: block; flex: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.ly .ik12 { width: 12px; height: 12px; stroke-width: 2.4; }
.ly .ik14 { width: 14px; height: 14px; stroke-width: 2.2; }
.ly .ik16 { width: 16px; height: 16px; stroke-width: 2.1; }
.ly .ik18 { width: 18px; height: 18px; stroke-width: 2; }
.ly .ik20 { width: 20px; height: 20px; stroke-width: 1.8; }
.ly .ik-pudar { color: #C4C4C8; }

/* Angka bergulir di dalam layar */
.ly .angka-gulir { display: inline-block; white-space: nowrap; }
.ly .angka-gulir .dg { vertical-align: -.145em; }

/* Komponen bersama */
.ly-kaca {
  position: absolute; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 22px;
  background: rgb(255 255 255 / .72); box-shadow: inset 0 0 0 1px #fff, 0 8px 24px rgb(0 0 0 / .08);
}
.ly-kat { position: relative; flex: none; width: 42px; height: 42px; }
.ly-kat > img { width: 100%; height: 100%; }
.ly-sumber {
  position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 10px;
  background: #fff; box-shadow: 0 0 0 2px var(--ly-cincin, #fff); overflow: hidden; display: grid; place-items: center;
}
.ly-sumber .tanda { width: 14px; height: 5.8px; overflow: hidden; position: relative; }
.ly-sumber .tanda img { position: absolute; top: -7%; left: -50%; width: 150%; height: auto; }
.ly-sumber .tanda-mandiri img { left: 0; top: 0; width: 100%; }
.ly-sumber > img.penuh { width: 100%; height: 100%; }
.ly-baris { display: flex; align-items: center; gap: 16px; height: 64px; }
.ly-baris .teks { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ly-baris .teks > * { white-space: nowrap; }
.ly-baris .nominal { flex: none; font-size: 16px; line-height: 21px; letter-spacing: -.32px; font-weight: 500; white-space: nowrap; }
.ly-bar { position: relative; overflow: hidden; background: var(--l-garis); }
.ly-bar > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: #0A0A0A; transform-origin: 0 50%; }
.ly-tombol { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; white-space: nowrap; }

/* ───────────── Beranda ───────────── */
.br-nav { position: absolute; left: 0; top: 58px; width: 402px; height: 44px; }
.br-avatar { position: absolute; left: 16px; top: 2px; width: 40px; height: 40px; border-radius: 20px; background: #FF7A59; display: grid; place-items: center; font-size: 17px; font-weight: 600; }
.br-ruang { position: absolute; left: 64px; top: 6px; height: 32px; padding: 0 10px 0 12px; border-radius: 16px; background: var(--l-chip); display: flex; align-items: center; gap: 4px; }
.br-periode { position: absolute; left: 249px; top: 6px; height: 32px; padding: 0 10px 0 12px; border-radius: 16px; background: var(--l-chip); display: flex; align-items: center; gap: 6px; }
.br-periode .ik14 { color: var(--l-abu); }
.br-lonceng { left: 342px; top: 0; }
.br-saldo { position: absolute; left: 20px; top: 120px; width: 362px; }
.br-saldo .label { display: flex; align-items: center; gap: 6px; }
.br-jumlah { margin-top: 2px; height: 50px; display: flex; align-items: baseline; white-space: nowrap; }
.br-jumlah .rp { font-size: 24px; font-weight: 600; color: var(--l-abu); margin-right: 6px; }
.br-jumlah .angka-gulir { font-size: 44px; line-height: 50px; font-weight: 700; letter-spacing: -1.2px; }
.br-ket { margin-top: 10px; white-space: nowrap; }
.br-kartu { position: absolute; left: 20px; top: 248px; width: 362px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.br-kartu .kartu { height: 125px; border-radius: 20px; background: var(--l-kartu); padding: 16px; position: relative; }
.br-kartu .kartu .bulatan { width: 32px; height: 32px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.br-kartu .kartu .r17 { position: absolute; left: 16px; top: 64px; white-space: nowrap; }
.br-kartu .kartu .f14 { position: absolute; left: 16px; top: 89px; }
.br-kartu .anggaran { grid-column: 1 / -1; height: 73.5px; border-radius: 20px; background: var(--l-kartu); padding: 16px; }
.br-kartu .anggaran .atas { display: flex; align-items: baseline; }
.br-kartu .anggaran .ly-bar { margin-top: 14px; height: 6px; border-radius: 3px; }
.br-kartu .anggaran .ly-bar > i { width: 100%; transform: scaleX(var(--isi, .4)); transition: transform .9s var(--l-keluar); }
.br-terbaru { position: absolute; left: 20px; top: 484px; width: 362px; }
.br-terbaru .judul { display: flex; align-items: baseline; justify-content: space-between; height: 33px; }
.br-terbaru .ly-baris + .ly-baris { margin-top: 4px; }

/* Baris yang masuk ke daftar (Terbaru, Perlu dicek) */
.ly .masuk { height: 0; opacity: 0; margin-top: 0 !important; transform: translateY(-10px) scale(.97); transform-origin: 50% 0;
  transition: height .55s var(--l-keluar), opacity .45s var(--l-halus), transform .65s var(--l-pegas), margin-top .55s var(--l-keluar), background-color 1.6s var(--l-halus); }
.ly .masuk.ada { height: var(--h, 64px); opacity: 1; transform: none; }
.ly .ly-baris.masuk.ada { margin-top: 4px !important; }
.ly .ly-baris.masuk.ada:first-of-type { margin-top: 0 !important; }
.ly .sorot-baru { border-radius: 16px; box-shadow: -10px 0 0 var(--sorot, transparent), 10px 0 0 var(--sorot, transparent); background: var(--sorot, transparent); }
.ly .sorot-baru.nyala { --sorot: #F4F4F6; }

/* ───────────── Catat (lembar ringkas di atas Beranda) ───────────── */
.ct-redup { position: absolute; inset: 0; z-index: 20; background: #000; opacity: .3; transition: opacity .45s var(--l-halus); }
.ct-lembar { position: absolute; z-index: 21; left: 8px; top: 298px; width: 386px; height: 616px; border-radius: 40px; background: #fff;
  transition: transform .62s var(--l-pegas); }
.ct-lembar::before { content: ""; position: absolute; left: 175px; top: 8px; width: 36px; height: 5px; border-radius: 2.5px; background: #C4C4C8; }
.ly .ct-pratinjau { position: absolute; left: 12px; top: 30px; width: 362px; height: 148px; border-radius: 24px; background: var(--l-chip); padding: 8px 16px; }
.ct-pratinjau .ly-baris + .ly-baris { margin-top: 4px; }
.ct-pratinjau .ly-baris { transition: opacity .4s var(--l-halus), transform .55s var(--l-pegas); }
.ct-input { position: absolute; left: 12px; top: 190px; width: 362px; height: 53px; border-radius: 26.5px; background: #E9E9ED; }
.ct-teks { position: absolute; left: 18px; top: 15px; width: 230px; font-size: 17px; line-height: 22px; letter-spacing: -.4px; white-space: nowrap; overflow: hidden; }
.ct-teks b { font-weight: 600; }
.ct-teks .ph { color: #A1A1A6; }
.ct-kursor { display: inline-block; width: 2px; height: 21px; margin: 0 0 -4px 1px; border-radius: 1px; background: #0A84FF; animation: ly-kedip 1s steps(1) infinite; }
@keyframes ly-kedip { 50% { opacity: 0; } }
.ct-simpan { position: absolute; right: 9px; top: 9px; height: 36px; padding: 0 16px; border-radius: 18px; background: #0A0A0A; color: #fff;
  display: flex; align-items: center; gap: 4px; transition: transform .3s var(--l-pegas), background-color .3s, color .3s; }
.ct-simpan .jml { display: inline-block; min-width: .6em; }
.ly[data-ct~="kosong"] .ct-simpan .jml { display: none; }
.ct-papan { position: absolute; z-index: 22; left: 0; top: 574px; width: 402px; height: 300px; background: #D2D4DA; transition: transform .62s var(--l-pegas); }
.ct-papan .baris-kunci { position: absolute; left: 0; width: 402px; height: 42px; }
.ct-papan .k { position: absolute; top: 0; width: 33px; height: 42px; border-radius: 6px; background: #fff; box-shadow: 0 1px 0 rgb(0 0 0 / .3);
  display: grid; place-items: center; font-size: 22px; line-height: 1; transition: background-color .12s, transform .12s; }
.ct-papan .k.abu-k { background: #ABB0BA; }
.ct-papan .k.biru { background: #0A84FF; color: #fff; font-size: 16px; }
.ct-papan .k.kecil { font-size: 16px; }
.ct-papan .k.tekan { background: #E1E3E8; transform: scale(1.06); }
/* keadaan */
.ly[data-ct] .ct-redup { opacity: 0; }
.ly[data-ct] .ct-lembar, .ly[data-ct] .ct-papan { transform: translateY(102%); }
.ly[data-ct~="buka"] .ct-redup { opacity: .3; }
.ly[data-ct~="buka"] .ct-lembar, .ly[data-ct~="buka"] .ct-papan { transform: none; }
.ly[data-ct~="tutup"] .ct-lembar, .ly[data-ct~="tutup"] .ct-papan { transition: transform .5s cubic-bezier(.5, 0, .75, 0); }
.ly[data-ct] .ct-pratinjau .ly-baris { opacity: 0; transform: translateY(10px) scale(.97); }
.ly[data-ct~="b1"] .ct-pratinjau .ly-baris:nth-child(1), .ly[data-ct~="b2"] .ct-pratinjau .ly-baris:nth-child(2) { opacity: 1; transform: none; }
.ly[data-ct~="kosong"] .ct-simpan { background: #D1D1D6; color: #fff; }
.ly[data-ct~="tekan"] .ct-simpan { transform: scale(.92); }

/* ───────────── Anggaran ───────────── */
.ag-judul { position: absolute; left: 20px; top: 110px; }
.ag-periode { position: absolute; left: 20px; top: 153px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.ag-periode .ik14 { color: var(--l-abu); }
.ag-atur { position: absolute; left: 280px; top: 58px; width: 106px; height: 44px; border-radius: 22px; background: rgb(255 255 255 / .72);
  box-shadow: inset 0 0 0 1px #fff, 0 8px 24px rgb(0 0 0 / .08); display: flex; align-items: center; padding-left: 15px; gap: 15px; }
.ag-ukur { position: absolute; left: 36px; top: 186px; width: 330px; height: 178px; }
.ag-ukur > svg { position: absolute; left: 0; top: 0; width: 330px; height: 164px; overflow: visible; }
.ag-ukur .jalur, .ag-ukur .isi { fill: none; stroke-width: 12; stroke-linecap: round; }
.ag-ukur .jalur { stroke: var(--l-garis); }
.ag-ukur .isi { stroke: #0A0A0A; stroke-dasharray: var(--isi, 41) 200; transition: stroke-dasharray 1.5s var(--l-keluar), opacity .2s; }
.ly[data-ag~="nol"] .ag-ukur .isi { opacity: 0; }
.ag-tengah { position: absolute; left: 0; right: 0; top: 66px; display: flex; flex-direction: column; align-items: center; }
.ag-sisa { margin-top: 2px; height: 42px; display: flex; align-items: baseline; font-family: var(--l-bulat); font-size: 36px; line-height: 42px; font-weight: 700; letter-spacing: -.8px; white-space: nowrap; }
.ag-sisa .rp { color: var(--l-abu); margin-right: 9px; }
.ag-batas { margin-top: 15px; height: 28px; padding: 0 12px; border-radius: 14px; background: var(--l-chip); display: flex; align-items: center; gap: 6px; }
.ag-batas .ik12 { color: var(--l-abu); }
.ag-stat { position: absolute; left: 20px; top: 382px; width: 362px; height: 77px; border-radius: 20px; background: var(--l-kartu);
  display: grid; grid-template-columns: repeat(3, 1fr); padding: 16px 8px 0; text-align: center; }
.ag-stat > div { display: flex; flex-direction: column; align-items: center; gap: 2px; transition: opacity .5s var(--l-halus), transform .6s var(--l-keluar); }
.ag-kat { position: absolute; left: 20px; top: 489px; width: 362px; }
.ag-kat .baris { display: flex; align-items: center; gap: 16px; height: 60px; margin-top: 4px; }
.ag-kat .baris:first-of-type { margin-top: 3px; }
.ag-kat .tengah { flex: 1; min-width: 0; }
.ag-kat .atas { display: flex; align-items: baseline; justify-content: space-between; }
.ag-kat .ly-bar { margin-top: 9px; height: 5px; border-radius: 2.5px; }
.ag-kat .ly-bar > i { width: 100%; background: var(--w); transform: scaleX(var(--isi)); transition: transform 1.1s var(--l-keluar) var(--tunda, 0s); }
.ly[data-ag~="nol"] .ag-ukur { --isi: .01; }
.ly[data-ag~="nol"] .ag-kat .ly-bar > i { transform: scaleX(0); }
.ly[data-ag~="nol"] .ag-stat > div { opacity: 0; transform: translateY(8px); }
.ly .ag-stat > div:nth-child(2) { transition-delay: .08s; }
.ly .ag-stat > div:nth-child(3) { transition-delay: .16s; }

/* ───────────── Scan struk (gelap) ───────────── */
.sc { --ly-status: #fff; }
.sc-kamera { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 70% at 30% 25%, #3B2D23 0%, #24190F 55%, #0C0907 100%); }
.sc-kamera i { position: absolute; border-radius: 50%; }
.sc-kamera .cahaya { left: -90px; top: 90px; width: 560px; height: 560px; background: radial-gradient(closest-side, rgb(255 217 174 / .2), rgb(255 217 174 / 0)); }
.sc-kamera .cangkir { left: 252px; top: -58px; width: 210px; height: 210px; background: #5A4433; filter: blur(26px); }
.sc-kamera .kopi { left: 292px; top: -16px; width: 128px; height: 128px; background: #1A110B; filter: blur(16px); }
.sc-kamera .bk1 { left: 26px; top: 96px; width: 34px; height: 34px; background: rgb(255 227 189 / .35); filter: blur(9px); }
.sc-kamera .bk2 { left: 78px; top: 64px; width: 20px; height: 20px; background: rgb(255 227 189 / .25); filter: blur(7px); }
.sc-kamera .bk3 { left: -10px; top: 150px; width: 46px; height: 46px; background: rgb(255 227 189 / .18); filter: blur(12px); }
.sc-kamera .vinyet { inset: 0; border-radius: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0) 40%, rgb(0 0 0 / .62)); }
.sc-redup { position: absolute; inset: 0; background: #000; opacity: .6; transition: opacity .5s var(--l-halus); }
.sc-bingkai { position: absolute; left: 70px; top: 156px; width: 262px; height: 407px; transition: opacity .35s var(--l-halus), transform .5s var(--l-keluar); }
.sc-bingkai::before { content: ""; position: absolute; inset: 0; border: 3px solid #fff; border-radius: 22px;
  -webkit-mask: conic-gradient(at 40px 40px, #0000 75%, #000 0) 0 0 / calc(100% - 40px) calc(100% - 40px);
  mask: conic-gradient(at 40px 40px, #0000 75%, #000 0) 0 0 / calc(100% - 40px) calc(100% - 40px); }
.sc-sapu { position: absolute; z-index: 6; left: 86px; width: 230px; top: 172px; height: 110px; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / 0), rgb(255 236 200 / .28) 70%, rgb(255 255 255 / .7) 97%, rgb(255 255 255 / 0)); }
.sc-lembar { position: absolute; left: 8px; top: 96px; width: 386px; height: 770px; border-radius: 44px; background: #1A1A1C; color: #fff;
  transition: transform .7s var(--l-pegas); }
.sc-lembar::before { content: ""; position: absolute; left: 175px; top: 8px; width: 36px; height: 5px; border-radius: 2.5px; background: #4A4A4E; }
.sc-kepala { position: absolute; left: 92px; top: 42px; transition: opacity .4s var(--l-halus), transform .55s var(--l-keluar); }
.sc-kepala .f14 { color: var(--l-abu-2); margin-top: 2px; }
.sc-tutup { position: absolute; left: 322px; top: 45px; width: 44px; height: 44px; border-radius: 22px; background: rgb(42 42 45 / .62);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); display: grid; place-items: center; }
.sc-total { position: absolute; left: 20px; top: 129px; }
.sc-total .f16 { color: var(--l-abu-2); }
.sc-nilai { height: 50px; display: flex; align-items: baseline; font-family: var(--l-bulat); white-space: nowrap; }
.sc-nilai .rp { font-size: 24px; font-weight: 600; color: var(--l-abu-2); margin-right: 6px; }
.sc-nilai .angka-gulir { font-size: 44px; line-height: 50px; font-weight: 700; letter-spacing: -1.2px; }
.sc-chip { position: absolute; top: 219px; display: flex; align-items: center; gap: 8px; height: 44px; border-radius: 22px;
  transition: opacity .4s var(--l-halus), transform .55s var(--l-pegas); }
.sc-chip.kat { left: 20px; width: 170px; padding: 0 14px 0 8px; background: #2A2A2D; }
.sc-chip.dompet { left: 197px; width: 169px; padding: 0 12px 0 7px; }
.sc-chip .lingkar { width: 28px; height: 28px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; flex: none; }
.sc-chip.dompet .lingkar { width: 26px; height: 26px; background: #fff; box-shadow: 0 0 0 1px #232326; }
.sc-chip .ik14 { margin-left: auto; color: var(--l-abu-2); }
.sc-item { position: absolute; left: 36px; top: 284px; width: 314px; }
.sc-item .baris { display: flex; align-items: center; height: 35.1px; gap: 6px; transition: opacity .4s var(--l-halus), transform .55s var(--l-keluar); }
.sc-item .baris .q { color: var(--l-abu-2); }
.sc-item .baris .kanan { margin-left: auto; }
.sc-item .garis { height: 13px; position: relative; }
.sc-item .garis::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: #232326; }
.sc-item .abu-2 { color: var(--l-abu-2); }
.sc-struk { position: absolute; z-index: 5; left: 86px; top: 172px; width: 230px; height: 375px; transform-origin: 50% 50%;
  transform: translate(-143.95px, -196.55px) rotate(6deg) scale(.2265); transition: transform .85s var(--l-pegas); }
/* struk HTML: kertas termal (ukuran asli = di jendela bidik, dikecilkan jadi gambar mini) */
.struk { width: 230px; height: 375px; overflow: hidden; border-radius: 3px;
  background: #F7F5EF; color: #1F1D1A; padding: 18px 16px 0; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 9.5px; line-height: 1.45;
  box-shadow: 0 2px 6px rgb(0 0 0 / .35); }
.struk .tg { text-align: center; }
.struk .nm { font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.struk .gp { border-top: 1px dashed #B9B4A8; margin: 7px 0; }
.struk .br { display: flex; justify-content: space-between; }
.struk .tot { font-size: 12px; font-weight: 700; }
.struk .kode { height: 26px; margin: 10px 6px 0; background: repeating-linear-gradient(90deg, #1F1D1A 0 2px, #0000 2px 3px, #1F1D1A 3px 4px, #0000 4px 7px, #1F1D1A 7px 10px, #0000 10px 11px); }
.ly[data-sc~="kamera"] .sc-struk { transform: rotate(-1deg); }
.ly[data-sc~="kamera"] .sc-lembar { transform: translateY(100%); }
.ly[data-sc~="kamera"] .sc-redup { opacity: 0; }
.ly:not([data-sc~="kamera"]) .sc-bingkai { opacity: 0; transform: scale(1.06); }
.ly[data-sc~="sapu"] .sc-sapu { animation: sc-sapu 1.5s var(--l-halus) forwards; }
@keyframes sc-sapu { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(265px); } }
.ly[data-sc~="kosong"] .sc-kepala { opacity: 0; transform: translateY(6px); }
.ly[data-sc~="kosong"] .sc-chip { opacity: 0; transform: scale(.92); }
.ly[data-sc~="kosong"] .sc-item .baris, .ly[data-sc~="kosong"] .sc-item .garis { opacity: 0; transform: translateY(8px); }
.sc-item .baris, .sc-item .garis { transition-delay: calc(var(--i, 0) * 70ms + 200ms); }
.ly[data-sc~="kosong"] .sc-item .baris, .ly[data-sc~="kosong"] .sc-item .garis { transition-delay: 0s; }

/* ───────────── Siri (layar utama + kartu Saku) ───────────── */
.si { --ly-status: #fff; }
.si-latar { position: absolute; inset: 0; background: #2F3A44; }
.si-rumah { position: absolute; inset: 0; transition: opacity .6s var(--l-halus); }
.si-rumah.buram { filter: blur(10px); opacity: 0; transform: translateZ(0); }
.ly[data-si~="aktif"] .si-rumah.buram { opacity: 1; }
.ly[data-si~="aktif"] .si-rumah.tajam { opacity: 0; }
.si-redup { position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity .6s var(--l-halus); }
.ly[data-si~="aktif"] .si-redup { opacity: .4; }
.si-widget { position: absolute; left: 19px; width: 364px; border-radius: 24px; background: #fff; overflow: hidden; }
.si-widget .tombol { position: absolute; left: 232px; width: 116px; height: 65px; border-radius: 20px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.si-batang { position: absolute; left: 16px; top: 116px; width: 332px; height: 96px; }
.si-batang i { position: absolute; bottom: 24px; width: 26px; border-radius: 6px; background: var(--l-garis); }
.si-batang span { position: absolute; bottom: 0; width: 26px; text-align: center; color: var(--l-abu); }
.si-cahaya { position: absolute; inset: 0; z-index: 30; border-radius: 60px; opacity: 0; transition: opacity .7s var(--l-halus); pointer-events: none;
  box-shadow: inset 0 0 0 3px rgb(255 255 255 / .35), inset 0 0 22px 6px rgb(255 120 190 / .55), inset 0 0 48px 10px rgb(90 150 255 / .35);
}
.si-cahaya::before { content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 26px 8px rgb(255 176 80 / .42), inset 0 0 60px 14px rgb(160 110 255 / .22); animation: si-nafas 2.8s ease-in-out infinite; }
@keyframes si-nafas { 50% { opacity: .35; } }
.ly[data-si~="dengar"] .si-cahaya { opacity: 1; }
.si-ucap { position: absolute; z-index: 31; left: 39px; top: 448px; width: 324px; height: 48px; border-radius: 24px; background: rgb(28 28 30 / .82);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); color: #fff; display: flex; align-items: center; gap: 10px; padding: 0 16px;
  opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .4s var(--l-halus), transform .55s var(--l-pegas); }
.ly[data-si~="ucap"] .si-ucap { opacity: 1; transform: none; }
.si-ucap .gel { display: flex; align-items: center; gap: 2.5px; height: 16px; flex: none; }
.si-ucap .gel i { width: 2px; height: 16px; border-radius: 1px; background: #fff; transform: scaleY(.25); }
.ly[data-si~="bicara"] .si-ucap .gel i { animation: si-gel .9s ease-in-out infinite alternate; }
.si-ucap .gel i:nth-child(2) { animation-delay: -.3s !important; }
.si-ucap .gel i:nth-child(3) { animation-delay: -.6s !important; }
.si-ucap .gel i:nth-child(4) { animation-delay: -.15s !important; }
.si-ucap .gel i:nth-child(5) { animation-delay: -.45s !important; }
@keyframes si-gel { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.si-ucap .kata { white-space: nowrap; font-size: 15px; font-weight: 500; letter-spacing: -.2px; }
.si-ucap .kata span { opacity: 0; transition: opacity .25s; }
.si-ucap .kata span.on { opacity: 1; }
.si-kartu { position: absolute; z-index: 32; left: 16px; top: 64px; width: 370px; height: 301px; border-radius: 32px; background: #fff; padding: 16px;
  opacity: 0; transform: translateY(-24px) scale(.94); transform-origin: 50% 0; transition: opacity .4s var(--l-halus), transform .7s var(--l-pegas); }
.ly[data-si~="kartu"] .si-kartu { opacity: 1; transform: none; }
.si-app { display: flex; align-items: center; gap: 8px; height: 22px; }
.si-ikon-app { width: 22px; height: 22px; border-radius: 5px; background: #FDEBD3; overflow: hidden; display: grid; place-items: end center; }
.si-ikon-app img { width: 20px; height: auto; margin-bottom: -1px; }
.si-pesan { margin-top: 14px; width: 338px; }
.si-tx { margin-top: 14px; height: 68px; border-radius: 20px; background: var(--l-kartu); display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.si-tx .ly-kat { width: 40px; height: 40px; }
.si-tx .meta { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.si-tx .meta .logo { width: 16px; height: 16px; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px #EDEDF0; }
.si-ang { margin-top: 14px; padding: 0 4px; }
.si-ang .atas { display: flex; justify-content: space-between; }
.si-ang .ly-bar { margin-top: 8px; height: 6px; border-radius: 3px; }
.si-ang .ly-bar > i { width: 100%; transform: scaleX(var(--isi, .42)); transition: transform 1s var(--l-keluar); }
.si-aksi { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.si-aksi span { height: 44px; border-radius: 22px; background: var(--l-chip); display: grid; place-items: center; }

/* ───────────── Tujuan ───────────── */
.tj-ikon { position: absolute; left: 20px; top: 126px; width: 56px; height: 56px; }
.tj-ikon img { width: 100%; height: 100%; }
.tj-judul { position: absolute; left: 90px; top: 129px; }
.tj-judul .f14 { margin-top: 2px; }
.tj-blok { position: absolute; left: 20px; top: 202px; width: 362px; }
.tj-nilai { margin-top: 2px; height: 42px; font-family: var(--l-bulat); font-size: 36px; line-height: 42px; font-weight: 700; letter-spacing: -.8px; white-space: nowrap; }
.tj-blok > .f14:last-of-type { margin-top: 2px; }
.tj-blok .ly-bar { margin-top: 12px; height: 10px; border-radius: 5px; }
.tj-blok .ly-bar > i, .tj-saran .ly-bar > i { width: 100%; background: #5AC8FA; transform: scaleX(var(--isi)); transition: transform 1.1s var(--l-keluar); }
.tj-sorot { position: absolute; left: 20px; top: 326px; width: 362px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tj-sorot > div { height: 65px; border-radius: 16px; background: var(--l-kartu); padding: 12px; }
.tj-sorot .r17 { margin-top: 2px; white-space: nowrap; }
.tj-saran { position: absolute; left: 20px; top: 403px; width: 362px; height: 170px; border-radius: 20px; background: var(--l-kartu); padding: 16px; }
.tj-saran .atas { display: flex; align-items: center; gap: 10px; height: 28px; }
.tj-saran .kilau { width: 28px; height: 28px; border-radius: 14px; background: #5AC8FA; color: #fff; display: grid; place-items: center; transition: transform .5s var(--l-pegas); }
.tj-saran .nominal { margin-top: 12px; display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.tj-saran .ly-bar { margin-top: 12px; height: 8px; border-radius: 4px; }
.tj-penuhi { position: relative; margin-top: 12px; height: 44px; border-radius: 22px; background: #fff; overflow: hidden; transition: transform .3s var(--l-pegas), background-color .4s; }
.tj-penuhi > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; transition: opacity .35s, transform .5s var(--l-pegas); }
.tj-penuhi .sudah { color: var(--l-hijau); opacity: 0; transform: translateY(10px); }
.ly[data-tj~="tekan"] .tj-penuhi { transform: scale(.96); background: #EDEDF0; }
.ly[data-tj~="penuh"] .tj-penuhi .belum { opacity: 0; transform: translateY(-10px); }
.ly[data-tj~="penuh"] .tj-penuhi .sudah { opacity: 1; transform: none; }
.ly[data-tj~="penuh"] .tj-saran .kilau { transform: rotate(90deg) scale(1.12); }

/* ───────────── Perlu dicek ───────────── */
.pd-judul { position: absolute; left: 20px; top: 110px; }
.pd-desk { position: absolute; left: 20px; top: 170px; width: 362px; }
.pd-hari { position: absolute; left: 20px; top: 232px; }
.pd-daftar { position: absolute; left: 20px; top: 260px; width: 362px; }
.pd-kartu { position: relative; height: 126px; transition: margin-top .55s var(--l-keluar); border-radius: 20px; background: var(--l-kartu); padding: 14px; overflow: hidden; --ly-cincin: var(--l-kartu); }
.pd-kartu + .pd-kartu { margin-top: 10px; }
.pd-kartu .ly-baris { height: 42px; gap: 12px; }
.pd-aksi { display: flex; gap: 8px; margin-top: 12px; }
.pd-pilih { flex: 1; height: 44px; border-radius: 22px; background: #E9E9ED; display: flex; align-items: center; gap: 8px; padding: 0 14px 0 8px; }
.pd-pilih .ly-kat { width: 28px; height: 28px; }
.pd-pilih .ik14 { margin-left: auto; color: var(--l-abu); }
.pd-benar { width: 91px; height: 44px; border-radius: 22px; background: #0A0A0A; color: #fff; display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: transform .3s var(--l-pegas), background-color .3s; }
.pd-kartu .tebak { transition: opacity .3s var(--l-halus); }
.pd-kartu .tebak-ph { position: absolute; left: 50px; top: 0; bottom: 0; display: flex; align-items: center; color: var(--l-abu); opacity: 0; transition: opacity .3s var(--l-halus); }
.pd-pilih { position: relative; }
.pd-selesai { position: absolute; inset: 0; border-radius: inherit; background: var(--l-kartu); display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--l-hijau); opacity: 0; transition: opacity .3s var(--l-halus); }
.pd-selesai .centang { width: 28px; height: 28px; border-radius: 14px; background: var(--l-hijau); color: #fff; display: grid; place-items: center; transform: scale(.5); transition: transform .5s var(--l-pegas); }
.pd-kartu.masuk { --h: 126px; }
.pd-kartu.masuk.ada { margin-top: 0 !important; }
.pd-kartu.masuk.ada + .pd-kartu { margin-top: 10px; }
.pd-kartu.masuk:not(.ada) + .pd-kartu { margin-top: 0; }
.pd-kartu.menebak .tebak { opacity: 0; }
.pd-kartu.menebak .tebak-ph { opacity: 1; }
.pd-kartu.ditekan .pd-benar { transform: scale(.92); background: #2C2C2E; }
.pd-kartu.beres .pd-selesai { opacity: 1; }
.pd-kartu.beres .pd-selesai .centang { transform: none; }
.ly .pd-kartu.masuk.keluar, .ly .pd-kartu.keluar { height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; transform: scale(.97);
  transition: height .5s var(--l-keluar), opacity .35s var(--l-halus), padding .5s var(--l-keluar), transform .5s var(--l-keluar); }
.pd-kartu.keluar + .pd-kartu { margin-top: 0; transition: margin-top .5s var(--l-keluar); }
/* notifikasi bank yang turun dari atas */
.pd-notif { position: absolute; z-index: 45; left: 10px; top: 58px; width: 382px; height: 78px; border-radius: 26px; background: rgb(246 246 248 / .97);
  box-shadow: 0 10px 30px rgb(0 0 0 / .14), 0 0 0 .5px rgb(0 0 0 / .06); display: flex; align-items: center; gap: 12px; padding: 0 16px 0 14px;
  opacity: 0; transform: translateY(-120%) scale(.96); transition: transform .7s var(--l-pegas), opacity .35s var(--l-halus); }
.pd-notif .app { width: 38px; height: 38px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 .5px rgb(0 0 0 / .1); display: grid; place-items: center; flex: none; }
.pd-notif .app img { width: 30px; height: auto; }
.pd-notif .isi { flex: 1; min-width: 0; }
.pd-notif .atas { display: flex; justify-content: space-between; }
.pd-notif .atas .f14 { color: #8A8A8E; }
.pd-notif .isi > .f15 { font-size: 15px; line-height: 20px; letter-spacing: -.23px; white-space: nowrap; }
.ly[data-pd~="notif"] .pd-notif { opacity: 1; transform: none; }
.ly[data-pd~="serap"] .pd-notif { opacity: 0; transform: translateY(160px) scale(.9); transition: transform .6s cubic-bezier(.5, 0, .2, 1), opacity .45s var(--l-halus) .1s; }

/* ───────────── Tombol jeda demo (aksesibilitas) ───────────── */
.jeda-demo { position: absolute; z-index: 6; width: 40px; height: 40px; color: var(--teks); }
.jeda-demo .ikon-putar { display: none; }
.jeda-demo[aria-pressed="true"] .ikon-putar { display: block; }
.jeda-demo[aria-pressed="true"] .ikon-jeda { display: none; }
@media (prefers-reduced-motion: reduce) { .jeda-demo { display: none; } }

/* Animasi tak berujung hanya saat dibutuhkan; gerak dikurangi = semua diam di keadaan akhir */
.ly:not([data-si~="dengar"]) .si-cahaya::before { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .ly *, .ly *::before, .ly *::after { animation: none !important; transition: none !important; }
  .sinkron { display: none; }
}
