:root {
  --gold: #E8C46A; --gold-2: #F6D78B; --gold-deep: #B8801E;
  --foil: linear-gradient(120deg, #FFE7A3 0%, #E8B64A 30%, #B8801E 55%, #F6D27A 78%, #E8B64A 100%);
  --motif-spiral: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23E8C46A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M31.5,30.0 L31.6,30.2 L31.6,30.4 L31.6,30.6 L31.5,30.8 L31.5,31.1 L31.4,31.3 L31.2,31.5 L31.1,31.7 L30.9,31.9 L30.7,32.0 L30.4,32.2 L30.1,32.3 L29.9,32.3 L29.6,32.4 L29.2,32.3 L28.9,32.3 L28.6,32.2 L28.3,32.0 L28.0,31.9 L27.8,31.6 L27.5,31.4 L27.3,31.1 L27.1,30.7 L27.0,30.4 L26.9,30.0 L26.9,29.6 L26.9,29.2 L26.9,28.8 L27.1,28.4 L27.2,28.0 L27.5,27.6 L27.7,27.3 L28.1,27.0 L28.4,26.7 L28.8,26.4 L29.3,26.3 L29.8,26.1 L30.2,26.1 L30.7,26.1 L31.3,26.1 L31.8,26.3 L32.2,26.5 L32.7,26.7 L33.1,27.0 L33.5,27.4 L33.9,27.9 L34.2,28.3 L34.4,28.9 L34.6,29.4 L34.7,30.0 L34.7,30.6 L34.7,31.2 L34.5,31.8 L34.3,32.4 L34.1,33.0 L33.7,33.5 L33.3,34.0 L32.8,34.4 L32.2,34.8 L31.7,35.1 L31.0,35.3 L30.3,35.5 L29.7,35.5 L29.0,35.5 L28.3,35.4 L27.6,35.2 L26.9,34.9 L26.3,34.5 L25.7,34.0 L25.2,33.5 L24.7,32.9 L24.3,32.2 L24.0,31.5 L23.8,30.8 L23.7,30.0 L23.7,29.2 L23.8,28.4 L24.0,27.6 L24.3,26.8 L24.6,26.1 L25.1,25.4 L25.7,24.8 L26.3,24.2 L27.1,23.8 L27.9,23.4 L28.7,23.1 L29.6,22.9 L30.4,22.9 L31.3,22.9 L32.2,23.1 L33.1,23.4 L34.0,23.8 L34.8,24.3 L35.5,24.9 L36.1,25.5 L36.7,26.3 L37.2,27.2 L37.5,28.1 L37.8,29.0 L37.9,30.0 L37.9,31.0 L37.8,32.0 L37.5,33.0 L37.1,33.9 L36.7,34.8 L36.0,35.7 L35.3,36.4 L34.5,37.1 L33.6,37.7 L32.6,38.1 L31.6,38.5 L30.5,38.7 L29.5,38.7 L28.4,38.6 L27.3,38.4 L26.2,38.1 L25.2,37.6 L24.2,37.0 L23.4,36.2 L22.6,35.4 L21.9,34.5 L21.3,33.4 L20.9,32.3 L20.6,31.2 L20.5,30.0 L20.5,28.8 L20.7,27.6 L21.0,26.4 L21.5,25.3 L22.1,24.2 L22.8,23.2 L23.7,22.3 L24.6,21.5 L25.7,20.9 L26.9,20.4 L28.1,20.0 L29.4,19.8 L30.6,19.7 L31.9,19.8 L33.2,20.1 L34.5,20.5 L35.7,21.1 L36.8,21.8 L37.8,22.7 L38.7,23.7 L39.5,24.8 L40.1,26.0 L40.6,27.3 L40.9,28.6 L41.1,30.0 L41.1,31.4 L40.9,32.8 L40.5,34.2 L40.0,35.5 L39.2,36.7 L38.4,37.9 L37.4,38.9 L36.2,39.8 L35.0,40.6 L33.6,41.2'/%3E%3Cpath d='M91.5,90.0 L91.6,90.2 L91.6,90.4 L91.6,90.6 L91.5,90.8 L91.5,91.1 L91.4,91.3 L91.2,91.5 L91.1,91.7 L90.9,91.9 L90.7,92.0 L90.4,92.2 L90.1,92.3 L89.9,92.3 L89.6,92.4 L89.2,92.3 L88.9,92.3 L88.6,92.2 L88.3,92.0 L88.0,91.9 L87.8,91.6 L87.5,91.4 L87.3,91.1 L87.1,90.7 L87.0,90.4 L86.9,90.0 L86.9,89.6 L86.9,89.2 L86.9,88.8 L87.1,88.4 L87.2,88.0 L87.5,87.6 L87.7,87.3 L88.1,87.0 L88.4,86.7 L88.8,86.4 L89.3,86.3 L89.8,86.1 L90.2,86.1 L90.7,86.1 L91.3,86.1 L91.8,86.3 L92.2,86.5 L92.7,86.7 L93.1,87.0 L93.5,87.4 L93.9,87.9 L94.2,88.3 L94.4,88.9 L94.6,89.4 L94.7,90.0 L94.7,90.6 L94.7,91.2 L94.5,91.8 L94.3,92.4 L94.1,93.0 L93.7,93.5 L93.3,94.0 L92.8,94.4 L92.2,94.8 L91.7,95.1 L91.0,95.3 L90.3,95.5 L89.7,95.5 L89.0,95.5 L88.3,95.4 L87.6,95.2 L86.9,94.9 L86.3,94.5 L85.7,94.0 L85.2,93.5 L84.7,92.9 L84.3,92.2 L84.0,91.5 L83.8,90.8 L83.7,90.0 L83.7,89.2 L83.8,88.4 L84.0,87.6 L84.3,86.8 L84.6,86.1 L85.1,85.4 L85.7,84.8 L86.3,84.2 L87.1,83.8 L87.9,83.4 L88.7,83.1 L89.6,82.9 L90.4,82.9 L91.3,82.9 L92.2,83.1 L93.1,83.4 L94.0,83.8 L94.8,84.3 L95.5,84.9 L96.1,85.5 L96.7,86.3 L97.2,87.2 L97.5,88.1 L97.8,89.0 L97.9,90.0 L97.9,91.0 L97.8,92.0 L97.5,93.0 L97.1,93.9 L96.7,94.8 L96.0,95.7 L95.3,96.4 L94.5,97.1 L93.6,97.7 L92.6,98.1 L91.6,98.5 L90.5,98.7 L89.5,98.7 L88.4,98.6 L87.3,98.4 L86.2,98.1 L85.2,97.6 L84.2,97.0 L83.4,96.2 L82.6,95.4 L81.9,94.5 L81.3,93.4 L80.9,92.3 L80.6,91.2 L80.5,90.0 L80.5,88.8 L80.7,87.6 L81.0,86.4 L81.5,85.3 L82.1,84.2 L82.8,83.2 L83.7,82.3 L84.6,81.5 L85.7,80.9 L86.9,80.4 L88.1,80.0 L89.4,79.8 L90.6,79.7 L91.9,79.8 L93.2,80.1 L94.5,80.5 L95.7,81.1 L96.8,81.8 L97.8,82.7 L98.7,83.7 L99.5,84.8 L100.1,86.0 L100.6,87.3 L100.9,88.6 L101.1,90.0 L101.1,91.4 L100.9,92.8 L100.5,94.2 L100.0,95.5 L99.2,96.7 L98.4,97.9 L97.4,98.9 L96.2,99.8 L95.0,100.6 L93.6,101.2'/%3E%3Cpath d='M0 60 Q15 48 30 60 T60 60 T90 60 T120 60' stroke-width='1.6'/%3E%3C/g%3E%3Cg fill='%23E8C46A'%3E%3Ccircle cx='90' cy='28' r='3'/%3E%3Ccircle cx='100' cy='38' r='2'/%3E%3Ccircle cx='30' cy='92' r='3'/%3E%3Ccircle cx='20' cy='102' r='2'/%3E%3C/g%3E%3C/svg%3E");
  --motif-spiral-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%232A1503' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M31.5,30.0 L31.6,30.2 L31.6,30.4 L31.6,30.6 L31.5,30.8 L31.5,31.1 L31.4,31.3 L31.2,31.5 L31.1,31.7 L30.9,31.9 L30.7,32.0 L30.4,32.2 L30.1,32.3 L29.9,32.3 L29.6,32.4 L29.2,32.3 L28.9,32.3 L28.6,32.2 L28.3,32.0 L28.0,31.9 L27.8,31.6 L27.5,31.4 L27.3,31.1 L27.1,30.7 L27.0,30.4 L26.9,30.0 L26.9,29.6 L26.9,29.2 L26.9,28.8 L27.1,28.4 L27.2,28.0 L27.5,27.6 L27.7,27.3 L28.1,27.0 L28.4,26.7 L28.8,26.4 L29.3,26.3 L29.8,26.1 L30.2,26.1 L30.7,26.1 L31.3,26.1 L31.8,26.3 L32.2,26.5 L32.7,26.7 L33.1,27.0 L33.5,27.4 L33.9,27.9 L34.2,28.3 L34.4,28.9 L34.6,29.4 L34.7,30.0 L34.7,30.6 L34.7,31.2 L34.5,31.8 L34.3,32.4 L34.1,33.0 L33.7,33.5 L33.3,34.0 L32.8,34.4 L32.2,34.8 L31.7,35.1 L31.0,35.3 L30.3,35.5 L29.7,35.5 L29.0,35.5 L28.3,35.4 L27.6,35.2 L26.9,34.9 L26.3,34.5 L25.7,34.0 L25.2,33.5 L24.7,32.9 L24.3,32.2 L24.0,31.5 L23.8,30.8 L23.7,30.0 L23.7,29.2 L23.8,28.4 L24.0,27.6 L24.3,26.8 L24.6,26.1 L25.1,25.4 L25.7,24.8 L26.3,24.2 L27.1,23.8 L27.9,23.4 L28.7,23.1 L29.6,22.9 L30.4,22.9 L31.3,22.9 L32.2,23.1 L33.1,23.4 L34.0,23.8 L34.8,24.3 L35.5,24.9 L36.1,25.5 L36.7,26.3 L37.2,27.2 L37.5,28.1 L37.8,29.0 L37.9,30.0 L37.9,31.0 L37.8,32.0 L37.5,33.0 L37.1,33.9 L36.7,34.8 L36.0,35.7 L35.3,36.4 L34.5,37.1 L33.6,37.7 L32.6,38.1 L31.6,38.5 L30.5,38.7 L29.5,38.7 L28.4,38.6 L27.3,38.4 L26.2,38.1 L25.2,37.6 L24.2,37.0 L23.4,36.2 L22.6,35.4 L21.9,34.5 L21.3,33.4 L20.9,32.3 L20.6,31.2 L20.5,30.0 L20.5,28.8 L20.7,27.6 L21.0,26.4 L21.5,25.3 L22.1,24.2 L22.8,23.2 L23.7,22.3 L24.6,21.5 L25.7,20.9 L26.9,20.4 L28.1,20.0 L29.4,19.8 L30.6,19.7 L31.9,19.8 L33.2,20.1 L34.5,20.5 L35.7,21.1 L36.8,21.8 L37.8,22.7 L38.7,23.7 L39.5,24.8 L40.1,26.0 L40.6,27.3 L40.9,28.6 L41.1,30.0 L41.1,31.4 L40.9,32.8 L40.5,34.2 L40.0,35.5 L39.2,36.7 L38.4,37.9 L37.4,38.9 L36.2,39.8 L35.0,40.6 L33.6,41.2'/%3E%3Cpath d='M91.5,90.0 L91.6,90.2 L91.6,90.4 L91.6,90.6 L91.5,90.8 L91.5,91.1 L91.4,91.3 L91.2,91.5 L91.1,91.7 L90.9,91.9 L90.7,92.0 L90.4,92.2 L90.1,92.3 L89.9,92.3 L89.6,92.4 L89.2,92.3 L88.9,92.3 L88.6,92.2 L88.3,92.0 L88.0,91.9 L87.8,91.6 L87.5,91.4 L87.3,91.1 L87.1,90.7 L87.0,90.4 L86.9,90.0 L86.9,89.6 L86.9,89.2 L86.9,88.8 L87.1,88.4 L87.2,88.0 L87.5,87.6 L87.7,87.3 L88.1,87.0 L88.4,86.7 L88.8,86.4 L89.3,86.3 L89.8,86.1 L90.2,86.1 L90.7,86.1 L91.3,86.1 L91.8,86.3 L92.2,86.5 L92.7,86.7 L93.1,87.0 L93.5,87.4 L93.9,87.9 L94.2,88.3 L94.4,88.9 L94.6,89.4 L94.7,90.0 L94.7,90.6 L94.7,91.2 L94.5,91.8 L94.3,92.4 L94.1,93.0 L93.7,93.5 L93.3,94.0 L92.8,94.4 L92.2,94.8 L91.7,95.1 L91.0,95.3 L90.3,95.5 L89.7,95.5 L89.0,95.5 L88.3,95.4 L87.6,95.2 L86.9,94.9 L86.3,94.5 L85.7,94.0 L85.2,93.5 L84.7,92.9 L84.3,92.2 L84.0,91.5 L83.8,90.8 L83.7,90.0 L83.7,89.2 L83.8,88.4 L84.0,87.6 L84.3,86.8 L84.6,86.1 L85.1,85.4 L85.7,84.8 L86.3,84.2 L87.1,83.8 L87.9,83.4 L88.7,83.1 L89.6,82.9 L90.4,82.9 L91.3,82.9 L92.2,83.1 L93.1,83.4 L94.0,83.8 L94.8,84.3 L95.5,84.9 L96.1,85.5 L96.7,86.3 L97.2,87.2 L97.5,88.1 L97.8,89.0 L97.9,90.0 L97.9,91.0 L97.8,92.0 L97.5,93.0 L97.1,93.9 L96.7,94.8 L96.0,95.7 L95.3,96.4 L94.5,97.1 L93.6,97.7 L92.6,98.1 L91.6,98.5 L90.5,98.7 L89.5,98.7 L88.4,98.6 L87.3,98.4 L86.2,98.1 L85.2,97.6 L84.2,97.0 L83.4,96.2 L82.6,95.4 L81.9,94.5 L81.3,93.4 L80.9,92.3 L80.6,91.2 L80.5,90.0 L80.5,88.8 L80.7,87.6 L81.0,86.4 L81.5,85.3 L82.1,84.2 L82.8,83.2 L83.7,82.3 L84.6,81.5 L85.7,80.9 L86.9,80.4 L88.1,80.0 L89.4,79.8 L90.6,79.7 L91.9,79.8 L93.2,80.1 L94.5,80.5 L95.7,81.1 L96.8,81.8 L97.8,82.7 L98.7,83.7 L99.5,84.8 L100.1,86.0 L100.6,87.3 L100.9,88.6 L101.1,90.0 L101.1,91.4 L100.9,92.8 L100.5,94.2 L100.0,95.5 L99.2,96.7 L98.4,97.9 L97.4,98.9 L96.2,99.8 L95.0,100.6 L93.6,101.2'/%3E%3Cpath d='M0 60 Q15 48 30 60 T60 60 T90 60 T120 60' stroke-width='1.6'/%3E%3C/g%3E%3Cg fill='%232A1503'%3E%3Ccircle cx='90' cy='28' r='3'/%3E%3Ccircle cx='100' cy='38' r='2'/%3E%3Ccircle cx='30' cy='92' r='3'/%3E%3Ccircle cx='20' cy='102' r='2'/%3E%3C/g%3E%3C/svg%3E");
  --motif-noken: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg fill='none' stroke='%23E8C46A' stroke-width='1.3'%3E%3Cpath d='M0 14 L14 0 L28 14 L14 28 Z'/%3E%3Cpath d='M7 14 L14 7 L21 14 L14 21 Z' stroke-width='.9'/%3E%3C/g%3E%3C/svg%3E");
  --motif-ukir: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='14' viewBox='0 0 36 14'%3E%3Cpath d='M0 14 L9 2 L18 14 L27 2 L36 14' fill='none' stroke='%23E8C46A' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='9' cy='11' r='1.6' fill='%23E8C46A'/%3E%3Ccircle cx='27' cy='11' r='1.6' fill='%23E8C46A'/%3E%3C/svg%3E");
  --motif-ukir-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='14' viewBox='0 0 36 14'%3E%3Cpath d='M0 14 L9 2 L18 14 L27 2 L36 14' fill='none' stroke='%232A1503' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='9' cy='11' r='1.6' fill='%232A1503'/%3E%3Ccircle cx='27' cy='11' r='1.6' fill='%232A1503'/%3E%3C/svg%3E");
}

/* =====================================================================
   Khenambay · lapisan "Papua Mewah" (dimuat setelah layout-web.css)
   Motif: spiral lukisan kulit kayu Sentani, anyaman noken, pita ukiran.
   Aksen emas tipis seperti perhiasan, di atas palet senja.
   ===================================================================== */

/* latar halaman sesudah login: anyaman noken samar */
/* latar halaman sesudah login: motif batik Papua (spiral kulit kayu Sentani, ikan, cenderawasih, tifa, daun sagu) */
#app::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/batik-papua.svg") 0 0 / 260px 300px repeat; opacity: .12; }
@media (max-width: 640px) { #app::before { background-size: 195px 225px; opacity: .11; } }

/* garis emas tipis pada kartu (pinggiran seperti bingkai perhiasan) */
.opp, .kpi, .item, .table-wrap, .faq, .geo-card,
.card:not(.amber):not(.coral):not(.soft):not(.hero):not(.otp-card) {
  border: 1px solid transparent !important;
  background: linear-gradient(170deg, rgba(28,36,15,.94), rgba(17,22,9,.94)) padding-box,
              linear-gradient(140deg, rgba(232,196,106,.62), rgba(246,244,241,.07) 34%, rgba(246,244,241,.05) 66%, rgba(232,196,106,.38)) border-box !important;
}
.opp:hover, .kpi:hover, .item:hover {
  background: linear-gradient(170deg, rgba(34,44,18,.96), rgba(20,26,11,.96)) padding-box,
              linear-gradient(140deg, rgba(246,215,139,.95), rgba(232,196,106,.2) 40%, rgba(232,196,106,.7)) border-box !important;
}

/* judul halaman berwarna emas foil */
.ph-name, .hi-line b, .page > .row h1, .page > .head h1, .amain > .row h1, .hi-banner h1, .a-banner h1 {
  background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%;
  animation: foil 6s ease-in-out infinite; }
@keyframes foil { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* label bagian dengan ornamen ukiran kecil */
.label { display: inline-flex; align-items: center; gap: 8px; }
.page > .label::before, .stack > .label::before { content: ''; width: 26px; height: 8px; background: var(--motif-ukir) repeat-x left center / 13px 6px; opacity: .9; }

/* ---------- topbar & dock ---------- */
.topbar { box-shadow: inset 0 -1px 0 rgba(232,196,106,.32), 0 14px 30px -18px rgba(0,0,0,.9); }
.brand b { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bottomnav.dock { border-color: rgba(232,196,106,.32); }
.bottomnav.dock::before { content: ''; position: absolute; left: 28px; right: 28px; top: -1px; height: 7px; transform: translateY(-100%);
  background: var(--motif-ukir) repeat-x center / 16px 7px; opacity: .55; pointer-events: none; }

/* ---------- banner beranda (pendata, investor, admin) ---------- */
.ph-hero, .hi-banner, .a-banner { position: relative; overflow: hidden; isolation: isolate; }
.ph-hero::before, .hi-banner::before, .a-banner::before {
  content: ''; position: absolute; right: -30px; top: -30px; width: 260px; height: 260px; z-index: -1; pointer-events: none;
  background: var(--motif-spiral) center / 120px; opacity: .14; border-radius: 50%;
  -webkit-mask: radial-gradient(circle, #000 35%, transparent 70%); mask: radial-gradient(circle, #000 35%, transparent 70%);
  animation: motif-spin 60s linear infinite; }
@keyframes motif-spin { to { transform: rotate(360deg); } }
.ph-hero::after, .hi-banner::after, .a-banner::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; z-index: -1; pointer-events: none;
  background: var(--motif-ukir) repeat-x center / 22px 9px; opacity: .5; }
.ph-goal { border-color: rgba(232,196,106,.3); }
.ph-goal .ring { background: radial-gradient(closest-side, #1C2410 76%, transparent 78% 100%), conic-gradient(#F6D78B calc(var(--p) * 1%), #B8801E calc(var(--p) * 1%), rgba(246,244,241,.12) 0); }
.ph-goal .ring b { color: var(--gold-2); }

/* investor: banner sapaan */
.hi-banner { display: grid; gap: 4px; padding: 18px 18px 22px; border-radius: 26px; border: 1px solid rgba(232,196,106,.35);
  background: radial-gradient(120% 90% at 100% 0%, rgba(242,182,53,.28), transparent 55%), linear-gradient(160deg, #2A3410, #151B0B); box-shadow: 0 6px 0 rgba(0,0,0,.35); }
.hi-banner h1 { margin: 0; font-family: var(--display); font-size: 26px; line-height: 1.1; }
.hi-banner p { margin: 0; color: #ECE2CEC8; font-size: 14px; max-width: 34ch; }
.hi-banner .hb-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hi-banner .hb-stats span { padding: 5px 11px; border-radius: 99px; background: rgba(15,20,8,.5); border: 1px solid rgba(232,196,106,.3); font-size: 12.5px; font-weight: 700; color: var(--gold-2); }
.desk .hi-banner h1 { font-size: 34px; }

/* admin: banner ruang kerja */
.a-banner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px; padding: 24px 26px 28px; border-radius: 28px; border: 1px solid rgba(232,196,106,.35);
  background: radial-gradient(90% 120% at 100% 0%, rgba(242,182,53,.3), transparent 55%), radial-gradient(70% 90% at 0% 100%, rgba(228,92,16,.22), transparent 60%), linear-gradient(160deg, #2A3410, #141A0B);
  box-shadow: 0 6px 0 rgba(0,0,0,.4); margin-bottom: 18px; }
.a-banner h1 { margin: 0 0 4px; font-family: var(--display); font-size: 32px; }
.a-banner p { margin: 0; color: #ECE2CEC8; }
.a-banner .ab-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.a-banner .ab-chips a { text-decoration: none; padding: 7px 13px; border-radius: 99px; font-weight: 800; font-size: 13px; background: rgba(15,20,8,.5); color: var(--gold-2); border: 1px solid rgba(232,196,106,.35); }
.a-banner .ab-chips a:hover { background: var(--clay-sun); color: #2A1503; }

/* ---------- bento: motif spiral di sudut ---------- */
.bt::after { width: 150px; height: 150px; right: -44px; top: -44px; border-radius: 0; background: var(--motif-spiral-dark) center / 110px; opacity: .16; }
.bt.clay-night::after, .bt.clay-ember::after { background-image: var(--motif-spiral); opacity: .2; }
.bt.clay-night { border-color: rgba(232,196,106,.3) !important; }
.bt-big::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: var(--motif-ukir-dark) repeat-x center / 20px 8px; opacity: .35; }

/* ---------- admin sidebar: noken + emas ---------- */
.side { background: linear-gradient(180deg, rgba(28,36,15,.92), rgba(15,20,8,.92)), var(--motif-noken) !important; border-color: rgba(232,196,106,.28) !important; }
.sd-brand { border-bottom: 0; position: relative; padding-bottom: 18px; }
.sd-brand::after { content: ''; position: absolute; left: 6px; right: 6px; bottom: 4px; height: 8px; background: var(--motif-ukir) repeat-x center / 16px 7px; opacity: .55; }
.sd-group { color: var(--gold); opacity: .8; }
.side a[aria-current="page"] { background: var(--foil); background-size: 200% 100%; animation: foil 6s ease-in-out infinite; }
.kpi b { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- ikon sektor dengan cincin emas ---------- */
.opp > .ic, .opp .secic, .item .ic { box-shadow: 0 0 0 1px rgba(232,196,106,.35), 0 3px 0 rgba(0,0,0,.3); }

/* ---------- burung cenderawasih ---------- */
.cbird { display: block; width: 100%; height: auto; overflow: visible; }
.cbird .wing { transform-box: view-box; transform-origin: 140px 60px; animation: flap .42s ease-in-out infinite alternate; }
.cbird .wing2 { transform-box: view-box; transform-origin: 136px 60px; animation: flap2 .42s ease-in-out infinite alternate; }
.cbird .plume { transform-box: view-box; transform-origin: 120px 66px; animation: plume 1.6s ease-in-out infinite alternate; }
.cbird .wire { animation: plume 2.2s ease-in-out infinite alternate-reverse; transform-box: view-box; transform-origin: 120px 70px; }
@keyframes flap { from { transform: rotate(4deg); } to { transform: scaleY(-.5) rotate(-6deg); } }
@keyframes flap2 { from { transform: rotate(-2deg); } to { transform: scaleY(-.35); } }
@keyframes plume { from { transform: skewY(-4deg) scaleX(1); } to { transform: skewY(5deg) scaleX(.94); } }

.l-birds { position: absolute; inset: 0 0 40% 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bird-fly { position: absolute; left: 0; width: var(--w, 110px); top: var(--top, 20%); animation: fly var(--dur, 18s) linear var(--delay, 0s) infinite; opacity: .92; filter: drop-shadow(0 6px 8px rgba(60,20,0,.25)); }
@keyframes fly {
  0% { transform: translate(-30vw, 0) rotate(-2deg); } 20% { transform: translate(10vw, -26px) rotate(-6deg); }
  45% { transform: translate(45vw, 12px) rotate(3deg); } 70% { transform: translate(78vw, -18px) rotate(-4deg); } 100% { transform: translate(130vw, 4px) rotate(0); } }
/* burung yang melintas sekali saat bagian halaman terlihat / halaman dibuka */
.sbird, .hbird { position: absolute; left: 0; top: var(--top, 6px); width: var(--w, 96px); pointer-events: none; opacity: 0; z-index: 2; }
.in > .sbird, .in .sbird, #app.enter .hbird { animation: fly-once var(--dur, 4.2s) cubic-bezier(.45,.05,.4,1) var(--delay, .2s) both; }
@keyframes fly-once { 0% { transform: translate(-140px, 30px) scale(.85); opacity: 0; } 12% { opacity: 1; } 50% { transform: translate(calc(var(--span, 100vw) * .5), -14px) scale(1); }
  88% { opacity: 1; } 100% { transform: translate(calc(var(--span, 100vw) + 60px), 10px) scale(.9); opacity: 0; } }
.l-sec, .l-end { position: relative; }

/* bilah kemajuan scroll */
#scroll-prog { position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); z-index: 100; background: var(--foil); pointer-events: none; box-shadow: 0 0 10px rgba(242,182,53,.6); }
/* elemen di bawah layar muncul saat di-scroll */
.sr { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.sr.in { opacity: 1; transform: none; }

/* ---------- langkah kedua login & lupa sandi ---------- */
.forgot { font-size: 12.5px; font-weight: 700; color: var(--sun); text-decoration: none; }
.forgot:hover { text-decoration: underline; }
.twofa-note { display: flex; align-items: center; gap: 8px; margin: 0; }
.twofa-note svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.otp-card { animation: pop-in .45s var(--spring) both; }
.otp-head { display: flex; align-items: center; gap: 14px; }
.ga-ic { width: 54px; height: 54px; flex: none; border-radius: 18px; display: grid; place-items: center; background: var(--clay-sun); color: #2A1503; box-shadow: var(--clay-hi), 0 4px 0 rgba(10,12,4,.5); }
.ga-ic.mail { background: var(--clay-olive); color: #1A2406; }
.ga-ic svg { width: 26px; height: 26px; }
.ga-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; line-height: 1.5; }
.ga-qr { display: grid; grid-template-columns: 168px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: 22px; background: rgba(15,20,8,.5); border: 1px solid rgba(232,196,106,.3); }
.ga-qr > svg { width: 168px; height: 168px; border-radius: 14px; background: #fff; padding: 6px; box-shadow: 0 0 0 4px rgba(232,196,106,.5), 0 10px 24px -10px rgba(0,0,0,.8); }
.ga-key { display: grid; gap: 8px; justify-items: start; } .ga-key small { color: var(--muted); }
.ga-key code { font-size: 15px; font-weight: 700; letter-spacing: .06em; color: var(--gold-2); word-break: break-all; line-height: 1.5; }
@media (max-width: 480px) { .ga-qr { grid-template-columns: 1fr; justify-items: center; text-align: center; } .ga-key { justify-items: center; } }
.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp input { width: 100%; aspect-ratio: 4 / 5; min-height: 52px; text-align: center; font: 700 26px var(--display); color: var(--cream); border-radius: 16px;
  background: rgba(15,20,8,.6); border: 1.5px solid rgba(246,244,241,.2); box-shadow: inset 0 2px 4px rgba(0,0,0,.4); transition: transform .2s var(--spring), border-color .2s, background .2s; }
.otp input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232,196,106,.22); transform: translateY(-2px); }
.otp input.on { background: var(--clay-sun); color: #2A1503; border-color: transparent; animation: sel-pop .35s var(--spring); }
.otp.shake { animation: shake .45s cubic-bezier(.36,.07,.19,.97); }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-8px); } 40%, 60% { transform: translateX(8px); } }
.otp-timer { height: 4px; border-radius: 4px; background: rgba(246,244,241,.12); overflow: hidden; }
.otp-timer i { display: block; height: 100%; background: var(--foil); border-radius: 4px; }
.otp-ok { animation: ok-glow .6s ease-out; }
@keyframes ok-glow { 50% { box-shadow: 0 0 0 6px rgba(181,208,99,.5); } }
.demo-code b.mono { font-size: 20px; letter-spacing: .12em; }

@media (prefers-reduced-motion: reduce) {
  .bird-fly, .sbird, .hbird { display: none; }
  .sr { opacity: 1; transform: none; }
}
.ga-key .chip svg { width: 15px; height: 15px; }
