/* =====================================================
   notifikasi.css - halaman Notifikasi akun (2026-10-22, keputusan pemilik). Dimuat setelah app.css.
   Ikut sistem desain utama: kartu z-card, ikon 3D dalam kotak (gaya menu Akun), aksen ungu, ikut lampu terang/gelap.
   Belum dibaca = titik ungu + latar ungu tipis.
   ===================================================== */
.nf-intro { margin: 0 0 12px; }
.nf-state { margin: 6px 0 12px; text-align: center; }
.nf-list { list-style: none; margin: 0 0 14px; padding: 4px 0; overflow: hidden; }
.nf-item { position: relative; display: flex; gap: 12px; padding: 12px 14px; }
.nf-item + .nf-item::before { content: ""; position: absolute; top: 0; left: 14px; right: 14px; height: 1px; background: rgba(144,105,233,.22); }
.nf-item.unread { background: rgba(144,105,233,.09); }
.nf-ii { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(144,105,233,.1); border: 1px solid rgba(144,105,233,.25); }
html[data-tema="terang"] .nf-ii { background: linear-gradient(145deg, #fff, #f3eaf9); border: 2px solid #fff; box-shadow: var(--z-clay-s); }
.nf-ii img { width: 24px; height: 24px; }
.nf-mb { flex: 1; min-width: 0; }
.nf-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.nf-title { margin: 0; font-size: 13.5px; font-weight: 800; color: var(--z-text); }
.nf-time { flex: none; font-size: 11px; color: var(--z-text3); white-space: nowrap; }
.nf-body { margin: 3px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--z-text2); white-space: pre-line; overflow-wrap: anywhere; }
.nf-dot { position: absolute; top: 14px; left: 6px; width: 6px; height: 6px; border-radius: 50%; background: #9069e9; }
.nf-more { display: flex; width: 100%; margin-bottom: 12px; }
.nf-more[hidden] { display: none; }

/* 2026-10-23 revisi pemilik: isi panjang dilipat 2 baris + tombol Selengkapnya (notifikasi.js lipatPanjang) */
.nf-body.lipat { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.nf-toggle { position: relative; display: inline-flex; align-items: center; min-height: 28px; margin: 2px 0 0; padding: 0; border: 0; background: none; cursor: pointer;
  font: 700 12px "Plus Jakarta Sans", sans-serif; color: var(--z-accent); -webkit-tap-highlight-color: transparent; }
.nf-toggle::after { content: ""; position: absolute; left: -8px; right: -8px; top: -8px; bottom: -8px; } /* area sentuh 44px */
.nf-toggle:focus-visible { outline: 2px solid var(--z-accent); outline-offset: 2px; border-radius: 4px; }
.nf-state .coba-lagi { display: flex; margin: 8px auto 0; }

/* 2026-10-31 pemilik: notifikasi kosong = maskot pintu 69 di tengah layar, melayang + bergoyang pelan;
   diam bila HP minta kurangi gerak. Teks kapital ungu tua (terang) / ungu muda (gelap). */
.nf-kosong { min-height: calc(100dvh - 260px); align-content: center; gap: 14px; }
.nf-kosong .nf-maskot { display: block; width: 200px; height: auto; transform-origin: 50% 90%; animation: nfMaskot 3.6s ease-in-out infinite; }
.nf-kosong span { max-width: 26ch; font-size: 14px; font-weight: 800; letter-spacing: .3px; line-height: 1.45; color: #5b3a9c; }
html:not([data-tema="terang"]) .nf-kosong span { color: #d9c8ff; }
@keyframes nfMaskot { 0%, 100% { transform: translateY(0) rotate(0deg); } 25% { transform: translateY(-5px) rotate(-1.5deg); } 50% { transform: translateY(-8px) rotate(0deg); } 75% { transform: translateY(-5px) rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) { .nf-kosong .nf-maskot { animation: none; } }
.nf-tonton { display: inline-flex; margin-top: 8px; } /* 2026-11-03 notifikasi live talent yang diikuti */
